--- asylum-0.3.2.orig/debian/asylum.dirs +++ asylum-0.3.2/debian/asylum.dirs @@ -0,0 +1,2 @@ +usr/games +var/games/asylum --- asylum-0.3.2.orig/debian/asylum.xpm +++ asylum-0.3.2/debian/asylum.xpm @@ -0,0 +1,39 @@ +/* XPM */ +static char * asylum_xpm[] = { +"32 32 4 1", +" c None", +". c #00CC00", +"+ c #558800", +"@ c #FFFFFF", +" .. .. ", +" . .++. .++. .... ", +" . .++. .++. .... ", +".+. .+++.. .++. .++++. ", +".+. .+++.. .++. .++++. ", +" .+........+++. .+. .+... ", +" .+........+++. .+. .+... ", +" .+++++++....++..++....+. ", +" .+++++++....++..++....+. ", +" ......+++..++.++++++++. ", +" ......+++..++.++++++++. ", +" .. .++..++.@.@..++. ", +" .. .++..++.@.@..++. ", +" .++... .+++@.@.@+++..... .. ", +" .++... .+++@.@.@+++..... .. ", +" .++++++..+..@.@.@+..++++++..++.", +" .++++++..+..@.@.@+..++++++..++.", +".++....++++++.@.++++......++++. ", +".++....++++++.@.++++......++++. ", +" .. ..++..++++..+++++. .... ", +" .. ..++..++++..+++++. .... ", +" .+. ..+++. .+++. ", +" .+. ..+++. .+++. ", +" .++. ..++..+.. ", +" .++. ..++..+.. ", +" .++. ....+++..+++...... ", +" .++. ....+++..+++...... ", +" .++. .+++++.. ..+++++++. ", +" .++. .+++++.. ..+++++++. ", +" .. .+.... ....... ", +" .. .+.... ....... ", +" . "}; --- asylum-0.3.2.orig/debian/rules +++ asylum-0.3.2/debian/rules @@ -0,0 +1,63 @@ +#!/usr/bin/make -f + +build: build-arch build-indep + +build-arch: build-arch-stamp +build-arch-stamp: + dh_testdir + $(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_strip -a + dh_compress -a + dh_fixperms -a +# Make asylum sgid games, needed to write high scores in /var/games/asylum/ + chown root:games debian/asylum/usr/games/asylum + chmod g+s debian/asylum/usr/games/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 --- asylum-0.3.2.orig/debian/asylum.desktop +++ asylum-0.3.2/debian/asylum.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Type=Application +Name=Asylum +Comment=surreal platform shooting game +Icon=asylum +Exec=asylum +Terminal=false +Categories=Game;ActionGame; +StartupNotify=false --- asylum-0.3.2.orig/debian/asylum-data.dirs +++ asylum-0.3.2/debian/asylum-data.dirs @@ -0,0 +1 @@ +usr/share/games --- asylum-0.3.2.orig/debian/asylum.install +++ asylum-0.3.2/debian/asylum.install @@ -0,0 +1,3 @@ +debian/asylum.xpm usr/share/pixmaps/ +debian/asylum.desktop usr/share/applications/ + --- asylum-0.3.2.orig/debian/compat +++ asylum-0.3.2/debian/compat @@ -0,0 +1 @@ +7 --- asylum-0.3.2.orig/debian/asylum.docs +++ asylum-0.3.2/debian/asylum.docs @@ -0,0 +1,2 @@ +README +Instruct --- asylum-0.3.2.orig/debian/asylum.postrm +++ asylum-0.3.2/debian/asylum.postrm @@ -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 + + --- asylum-0.3.2.orig/debian/control +++ asylum-0.3.2/debian/control @@ -0,0 +1,33 @@ +Source: asylum +Section: games +Priority: optional +Maintainer: Debian Games Team +Uploaders: Peter De Wachter +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.3 +Homepage: http://sdl-asylum.sourceforge.net/ +Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/asylum/ +Vcs-Browser: http://svn.debian.org/viewsvn/pkg-games/packages/trunk/asylum/ + +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. --- asylum-0.3.2.orig/debian/asylum.6 +++ asylum-0.3.2/debian/asylum.6 @@ -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. --- asylum-0.3.2.orig/debian/asylum.postinst +++ asylum-0.3.2/debian/asylum.postinst @@ -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 0664 $SCOREFILES + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 + + --- asylum-0.3.2.orig/debian/changelog +++ asylum-0.3.2/debian/changelog @@ -0,0 +1,33 @@ +asylum (0.3.2-1) unstable; urgency=low + + * New upstream upstream version. + * Dropped our patches, they've been integrated upstream. + * Bumped Standards-Version to 3.8.3. No changes needed. + + -- Peter De Wachter Sat, 07 Nov 2009 21:28:14 +0100 + +asylum (0.3.0-4) unstable; urgency=low + + * Make the menus work with internationalized keyboards. (Closes: #538772) + * Redraw the window after receiving an expose event. (Closes: #525727) + * Bumped Standards-Version to 3.8.2. No changes needed. + + -- Peter De Wachter Tue, 28 Jul 2009 22:09:01 +0200 + +asylum (0.3.0-3) unstable; urgency=low + + * Fixed endianness problems in the OpenGL rendering code. (Closes: #527568) + + -- Peter De Wachter Wed, 13 May 2009 00:28:54 +0200 + +asylum (0.3.0-2) unstable; urgency=low + + * Fixed permissions of high score files. + + -- Peter De Wachter Sun, 29 Mar 2009 18:01:12 +0200 + +asylum (0.3.0-1) unstable; urgency=low + + * Initial release (Closes: #490858) + + -- Peter De Wachter Tue, 17 Mar 2009 08:01:55 +0100 --- asylum-0.3.2.orig/debian/asylum.menu +++ asylum-0.3.2/debian/asylum.menu @@ -0,0 +1,3 @@ +?package(asylum):needs="X11" section="Games/Action" \ + title="Asylum" command="/usr/games/asylum" \ + icon="/usr/share/pixmaps/asylum.xpm" --- asylum-0.3.2.orig/debian/copyright +++ asylum-0.3.2/debian/copyright @@ -0,0 +1,39 @@ +This package was debianized by Peter De Wachter on +Wed, 27 Aug 2008 19:37:06 +0200. + +It was downloaded from http://sourceforge.net/projects/sdl-asylum + +Upstream Authors: + + Andy Southgate (andy@southgate.org.uk): original Acorn Archimedes game + Hugh Robinson (hugh@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-2009. + + 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 . + +The Debian packaging is Copyright 2008 Peter De Wachter + 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'. --- asylum-0.3.2.orig/debian/watch +++ asylum-0.3.2/debian/watch @@ -0,0 +1,3 @@ +version=2 + +http://sf.net/sdl-asylum/asylum-(.*)\.tar\.gz