r9079 - in packages/trunk/asylum: . debian

Peter De Wachter pdewacht-guest at alioth.debian.org
Mon Mar 9 00:13:17 UTC 2009


Author: pdewacht-guest
Date: 2009-03-09 00:13:17 +0000 (Mon, 09 Mar 2009)
New Revision: 9079

Added:
   packages/trunk/asylum/debian/
   packages/trunk/asylum/debian/asylum-data.dirs
   packages/trunk/asylum/debian/asylum.6
   packages/trunk/asylum/debian/asylum.desktop
   packages/trunk/asylum/debian/asylum.dirs
   packages/trunk/asylum/debian/asylum.docs
   packages/trunk/asylum/debian/asylum.install
   packages/trunk/asylum/debian/asylum.menu
   packages/trunk/asylum/debian/asylum.postinst
   packages/trunk/asylum/debian/asylum.postrm
   packages/trunk/asylum/debian/asylum.xpm
   packages/trunk/asylum/debian/changelog
   packages/trunk/asylum/debian/compat
   packages/trunk/asylum/debian/control
   packages/trunk/asylum/debian/copyright
   packages/trunk/asylum/debian/rules
   packages/trunk/asylum/debian/watch
Log:
[svn-inject] Applying Debian modifications to trunk


Property changes on: packages/trunk/asylum/debian
___________________________________________________________________
Name: mergeWithUpstream
   + 1

Added: packages/trunk/asylum/debian/asylum-data.dirs
===================================================================
--- packages/trunk/asylum/debian/asylum-data.dirs	                        (rev 0)
+++ packages/trunk/asylum/debian/asylum-data.dirs	2009-03-09 00:13:17 UTC (rev 9079)
@@ -0,0 +1 @@
+usr/share/games

Added: packages/trunk/asylum/debian/asylum.6
===================================================================
--- packages/trunk/asylum/debian/asylum.6	                        (rev 0)
+++ packages/trunk/asylum/debian/asylum.6	2009-03-09 00:13:17 UTC (rev 9079)
@@ -0,0 +1,54 @@
+.\" URL macro recipe from Branden Robinson's presentation
+.de URL
+\\$2 \(laURL: \\$1 \(ra\\$3
+..
+.if \n[.g] .mso www.tmac
+.\" End of recipe.
+.
+.TH asylum 6 "2008-10-26"
+.\" Please adjust this date whenever revising the manpage.
+.
+.SH "NAME"
+.
+asylum \- a surreal platform shooting game
+.
+.SH "SYNOPSIS"
+.
+.B asylum
+.
+.SH "DESCRIPTION"
+.
+Young Sigmund has a few problems.
+To help him resolve his mental instability,
+you must enter the surreal world of his inner mind and shut down the
+malfunctioning brain cells. 
+.
+.SH "HOW TO PLAY"
+.
+The game revolves around shooting anything which moves,
+collecting anything which doesn't move,
+and, most importantly, finding your way to each of the
+eight pulsating neurons scattered throughout the immense map.
+Use
+.BR "Z" ", " "X" ", " ";" " and " "."
+to move and 
+.B "Enter"
+to fire, or remap the keys to something you like better.
+.
+.PP
+.
+The one game feature which does merit explicit instruction is teleporting.
+In the first level ("Ego") the teleporters look like candelabra.
+To use a teleporter, stand in its centre and press "down"
+(that's 
+.B "."
+with the default key settings).
+.
+.SH "SEE ALSO"
+.
+.URL "http://sdl-asylum.sourceforge.net/" "The game's web site" ""
+.
+.SH "AUTHOR"
+.
+The original Acorn Archimedes game was created by Andy Southgate.
+This version is a port by Hugh Robinson.

Added: packages/trunk/asylum/debian/asylum.desktop
===================================================================
--- packages/trunk/asylum/debian/asylum.desktop	                        (rev 0)
+++ packages/trunk/asylum/debian/asylum.desktop	2009-03-09 00:13:17 UTC (rev 9079)
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Name=Asylum
+Comment=surreal platform shooting game
+Icon=asylum
+Exec=/usr/games/asylum
+Terminal=false
+Categories=Game;ActionGame;
+StartupNotify=false

Added: packages/trunk/asylum/debian/asylum.dirs
===================================================================
--- packages/trunk/asylum/debian/asylum.dirs	                        (rev 0)
+++ packages/trunk/asylum/debian/asylum.dirs	2009-03-09 00:13:17 UTC (rev 9079)
@@ -0,0 +1,2 @@
+usr/games
+var/games/asylum

Added: packages/trunk/asylum/debian/asylum.docs
===================================================================
--- packages/trunk/asylum/debian/asylum.docs	                        (rev 0)
+++ packages/trunk/asylum/debian/asylum.docs	2009-03-09 00:13:17 UTC (rev 9079)
@@ -0,0 +1,2 @@
+README
+Instruct

Added: packages/trunk/asylum/debian/asylum.install
===================================================================
--- packages/trunk/asylum/debian/asylum.install	                        (rev 0)
+++ packages/trunk/asylum/debian/asylum.install	2009-03-09 00:13:17 UTC (rev 9079)
@@ -0,0 +1,3 @@
+debian/asylum.xpm       usr/share/pixmaps/
+debian/asylum.desktop   usr/share/applications/
+

Added: packages/trunk/asylum/debian/asylum.menu
===================================================================
--- packages/trunk/asylum/debian/asylum.menu	                        (rev 0)
+++ packages/trunk/asylum/debian/asylum.menu	2009-03-09 00:13:17 UTC (rev 9079)
@@ -0,0 +1,3 @@
+?package(asylum):needs="X11" section="Games/Action" \
+  title="Asylum" command="/usr/games/asylum" \
+  icon="/usr/share/pixmaps/asylum.xpm"

Added: packages/trunk/asylum/debian/asylum.postinst
===================================================================
--- packages/trunk/asylum/debian/asylum.postinst	                        (rev 0)
+++ packages/trunk/asylum/debian/asylum.postinst	2009-03-09 00:13:17 UTC (rev 9079)
@@ -0,0 +1,31 @@
+#!/bin/sh
+set -e
+
+SCOREFILES="
+    /var/games/asylum/EgoHighScores
+    /var/games/asylum/ExtendedHighScores
+    /var/games/asylum/IdHighScores
+    /var/games/asylum/PsycheHighScores
+    "
+
+case "$1" in
+    configure)
+      touch $SCOREFILES
+      chown root:games $SCOREFILES
+      chmod 0644 $SCOREFILES
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+#DEBHELPER#
+
+exit 0
+
+

Added: packages/trunk/asylum/debian/asylum.postrm
===================================================================
--- packages/trunk/asylum/debian/asylum.postrm	                        (rev 0)
+++ packages/trunk/asylum/debian/asylum.postrm	2009-03-09 00:13:17 UTC (rev 9079)
@@ -0,0 +1,33 @@
+#!/bin/sh
+set -e
+
+SCOREFILES="
+    /var/games/asylum/EgoHighScores
+    /var/games/asylum/ExtendedHighScores
+    /var/games/asylum/IdHighScores
+    /var/games/asylum/PsycheHighScores
+    "
+
+case "$1" in
+    remove)
+    ;;
+    
+    purge)      
+      rm -f $SCOREFILES
+      rmdir --ignore-fail-on-non-empty /var/games/asylum
+    ;;
+
+    upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+    ;;
+
+    *)
+        echo "postrm called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+#DEBHELPER#
+
+exit 0
+
+

