[gosmore] 07/20: Add patch to fix desktop file issues.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sat May 7 12:24:58 UTC 2016


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

sebastic pushed a commit to branch master
in repository gosmore.

commit f2befa3123cf8848f4267ea49cec3f5af8ee141d
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat May 7 11:31:17 2016 +0200

    Add patch to fix desktop file issues.
---
 debian/changelog             |  1 +
 debian/gosmore.menu          |  4 ----
 debian/patches/desktop.patch | 15 +++++++++++++++
 debian/patches/series        |  1 +
 4 files changed, 17 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 5861921..eb16e0f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -22,6 +22,7 @@ gosmore (0.0.0.20150815-1) UNRELEASED; urgency=medium
   * Enable parallel builds.
   * Update Vcs-Git URL to use HTTPS.
   * Enable all hardening buildflags.
+  * Add patch to fix desktop file issues.
 
  -- Ross Gammon <rossgammon at mail.dk>  Sat, 15 Aug 2015 23:22:09 +0200
 
diff --git a/debian/gosmore.menu b/debian/gosmore.menu
deleted file mode 100644
index 8192eea..0000000
--- a/debian/gosmore.menu
+++ /dev/null
@@ -1,4 +0,0 @@
-?package(gosmore):needs="X11"\
-  section="Applications/Science/Geoscience"\
-  title="Gosmore"\
-  command="/usr/bin/gosmore"
diff --git a/debian/patches/desktop.patch b/debian/patches/desktop.patch
new file mode 100644
index 0000000..9da28fd
--- /dev/null
+++ b/debian/patches/desktop.patch
@@ -0,0 +1,15 @@
+Description: Fix issues with desktop file.
+ - Add Main Category
+ - Add Keywords
+Author: Bas Couwenberg <sebastic at debian.org>
+
+--- a/gosmore.desktop
++++ b/gosmore.desktop
+@@ -8,5 +8,6 @@ Exec=gosmore nopak
+ TryExec=gosmore
+ Icon=gosmore
+ Terminal=false
+-Categories=Geography
++Categories=Science;Geography;
+ StartupNotify=false
++Keywords=geo;gis;osm;
diff --git a/debian/patches/series b/debian/patches/series
index 74d94f6..11bceda 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ curl_types.h
 no-strict-overflow.diff
 linker_flags.diff
 hardening.patch
+desktop.patch

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



More information about the Pkg-grass-devel mailing list