patch for btanks
Here's a patch for btanks with some minor changes - svn log message is
inlined and attached, since Gmail likes to mangle text:
* debian/rules: add call to dh_desktop in the binary-arch target, remove
redundant rm calls, move chmod to binary-indep target
* debian/menu: change section to Games/Arcade, which exists in the menu spec
* debian/btanks.desktop: add ArcadeGame to Categories, remove
deprecated Encoding key
* debian/doc: remove about_us.txt
Index: debian/changelog
===================================================================
--- debian/changelog (revision 4538)
+++ debian/changelog (working copy)
@@ -5,8 +5,13 @@
* debian/docs - remove about_us.txt File no longer exists
* Add watch file
- -- Barry deFreese <bddebian@comcast.net> Sun, 07 Oct 2007 22:32:28 -0400
+ [ Simon Ruggier ]
+ * rules: add call to dh_desktop in the binary-arch target
+ * menu: change section to Games/Arcade, which exists in the menu spec
+ * btanks.desktop: add ArcadeGame to Categories, remove deprecated Encoding key
+ -- Simon Ruggier <Simon80@gmail.com> Sat, 03 Nov 2007 13:49:47 +0100
+
btanks (0.5.4740-2) unstable; urgency=low
* Corrected btanks-data.doc-base. Wrong mention to other package.
Index: debian/docs
===================================================================
--- debian/docs (revision 4538)
+++ debian/docs (working copy)
@@ -1,4 +1,3 @@
-about_us.txt
README-en.txt
README-fr.txt
README-linux.txt
Index: debian/rules
===================================================================
--- debian/rules (revision 4538)
+++ debian/rules (working copy)
@@ -37,9 +37,6 @@
dh_testroot
rm -f build-stamp configure-stamp
-scons -c
- rm -f `find . -name "*.o"`
- rm -f `find . -name "*.os"`
- rm -f `find . -name "*.so"`
rm -f config.log options.cache bt.xml .sconsign.dblite
rm -rf .sconf_temp build/release
rm -f bt btanks
@@ -52,7 +49,6 @@
dh_testroot
dh_clean -k -a
dh_installdirs
- find data | while read l; do if [ -f "$$l" ]; then chmod -x "$$l"; fi; done
mv bt btanks
chrpath --replace /usr/lib/btanks btanks
@@ -67,6 +63,7 @@
mkdir -p $(CURDIR)/debian/btanks-data/usr/share/doc/btanks/
uudecode -o debian/html.tar debian/html.tar.uu
cd $(CURDIR)/debian/btanks-data/usr/share/doc/btanks/ && tar xvf $(CURDIR)/debian/html.tar
+ find debian/btanks-data/ -type f -print0 | xargs -0 chmod 0644
dh_compress -i
dh_fixperms -i
dh_installdeb -i
@@ -84,6 +81,7 @@
dh_installexamples -a
dh_install -a
dh_installmenu -a
+ dh_desktop -a
dh_installman -a debian/btanks.6
dh_link -a
dh_strip -a
Index: debian/btanks.desktop
===================================================================
--- debian/btanks.desktop (revision 4538)
+++ debian/btanks.desktop (working copy)
@@ -1,9 +1,8 @@
[Desktop Entry]
Name=Battle Tanks
-Encoding=UTF-8
Comment=fast 2D tank arcade game with multiplayer and split-screen modes
Exec=btanks
Icon=btanks
Terminal=false
Type=Application
-Categories=Game;ActionGame;
+Categories=Game;ActionGame;ArcadeGame;
Index: debian/menu
===================================================================
--- debian/menu (revision 4538)
+++ debian/menu (working copy)
@@ -1,3 +1,3 @@
-?package(btanks):needs="X11" section="Games/Action" \
+?package(btanks):needs="X11" section="Games/Arcade" \
title="Battle Tanks" command="/usr/games/btanks" \
icon="/usr/share/pixmaps/btanks.xpm"
* debian/rules: add call to dh_desktop in the binary-arch target, remove
redundant rm calls, move chmod to binary-indep target
* debian/menu: change section to Games/Arcade, which exists in the menu spec
* debian/btanks.desktop: add ArcadeGame to Categories, remove deprecated Encoding key
* debian/doc: remove about_us.txt
Reply to: