From 2231f7ec6c2d8c44906ea1b40be0bb1ab18b099a Mon Sep 17 00:00:00 2001 From: B Stack Date: Wed, 5 Feb 2020 17:30:08 -0500 Subject: WIP: add mktrayicon --- mktrayicon/debian/README.Debian | 8 ++++++ mktrayicon/debian/changelog | 5 ++++ mktrayicon/debian/compat | 1 + mktrayicon/debian/control | 19 ++++++++++++++ mktrayicon/debian/copyright | 43 ++++++++++++++++++++++++++++++++ mktrayicon/debian/install | 1 + mktrayicon/debian/manpages | 1 + mktrayicon/debian/patches/Makefile.patch | 8 ++++++ mktrayicon/debian/patches/series | 2 ++ mktrayicon/debian/rules | 25 +++++++++++++++++++ mktrayicon/debian/source/format | 1 + mktrayicon/debian/source/local-options | 2 ++ mktrayicon/debian/watch | 2 ++ 13 files changed, 118 insertions(+) create mode 100644 mktrayicon/debian/README.Debian create mode 100644 mktrayicon/debian/changelog create mode 100644 mktrayicon/debian/compat create mode 100644 mktrayicon/debian/control create mode 100644 mktrayicon/debian/copyright create mode 100644 mktrayicon/debian/install create mode 100644 mktrayicon/debian/manpages create mode 100644 mktrayicon/debian/patches/Makefile.patch create mode 100644 mktrayicon/debian/patches/series create mode 100755 mktrayicon/debian/rules create mode 100644 mktrayicon/debian/source/format create mode 100644 mktrayicon/debian/source/local-options create mode 100644 mktrayicon/debian/watch diff --git a/mktrayicon/debian/README.Debian b/mktrayicon/debian/README.Debian new file mode 100644 index 0000000..799ae81 --- /dev/null +++ b/mktrayicon/debian/README.Debian @@ -0,0 +1,8 @@ +mktrayicon for Debian + +Please edit this to provide information specific to +this mktrayicon Debian package. + + (Automatically generated by debmake Version 4.3.1) + + -- Ben Stack Wed, 05 Feb 2020 09:25:31 -0500 diff --git a/mktrayicon/debian/changelog b/mktrayicon/debian/changelog new file mode 100644 index 0000000..4238567 --- /dev/null +++ b/mktrayicon/debian/changelog @@ -0,0 +1,5 @@ +mktrayicon (0.0~git-1) UNRELEASED; urgency=low + + * Initial release. + + -- Ben Stack Wed, 05 Feb 2020 09:25:31 -0500 diff --git a/mktrayicon/debian/compat b/mktrayicon/debian/compat new file mode 100644 index 0000000..48082f7 --- /dev/null +++ b/mktrayicon/debian/compat @@ -0,0 +1 @@ +12 diff --git a/mktrayicon/debian/control b/mktrayicon/debian/control new file mode 100644 index 0000000..0dcaa7c --- /dev/null +++ b/mktrayicon/debian/control @@ -0,0 +1,19 @@ +Source: mktrayicon +Section: x11 +Priority: optional +Maintainer: Ben Stack +Build-Depends: debhelper (>=11~), + go-md2man, + libgtk-3-dev, + libx11-dev +Standards-Version: 4.1.4 +Homepage: https://github.com/jonhoo/mktrayicon/ + +Package: mktrayicon +Architecture: any +Multi-Arch: foreign +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: create system tray icons controlled by named pipe + mktrayicon is a simple proxy program that lets you + create and modify system tray icons without having + to deal with a graphical toolkit like GTK. diff --git a/mktrayicon/debian/copyright b/mktrayicon/debian/copyright new file mode 100644 index 0000000..93e59da --- /dev/null +++ b/mktrayicon/debian/copyright @@ -0,0 +1,43 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: mktrayicon +Source: +# +# Please double check copyright with the licensecheck(1) command. + +Files: .gitignore + Makefile + README.md + examples/test.sh + examples/wifi-signal + mktrayicon.c + package/arch/.gitignore + package/arch/PKGBUILD +Copyright: __NO_COPYRIGHT_NOR_LICENSE__ +License: __NO_COPYRIGHT_NOR_LICENSE__ + +#---------------------------------------------------------------------------- +# Files marked as NO_LICENSE_TEXT_FOUND may be covered by the following +# license/copyright files. + +#---------------------------------------------------------------------------- +# License file: LICENSE + The MIT License (MIT) + . + Copyright (c) 2013 Jon Gjengset + . + Permission is hereby granted, free of charge, to any person obtaining a copy of + this software and associated documentation files (the "Software"), to deal in + the Software without restriction, including without limitation the rights to + use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of + the Software, and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS + FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR + COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER + IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/mktrayicon/debian/install b/mktrayicon/debian/install new file mode 100644 index 0000000..3aaecb5 --- /dev/null +++ b/mktrayicon/debian/install @@ -0,0 +1 @@ +mktrayicon /usr/bin/ diff --git a/mktrayicon/debian/manpages b/mktrayicon/debian/manpages new file mode 100644 index 0000000..1eee891 --- /dev/null +++ b/mktrayicon/debian/manpages @@ -0,0 +1 @@ +debian/mktrayicon.1 diff --git a/mktrayicon/debian/patches/Makefile.patch b/mktrayicon/debian/patches/Makefile.patch new file mode 100644 index 0000000..25460fa --- /dev/null +++ b/mktrayicon/debian/patches/Makefile.patch @@ -0,0 +1,8 @@ +--- a/Makefile ++++ b/Makefile +@@ -2,4 +2,4 @@ mktrayicon: mktrayicon.c + ${CC} `pkg-config --cflags gtk+-3.0` -o $@ $< `pkg-config --libs gtk+-3.0` `pkg-config --cflags --libs x11` + + clean: +- rm mktrayicon ++ rm -f mktrayicon || : diff --git a/mktrayicon/debian/patches/series b/mktrayicon/debian/patches/series new file mode 100644 index 0000000..cc55c1d --- /dev/null +++ b/mktrayicon/debian/patches/series @@ -0,0 +1,2 @@ +# You must remove unused comment lines for the released package. +Makefile.patch diff --git a/mktrayicon/debian/rules b/mktrayicon/debian/rules new file mode 100755 index 0000000..03d51b7 --- /dev/null +++ b/mktrayicon/debian/rules @@ -0,0 +1,25 @@ +#!/usr/bin/make -f +# You must remove unused comment lines for the released package. +#export DH_VERBOSE = 1 +#export DEB_BUILD_MAINT_OPTIONS = hardening=+all +#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic +#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed + +export MD2MAN=go-md2man + +%: + dh $@ + +override_dh_auto_build: + dh_auto_build + $$MD2MAN < README.md > debian/mktrayicon.1 + +#override_dh_auto_install: +# dh_auto_install -- prefix=/usr + +#override_dh_install: +# dh_install --list-missing -X.pyc -X.pyo + +override_dh_auto_clean: + dh_auto_clean || : + rm debian/mktrayicon.1 || : diff --git a/mktrayicon/debian/source/format b/mktrayicon/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/mktrayicon/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/mktrayicon/debian/source/local-options b/mktrayicon/debian/source/local-options new file mode 100644 index 0000000..00131ee --- /dev/null +++ b/mktrayicon/debian/source/local-options @@ -0,0 +1,2 @@ +#abort-on-upstream-changes +#unapply-patches diff --git a/mktrayicon/debian/watch b/mktrayicon/debian/watch new file mode 100644 index 0000000..76575dc --- /dev/null +++ b/mktrayicon/debian/watch @@ -0,0 +1,2 @@ +# You must remove unused comment lines for the released package. +version=3 -- cgit