Control: tags 487276 + pending

Dear maintainer,

I've prepared an NMU for pacman (versioned as 10-17.1) and
uploaded it to DELAYED/10. Please feel free to tell me if I
should delay it longer.

The upload adds a new desktop file and icon and improves the desktop
integration of pacman. It also fixes two Lintian errors and several
warnings.

Regards,

Markus
diff -u pacman-10/debian/copyright pacman-10/debian/copyright
--- pacman-10/debian/copyright
+++ pacman-10/debian/copyright
@@ -2,7 +2,9 @@
 
 It was downloaded from ftp.cdrom.com:/pub/FreeBSD/distfiles
 
-Upstream Author:	Roar Thronaes <ro...@nvg.unit.no>
+Upstream Author: Roar Thronaes <ro...@nvg.unit.no>
+
+pacmania.xpm icon is courtesy of Douglas Gallagher from www.amazingdg.com
 
 Copyright:
 
@@ -21,13 +23,13 @@
- 
+
    This package is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
- 
+
    You should have received a copy of the GNU General Public License
    along with this package; if not, write to the Free Software
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
    02110-1301, USA.
- 
+
 On Debian systems, the complete text of the GNU General
-Public License can be found in `/usr/share/common-licenses/GPL'.
+Public License can be found in `/usr/share/common-licenses/GPL-2'.
diff -u pacman-10/debian/control pacman-10/debian/control
--- pacman-10/debian/control
+++ pacman-10/debian/control
@@ -2,13 +2,13 @@
 Section: games
 Priority: optional
 Maintainer: Joe Nahmias <je...@debian.org>
-Standards-Version: 3.8.0
-Build-Depends: debhelper (>= 6), xutils-dev, libncurses5-dev, libx11-dev,
+Standards-Version: 3.9.6
+Build-Depends: debhelper (>= 9), xutils-dev, libncurses5-dev, libx11-dev,
  libxext-dev
 
 Package: pacman
 Architecture: any
