summaryrefslogtreecommitdiff
path: root/keyboard-leds-trayicons/debian
diff options
context:
space:
mode:
Diffstat (limited to 'keyboard-leds-trayicons/debian')
-rw-r--r--keyboard-leds-trayicons/debian/README.Debian8
-rw-r--r--keyboard-leds-trayicons/debian/changelog5
-rw-r--r--keyboard-leds-trayicons/debian/compat1
-rw-r--r--keyboard-leds-trayicons/debian/control18
-rw-r--r--keyboard-leds-trayicons/debian/copyright22
-rw-r--r--keyboard-leds-trayicons/debian/docs1
-rw-r--r--keyboard-leds-trayicons/debian/install3
-rw-r--r--keyboard-leds-trayicons/debian/keyboard-leds-trayicons.lintian-overrides1
-rw-r--r--keyboard-leds-trayicons/debian/keyboard-leds-trayicons_devuan.dsc14
-rw-r--r--keyboard-leds-trayicons/debian/patches/series1
-rwxr-xr-xkeyboard-leds-trayicons/debian/rules49
-rw-r--r--keyboard-leds-trayicons/debian/source/format1
-rw-r--r--keyboard-leds-trayicons/debian/source/lintian-overrides1
-rw-r--r--keyboard-leds-trayicons/debian/source/local-options2
-rw-r--r--keyboard-leds-trayicons/debian/watch4
15 files changed, 131 insertions, 0 deletions
diff --git a/keyboard-leds-trayicons/debian/README.Debian b/keyboard-leds-trayicons/debian/README.Debian
new file mode 100644
index 0000000..8ce6c02
--- /dev/null
+++ b/keyboard-leds-trayicons/debian/README.Debian
@@ -0,0 +1,8 @@
+keyboard-leds-trayicons for Devuan
+
+No changes.
+
+References:
+ convert svg to png with transparency; order of flags https://stackoverflow.com/questions/9530524/convert-svg-to-transparent-png-with-antialiasing-using-imagemagick#comment46053012_18579465
+
+ -- Ben Stack <bgstack15@gmail.com> Thu, 13 Feb 2020 19:27:59 -0500
diff --git a/keyboard-leds-trayicons/debian/changelog b/keyboard-leds-trayicons/debian/changelog
new file mode 100644
index 0000000..b888959
--- /dev/null
+++ b/keyboard-leds-trayicons/debian/changelog
@@ -0,0 +1,5 @@
+keyboard-leds-trayicons (0.0.1-1+devuan) obs; urgency=low
+
+ * Initial release.
+
+ -- Ben Stack <bgstack15@gmail.com> Thu, 13 Feb 2020 19:27:59 -0500
diff --git a/keyboard-leds-trayicons/debian/compat b/keyboard-leds-trayicons/debian/compat
new file mode 100644
index 0000000..48082f7
--- /dev/null
+++ b/keyboard-leds-trayicons/debian/compat
@@ -0,0 +1 @@
+12
diff --git a/keyboard-leds-trayicons/debian/control b/keyboard-leds-trayicons/debian/control
new file mode 100644
index 0000000..4dff3a7
--- /dev/null
+++ b/keyboard-leds-trayicons/debian/control
@@ -0,0 +1,18 @@
+Source: keyboard-leds-trayicons
+Section: x11
+Priority: optional
+Maintainer: Ben Stack <bgstack15@gmail.com>
+Build-Depends: debhelper (>=12~),
+ graphicsmagick-imagemagick-compat
+Standards-Version: 4.1.4
+Homepage: https://gitlab.com/bgstack15/keyboard-leds-trayicons
+
+Package: keyboard-leds-trayicons
+Architecture: all
+Multi-Arch: foreign
+Depends: ${misc:Depends}, ${shlibs:Depends},
+ mktrayicon,
+ mawk | gawk,
+ x11-xserver-utils
+Description: show keyboard leds on system tray
+ Show capslock and numlock indicator icons on system tray.
diff --git a/keyboard-leds-trayicons/debian/copyright b/keyboard-leds-trayicons/debian/copyright
new file mode 100644
index 0000000..4685f26
--- /dev/null
+++ b/keyboard-leds-trayicons/debian/copyright
@@ -0,0 +1,22 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: keyboard-leds-trayicons
+Source: <url://example.com>
+#
+# Please double check copyright with the licensecheck(1) command.
+
+Files: README.md
+ src/etc/keyboard-leds-trayicons.conf
+ src/usr/bin/keyboard-leds-trayicons.sh
+Copyright: __NO_COPYRIGHT_NOR_LICENSE__
+License: __NO_COPYRIGHT_NOR_LICENSE__
+
+#----------------------------------------------------------------------------
+# xml and html files (skipped):
+# src/usr/share/icons/hicolor/scalable/status/numlock-off.svg
+# src/usr/share/icons/hicolor/scalable/status/numlock-on.svg
+# src/usr/share/icons/hicolor/scalable/status/capslock-off.svg
+# src/usr/share/icons/hicolor/scalable/status/capslock-on.svg
+
+#----------------------------------------------------------------------------
+# Files marked as NO_LICENSE_TEXT_FOUND may be covered by the following
+# license/copyright files.
diff --git a/keyboard-leds-trayicons/debian/docs b/keyboard-leds-trayicons/debian/docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/keyboard-leds-trayicons/debian/docs
@@ -0,0 +1 @@
+README.md
diff --git a/keyboard-leds-trayicons/debian/install b/keyboard-leds-trayicons/debian/install
new file mode 100644
index 0000000..2dfcee8
--- /dev/null
+++ b/keyboard-leds-trayicons/debian/install
@@ -0,0 +1,3 @@
+src/etc/* /etc
+src/usr/bin/* /usr/bin
+src/usr/share/icons/hicolor/scalable/status/* /usr/share/icons/hicolor/scalable/status
diff --git a/keyboard-leds-trayicons/debian/keyboard-leds-trayicons.lintian-overrides b/keyboard-leds-trayicons/debian/keyboard-leds-trayicons.lintian-overrides
new file mode 100644
index 0000000..bc20712
--- /dev/null
+++ b/keyboard-leds-trayicons/debian/keyboard-leds-trayicons.lintian-overrides
@@ -0,0 +1 @@
+script-with-language-extension
diff --git a/keyboard-leds-trayicons/debian/keyboard-leds-trayicons_devuan.dsc b/keyboard-leds-trayicons/debian/keyboard-leds-trayicons_devuan.dsc
new file mode 100644
index 0000000..62cf13c
--- /dev/null
+++ b/keyboard-leds-trayicons/debian/keyboard-leds-trayicons_devuan.dsc
@@ -0,0 +1,14 @@
+Format: 3.0 (quilt)
+Source: keyboard-leds-trayicons
+Binary: keyboard-leds-trayicons
+Architecture: all
+Version: 0.0.1-1+devuan
+Maintainer: Ben Stack <bgstack15@gmail.com>
+Homepage: https://gitlab.com/bgstack15/keyboard-leds-trayicons
+Standards-Version: 4.1.4
+Build-Depends: debhelper (>= 12~), graphicsmagick-imagemagick-compat
+Package-List:
+ keyboard-leds-trayicons deb x11 optional arch=all
+Files:
+ 00000000000000000000000000000000 1 keyboard-leds-trayicons_0.0.1.orig.tar.gz
+ 00000000000000000000000000000000 1 keyboard-leds-trayicons_0.0.1-1+devuan.debian.tar.xz
diff --git a/keyboard-leds-trayicons/debian/patches/series b/keyboard-leds-trayicons/debian/patches/series
new file mode 100644
index 0000000..4a97dfa
--- /dev/null
+++ b/keyboard-leds-trayicons/debian/patches/series
@@ -0,0 +1 @@
+# You must remove unused comment lines for the released package.
diff --git a/keyboard-leds-trayicons/debian/rules b/keyboard-leds-trayicons/debian/rules
new file mode 100755
index 0000000..71c2727
--- /dev/null
+++ b/keyboard-leds-trayicons/debian/rules
@@ -0,0 +1,49 @@
+#!/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 name=keyboard-leds-trayicons
+export debuilddir="debian"
+export buildroot="${debuilddir}/${name}"
+export _datadir="/usr/share"
+export _bindir="/usr/bin"
+export _indir="/usr/share/icons/hicolor/scalable/status"
+
+%:
+ dh $@
+
+override_dh_auto_install:
+ dh_auto_install
+
+ mkdir -p ${buildroot}${_datadir}/icons/hicolor/16x16/status
+ mkdir -p ${buildroot}${_datadir}/icons/hicolor/32x32/status
+ mkdir -p ${buildroot}${_datadir}/icons/hicolor/48x48/status
+ mkdir -p ${buildroot}${_datadir}/icons/hicolor/64x64/status
+ mkdir -p ${buildroot}${_datadir}/icons/hicolor/128x128/status
+
+ convert -filter Lanczos -resize 16x16 -background none -antialias src${_indir}/capslock-on.svg ${buildroot}${_datadir}/icons/hicolor/16x16/status/capslock-on.png
+ convert -filter Lanczos -resize 32x32 -background none -antialias src${_indir}/capslock-on.svg ${buildroot}${_datadir}/icons/hicolor/32x32/status/capslock-on.png
+ convert -filter Lanczos -resize 48x48 -background none -antialias src${_indir}/capslock-on.svg ${buildroot}${_datadir}/icons/hicolor/48x48/status/capslock-on.png
+ convert -filter Lanczos -resize 64x64 -background none -antialias src${_indir}/capslock-on.svg ${buildroot}${_datadir}/icons/hicolor/64x64/status/capslock-on.png
+ convert -filter Lanczos -resize 128x128 -background none -antialias src${_indir}/capslock-on.svg ${buildroot}${_datadir}/icons/hicolor/128x128/status/capslock-on.png
+
+ convert -filter Lanczos -resize 16x16 -background none -antialias src${_indir}/capslock-off.svg ${buildroot}${_datadir}/icons/hicolor/16x16/status/capslock-off.png
+ convert -filter Lanczos -resize 32x32 -background none -antialias src${_indir}/capslock-off.svg ${buildroot}${_datadir}/icons/hicolor/32x32/status/capslock-off.png
+ convert -filter Lanczos -resize 48x48 -background none -antialias src${_indir}/capslock-off.svg ${buildroot}${_datadir}/icons/hicolor/48x48/status/capslock-off.png
+ convert -filter Lanczos -resize 64x64 -background none -antialias src${_indir}/capslock-off.svg ${buildroot}${_datadir}/icons/hicolor/64x64/status/capslock-off.png
+ convert -filter Lanczos -resize 128x128 -background none -antialias src${_indir}/capslock-off.svg ${buildroot}${_datadir}/icons/hicolor/128x128/status/capslock-off.png
+
+ convert -filter Lanczos -resize 16x16 -background none -antialias src${_indir}/numlock-on.svg ${buildroot}${_datadir}/icons/hicolor/16x16/status/numlock-on.png
+ convert -filter Lanczos -resize 32x32 -background none -antialias src${_indir}/numlock-on.svg ${buildroot}${_datadir}/icons/hicolor/32x32/status/numlock-on.png
+ convert -filter Lanczos -resize 48x48 -background none -antialias src${_indir}/numlock-on.svg ${buildroot}${_datadir}/icons/hicolor/48x48/status/numlock-on.png
+ convert -filter Lanczos -resize 64x64 -background none -antialias src${_indir}/numlock-on.svg ${buildroot}${_datadir}/icons/hicolor/64x64/status/numlock-on.png
+ convert -filter Lanczos -resize 128x128 -background none -antialias src${_indir}/numlock-on.svg ${buildroot}${_datadir}/icons/hicolor/128x128/status/numlock-on.png
+
+ convert -filter Lanczos -resize 16x16 -background none -antialias src${_indir}/numlock-off.svg ${buildroot}${_datadir}/icons/hicolor/16x16/status/numlock-off.png
+ convert -filter Lanczos -resize 32x32 -background none -antialias src${_indir}/numlock-off.svg ${buildroot}${_datadir}/icons/hicolor/32x32/status/numlock-off.png
+ convert -filter Lanczos -resize 48x48 -background none -antialias src${_indir}/numlock-off.svg ${buildroot}${_datadir}/icons/hicolor/48x48/status/numlock-off.png
+ convert -filter Lanczos -resize 64x64 -background none -antialias src${_indir}/numlock-off.svg ${buildroot}${_datadir}/icons/hicolor/64x64/status/numlock-off.png
+ convert -filter Lanczos -resize 128x128 -background none -antialias src${_indir}/numlock-off.svg ${buildroot}${_datadir}/icons/hicolor/128x128/status/numlock-off.png
diff --git a/keyboard-leds-trayicons/debian/source/format b/keyboard-leds-trayicons/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/keyboard-leds-trayicons/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/keyboard-leds-trayicons/debian/source/lintian-overrides b/keyboard-leds-trayicons/debian/source/lintian-overrides
new file mode 100644
index 0000000..aa10b71
--- /dev/null
+++ b/keyboard-leds-trayicons/debian/source/lintian-overrides
@@ -0,0 +1 @@
+file-without-copyright-information
diff --git a/keyboard-leds-trayicons/debian/source/local-options b/keyboard-leds-trayicons/debian/source/local-options
new file mode 100644
index 0000000..00131ee
--- /dev/null
+++ b/keyboard-leds-trayicons/debian/source/local-options
@@ -0,0 +1,2 @@
+#abort-on-upstream-changes
+#unapply-patches
diff --git a/keyboard-leds-trayicons/debian/watch b/keyboard-leds-trayicons/debian/watch
new file mode 100644
index 0000000..8c60b19
--- /dev/null
+++ b/keyboard-leds-trayicons/debian/watch
@@ -0,0 +1,4 @@
+# You must remove unused comment lines for the released package.
+version=4
+https://gitlab.com/bgstack15/keyboard-leds-trayicons/tags?sort=updated_desc .*/archive/(\d\S+)/.*\.tar\.gz.*
+
bgstack15