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

sebastic pushed a commit to branch master
in repository qmapshack.

commit 5cb27b427ddff086f1d78aeea14afd34af16a364
Author: Bas Couwenberg <sebas...@xs4all.nl>
Date:   Sun Oct 18 20:19:12 2015 +0200

    Add patch to install QMapShack icon in hicolor theme too.
---
 debian/changelog                   |  1 +
 debian/patches/hicolor-icons.patch | 53 ++++++++++++++++++++++++++++++++++++++
 debian/patches/series              |  1 +
 3 files changed, 55 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 28948c0..f0672da 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 qmapshack (1.3.1-2) UNRELEASED; urgency=medium
 
   * Use desktop file in favor of menu file per CTTE #741573.
+  * Add patch to install QMapShack icon in hicolor theme too.
 
  -- Bas Couwenberg <sebas...@debian.org>  Sun, 18 Oct 2015 19:43:37 +0200
 
diff --git a/debian/patches/hicolor-icons.patch 
b/debian/patches/hicolor-icons.patch
new file mode 100644
index 0000000..3d5eb01
--- /dev/null
+++ b/debian/patches/hicolor-icons.patch
@@ -0,0 +1,53 @@
+Description: Install QMapShack icon in hicolor theme too.
+ The quote the Icon Theme Specification:
+ .
+  So, you're an application author, and want to install application
+  icons so that they work in the KDE and Gnome menus. Minimally you
+  should install a 48x48 icon in the hicolor theme. This means installing
+  a PNG file in $prefix/share/icons/hicolor/48x48/apps. Optionally you
+  can install icons in different sizes. For example, installing a svg
+  icon in $prefix/share/icons/hicolor/scalable/apps means most desktops
+  will have one icon that works for all sizes. You might even want to
+  install icons with a look that matches other well known themes so your
+  application will fit in with some specific desktop environment.
+ .
+  It is recommended that the icons installed in the hicolor theme look
+  neutral, since it is a fallback theme that will be used in combination
+  with some very different looking themes. But if you don't have any
+  neutral icon, please install whatever icon you have in the hicolor
+  theme so that all applications get at least some icon in all themes.
+ .
+ 
http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html#install_icons
+Author: Bas Couwenberg <sebas...@debian.org>
+Forwarded: https://bitbucket.org/maproom/qmapshack/issues/64
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -73,6 +73,27 @@ if (UNIX AND NOT WIN32 AND NOT APPLE)
+ 
+   install(
+     FILES
++      src/icons/48x48/QMapShack.png
++    DESTINATION
++      ${ICON_INSTALL_DIR}/hicolor/48x48/apps
++  )
++
++  install(
++    FILES
++      src/icons/32x32/QMapShack.png
++    DESTINATION
++      ${ICON_INSTALL_DIR}/hicolor/32x32/apps
++  )
++
++  install(
++    FILES
++      src/icons/QMapShack.svg
++    DESTINATION
++      ${ICON_INSTALL_DIR}/hicolor/scalable/apps
++  )
++
++  install(
++    FILES
+       qmapshack.1
+     DESTINATION
+       ${MAN_INSTALL_DIR}/man1
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..d0d3836
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+hicolor-icons.patch

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

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to