tags 727032 + patch thanks Hi,
the attached patch adds a desktop file and it adds an icon entry in the menu file. The patch requires the also attached rocksndiamonds.png icon, I took it from https://commons.wikimedia.org/wiki/File:Rocks%27n%27Diamonds.png Thanks Andreas
Added desktop file and added icon entry in menu file (Closes: #727032). --- a/debian/copyright +++ b/debian/copyright @@ -80,3 +80,22 @@ This is derived from the Berkeley source: @(#)random.c 5.5 (Berkeley) 7/6/88 It was reworked for the GNU C Library by Roland McGrath. + +debian/rocksndiamonds.png + It was downloaded from: + https://commons.wikimedia.org/wiki/File:Rocks%27n%27Diamonds.png + + This work is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the + Free Software Foundation; either version 2 of the License, or any later + version. This work 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 version 2 and + version 3 of the GNU General Public License for more details. + + On debian systems, full text of GPLv2 license is alailable + in /usr/share/common-licenses/GPL-2 + Full text of the GPLv3 license is available + in /usr/share/common-licenses/GPL-3 + + This image was also used to provide debian/rocksndiamonds.xpm. --- a/debian/menu +++ b/debian/menu @@ -1,3 +1,6 @@ -?package(rocksndiamonds):needs="x11" section="Games/Action"\ +?package(rocksndiamonds): needs="x11" \ + section="Games/Action" \ title="Rocks'n'Diamonds" \ - command="/usr/games/rocksndiamonds forcestart" + longtitle="A Boulder Dash, Emerald Mine, Supaplex, Sokoban etcetera inspired arcade game" \ + command="/usr/games/rocksndiamonds" \ + icon="/usr/share/pixmaps/rocksndiamonds.xpm" --- a/debian/rocksndiamonds.desktop +++ b/debian/rocksndiamonds.desktop @@ -0,0 +1,14 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=Rocks'n'Diamonds +GenericName=A arcade game +GenericName[de]=Ein Arcade-Spiel +Comment=A Boulder Dash, Emerald Mine, Supaplex, Sokoban etcetera inspired arcade game +Comment[de]=Ein Boulder Dash, Emerald Mine, Supaplex, Sokoban usw. inspiriertes Arcade-Spiel +Exec=rocksndiamonds +Icon=rocksndiamonds +StartupNotify=true +Terminal=false +Categories=Game;ArcadeGame; +Keywords=action;arcade;rocks;diamonds;boulder;dash;emerald;mine;supaplex;sokoban; --- a/debian/rocksndiamonds.install +++ b/debian/rocksndiamonds.install @@ -1,2 +1,5 @@ -rocksndiamonds-bin /usr/games/ -rocksndiamonds /usr/games/ +rocksndiamonds-bin usr/games +rocksndiamonds usr/games +debian/rocksndiamonds.desktop usr/share/applications +debian/rocksndiamonds.png usr/share/icons/hicolor/128x128/apps +debian/rocksndiamonds.xpm usr/share/pixmaps --- a/debian/rocksndiamonds.xpm +++ b/debian/rocksndiamonds.xpm @@ -0,0 +1,210 @@ +/* XPM */ +static char *rocksndiamonds[] = { +/* columns rows colors chars-per-pixel */ +"32 32 172 2 ", +" c #004C00", +". c #004D00", +"X c #004E00", +"o c #004F00", +"O c #005000", +"+ c #005100", +"@ c #005200", +"# c #005300", +"$ c #005400", +"% c #005600", +"& c #005700", +"* c #005800", +"= c #005A00", +"- c #005B00", +"; c #005C00", +": c #005D00", +"> c #005E00", +", c #005F00", +"< c #006000", +"1 c #006100", +"2 c #006200", +"3 c #006300", +"4 c #006400", +"5 c #006500", +"6 c #006600", +"7 c #006700", +"8 c #006800", +"9 c #006900", +"0 c #006A00", +"q c #006B00", +"w c #006C00", +"e c #006D00", +"r c #006E00", +"t c #007000", +"y c #007200", +"u c #007400", +"i c #007500", +"p c #007600", +"a c #007700", +"s c #007800", +"d c #007900", +"f c #007B00", +"g c #007C00", +"h c #007D00", +"j c #007E00", +"k c #007F00", +"l c #008000", +"z c #008100", +"x c #008200", +"c c #008300", +"v c #008600", +"b c #008700", +"n c #008A00", +"m c #008C00", +"M c #008E00", +"N c #009000", +"B c #009200", +"V c #009300", +"C c #009500", +"Z c #009800", +"A c #009900", +"S c #009A00", +"D c #009D00", +"F c #00A000", +"G c #00A100", +"H c #00A300", +"J c #00A700", +"K c #04A404", +"L c #05A505", +"P c #00AB00", +"I c #00AD00", +"U c #00B200", +"Y c #00B600", +"T c #00B900", +"R c #00BA00", +"E c #00BE00", +"W c #10B110", +"Q c #15B315", +"! c #00C200", +"~ c #00C500", +"^ c #00C600", +"/ c #00C700", +"( c #00C800", +") c #00C900", +"_ c #00CA00", +"` c #00CB00", +"' c #00CC00", +"] c #00CD00", +"[ c #00CE00", +"{ c #00D100", +"} c #00D300", +"| c #00D400", +" . c #00DA00", +".. c #00DD00", +"X. c #1CDC1C", +"o. c #00E000", +"O. c #00E200", +"+. c #00E800", +"@. c #00E900", +"#. c #00EA00", +"$. c #00EB00", +"%. c #00EE00", +"&. c #00F200", +"*. c #00F300", +"=. c #00F700", +"-. c #00F800", +";. c #00FA00", +":. c #00FC00", +">. c #00FD00", +",. c #00FE00", +"<. c #00FF00", +"1. c #01FF01", +"2. c #05FF05", +"3. c #0BFF0B", +"4. c #12FF12", +"5. c #1CFF1C", +"6. c #29C329", +"7. c #39C639", +"8. c #25E825", +"9. c #27FF27", +"0. c #28FF28", +"q. c #33FF33", +"w. c #3EFF3E", +"e. c #47D547", +"r. c #5CD85C", +"t. c #48FD48", +"y. c #53FF53", +"u. c #73CA73", +"i. c #71D671", +"p. c #63FF63", +"a. c #65FF65", +"s. c #72FF72", +"d. c #76FF76", +"f. c #83D983", +"g. c #98DC98", +"h. c #80E780", +"j. c #8CE98C", +"k. c #8EFF8E", +"l. c #98E698", +"z. c #9CFF9C", +"x. c #ABE6AB", +"c. c #ACECAC", +"v. c #AFF4AF", +"b. c #ACFFAC", +"n. c #B9F5B9", +"m. c #BCFFBC", +"M. c #C3EBC3", +"N. c #C8EDC8", +"B. c #C6F2C6", +"V. c #CBFFCB", +"C. c #D4F2D4", +"Z. c #D8F5D8", +"A. c #D8FCD8", +"S. c #D8FFD8", +"D. c #DDF8DD", +"F. c #DFF9DF", +"G. c #DEFDDE", +"H. c #E3F6E3", +"J. c #E3FFE3", +"K. c #EDFFED", +"L. c #F1F9F1", +"P. c #F1FEF1", +"I. c #F2FFF2", +"U. c #F3FFF3", +"Y. c #FAFEFA", +"T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.!.!.!.!.!.p.<.<.<.<.<.<.<.-...Y b r 5 5 = . % 5 5 5 2 ~.", +"s C L r.A.!.!.!.J.9.<.<.<.<.<.&.} F g 9 5 5 5 5 @ . ; 9 5 5 ~.", +"~.B S D 6.v.T.!.b.2.<.<.-.$.E B y 5 5 5 5 5 9 2 . . . 2 5 5 = ", +"~.c S S K Q i.U.s.<.=. .I z 9 5 5 5 5 5 5 9 5 ; . . % 5 5 ; ", +"~.s C S S S L e.8./ S i 5 5 5 9 5 5 9 5 5 5 5 % . = 5 ; ", +"~.~.B S S S S S c r 5 5 5 5 5 5 5 9 5 5 5 5 2 . . . 2 2 ", +"~.~.m S S S S b g r 5 5 9 5 5 5 9 5 5 5 5 9 ; . . @ ; ", +"~.~.g S S S C z z s 9 5 5 5 5 9 5 5 9 5 5 5 % . . = ", +"~.~.i C S S m z z g s 9 5 5 9 5 5 5 5 5 5 5 @ . . ~.", +"~.~.~.m S C z z g z z i 9 5 5 5 9 5 9 5 9 ; . . ~.~.", +"~.~.~.c S m g z z g z z i 5 5 5 9 5 9 5 5 % . ~.~.~.", +"~.~.~.s C z g z g z z g g y 5 5 5 5 5 5 5 @ . ~.~.~.~.~.", +"~.~.~.~.z g z z g z z g z g r 5 5 5 5 5 2 . . ~.~.~.~.~.~.", +"~.~.~.~.~.r i s z g z z g z g r 5 9 5 5 = ~.~.~.~.~.~.~.", +"~.~.~.~.~.~.~.5 r i s g z z z s 9 5 5 5 @ . . . ~.~.~.~.~.~.~.~.", +"~.~.~.~.~.~.~.~.~.~.5 r i g g z s 9 5 2 . . ~.~.~.~.~.~.~.~.~.~.", +"~.~.~.~.~.~.~.~.~.~.~.~.~.5 r i g i 9 = . ~.~.~.~.~.~.~.~.~.~.~.", +"~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.5 r 9 = ~.~.~.~.~.~.~.~.~.~.~.~." +}; --- a/debian/source/include-binaries +++ b/debian/source/include-binaries @@ -0,0 +1 @@ +debian/rocksndiamonds.png