Added: packages/trunk/asylum/debian/asylum.xpm
===================================================================
--- packages/trunk/asylum/debian/asylum.xpm	                        (rev 0)
+++ packages/trunk/asylum/debian/asylum.xpm	2009-03-09 00:13:17 UTC (rev 9079)
@@ -0,0 +1,39 @@
+/* XPM */
+static char * asylum_xpm[] = {
+"32 32 4 1",
+" 	c None",
+".	c #00CC00",
+"+	c #558800",
+"@	c #FFFFFF",
+"         ..     ..              ",
+" .      .++.   .++.    ....     ",
+" .      .++.   .++.    ....     ",
+".+.     .+++..  .++.  .++++.    ",
+".+.     .+++..  .++.  .++++.    ",
+" .+........+++.  .+.  .+...     ",
+" .+........+++.  .+.  .+...     ",
+" .+++++++....++..++....+.       ",
+" .+++++++....++..++....+.       ",
+"  ......+++..++.++++++++.       ",
+"  ......+++..++.++++++++.       ",
+"   ..    .++..++. at .@..++.       ",
+"   ..    .++..++. at .@..++.       ",
+"  .++...  .+++ at .@. at +++.....  .. ",
+"  .++...  .+++ at .@. at +++.....  .. ",
+" .++++++..+.. at .@. at +..++++++..++.",
+" .++++++..+.. at .@. at +..++++++..++.",
+".++....++++++. at .++++......++++. ",
+".++....++++++. at .++++......++++. ",
+" ..    ..++..++++..+++++. ....  ",
+" ..    ..++..++++..+++++. ....  ",
+"         .+. ..+++. .+++.       ",
+"         .+. ..+++. .+++.       ",
+"        .++.   ..++..+..        ",
+"        .++.   ..++..+..        ",
+"       .++. ....+++..+++......  ",
+"       .++. ....+++..+++......  ",
+"      .++. .+++++..  ..+++++++. ",
+"      .++. .+++++..  ..+++++++. ",
+"       ..  .+....      .......  ",
+"       ..  .+....      .......  ",
+"            .                   "};

