summaryrefslogtreecommitdiff
path: root/keyboard-leds-trayicons/debian
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-02-13 20:31:38 -0500
committerB Stack <bgstack15@gmail.com>2020-02-13 20:31:38 -0500
commita99b39086e7ccc1c95c739c2a55ebd0ba5084d71 (patch)
treeaaad6847ff7fb13ad6440a3d6365dfbe793afe12 /keyboard-leds-trayicons/debian
parentadd keyboard-leds-trayicons (diff)
downloadstackrpms-a99b39086e7ccc1c95c739c2a55ebd0ba5084d71.tar.gz
stackrpms-a99b39086e7ccc1c95c739c2a55ebd0ba5084d71.tar.bz2
stackrpms-a99b39086e7ccc1c95c739c2a55ebd0ba5084d71.zip
fix icon transparency
Diffstat (limited to 'keyboard-leds-trayicons/debian')
-rw-r--r--keyboard-leds-trayicons/debian/README.Debian3
-rwxr-xr-xkeyboard-leds-trayicons/debian/rules46
2 files changed, 26 insertions, 23 deletions
diff --git a/keyboard-leds-trayicons/debian/README.Debian b/keyboard-leds-trayicons/debian/README.Debian
index 6d7a870..8ce6c02 100644
--- a/keyboard-leds-trayicons/debian/README.Debian
+++ b/keyboard-leds-trayicons/debian/README.Debian
@@ -2,4 +2,7 @@ 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/rules b/keyboard-leds-trayicons/debian/rules
index e871414..71c2727 100755
--- a/keyboard-leds-trayicons/debian/rules
+++ b/keyboard-leds-trayicons/debian/rules
@@ -24,26 +24,26 @@ override_dh_auto_install:
mkdir -p ${buildroot}${_datadir}/icons/hicolor/64x64/status
mkdir -p ${buildroot}${_datadir}/icons/hicolor/128x128/status
- convert src${_indir}/capslock-on.svg -filter Lanczos -resize 16x16 ${buildroot}${_datadir}/icons/hicolor/16x16/status/capslock-on.png
- convert src${_indir}/capslock-on.svg -filter Lanczos -resize 32x32 ${buildroot}${_datadir}/icons/hicolor/32x32/status/capslock-on.png
- convert src${_indir}/capslock-on.svg -filter Lanczos -resize 48x48 ${buildroot}${_datadir}/icons/hicolor/48x48/status/capslock-on.png
- convert src${_indir}/capslock-on.svg -filter Lanczos -resize 64x64 ${buildroot}${_datadir}/icons/hicolor/64x64/status/capslock-on.png
- convert src${_indir}/capslock-on.svg -filter Lanczos -resize 128x128 ${buildroot}${_datadir}/icons/hicolor/128x128/status/capslock-on.png
-
- convert src${_indir}/capslock-off.svg -filter Lanczos -resize 16x16 ${buildroot}${_datadir}/icons/hicolor/16x16/status/capslock-off.png
- convert src${_indir}/capslock-off.svg -filter Lanczos -resize 32x32 ${buildroot}${_datadir}/icons/hicolor/32x32/status/capslock-off.png
- convert src${_indir}/capslock-off.svg -filter Lanczos -resize 48x48 ${buildroot}${_datadir}/icons/hicolor/48x48/status/capslock-off.png
- convert src${_indir}/capslock-off.svg -filter Lanczos -resize 64x64 ${buildroot}${_datadir}/icons/hicolor/64x64/status/capslock-off.png
- convert src${_indir}/capslock-off.svg -filter Lanczos -resize 128x128 ${buildroot}${_datadir}/icons/hicolor/128x128/status/capslock-off.png
-
- convert src${_indir}/numlock-on.svg -filter Lanczos -resize 16x16 ${buildroot}${_datadir}/icons/hicolor/16x16/status/numlock-on.png
- convert src${_indir}/numlock-on.svg -filter Lanczos -resize 32x32 ${buildroot}${_datadir}/icons/hicolor/32x32/status/numlock-on.png
- convert src${_indir}/numlock-on.svg -filter Lanczos -resize 48x48 ${buildroot}${_datadir}/icons/hicolor/48x48/status/numlock-on.png
- convert src${_indir}/numlock-on.svg -filter Lanczos -resize 64x64 ${buildroot}${_datadir}/icons/hicolor/64x64/status/numlock-on.png
- convert src${_indir}/numlock-on.svg -filter Lanczos -resize 128x128 ${buildroot}${_datadir}/icons/hicolor/128x128/status/numlock-on.png
-
- convert src${_indir}/numlock-off.svg -filter Lanczos -resize 16x16 ${buildroot}${_datadir}/icons/hicolor/16x16/status/numlock-off.png
- convert src${_indir}/numlock-off.svg -filter Lanczos -resize 32x32 ${buildroot}${_datadir}/icons/hicolor/32x32/status/numlock-off.png
- convert src${_indir}/numlock-off.svg -filter Lanczos -resize 48x48 ${buildroot}${_datadir}/icons/hicolor/48x48/status/numlock-off.png
- convert src${_indir}/numlock-off.svg -filter Lanczos -resize 64x64 ${buildroot}${_datadir}/icons/hicolor/64x64/status/numlock-off.png
- convert src${_indir}/numlock-off.svg -filter Lanczos -resize 128x128 ${buildroot}${_datadir}/icons/hicolor/128x128/status/numlock-off.png
+ 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
bgstack15