Control: tags -1 patch

Dear maintainer,

please find attached a patch that achieves the following:

* Add stax.desktop file.
* Add stax.xpm icon and install it to /usr/share/pixmaps.
* Update menu file. Use valid section Games/Blocks. Add longtitle and
  icon entry. (Closes: #738035)

Regards,

Markus
From 7b2dbaa0307e69c19331f053203b7f8fd5564a1b Mon Sep 17 00:00:00 2001
From: Markus Koschany <[email protected]>
Date: Sun, 30 Mar 2014 15:23:14 +0200
Subject: [PATCH] fix 738035

---
 debian/changelog    |  10 ++
 debian/menu         |   7 +-
 debian/rules        |   5 +-
 debian/stax.desktop |  11 ++
 debian/stax.xpm     | 293 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 323 insertions(+), 3 deletions(-)
 create mode 100644 debian/stax.desktop
 create mode 100644 debian/stax.xpm

diff --git a/debian/changelog b/debian/changelog
index 19ae98b..a695830 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+stax (1.0-13.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add stax.desktop file.
+  * Add stax.xpm icon and install it to /usr/share/pixmaps.
+  * Update menu file. Use valid section Games/Blocks. Add longtitle and
+    icon entry. (Closes: #738035)
+
+ -- Markus Koschany <[email protected]>  Sun, 30 Mar 2014 15:23:26 +0200
+
 stax (1.0-13) unstable; urgency=low
 
   * yet another recompiled against a new Allegro version, this time really
diff --git a/debian/menu b/debian/menu
index f73584e..b6ca897 100644
--- a/debian/menu
+++ b/debian/menu
@@ -1 +1,6 @@
-?package(stax):needs="X11" section="Games/Tetris-like" title="Stax" command="/usr/games/stax"
+?package(stax):needs="X11" \
+  section="Games/Blocks" \
+  title="Stax" \
+  longtitle="Stax - collection of puzzle games similar to Tetris Attack" \
+  command="/usr/games/stax" \
+  icon="/usr/share/pixmaps/stax.xpm"
diff --git a/debian/rules b/debian/rules
index eac8bcc..8480c99 100755
--- a/debian/rules
+++ b/debian/rules
@@ -40,12 +40,13 @@ install: build
 	dh_testdir -pstax
 	dh_testroot -pstax
 	dh_clean -k -pstax
-	dh_installdirs -pstax usr/share/games/stax usr/games
+	dh_installdirs -pstax usr/share/games/stax usr/games usr/share/pixmaps usr/share/applications
 
 	# Add here commands to install the package into debian/tmp.
 	install -m755 `pwd`/stax `pwd`/debian/stax/usr/games/stax
 	cp -a `pwd`/*.dat `pwd`/debian/stax/usr/share/games/stax/
-#	install -m755 `pwd`/debian/stax.sh `pwd`/debian/stax/usr/games/stax
+	install -m644 debian/stax.xpm debian/stax/usr/share/pixmaps
+	install -m644 debian/stax.desktop debian/stax/usr/share/applications
 #	dh_link -pstax /usr/lib/games/stax/stax /usr/share/games/stax/stax
 
 # Build architecture-independent files here.
diff --git a/debian/stax.desktop b/debian/stax.desktop
new file mode 100644
index 0000000..0444746
--- /dev/null
+++ b/debian/stax.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Version=1.0
+Name=Stax
+Comment=collection of puzzle games similar to Tetris Attack
+Comment[de]=Sammlung von Puzzlespielen ähnlich wie Tetris Attack
+Exec=stax
+Icon=stax
+Terminal=false
+Type=Application
+Categories=Game;BlocksGame;
+Keywords=Tetris;blocks;collection;attack;
diff --git a/debian/stax.xpm b/debian/stax.xpm
new file mode 100644
index 0000000..bc5e39e
--- /dev/null
+++ b/debian/stax.xpm
@@ -0,0 +1,293 @@
+/* XPM */
+static char *stax[] = {
+/* columns rows colors chars-per-pixel */
+"32 31 256 2 ",
+"   c #020101",
+".  c #0B0201",
+"X  c #040A02",
+"o  c #0B0C02",
+"O  c #03020B",
+"+  c #0B010B",
+"@  c #010C0C",
+"#  c #0A0D0D",
+"$  c #120202",
+"%  c #1B0303",
+"&  c #150807",
+"*  c #0A140A",
+"=  c #131501",
+"-  c #161900",
+";  c #1B1A03",
+":  c #0B0212",
+">  c #000C13",
+",  c #0A0716",
+"<  c #13041A",
+"1  c #180419",
+"2  c #011413",
+"3  c #001C1B",
+"4  c #051914",
+"5  c #161B1B",
+"6  c #220203",
+"7  c #2C0102",
+"8  c #27080C",
+"9  c #330201",
+"0  c #3C0000",
+"q  c #320B0C",
+"w  c #3A080C",
+"e  c #261907",
+"r  c #350C16",
+"t  c #3E1212",
+"y  c #1B2109",
+"u  c #1D2301",
+"i  c #02221D",
+"p  c #092911",
+"a  c #142514",
+"s  c #242201",
+"d  c #282603",
+"f  c #2B2A01",
+"g  c #26280A",
+"h  c #302D01",
+"j  c #382805",
+"k  c #323400",
+"l  c #3A3601",
+"z  c #3C3B02",
+"x  c #3D3A08",
+"c  c #1B0323",
+"v  c #1A0626",
+"b  c #081B27",
+"n  c #1E1135",
+"m  c #23072C",
+"M  c #31072A",
+"N  c #240533",
+"B  c #2D0B3C",
+"V  c #280837",
+"C  c #3F003D",
+"Z  c #012424",
+"A  c #012B2A",
+"S  c #08252B",
+"D  c #00332E",
+"F  c #013333",
+"G  c #023738",
+"H  c #013B3B",
+"J  c #013C34",
+"K  c #022E31",
+"L  c #450202",
+"P  c #4B0304",
+"I  c #4D0D0C",
+"U  c #450B0D",
+"Y  c #590404",
+"T  c #451213",
+"R  c #4B1313",
+"E  c #541313",
+"W  c #5B1414",
+"Q  c #511B1B",
+"!  c #590A14",
+"~  c #620102",
+"^  c #690B0B",
+"/  c #790406",
+"(  c #771717",
+")  c #6A1514",
+"_  c #423C09",
+"`  c #433F11",
+"'  c #5A3627",
+"]  c #672121",
+"[  c #3D4103",
+"{  c #02443F",
+"}  c #4A4A03",
+"|  c #474409",
+" . c #534D07",
+".. c #595507",
+"X. c #484711",
+"o. c #535411",
+"O. c #5F6203",
+"+. c #6A660C",
+"@. c #6E6919",
+"#. c #716D12",
+"$. c #71691A",
+"%. c #787417",
+"&. c #75700D",
+"*. c #7D742E",
+"=. c #2B0642",
+"-. c #340B45",
+";. c #330246",
+":. c #321246",
+">. c #3A0D53",
+",. c #3E0C5A",
+"<. c #3C0458",
+"1. c #3E1357",
+"2. c #4A0755",
+"3. c #7A0F48",
+"4. c #440968",
+"5. c #481764",
+"6. c #480C71",
+"7. c #4E1476",
+"8. c #50126E",
+"9. c #740C74",
+"0. c #792871",
+"q. c #024141",
+"w. c #014D4D",
+"e. c #024948",
+"r. c #014D50",
+"t. c #015353",
+"y. c #005A5A",
+"u. c #0F4F53",
+"i. c #036465",
+"p. c #00676B",
+"a. c #006B6B",
+"s. c #006B64",
+"d. c #017575",
+"f. c #00787C",
+"g. c #006E73",
+"h. c #78527A",
+"j. c #831617",
+"k. c #991D1D",
+"l. c #99140C",
+"z. c #A41E1E",
+"x. c #B81E1E",
+"c. c #A80A0F",
+"v. c #98251E",
+"b. c #9D1921",
+"n. c #8B2423",
+"m. c #9E2929",
+"M. c #952221",
+"N. c #9F3232",
+"B. c #AE2B29",
+"V. c #B62828",
+"C. c #B83838",
+"Z. c #B13230",
+"A. c #C73939",
+"S. c #827E1C",
+"D. c #860B7A",
+"F. c #A40267",
+"G. c #BE4F4F",
+"H. c #C44444",
+"J. c #D44B4B",
+"K. c #DA5B5B",
+"L. c #D25554",
+"P. c #DB6464",
+"I. c #CE6D6D",
+"U. c #E57372",
+"Y. c #00817A",
+"T. c #86820B",
+"R. c #8C8919",
+"E. c #908E1B",
+"W. c #9B9919",
+"Q. c #A0991E",
+"!. c #8E8C24",
+"~. c #888423",
+"^. c #999725",
+"/. c #96932A",
+"(. c #A09C33",
+"). c #A7A328",
+"_. c #BAB43D",
+"`. c #B0AD3B",
+"'. c #BBB846",
+"]. c #D9B26D",
+"[. c #CCCA5C",
+"{. c #C7C456",
+"}. c #D6D569",
+"|. c #DCDB74",
+" X c #C4C370",
+".X c #5E038F",
+"XX c #63178D",
+"oX c #670B96",
+"OX c #6B2194",
+"+X c #6F1DA1",
+"@X c #6F14A8",
+"#X c #7F26AE",
+"$X c #801FB1",
+"%X c #852DB5",
+"&X c #8736B5",
+"*X c #8235AD",
+"=X c #9E729A",
+"-X c #B46F85",
+";X c #9134C5",
+":X c #983BC7",
+">X c #8E31C3",
+",X c #9E43D2",
+"<X c #A24AD4",
+"1X c #AC56D9",
+"2X c #B665E3",
+"3X c #BB72E5",
+"4X c #C87FEF",
+"5X c #038584",
+"6X c #008D8C",
+"7X c #098786",
+"8X c #079898",
+"9X c #129A9A",
+"0X c #05A5A5",
+"qX c #13AAAA",
+"wX c #18A5A5",
+"eX c #0EB4B4",
+"rX c #26BBBB",
+"tX c #38B2B4",
+"yX c #39BBCA",
+"uX c #19C3C3",
+"iX c #2AC9C9",
+"pX c #39DDDD",
+"aX c #30D0D0",
+"sX c #3FCDCD",
+"dX c #4AD6D6",
+"fX c #44C2C2",
+"gX c #59E9E8",
+"hX c #68E5E3",
+"jX c #70F3F2",
+"kX c #EF8E8E",
+"lX c #F28B8B",
+"zX c #F39898",
+"xX c #F9A9A9",
+"cX c #E5E786",
+"vX c #F2F299",
+"bX c #E6E491",
+"nX c #F8F8AB",
+"mX c #FDFDB7",
+"MX c #EFD394",
+"NX c #CF8BEF",
+"BX c #DA9EFB",
+"VX c #CB8AF0",
+"CX c #DFA7FD",
+"ZX c #E8B6FD",
+"AX c #E0AEFC",
+"SX c #81F0EF",
+"DX c #8AF7F6",
+"FX c #95FFFF",
+"GX c #A9FFFF",
+"HX c #B6FFFF",
+"JX c #BCFFFF",
+"KX c #FFC3C4",
+"LX c #FFCFCF",
+"PX c #FFD4D4",
+"IX c #FFFFCA",
+"UX c #F2CAFF",
+/* pixels */
+"o l   z   o L   0   . l   l   o Z @ 4 @ @ 7 6 % 6 . % 9 . 7     ",
+"  h &.)...o 8 ( x.( & - ..).%.s > w.6Xd.A $ Q z.z.R   R k.x.E . ",
+"Z ..}.mX`.X.P L.KXL.W k `.mX}[email protected] 6XFXgXg.& z.xXzXN.q j.kXxXB.w ",
+"@ _ '.bX(.y 9 C.zXH.q u ^.bX{._ > a.hXaXw.$ ( U.U.( $ ^ P.lXn.& ",
+"3 u } R.X.x . L b.I L $ _ T.X. .X A g.w.q.@ 0 ( ( I % 6 ) j.I 9 ",
+"4 6   '   s d   j   % Z   a   - f   y . @ Z @ # #   e - . d   q ",
+". T ) c.W   h ..W. .= 3 e.f.t.b e } R.#.h @ q.g.a.D . | +.R.| * ",
+"3 Y P.xXC.q k '.nX'.X.3 8XDXiXr.; E.vX|.@.* a.hXhXd.4 +.|.vX!.g ",
+"2 ~ K.xXC.q x _.nX'.` S wXDXiXe.s E.vX|[email protected] i.hXgXd.* #.|.vX!.g ",
+"2 % ^ B.W 7 = ..W.o.x 4 u.6Xu.G O | E.#. .. K f.f.q.@ h &.E.X.s ",
+"S <   r   7 2   g   h c   b   Z y   d   ; a   * @ @ b + . 5   h ",
+"  >.,.oX:.: D H p.G O B :.oX,.c f _ &...d 2 H t.y.A : 1.4..X-.O ",
+"< =.1XNX%Xc 3 wXhXqXD 1 *XNX<X>.o ~.cX[.o.* i.dXdXi.> 5.3XVXOX< ",
+"V 6.2XZX:X-.D rXGXuX{ ;.;XZX2X7.h Q.nXcX*.a g.SXjX5Xb oXVXBX%XN ",
+"O v XX;X8.c @ t.0Xi.Z + 6.;XXXB X  .).~.X.  K 6X6Xe.X V +X%X,.< ",
+"B + O B   -.,   K   D ,   :.  B &   h o h y   3 2 2 A + 1 m + B ",
+"  I 9 / q . <.N .XN 1 D Z w.A 4 0 q ~ P 8 v -.<.4.m > H D w.i X ",
+"o q H.U.m.& , &X3X&Xv @ 5XdXqXK + n.U.J.E X 7.2X1X7.  H rXsXa.@ ",
+"` / U.LXH.W 6.1XUX1X8.D qXHXpXa.0 V.KXlXv.M #XCXBX#Xn s.hXFX0XA ",
+"  6 k.J.j.$ < XX<XOX1 X t.eX5XZ   ^ H.B.T   <.>X;X1.  K 7XeXr.@ ",
+"l $ $ R . L : O ,.+ <.@ @ G @ G # $ I % 0 6 : V m m N 2 Z K 2 G ",
+". I % ~ % + } - O.; = K 2 H 3 @ A 3 G Z 2 N V =.;.1 % P 9 ~ % . ",
+"@ q C.J.M.$ = !.{.!.; @ d.rX9XZ   i.rXwXG   5.<X,X5.  T H.J.) c ",
+"T / U.LXH.E ..{.IX[[email protected] qXHXpXp.A 8XGXgXY.n $XAXBX#XM l.zXKXZ.3.",
+"  7 B.K.M.+ - R.[./.; @ i.iX9XA   t.rXqXG   4.,X<X5.  L A.K.) 2.",
+"0 $ 6 ) % P = - O.;  .@ 2 r.2 { > 3 w.Z H 2 1 >.-.V N % q ! % F.",
+"o [ o } o o L   P . $ F   A @ @ 0 % 0 6 % Z 3 3 i @ ; k - [ o D.",
+"  d R._.#.o 8 n.A.n.% @ p.qXf.Z . ] A.B.t   e.8X8X{   _ ^._. .9.",
+"B O.|.IX'.o.Y K.PXK.( K qXHXpXa.0 V.KXlXb.5 5XFXjX6Xp S.cXmXW.-X",
+"+ s (. X*.= % M.I.N.8 2 i.fX9XZ . ) I.H.T X H tXyXu.1 ' ].MX*.=X",
+"        X                   X                 + V C 2.9.9.0.h.h."
+};
-- 
1.9.1

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to