[lordsawar] 09/133: Overwrite upstreams desktop files for now to remove lintian warning

Markus Koschany apo-guest at moszumanska.debian.org
Thu Jul 2 17:37:51 UTC 2015


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

apo-guest pushed a commit to branch master
in repository lordsawar.

commit 9f3d14154c24c2b37b426f3288b10811b4d76bd9
Author: Barry deFreese <bddebian at comcast.net>
Date:   Mon Oct 8 15:29:33 2007 +0000

    Overwrite upstreams desktop files for now to remove lintian warning
---
 debian/changelog                |  1 +
 debian/lordsawar-editor.desktop | 12 ++++++++++++
 debian/lordsawar.desktop        | 12 ++++++++++++
 debian/rules                    |  5 ++++-
 4 files changed, 29 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 358637a..0ed3aed 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ lordsawar (0.0.3-1) UNRELEASED; urgency=low
   * Split into binary and data packages
   * Move binaries to /usr/games
   * Move shared data to /usr/share/games
+  * Override upstream desktop files until they are fixed
 
  -- Barry deFreese <bddebian at comcast.net>  Thu, 27 Sep 2007 21:27:07 -0400
 
diff --git a/debian/lordsawar-editor.desktop b/debian/lordsawar-editor.desktop
new file mode 100644
index 0000000..947a48a
--- /dev/null
+++ b/debian/lordsawar-editor.desktop
@@ -0,0 +1,12 @@
+[Desktop Entry]
+
+Name=LordsAWar
+GenericName=Turn-based strategy game
+Comment=Play a clone of Warlords II
+
+Type=Application
+Exec=lordsawar
+Icon=lordsawar
+Terminal=false
+Categories=Game;StrategyGame;
+
diff --git a/debian/lordsawar.desktop b/debian/lordsawar.desktop
new file mode 100644
index 0000000..ce0a3ac
--- /dev/null
+++ b/debian/lordsawar.desktop
@@ -0,0 +1,12 @@
+[Desktop Entry]
+
+Name=LordsAWar Editor
+GenericName=LordsAWar Editor
+Comment=Create or Edit LordsAWar maps
+
+Type=Application
+Exec=lordsawar-editor
+Icon=lordsawar
+Terminal=false
+Categories=Game;StrategyGame;
+
diff --git a/debian/rules b/debian/rules
index d73d990..58ca5c9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -56,8 +56,11 @@ install: build
 
 	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
 
-	dh_install --sourcedir=debian/tmp --list-missing
+	#overwrite upstream desktop files
+	#should be fixed in 0.0.4
+	cp debian/*.desktop $(CURDIR)/debian/tmp/usr/share/games/applications
 
+	dh_install --sourcedir=debian/tmp --list-missing
 
 binary-indep: build install
 	dh_testdir -i

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



More information about the Pkg-games-commits mailing list