diff options
author | Micah Anderson <micah@riseup.net> | 2013-12-11 12:07:49 -0500 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2013-12-11 12:07:49 -0500 |
commit | 8de126d5dff21e0b35b02ce8452d273bd60c8742 (patch) | |
tree | 737efa2ece57be17c1ec0df01ab5035e3c266ce0 | |
parent | fd0d9ddf9dfd8f00eb5d168df12ad7cf7b7be900 (diff) |
add properly sized icons to the package so freedesktop compatible installs will pick them up (#4731)
-rw-r--r-- | debian/bitmask.install | 1 | ||||
-rw-r--r-- | debian/bitmask.postinst | 29 | ||||
-rw-r--r-- | debian/bitmask.triggers | 1 | ||||
-rw-r--r-- | debian/changelog | 1 | ||||
-rw-r--r-- | debian/icons/hicolor/128x128/apps/mask-launcher.png | bin | 0 -> 15903 bytes | |||
-rw-r--r-- | debian/icons/hicolor/24x24/apps/mask-launcher.png | bin | 0 -> 1847 bytes | |||
-rw-r--r-- | debian/icons/hicolor/256x256/apps/mask-launcher.png | bin | 0 -> 34961 bytes | |||
-rw-r--r-- | debian/icons/hicolor/32x32/apps/mask-launcher.png | bin | 0 -> 2586 bytes | |||
-rw-r--r-- | debian/icons/hicolor/48x48/apps/mask-launcher.png | bin | 0 -> 4518 bytes | |||
-rw-r--r-- | debian/icons/hicolor/64x64/apps/mask-launcher.png | bin | 0 -> 6662 bytes | |||
l--------- | debian/icons/hicolor/scalable/apps/bitmask.svg | 1 |
11 files changed, 33 insertions, 0 deletions
diff --git a/debian/bitmask.install b/debian/bitmask.install index cdd51540..1253a983 100644 --- a/debian/bitmask.install +++ b/debian/bitmask.install @@ -1,3 +1,4 @@ pkg/linux/polkit/net.openvpn.gui.leap.policy usr/share/polkit-1/actions/ debian/bitmask.xpm usr/share/pixmaps debian/bitmask.desktop usr/share/applications +debian/icons/hicolor usr/share/icons diff --git a/debian/bitmask.postinst b/debian/bitmask.postinst new file mode 100644 index 00000000..ee416647 --- /dev/null +++ b/debian/bitmask.postinst @@ -0,0 +1,29 @@ +#! /bin/sh +set -e + +case "$1" in + configure) + if [ -e /usr/share/icons/hicolor/icon-theme.cache ]; then + rm /usr/share/icons/hicolor/icon-theme.cache + fi + if [ -x /usr/bin/gtk-update-icon-cache-3.0 ]; then + gtk-update-icon-cache-3.0 -q -t -f /usr/share/icons/hicolor + elif [ -x /usr/bin/gtk-update-icon-cache ]; then + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor + fi + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +if [ "$1" = "triggered" ]; then + exit 0 +fi + +#DEBHELPER# diff --git a/debian/bitmask.triggers b/debian/bitmask.triggers new file mode 100644 index 00000000..5d66bed0 --- /dev/null +++ b/debian/bitmask.triggers @@ -0,0 +1 @@ +interest /usr/share/icons/hicolor diff --git a/debian/changelog b/debian/changelog index 8b1abd9b..55ae0a8b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ bitmask (0.3.8.1) unstable; urgency=medium * Add desktop file + * Add icons and triggers for rebuilding icon cache -- Micah Anderson <micah@debian.org> Wed, 11 Dec 2013 10:29:26 -0500 diff --git a/debian/icons/hicolor/128x128/apps/mask-launcher.png b/debian/icons/hicolor/128x128/apps/mask-launcher.png Binary files differnew file mode 100644 index 00000000..6ff2dbae --- /dev/null +++ b/debian/icons/hicolor/128x128/apps/mask-launcher.png diff --git a/debian/icons/hicolor/24x24/apps/mask-launcher.png b/debian/icons/hicolor/24x24/apps/mask-launcher.png Binary files differnew file mode 100644 index 00000000..6c2b20d6 --- /dev/null +++ b/debian/icons/hicolor/24x24/apps/mask-launcher.png diff --git a/debian/icons/hicolor/256x256/apps/mask-launcher.png b/debian/icons/hicolor/256x256/apps/mask-launcher.png Binary files differnew file mode 100644 index 00000000..6478c274 --- /dev/null +++ b/debian/icons/hicolor/256x256/apps/mask-launcher.png diff --git a/debian/icons/hicolor/32x32/apps/mask-launcher.png b/debian/icons/hicolor/32x32/apps/mask-launcher.png Binary files differnew file mode 100644 index 00000000..25abc93e --- /dev/null +++ b/debian/icons/hicolor/32x32/apps/mask-launcher.png diff --git a/debian/icons/hicolor/48x48/apps/mask-launcher.png b/debian/icons/hicolor/48x48/apps/mask-launcher.png Binary files differnew file mode 100644 index 00000000..468314c6 --- /dev/null +++ b/debian/icons/hicolor/48x48/apps/mask-launcher.png diff --git a/debian/icons/hicolor/64x64/apps/mask-launcher.png b/debian/icons/hicolor/64x64/apps/mask-launcher.png Binary files differnew file mode 100644 index 00000000..b9aa421d --- /dev/null +++ b/debian/icons/hicolor/64x64/apps/mask-launcher.png diff --git a/debian/icons/hicolor/scalable/apps/bitmask.svg b/debian/icons/hicolor/scalable/apps/bitmask.svg new file mode 120000 index 00000000..0febda82 --- /dev/null +++ b/debian/icons/hicolor/scalable/apps/bitmask.svg @@ -0,0 +1 @@ +../../../../svg/masks/mask-launcher.svg
\ No newline at end of file |