[dangen] 06/29: o Fix lintian menu-icon-missing tag.
Markus Koschany
apo-guest at moszumanska.debian.org
Wed Jan 6 20:04:09 UTC 2016
This is an automated email from the git hooks/post-receive script.
apo-guest pushed a commit to branch master
in repository dangen.
commit 927aee607023e3a94e376d1a2a88113979383a10
Author: Alexander Alemayhu <alexander at bitraf.no>
Date: Thu Aug 7 22:37:15 2014 +0200
o Fix lintian menu-icon-missing tag.
---
debian/changelog | 8 ++++++++
debian/dangen.desktop | 10 ++++++++++
debian/dangen.dirs | 2 ++
debian/dangen.install | 1 +
debian/dangen.menu | 12 ++++++++++--
debian/dangen.xpm | 41 +++++++++++++++++++++++++++++++++++++++++
debian/rules | 8 ++------
7 files changed, 74 insertions(+), 8 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index f2c78c3..ec2981b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,14 @@ dangen (0.5-3) UNRELEASED; urgency=medium
- debian/upstream: Add upstream public key.
* Fix lintian ancient-standards-version tag.
- Bump Standards-Version from 3.9.2 to 3.9.5.
+ * Provide desktop file and icon.(Closes: #737856)
+ - Added debian/dangen.desktop
+ - Added debian/dangen.dirs
+ - Modified debian/dangen.menu to include icon and description.
+ - Added debian/dangen.xpm
+ - Modified debian/rules:
+ Removed some comments and made sure dangen.{desktop, menu} are copied.
+
* New maintainer, thanks Oohara for your work!(Closes: #738876)
-- Alexander Alemayhu <alexander at bitraf.no> Mon, 04 Aug 2014 22:57:28 +0200
diff --git a/debian/dangen.desktop b/debian/dangen.desktop
new file mode 100644
index 0000000..529f2b9
--- /dev/null
+++ b/debian/dangen.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Version=1.0
+Name=dangen
+Comment=shoot 'em up game
+Exec=dangen
+Icon=dangen
+Terminal=false
+Type=Application
+Categories=Game;ArcadeGame;
+Keywords=shooting;battle;explosions;2D;
diff --git a/debian/dangen.dirs b/debian/dangen.dirs
new file mode 100644
index 0000000..8a53a92
--- /dev/null
+++ b/debian/dangen.dirs
@@ -0,0 +1,2 @@
+usr/share/pixmaps
+usr/share/applications
diff --git a/debian/dangen.install b/debian/dangen.install
new file mode 100644
index 0000000..fb76ff6
--- /dev/null
+++ b/debian/dangen.install
@@ -0,0 +1 @@
+dangen.xpm usr/share/pixmaps
diff --git a/debian/dangen.menu b/debian/dangen.menu
index 63306e6..dfb0113 100644
--- a/debian/dangen.menu
+++ b/debian/dangen.menu
@@ -1,2 +1,10 @@
-?package(dangen): needs="X11" section="Games/Action" \
- title="Dangen" command="/usr/games/dangen"
+?package(dangen): needs="X11" \
+ section="Games/Action" \
+ title="dangen"\
+ longtitle="dangen --- shoot 'em up game where accurate shooting matters" \
+ description="dangen is a shoot 'em up game that attach importance to accuracy \
+ of shooting. With the combination of the cursor key and the shot button, you \
+ can shoot at your side or even at your back. Get the bonus point by hitting \
+ the enemy without a miss. You can choose stages of different difficulty." \
+ icon="/usr/share/pixmaps/dangen.xpm" \
+ command="/usr/games/dangen"
diff --git a/debian/dangen.xpm b/debian/dangen.xpm
new file mode 100644
index 0000000..6e1cd6a
--- /dev/null
+++ b/debian/dangen.xpm
@@ -0,0 +1,41 @@
+/* XPM */
+static char * dangen_xpm[] = {
+"32 32 6 1",
+" c None",
+". c #FFF5C0",
+"+ c #437297",
+"@ c #B6C2B0",
+"# c #0A4B8B",
+"$ c #60869D",
+"................................",
+"................................",
+"................................",
+"................................",
+"................................",
+"................................",
+"................................",
+"++.............................+",
+"..+...........................+.",
+"...+.........................+..",
+"....++.....................++...",
+"......+......... at .........+.....",
+".......++....... at .......++......",
+".........+....#####....+........",
+"..........++.#######.++.........",
+"............###. at .###...........",
+"...........###.. at ..###..........",
+"...........##.++ at ++.##..........",
+"...........##..$$$..##..........",
+"...........##$$...$$##..........",
+"...........###.....###..........",
+"........$$$.###...###.$$$.......",
+"......$$.....#######.....$$.....",
+"...$$$........#####........$$$..",
+".$$...........................$$",
+"$...............................",
+"................................",
+"................................",
+"................................",
+"................................",
+"................................",
+"................................"};
diff --git a/debian/rules b/debian/rules
index 0f01a8c..a8274b3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,5 @@
#!/usr/bin/make -f
-# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
@@ -17,10 +16,6 @@ configure: configure-stamp
configure-stamp:
dh_testdir
[ ! -e config.cache ] || rm config.cache
-# Once dh_autoreconf is called, dh_autoreconf_clean must be called
-# before dh_autoreconf is called again, or information saved in
-# debian/autoreconf.before will be lost. Since dh_autoreconf_clean
-# can be called more than once without a problem, call it here.
dh_autoreconf_clean
dh_autoreconf
./configure $(shell dpkg-buildflags --export=configure) \
@@ -54,9 +49,10 @@ install: build
dh_prep
dh_installdirs
$(MAKE) install DESTDIR=$(CURDIR)/debian/dangen/
+ cp $(CURDIR)/debian/dangen.xpm $(CURDIR)/debian/dangen/usr/share/pixmaps/dangen.xpm
+ cp $(CURDIR)/debian/dangen.desktop $(CURDIR)/debian/dangen/usr/share/applications/dangen.desktop
binary-indep: build install
-# We have nothing to do.
binary-arch: build install
dh_testdir
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/dangen.git
More information about the Pkg-games-commits
mailing list