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

smcv pushed a commit to branch quake
in repository game-data-packager.

commit e7387a2d80f3c90cd0b2b262ad083aa2c9b51a21
Author: Simon McVittie <s...@debian.org>
Date:   Thu Jul 14 14:18:31 2011 +0100

    Include menu entries for the mission packs, which are automatically hidden 
if the corresponding data files are not installed
---
 debian/changelog          | 2 ++
 debian/control            | 1 +
 debian/quake.install      | 2 ++
 debian/quake.menu         | 6 ++++++
 quake-armagon.desktop     | 9 +++++++++
 quake-dissolution.desktop | 9 +++++++++
 quake.desktop             | 2 --
 7 files changed, 29 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 3bfb5a9..8a077c3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -17,5 +17,7 @@ quake (1) UNRELEASED; urgency=low
   * Add a Quake mini-policy in debian/policy.txt, describing a quake-engine
     alternative, and use that
   * Give the script a --engine switch to force a particular engine
+  * Include menu entries for the mission packs, which are automatically
+    hidden if the corresponding data files are not installed
 
  -- David Banks <amoe...@gmail.com>  Wed, 01 Jun 2011 17:02:39 +0100
diff --git a/debian/control b/debian/control
index 545399e..2ccbeb9 100644
--- a/debian/control
+++ b/debian/control
@@ -14,6 +14,7 @@ Depends: ${misc:Depends},
          quakespasm | quake-engine,
          quake-registered | quake-shareware | game-data-packager
 Recommends: x11-utils | zenity | kdebase-bin
+Suggests: quake-armagon (>= 29), quake-dissolution (>= 29)
 Description: classic first person shooter
  This package contains a launcher script and menu entry to play
  Quake 1 with any suitable engine.
diff --git a/debian/quake.install b/debian/quake.install
index fb15b48..dbb5030 100644
--- a/debian/quake.install
+++ b/debian/quake.install
@@ -1,6 +1,8 @@
 quake          /usr/games
 need-data.sh   /usr/share/games/quake
 quake.desktop  /usr/share/applications
+quake-armagon.desktop /usr/share/applications
+quake-dissolution.desktop /usr/share/applications
 quake.xpm      /usr/share/pixmaps
 256/quake.png  /usr/share/icons/hicolor/256x256/apps
 48/quake.png   /usr/share/icons/hicolor/48x48/apps
diff --git a/debian/quake.menu b/debian/quake.menu
index 50bdc16..bcba7f4 100644
--- a/debian/quake.menu
+++ b/debian/quake.menu
@@ -1,2 +1,8 @@
 ?package(quake):needs="X11" section="Games/Action" title="Quake" \
   icon="/usr/share/pixmaps/quake.xpm" command="quake"
+?package(quake,quake-armagon):needs="X11" section="Games/Action" \
+  title="Quake: Scourge of Armagon" \
+  icon="/usr/share/pixmaps/quake.xpm" command="quake -hipnotic"
+?package(quake,quake-dissolution):needs="X11" section="Games/Action" \
+  title="Quake: Dissolution of Eternity" \
+  icon="/usr/share/pixmaps/quake.xpm" command="quake -rogue"
diff --git a/quake-armagon.desktop b/quake-armagon.desktop
new file mode 100644
index 0000000..85d151b
--- /dev/null
+++ b/quake-armagon.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Version=1.0
+Name=Quake: Scourge of Armagon
+Comment=Mission Pack 1 for the classic first person shooter
+Icon=quake
+TryExec=/usr/share/games/quake/hipnotic-tryexec.sh
+Exec=/usr/games/quake -hipnotic
+Categories=Game;ActionGame;
diff --git a/quake-dissolution.desktop b/quake-dissolution.desktop
new file mode 100644
index 0000000..b1cb396
--- /dev/null
+++ b/quake-dissolution.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Version=1.0
+Name=Quake: Dissolution of Eternity
+Comment=Mission Pack 2 for the classic first person shooter
+Icon=quake
+TryExec=/usr/share/games/quake/rogue-tryexec.sh
+Exec=/usr/games/quake -rogue
+Categories=Game;ActionGame;
diff --git a/quake.desktop b/quake.desktop
index 4013dd5..d974f8f 100644
--- a/quake.desktop
+++ b/quake.desktop
@@ -1,5 +1,3 @@
-# quake.desktop
-
 [Desktop Entry]
 Type=Application
 Version=1.0

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/game-data-packager.git

_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to