-Depends: ${shlibs:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: Chase Monsters in a Labyrinth
  You are Pacman, and you are supposed to eat all the small dots to get to
  the next level. You are also supposed to keep away from the ghosts,
reverted:
--- pacman-10/debian/pacman.xpm
+++ pacman-10.orig/debian/pacman.xpm
@@ -1,57 +0,0 @@
-/* XPM */
-static char *pacman[]={
-"47 51 3 1",
-". c #000000",
-"a c #00beff",
-"# c #ffff00",
-"...............................................",
-"...............................................",
-"...............................................",
-"...............................................",
-"......####............................####.....",
-"......####............................####.....",
-"....########........................########...",
-"....########........................########...",
-"....########........................########...",
-"....########........................########...",
-"......####............................####.....",
-"......####............................####.....",
-"...............................................",
-"...............................................",
-"...............................................",
-"...............................................",
-"...............................................",
-"...............................................",
-"...............................................",
-"...............................................",
-"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
-"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
-"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
-"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
-"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
-"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
-"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
-"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
-"...............................................",
-"...............................................",
-"...............................................",
-"...............................................",
-"....................########...................",
-"....................########...................",
-"..................####..##.....................",
-"..................####..##.....................",
-"......####......########..............####.....",
-"......####......########..............####.....",
-"....########....######..............########...",
-"....########....######..............########...",
-"....########....######..............########...",
-"....########....######..............########...",
-"......####......########..............####.....",
-"......####......########..............####.....",
-"..................########.....................",
-"..................########.....................",
-"....................########...................",
-"....................########...................",
-"...............................................",
-"...............................................",
-"..............................................."};
diff -u pacman-10/debian/menu pacman-10/debian/menu
--- pacman-10/debian/menu
+++ pacman-10/debian/menu
@@ -1 +1,5 @@
-?package(pacman): needs="x11" section="Games/Action" title="PacMan" command="/usr/games/pacman" icon="/usr/share/pixmaps/pacman.xpm"
+?package(pacman):needs="X11" \
+ section="Games/Action" \
+ title="PacMan" \
+ command="/usr/games/pacman" \
+ icon="/usr/share/pixmaps/pacmania.xpm"
diff -u pacman-10/debian/rules pacman-10/debian/rules
--- pacman-10/debian/rules
+++ pacman-10/debian/rules
@@ -7,6 +7,7 @@
 #export DH_VERBOSE=1
 
 CFLAGS = -Wall -g
+
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
 	CFLAGS += -O0
 else
@@ -14,7 +15,9 @@
 endif
 export CFLAGS
 
-build: build-stamp
+build: build-arch build-indep
+build-arch: build-stamp
+build-indep: build-stamp
 build-stamp:
 	dh_testdir
 	xmkmf -a
@@ -31,10 +34,15 @@
 install: build
 	dh_testdir
 	dh_testroot
-	dh_clean -k 
+	dh_prep
 	dh_installdirs
 	dh_install
 
+	#install desktop and icon
+	install -m 644 -D $(CURDIR)/debian/pacman.desktop \
+		$(CURDIR)/debian/pacman/usr/share/applications/pacman.desktop
+	install -m 644 -D $(CURDIR)/debian/pacmania.xpm \
+		$(CURDIR)/debian/pacman/usr/share/pixmaps/pacmania.xpm
 
 # Build architecture-independent files here.
 binary-indep:
@@ -44,7 +52,7 @@
 binary-arch: build install
 	dh_testdir
 	dh_testroot
-	dh_installchangelogs 
+	dh_installchangelogs
 	dh_installdocs
 	dh_installexamples
 	dh_installmenu
diff -u pacman-10/debian/compat pacman-10/debian/compat
--- pacman-10/debian/compat
+++ pacman-10/debian/compat
@@ -1 +1 @@
-6
+9
diff -u pacman-10/debian/changelog pacman-10/debian/changelog
--- pacman-10/debian/changelog
+++ pacman-10/debian/changelog
@@ -1,3 +1,17 @@
+pacman (10-17.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Provide a desktop file and a new icon for pacman. Thanks to Paolo Naldini
+    for the report and initial patch. (Closes: #487276)
+  * Declare compliance with Debian Policy 3.9.6.
+  * debian/rules: Replace deprecated dh_clean -k with dh_prep.
+  * debian/rules: Add recommended build-arch and build-indep targets.
+  * debian/control: Add missing ${misc:Depends} substvar.
+  * Use compat level 9 and require debhelper >= 9.
+  * Use source format 1.0 explicitly.
+
+ -- Markus Koschany <a...@debian.org>  Fri, 04 Dec 2015 18:19:49 +0100
+
 pacman (10-17) unstable; urgency=low
 
   * imake has moved to xutils-dev, closes: #485214.
only in patch2:
unchanged:
--- pacman-10.orig/debian/pacman.desktop
+++ pacman-10/debian/pacman.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=Pacman
+GenericName=Arcade Game
+Comment=A simple clone of the classic arcade game
+Comment[de]=Ein simpler Klon des Arkadeklassikers Pacman
+Exec=pacman
+Icon=pacmania
+Type=Application
+Categories=Game;ArcadeGame;
+Keywords=arcade;pacman;dots;ghosts;level;
+
only in patch2:
unchanged:
--- pacman-10.orig/debian/pacmania.xpm
+++ pacman-10/debian/pacmania.xpm
@@ -0,0 +1,284 @@
+/* XPM */
+static char * pacmania_xpm[] = {
+"32 32 249 2",
+"  	c None",
+". 	c #767676",
+"+ 	c #393A34",
+"@ 	c #3A3B3B",
+"# 	c #5E6163",
+"$ 	c #9EA59E",
+"% 	c #454341",
+"& 	c #555923",
+"* 	c #A5A84B",
+"= 	c #D2CC57",
+"- 	c #F5EE83",
+"; 	c #FEF885",
+"> 	c #DCD675",
+", 	c #A9A955",
+"' 	c #696634",
+") 	c #2B2D27",
+"! 	c #9C9C9C",
+"~ 	c #1A1C2B",
+"{ 	c #212638",
+"] 	c #7B7B7B",
+"^ 	c #868B3A",
+"/ 	c #EDE457",
+"( 	c #FCF361",
+"_ 	c #FBF5A9",
+": 	c #FEFBC6",
+"< 	c #FFFBD6",
+"[ 	c #FEFAB7",
+"} 	c #FEF798",
+"| 	c #FEF876",
+"1 	c #A09D46",
+"2 	c #36352A",
+"3 	c #78736F",
+"4 	c #1E1E33",
+"5 	c #5F5C1F",
+"6 	c #EAE44D",
+"7 	c #FEF349",
+"8 	c #FEF452",
+"9 	c #E6E3A9",
+"0 	c #828569",
+"a 	c #0B0B05",
+"b 	c #43443D",
+"c 	c #908F33",
+"d 	c #FDF138",
+"e 	c #BBB140",
+"f 	c #5B5A5B",
+"g 	c #5A5954",
+"h 	c #8B8546",
+"i 	c #E4DB53",
+"j 	c #615A33",
+"k 	c #575756",
+"l 	c #9CA632",
+"m 	c #F7E936",
+"n 	c #7A772B",
+"o 	c #181309",
+"p 	c #0D100C",
+"q 	c #151510",
+"r 	c #4C3F18",
+"s 	c #CECA68",
+"t 	c #F6F5EA",
+"u 	c #C3C0B9",
+"v 	c #909090",
+"w 	c #827E33",
+"x 	c #F3E52C",
+"y 	c #F8EA45",
+"z 	c #EDE136",
+"A 	c #E5DB46",
+"B 	c #AEAE67",
+"C 	c #A4A27E",
+"D 	c #EBE128",
+"E 	c #E8DC83",
+"F 	c #E6E4E8",
+"G 	c #DFE2D9",
+"H 	c #D7D7D7",
+"I 	c #474516",
+"J 	c #E5DB36",
+"K 	c #F6EB54",
+"L 	c #F1EA78",
+"M 	c #EDE374",
+"N 	c #E7E5BA",
+"O 	c #EFF0E8",
+"P 	c #F2EFF1",
+"Q 	c #EBE8C1",
+"R 	c #E8E6D5",
+"S 	c #C6CCCA",
+"T 	c #86D3C9",
+"U 	c #44626A",
+"V 	c #C8C23D",
+"W 	c #DEDFE2",
+"X 	c #D9D7CB",
+"Y 	c #CDD2D0",
+"Z 	c #CFCBA6",
+"` 	c #E4D92B",
+" .	c #DDD228",
+"..	c #D1CC83",
+"+.	c #C1BFC9",
+"@.	c #9BC0BF",
+"#.	c #56AAAA",
+"$.	c #58856B",
+"%.	c #53511C",
+"&.	c #ECE567",
+"*.	c #C6CFD1",
+"=.	c #84BEA7",
+"-.	c #D7CC45",
+";.	c #BDBA82",
+">.	c #859C9B",
+",.	c #20434D",
+"'.	c #7C7837",
+").	c #A7A7A7",
+"!.	c #626262",
+"~.	c #B9B336",
+"{.	c #D6CB1D",
+"].	c #D5CA27",
+"^.	c #D6D6BB",
+"/.	c #BDBEBC",
+"(.	c #BFBEC3",
+"_.	c #4F9597",
+":.	c #27423F",
+"<.	c #D4CA33",
+"[.	c #445421",
+"}.	c #988719",
+"|.	c #BBB224",
+"1.	c #262514",
+"2.	c #CAC21F",
+"3.	c #CBBB33",
+"4.	c #E6E49A",
+"5.	c #A9A98C",
+"6.	c #144333",
+"7.	c #242905",
+"8.	c #DDD232",
+"9.	c #C8BE1C",
+"0.	c #CCC223",
+"a.	c #BDB31E",
+"b.	c #B0AC31",
+"c.	c #4E4E2D",
+"d.	c #C4B927",
+"e.	c #958D5A",
+"f.	c #66655A",
+"g.	c #535A4E",
+"h.	c #837E25",
+"i.	c #75751B",
+"j.	c #D9CD32",
+"k.	c #D1C432",
+"l.	c #C2B43A",
+"m.	c #9D8725",
+"n.	c #726615",
+"o.	c #6D6B16",
+"p.	c #898616",
+"q.	c #DDD21B",
+"r.	c #B7AB27",
+"s.	c #977423",
+"t.	c #694515",
+"u.	c #49210C",
+"v.	c #541724",
+"w.	c #4B2215",
+"x.	c #695908",
+"y.	c #3D3C18",
+"z.	c #838383",
+"A.	c #D4CA38",
+"B.	c #AA9825",
+"C.	c #82651A",
+"D.	c #59370C",
+"E.	c #3E0B10",
+"F.	c #52151A",
+"G.	c #8B8B8B",
+"H.	c #AAA31B",
+"I.	c #6C4B0F",
+"J.	c #410B0C",
+"K.	c #500F1A",
+"L.	c #491116",
+"M.	c #50200C",
+"N.	c #736D0F",
+"O.	c #131402",
+"P.	c #B4AA1A",
+"Q.	c #8E731D",
+"R.	c #430D25",
+"S.	c #460C13",
+"T.	c #56540B",
+"U.	c #9B961A",
+"V.	c #572B11",
+"W.	c #3B080C",
+"X.	c #574704",
+"Y.	c #443B0E",
+"Z.	c #87840B",
+"`.	c #A2950F",
+" +	c #555413",
+".+	c #181B11",
+"++	c #696807",
+"@+	c #A28328",
+"#+	c #63251C",
+"$+	c #2D3702",
+"%+	c #8A7F0B",
+"&+	c #956820",
+"*+	c #63171B",
+"=+	c #0E1102",
+"-+	c #3C3C03",
+";+	c #C4B133",
+">+	c #9D6332",
+",+	c #842A38",
+"'+	c #631A25",
+")+	c #303201",
+"!+	c #B6733A",
+"~+	c #9F3F55",
+"{+	c #853427",
+"]+	c #703E13",
+"^+	c #898324",
+"/+	c #353532",
+"(+	c #2C2B01",
+"_+	c #C58741",
+":+	c #B95054",
+"<+	c #8E3444",
+"[+	c #7C242A",
+"}+	c #6B2429",
+"|+	c #DFCF3E",
+"1+	c #D6A646",
+"2+	c #C36B47",
+"3+	c #AE4958",
+"4+	c #A9444A",
+"5+	c #963641",
+"6+	c #8C3138",
+"7+	c #80272A",
+"8+	c #922E41",
+"9+	c #312C02",
+"0+	c #4C4707",
+"a+	c #E4CB48",
+"b+	c #C86E52",
+"c+	c #C45659",
+"d+	c #B54B52",
+"e+	c #B0443E",
+"f+	c #924B39",
+"g+	c #B49534",
+"h+	c #32280C",
+"i+	c #322603",
+"j+	c #A7A224",
+"k+	c #DEBA4C",
+"l+	c #D59752",
+"m+	c #CD7F53",
+"n+	c #C66B5B",
+"o+	c #C3625E",
+"p+	c #BB6052",
+"q+	c #B9673F",
+"r+	c #242402",
+"s+	c #3A3204",
+"t+	c #6C6415",
+"u+	c #969227",
+"v+	c #B9AF34",
+"w+	c #D2BC39",
+"x+	c #99962D",
+"y+	c #5F6117",
+"z+	c #1F2000",
+"                          . + @ + @ # $                         ",
+"                    % & * = - ; ; - > , ' ) !   ~ { ]           ",
+"                + ^ / ( ; _ : < < < [ } | ( 1 2 3 4 @           ",
+"            ] 5 6 7 8 | ; } } 9 9 _ _ } } ( / 0 % a             ",
+"          b c 7 d 7 7 7 7 8 e f # g h i 7 ( e % j , +           ",
+"        k l d d d d d d d m m n o p q r m m 6 s t t u %         ",
+"      v w m m m x m m m m y x z A B C s x x D E F G H $ %       ",
+"      I J z x z D z z z z K L M N O t P Q i D i R H S T U       ",
+"    + V D J D J z D z z / - [ Q H W F X Y Z `  ...+.@.#.$.)     ",
+"    %. .`  .` J ` D z z &._ < X S H H *.T =.-. .` ;.>.,.I '.).  ",
+"  !.~.{.]. .J ` ` ` ` A &._ : ^./.(./.@._.:.V <.<.].* [.}.|.)   ",
+"  1.2.3. . . . .J ` ` J A &.- 4.5.).).>.6.7.8.].].].9.0.a.b.c.  ",
+"  %.d.].].]. . . . . .J 8.A A A = e.f.g.& ~.].].].].3.~.h.I 1.  ",
+"  i.d.0.].].]. . . . . . . .8.8.j.8.<.<.]. .0.k.l.m.n.o.p       ",
+"v p.a.d.3.3.].].]. . . . . . . .q. .<.<.k.r.s.t.u.v.w.x.y.      ",
+"z.p.|.a.d.0.0.].].].].].].].].].j.A.B.C.D.E.F.v.v.v.v.D.o.!.    ",
+"G.p.H.a.a.0.0.0.0.0.].].0.k.d.m.I.w.J.K.K.K.L.F.F.v.M.M.N.O.    ",
+"v o.H.P.a.a.d.d.9.0.3.r.Q.t.L.R.E.E.S.K.E.K.K.L.F.v.v.v.x.1.    ",
+"  T.U.H.P.P.a.a.B.C.V.W.S.E.J.J.S.S.S.S.S.K.K.K.K.K.F.v.X.Y.    ",
+"  7.Z.`.P.P.Q.V.E.S.S.W.S.W.J.J.E.S.W.S.E.E.E.K.S.K.F.F.D. +!   ",
+"  .+++p.H.0.@+#+L.E.W.S.W.W.W.W.W.W.W.W.W.S.E.K.S.S.K.F.D.%.!   ",
+"  ] $+o.%+r.~.&+*+S.W.W.W.W.W.W.W.W.W.W.W.W.S.S.S.K.K.K.I.%.!   ",
+"    =+-+n.Z.9.;+>+,+'+E.W.W.W.W.W.W.W.W.W.W.W.S.S.S.S.*+C.y.    ",
+"    f 7.)+T.N.~.3.!+~+{+*+S.W.W.W.W.W.W.W.W.W.W.S.K.v.]+^+/+    ",
+"      .+(+)+Y.X.b. ._+:+~+<+[+*+K.K.S.S.K.S.S.M.'+}+}+}.Y.      ",
+"        =+)+(+)+-+^+|+1+2+:+3+4+5+6+7+7+7+[+7+,+8+{+s.' ]       ",
+"        z.O.(+(+(+9+0+b.a+1+b+c+:+:+d+e+4+d+4+d+f+g+w %         ",
+"          z.O.(+(+(+h+i+ +j+|+k+l+m+n+o+p+q+!+g+l.5 k           ",
+"              q r+(+(+(+(+9+s+t+u+v+3.w+w+l.x+y+z+v             ",
+"                f =+r+(+(+(+(+9+i+(+7.9+(+r+O./+                ",
+"                    ] q O.z+r+(+(+7.r+O.a !.                    ",
+"                            v G.z.G.                            "};
only in patch2:
unchanged:
--- pacman-10.orig/debian/source/format
+++ pacman-10/debian/source/format
@@ -0,0 +1 @@
+1.0

Reply via email to