--- open-invaders-0.3.orig/debian/changelog +++ open-invaders-0.3/debian/changelog @@ -0,0 +1,39 @@ +open-invaders (0.3-1ubuntu1) maverick; urgency=low + + * debian/patches/open-invaders.patch: + + Add missing header to fix 'mkdir' not found gcc error and hence + ftbfs (LP: #609505) forwarded as DBTS: #590095 + + -- Bhavani Shankar Fri, 23 Jul 2010 22:36:55 +0530 + +open-invaders (0.3-1) unstable; urgency=low + + * New upstream version. + * Quite some packaging changes: + - Change my email address. + - Split package into two binaries (ie, add -data package). + - Switch to CDBS. + - Bump standards version to 3.7.3 and move Homepage field to + source stanza. + - Install binary in /usr/games instead of /usr/bin. + - Drop debian/README.Debian and debian/dirs. + - Drop open-invaders.sgml; add a manpage written in groff. + - Little changes in debian/copyright; changes in debian/rules. + - Add debian/watch file. + * patches/fix-doc-in-makefile.dpatch: + - Drop it; no longer needed now. + * patches/fix_pmask_amd64.patch: + - Add this patch (from Kurt Roeckx) to avoid a build failure with + amd64 (Closes: #437690). + + -- Siegfried-Angel Gevatter Pujals (RainCT) Thu, 6 Sep 2007 18:28:18 +0200 + +open-invaders (0.2-1) unstable; urgency=low + + * Initial release (Closes: #430594) + * Added a .desktop file, a .menu file and a .xpm icon + * Added a manpage (open-invaders.6) + * Package build only for i386, upstream does not support other + architectures (see README.Debian) + + -- Siegfried-Angel Gevatter Pujals (RainCT) Mon, 25 Jun 2007 18:50:08 +0200 --- open-invaders-0.3.orig/debian/rules +++ open-invaders-0.3/debian/rules @@ -0,0 +1,17 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk +include /usr/share/cdbs/1/class/autotools.mk + +DEB_INSTALL_MANPAGES_open-invaders += debian/open-invaders.6 + +makebuilddir/open-invaders:: + # Patch wrong library names in Makefile + sed -i "s/laldmd/laldmb/g" src/Makefile.am src/Makefile.in + sed -i "s/ldumbd/ldumb/g" src/Makefile.am src/Makefile.in + +clean:: + # Undo Makefile patching + sed -i "s/laldmb/laldmd/g" src/Makefile.am src/Makefile.in + sed -i "s/ldumb /ldumbd /g" src/Makefile.am src/Makefile.in --- open-invaders-0.3.orig/debian/open-invaders.menu +++ open-invaders-0.3/debian/open-invaders.menu @@ -0,0 +1,2 @@ +?package(open-invaders): needs="x11" section="Games/Action" title="Open Invaders" \ + command="/usr/games/open-invaders" icon="/usr/share/pixmaps/open-invaders.xpm" --- open-invaders-0.3.orig/debian/watch +++ open-invaders-0.3/debian/watch @@ -0,0 +1,3 @@ +version=3 + +http://www.jamyskis.net/downloads/open-invaders-([0-9.]*)\.tar\.gz --- open-invaders-0.3.orig/debian/open-invaders.install +++ open-invaders-0.3/debian/open-invaders.install @@ -0,0 +1,4 @@ +debian/tmp/usr/bin/open-invaders usr/games +debian/open-invaders.xpm usr/share/pixmaps +debian/open-invaders.desktop usr/share/applications + --- open-invaders-0.3.orig/debian/open-invaders.desktop +++ open-invaders-0.3/debian/open-invaders.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Type=Application +Name=Open Invaders +GenericName=Space Invaders clone +Comment=Play a Space Invaders clone +Comment[ca]=Jugueu a un clon del Space Invaders +Comment[de]=Spiele ein Space Invaders Klon +Comment[en]=Play a Space Invaders clone +Comment[es]=Juega a un clon de Space Invaders +Icon=open-invaders +Exec=open-invaders -w +Terminal=false +Categories=Game;ActionGame; --- open-invaders-0.3.orig/debian/compat +++ open-invaders-0.3/debian/compat @@ -0,0 +1 @@ +5 --- open-invaders-0.3.orig/debian/open-invaders.6 +++ open-invaders-0.3/debian/open-invaders.6 @@ -0,0 +1,32 @@ +.TH "OPEN\-INVADERS" "6" "February 21, 2008" + +.SH NAME +open\-invaders \- Space Invaders clone + +.SH SYNOPSIS +.B open\-invaders [-w|-f] + +.SH DESCRIPTION +\fBopen\-invaders\fP is a GPLed clone of the well-known 70's game Space +Invaders. To play the game, just run \fBopen\-invaders\fP in a terminal +or start it from the menu. +.PP +For more information about the game play, have a look at the file +/usr/share/doc/open-invaders/README.gz. + +.SH OPTIONS +.TP +\fB\-w\fP +Start the game in windowed mode. +.TP +\fB\-f\fP +Start the game in fullscreen mode. + +.SH BUGS +Please write bug reports at http://www.jamyskis.net/phpBB2/ or send +them to . + +.SH AUTHOR +\fBopen\-invaders\fP was written by Darryl LeCount +and this manual page by Siegfried-A. Gevatter Pujals . +Both are released under the GNU General Public License, version 2 or later. --- open-invaders-0.3.orig/debian/copyright +++ open-invaders-0.3/debian/copyright @@ -0,0 +1,33 @@ +This package was debianized by Siegfried-Angel Gevatter Pujals (RainCT) + on Mon, 25 Jun 2007 18:50:08 +0200. + +It was downloaded from http://www.jamyskis.net/downloads/ + +Upstream Author: Darryl LeCount + +Copyright: (C) 2006-2007 Darryl Lecount + +License: + + 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 2 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, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + + On Debian GNU/Linux derived systems, the complete text of the GNU General + Public License can be found in the /usr/share/common-licenses/GPL file. + +The Debian packaging is (C) 2007-2008, Siegfried-Angel Gevatter Pujals + and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. + +The code includes elements of the PMASK collision detection library by +Orz, which is in the public domain. --- open-invaders-0.3.orig/debian/open-invaders.xpm +++ open-invaders-0.3/debian/open-invaders.xpm @@ -0,0 +1,41 @@ +/* XPM */ +static char * open_invaders_xpm[] = { +"32 32 6 1", +" c #000000", +". c #1A1B47", +"+ c #FF0000", +"@ c #686868", +"# c #E88383", +"$ c #FFFFFF", +" ", +" ", +" $ ", +" $ ", +" ", +" ", +" ", +" $ ", +" $ $ ", +" ", +" ", +" $$ ", +" $@@$ ", +" $ $@@@@$ ", +" $@@@@@@$ ", +" $@@..@@$ ", +" $@@....@@$ $ ", +" $@......@$ ", +" $@......@$ ", +" $@......@$ ", +" $ $@......@$ ", +" $@@@@@@@@$ ", +" $@@@@@@@@@$ $ ", +" $$@@@@@@@@@@@$$ ", +" #$$@@@@@@@@@@@@@@@$$ # ", +" #+#@@@@@@@@@@@@@@@@@@#+# ", +" $$@#@@@@@@@@@@@@@@@@@@@@#$$ ", +" $@@@@@@@@@@@@@@@@@@@@@@@@@@@$$ ", +" $@@@@@@@@@@@@@@@@@@@@@@@@@@@@$ ", +" $@@@@@@@@@@@@@@@@@@@@@@@@@@@@$ ", +" $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ ", +" "}; --- open-invaders-0.3.orig/debian/open-invaders-data.install +++ open-invaders-0.3/debian/open-invaders-data.install @@ -0,0 +1 @@ +debian/tmp/usr/share/open-invaders/ --- open-invaders-0.3.orig/debian/control +++ open-invaders-0.3/debian/control @@ -0,0 +1,27 @@ +Source: open-invaders +Section: games +Priority: optional +Maintainer: Siegfried-Angel Gevatter Pujals (RainCT) +Homepage: http://www.jamyskis.net/invaders.php +Build-Depends: autotools-dev, cdbs (>= 0.4.49), debhelper (>= 5.0.37.1), libaldmb1-dev (>= 1:0.9.3), liballegro4.2-dev (>= 2:4.2.1), libxext-dev, libxxf86vm1, pkg-config, libasound2-dev +Standards-Version: 3.7.3 + +Package: open-invaders +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, open-invaders-data (= ${source:Version}) +Description: Space Invaders clone + A clone of the legendary 70's classic Space Invaders, but with + completely new graphics and C++ code released under the GPL. + This game is still heavily under development and is missing a + large number of features. + +Package: open-invaders-data +Architecture: all +Recommends: open-invaders (= ${source:Version}) +Description: Space Invaders clone (data package) + A clone of the legendary 70's classic Space Invaders, but with + completely new graphics and C++ code released under the GPL. + This game is still heavily under development and is missing a + large number of features. + . + This package contains the data used by the game. --- open-invaders-0.3.orig/debian/patches/open-invaders.patch +++ open-invaders-0.3/debian/patches/open-invaders.patch @@ -0,0 +1,10 @@ +--- open-invaders-0.3.orig/src/init.cc ++++ open-invaders-0.3/src/init.cc +@@ -33,6 +33,7 @@ + #include "headers/init.h" + #include "headers/declare.h" + #include "headers/input.h" ++#include + + using namespace std; + --- open-invaders-0.3.orig/debian/patches/fix_pmask_amd64.patch +++ open-invaders-0.3/debian/patches/fix_pmask_amd64.patch @@ -0,0 +1,16 @@ +diff -Nur open-invaders-0.3/headers/pmask.h open-invaders-0.3.new/headers/pmask.h +--- open-invaders-0.3/headers/pmask.h 2007-06-10 21:01:48.000000000 +0200 ++++ open-invaders-0.3.new/headers/pmask.h 2008-02-21 19:21:00.000000000 +0100 +@@ -36,7 +36,11 @@ + //e.g. 4 for 16-bit ints, 5 for 32-bit ints, 6 for 64-bit ints + //don't worry about setting it incorrectly + //you'll get a compile error if you do, not a run-time error +-#define MASK_WORD_BITBITS 5 ++#if defined(__alpha__) || defined(__ia64__) || defined(__x86_64__) ++ #define MASK_WORD_BITBITS 6 ++#else ++ #define MASK_WORD_BITBITS 5 ++#endif + + + //if SINGLE_MEMORY_BLOCK is defined