[rocksndiamonds] 07/09: Add a desktop file and remove the old menu file

Stephen Kitt skitt at moszumanska.debian.org
Tue Jan 17 21:58:13 UTC 2017


This is an automated email from the git hooks/post-receive script.

skitt pushed a commit to branch master
in repository rocksndiamonds.

commit a5b7a8dde63b8766db0456d3c57863177f7ac73c
Author: Stephen Kitt <steve at sk2.org>
Date:   Tue Jan 17 13:27:25 2017 +0100

    Add a desktop file and remove the old menu file
---
 debian/changelog               |   2 ++
 debian/copyright               |  19 +++++++++++++++++++
 debian/menu                    |   3 ---
 debian/rocksndiamonds.desktop  |  14 ++++++++++++++
 debian/rocksndiamonds.install  |   6 ++++--
 debian/rocksndiamonds.png      | Bin 0 -> 2021 bytes
 debian/source/include-binaries |   1 +
 7 files changed, 40 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 82970f1..d5775ee 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,8 @@ rocksndiamonds (4.0.0.1+dfsg-1) UNRELEASED; urgency=medium
   * Standards-Version 3.9.8.
   * Drop dependency on perl-modules.
   * Switch to debhelper compatibility level 10.
+  * Add a desktop file and remove the old menu file (thanks to Andreas
+    Stempfhuber for the patch; closes: #658930, #727032).
 
  -- Stephen Kitt <skitt at debian.org>  Tue, 17 Jan 2017 12:45:49 +0100
 
diff --git a/debian/copyright b/debian/copyright
index ebe0b27..17bfe6e 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -80,3 +80,22 @@ src/libgame/random.c
 	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.
diff --git a/debian/menu b/debian/menu
deleted file mode 100644
index 30438bc..0000000
--- a/debian/menu
+++ /dev/null
@@ -1,3 +0,0 @@
-?package(rocksndiamonds):needs="x11" section="Games/Action"\
-  title="Rocks'n'Diamonds" \
-  command="/usr/games/rocksndiamonds forcestart" 
diff --git a/debian/rocksndiamonds.desktop b/debian/rocksndiamonds.desktop
new file mode 100644
index 0000000..b324c74
--- /dev/null
+++ 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;
diff --git a/debian/rocksndiamonds.install b/debian/rocksndiamonds.install
index 4f4b405..2495c0c 100644
--- a/debian/rocksndiamonds.install
+++ b/debian/rocksndiamonds.install
@@ -1,2 +1,4 @@
-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
diff --git a/debian/rocksndiamonds.png b/debian/rocksndiamonds.png
new file mode 100644
index 0000000..84c95e7
Binary files /dev/null and b/debian/rocksndiamonds.png differ
diff --git a/debian/source/include-binaries b/debian/source/include-binaries
new file mode 100644
index 0000000..05c51b4
--- /dev/null
+++ b/debian/source/include-binaries
@@ -0,0 +1 @@
+debian/rocksndiamonds.png

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/rocksndiamonds.git



More information about the Pkg-games-commits mailing list