Added: packages/trunk/asylum/debian/changelog
===================================================================
--- packages/trunk/asylum/debian/changelog	                        (rev 0)
+++ packages/trunk/asylum/debian/changelog	2009-03-09 00:13:17 UTC (rev 9079)
@@ -0,0 +1,6 @@
+asylum (0.3.0-1) unstable; urgency=low
+
+  * Initial release (Closes: #490858)
+
+ -- Peter De Wachter <pdewacht at gmail.com>  Wed, 27 Aug 2008 19:37:06 +0200
+

Added: packages/trunk/asylum/debian/compat
===================================================================
--- packages/trunk/asylum/debian/compat	                        (rev 0)
+++ packages/trunk/asylum/debian/compat	2009-03-09 00:13:17 UTC (rev 9079)
@@ -0,0 +1 @@
+7

Added: packages/trunk/asylum/debian/control
===================================================================
--- packages/trunk/asylum/debian/control	                        (rev 0)
+++ packages/trunk/asylum/debian/control	2009-03-09 00:13:17 UTC (rev 9079)
@@ -0,0 +1,29 @@
+Source: asylum
+Section: games
+Priority: optional
+Maintainer: Peter De Wachter <pdewacht at gmail.com>
+Build-Depends: debhelper (>= 7), libsdl1.2-dev, libsdl-mixer1.2-dev,
+ libglu1-mesa-dev | libglu-dev, libgl1-mesa-dev | libgl-dev
+Standards-Version: 3.8.0
+Homepage: http://sdl-asylum.sourceforge.net/
+
+Package: asylum
+Architecture: any
+Depends: asylum-data (= ${source:Version}),
+ ${shlibs:Depends}, ${misc:Depends}
+Description: surreal platform shooting game
+ Young Sigmund has a few problems. To help him resolve his mental
+ instability you must enter the surreal world of his inner mind and
+ shut down the malfunctioning brain cells. Guide Sigmund through the
+ Ego, Psyche and Id zones - each one 300 times the size of the screen -
+ to locate the eight renegade neurons, entering them one by one to find
+ and trigger their self-destruct system.
+ .
+ This is a port of Digital Psychosis' 1994 game for the Acorn
+ Archimedes.
+
+Package: asylum-data
+Architecture: all
+Recommends: asylum
+Description: surreal platform shooting game - data files
+ This package contains data files required by the game Asylum.

Added: packages/trunk/asylum/debian/copyright
===================================================================
--- packages/trunk/asylum/debian/copyright	                        (rev 0)
+++ packages/trunk/asylum/debian/copyright	2009-03-09 00:13:17 UTC (rev 9079)
@@ -0,0 +1,39 @@
+This package was debianized by Peter De Wachter <pdewacht at gmail.com> on
+Wed, 27 Aug 2008 19:37:06 +0200.
+
+It was downloaded from http://sourceforge.net/projects/sdl-asylum
+
+Upstream Authors:
+
+    Andy Southgate (andy at southgate.org.uk): original Acorn Archimedes game
+    Hugh Robinson (hugh at math.mit.edu): C/SDL port
+
+Copyright of the original game:
+
+    Andy Southgate placed the original game, including source code,
+    graphics, sound and music in the public domain.
+
+Copyright of the port:
+
+    Copyright Hugh Robinson 2006-2008.
+
+    This program 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 3 of the License, or
+    (at your option) any later version.
+
+    This program 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 program.  If not, see <http://www.gnu.org/licenses/>.
+
+The Debian packaging is Copyright 2008 Peter De Wachter
+<pdewacht at gmail.com> and is published under the terms of the GNU
+General Public License Version 3 or (at your option) any later
+version.
+
+On Debian systems the complete text of the GNU General Public License
+Version 3 can be found in the file `/usr/share/common-licenses/GPL-3'.

Added: packages/trunk/asylum/debian/rules
===================================================================
--- packages/trunk/asylum/debian/rules	                        (rev 0)
+++ packages/trunk/asylum/debian/rules	2009-03-09 00:13:17 UTC (rev 9079)
@@ -0,0 +1,65 @@
+#!/usr/bin/make -f
+
+build: build-arch build-indep
+
+build-arch: build-arch-stamp
+build-arch-stamp:
+	dh_testdir
+	rm -f asylum # upstream tarball has a pre-compiled binary
+	$(MAKE) CFLAGS="$(CFLAGS)"
+	touch $@
+
+build-indep:
+# Nothing to do here.
+
+clean:
+	dh_testdir
+	make clean RM='rm -f'
+	dh_clean
+
+install:
+	dh_testdir
+	dh_testroot
+	dh_prep
+	dh_installdirs
+	$(MAKE) install-binary install-resources \
+		INSTALLBIN=debian/asylum/usr/games/asylum \
+		INSTALLRESOURCEPATH=debian/asylum-data/usr/share/games/asylum
+
+binary-arch: install
+	dh_testdir -a
+	dh_testroot -a
+	dh_install -a
+	dh_installchangelogs -a
+	dh_installdocs -a
+	dh_installman -a debian/asylum.6
+	dh_installmenu -a
+	dh_desktop -a
+	dh_strip -a
+	dh_compress -a
+	dh_fixperms -a
+# Make asylum sgid games, needed to write high scores in /var/games/asylum/
+	chown root:games asylum
+	chmod g+s asylum
+	dh_installdeb -a
+	dh_shlibdeps -a
+	dh_gencontrol -a
+	dh_md5sums -a
+	dh_builddeb -a
+
+binary-indep: install
+	dh_testdir -i
+	dh_testroot -i
+	dh_installchangelogs -i
+	dh_installdocs -i
+	dh_compress -i
+	dh_fixperms -i
+	dh_installdeb -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
+
+binary: binary-arch binary-indep
+
+
+.PHONY: build build-arch build-indep clean install binary-arch binary-indep binary


Property changes on: packages/trunk/asylum/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/trunk/asylum/debian/watch
===================================================================
--- packages/trunk/asylum/debian/watch	                        (rev 0)
+++ packages/trunk/asylum/debian/watch	2009-03-09 00:13:17 UTC (rev 9079)
@@ -0,0 +1,3 @@
+version=2
+
+http://sf.net/sdl-asylum/asylum-(.*)\.tar\.gz




More information about the Pkg-games-commits mailing list