[spatialite-gui] 01/04: Add patch to also install 22x22, 36x36 & 42x42 icons in hicolor theme.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Thu May 5 19:28:57 UTC 2016


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository spatialite-gui.

commit ca7b654281b93c754dc031c2578fb4b8aa9fb7da
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Thu May 5 21:11:01 2016 +0200

    Add patch to also install 22x22, 36x36 & 42x42 icons in hicolor theme.
---
 debian/changelog                                   |   6 +++++
 debian/icons/hicolor/22x22/apps/spatialite-gui.png | Bin 0 -> 1369 bytes
 debian/icons/hicolor/36x36/apps/spatialite-gui.png | Bin 0 -> 2625 bytes
 debian/icons/hicolor/42x42/apps/spatialite-gui.png | Bin 0 -> 3272 bytes
 debian/patches/install-icons2.patch                |  25 +++++++++++++++++++++
 debian/patches/series                              |   1 +
 debian/source/include-binaries                     |   3 +++
 7 files changed, 35 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 07a640b..961dc67 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+spatialite-gui (2.0.0~devel2-4) UNRELEASED; urgency=medium
+
+  * Add patch to also install 22x22, 36x36 & 42x42 icons in hicolor theme.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Thu, 05 May 2016 21:11:15 +0200
+
 spatialite-gui (2.0.0~devel2-3) unstable; urgency=medium
 
   * Update Vcs-Git URL to use HTTPS.
diff --git a/debian/icons/hicolor/22x22/apps/spatialite-gui.png b/debian/icons/hicolor/22x22/apps/spatialite-gui.png
new file mode 100644
index 0000000..2590129
Binary files /dev/null and b/debian/icons/hicolor/22x22/apps/spatialite-gui.png differ
diff --git a/debian/icons/hicolor/36x36/apps/spatialite-gui.png b/debian/icons/hicolor/36x36/apps/spatialite-gui.png
new file mode 100644
index 0000000..0e9f318
Binary files /dev/null and b/debian/icons/hicolor/36x36/apps/spatialite-gui.png differ
diff --git a/debian/icons/hicolor/42x42/apps/spatialite-gui.png b/debian/icons/hicolor/42x42/apps/spatialite-gui.png
new file mode 100644
index 0000000..80c961b
Binary files /dev/null and b/debian/icons/hicolor/42x42/apps/spatialite-gui.png differ
diff --git a/debian/patches/install-icons2.patch b/debian/patches/install-icons2.patch
new file mode 100644
index 0000000..391d462
--- /dev/null
+++ b/debian/patches/install-icons2.patch
@@ -0,0 +1,25 @@
+Description: Also install 22x22, 36x36 & 42x42 application icons in hicolor theme.
+ The 22x22 icon is required for Debian Policy 9.6:
+ "
+  Unless hidden by default, the desktop entry must point to a PNG or SVG
+  icon with a transparent background, providing at least the 22×22 size,
+  and preferably up to 64×64. The icon should be neutral enough to
+  integrate well with the default icon themes. It is encouraged to ship
+  the icon in the default hicolor icon theme directories, or to use an
+  existing icon from the hicolor theme.
+ "
+ https://www.debian.org/doc/debian-policy/ch-opersys.html#s-menus
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: https://groups.google.com/d/msg/spatialite-users/NqdOCvTatqk/lH3QqpNyNwAJ
+
+--- a/gnome_resource/Makefile.am
++++ b/gnome_resource/Makefile.am
+@@ -4,7 +4,7 @@ EXTRA_DIST = spatialite-gui.png spatiali
+ desktopdir = $(datadir)/applications
+ desktop_DATA = spatialite-gui.desktop
+ 
+-ICON_SIZES = 8 16 24 32 40 48 64 72 80 96 128 192 256 512
++ICON_SIZES = 8 16 22 24 32 36 40 42 48 64 72 80 96 128 192 256 512
+ 
+ install-data-local:
+ 	@for size in $(ICON_SIZES); do \
diff --git a/debian/patches/series b/debian/patches/series
index 9966425..e839450 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 01-fix_binary_name.patch
 desktop-file.patch
 install-icons.patch
+install-icons2.patch
diff --git a/debian/source/include-binaries b/debian/source/include-binaries
index 78d41e4..9e4f577 100644
--- a/debian/source/include-binaries
+++ b/debian/source/include-binaries
@@ -1,8 +1,11 @@
 debian/icons/hicolor/8x8/apps/spatialite-gui.png
 debian/icons/hicolor/16x16/apps/spatialite-gui.png
+debian/icons/hicolor/22x22/apps/spatialite-gui.png
 debian/icons/hicolor/24x24/apps/spatialite-gui.png
 debian/icons/hicolor/32x32/apps/spatialite-gui.png
+debian/icons/hicolor/36x36/apps/spatialite-gui.png
 debian/icons/hicolor/40x40/apps/spatialite-gui.png
+debian/icons/hicolor/42x42/apps/spatialite-gui.png
 debian/icons/hicolor/48x48/apps/spatialite-gui.png
 debian/icons/hicolor/64x64/apps/spatialite-gui.png
 debian/icons/hicolor/72x72/apps/spatialite-gui.png

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/spatialite-gui.git



More information about the Pkg-grass-devel mailing list