--- open-invaders-0.2.orig/config.guess +++ open-invaders-0.2/config.guess @@ -4,7 +4,7 @@ # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, # Inc. -timestamp='2006-07-02' +timestamp='2007-03-06' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -161,6 +161,7 @@ arm*) machine=arm-unknown ;; sh3el) machine=shl-unknown ;; sh3eb) machine=sh-unknown ;; + sh5el) machine=sh5le-unknown ;; *) machine=${UNAME_MACHINE_ARCH}-unknown ;; esac # The Operating System including object format, if it has switched @@ -780,7 +781,7 @@ i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin exit ;; - i*:MINGW*:*) + *:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 exit ;; i*:windows32*:*) @@ -790,12 +791,15 @@ i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; - x86:Interix*:[3456]*) - echo i586-pc-interix${UNAME_RELEASE} - exit ;; - EM64T:Interix*:[3456]*) - echo x86_64-unknown-interix${UNAME_RELEASE} - exit ;; + *:Interix*:[3456]*) + case ${UNAME_MACHINE} in + x86) + echo i586-pc-interix${UNAME_RELEASE} + exit ;; + EM64T | authenticamd) + echo x86_64-unknown-interix${UNAME_RELEASE} + exit ;; + esac ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks exit ;; @@ -950,6 +954,9 @@ x86_64:Linux:*:*) echo x86_64-unknown-linux-gnu exit ;; + xtensa:Linux:*:*) + echo xtensa-unknown-linux-gnu + exit ;; i*86:Linux:*:*) # The BFD linker knows what the default object file format is, so # first see if it will tell us. cd to the root directory to prevent @@ -1208,6 +1215,15 @@ SX-6:SUPER-UX:*:*) echo sx6-nec-superux${UNAME_RELEASE} exit ;; + SX-7:SUPER-UX:*:*) + echo sx7-nec-superux${UNAME_RELEASE} + exit ;; + SX-8:SUPER-UX:*:*) + echo sx8-nec-superux${UNAME_RELEASE} + exit ;; + SX-8R:SUPER-UX:*:*) + echo sx8r-nec-superux${UNAME_RELEASE} + exit ;; Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody${UNAME_RELEASE} exit ;; --- open-invaders-0.2.orig/config.sub +++ open-invaders-0.2/config.sub @@ -4,7 +4,7 @@ # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, # Inc. -timestamp='2006-09-20' +timestamp='2007-01-18' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software @@ -245,12 +245,12 @@ | bfin \ | c4x | clipper \ | d10v | d30v | dlx | dsp16xx \ - | fr30 | frv \ + | fido | fr30 | frv \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ | m32c | m32r | m32rle | m68000 | m68k | m88k \ - | maxq | mb | microblaze | mcore \ + | maxq | mb | microblaze | mcore | mep \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ @@ -324,7 +324,7 @@ | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | elxsi-* \ - | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \ + | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | i*86-* | i860-* | i960-* | ia64-* \ @@ -925,6 +925,9 @@ basic_machine=sh-hitachi os=-hms ;; + sh5el) + basic_machine=sh5le-unknown + ;; sh64) basic_machine=sh64-unknown ;; @@ -1219,7 +1222,7 @@ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ - | -skyos* | -haiku* | -rdos* | -toppers*) + | -skyos* | -haiku* | -rdos* | -toppers* | -drops*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) @@ -1414,6 +1417,9 @@ m68*-cisco) os=-aout ;; + mep-*) + os=-elf + ;; mips*-cisco) os=-elf ;; --- open-invaders-0.2.orig/debian/patches/00list +++ open-invaders-0.2/debian/patches/00list @@ -0,0 +1 @@ +fix-doc-in-makefile.dpatch --- open-invaders-0.2.orig/debian/patches/fix-doc-in-makefile.dpatch +++ open-invaders-0.2/debian/patches/fix-doc-in-makefile.dpatch @@ -0,0 +1,53 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## fix-doc-in-makefile.dpatch by Siegfried-Angel Gevatter Pujals (RainCT) +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Don't install not needed documentation files (COPYING, INSTALL and empty ChangeLog) +## DP: Fix the path where documentation gets installed + +@DPATCH@ +diff -urNad open-invaders-0.2~/Makefile.am open-invaders-0.2/Makefile.am +--- open-invaders-0.2~/Makefile.am 2007-06-11 16:20:53.000000000 +0200 ++++ open-invaders-0.2/Makefile.am 2007-06-28 21:43:30.000000000 +0200 +@@ -5,13 +5,10 @@ + + SUBDIRS = include src data + +-open_invadersdocdir = ${prefix}/doc/open-invaders ++open_invadersdocdir = ${prefix}/share/doc/open-invaders + open_invadersdoc_DATA = \ + README\ +- COPYING\ + AUTHORS\ +- ChangeLog\ +- INSTALL\ + NEWS\ + TODO + +diff -urNad open-invaders-0.2~/Makefile.in open-invaders-0.2/Makefile.in +--- open-invaders-0.2~/Makefile.in 2007-06-17 12:12:39.000000000 +0200 ++++ open-invaders-0.2/Makefile.in 2007-06-28 21:43:30.000000000 +0200 +@@ -38,7 +38,7 @@ + host_triplet = @host@ + DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ + $(srcdir)/Makefile.in $(srcdir)/config.h.in \ +- $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \ ++ $(top_srcdir)/configure AUTHORS NEWS \ + TODO acconfig.h config.guess config.sub depcomp install-sh \ + ltmain.sh missing + subdir = . +@@ -201,13 +201,10 @@ + sysconfdir = @sysconfdir@ + target_alias = @target_alias@ + SUBDIRS = include src data +-open_invadersdocdir = ${prefix}/doc/open-invaders ++open_invadersdocdir = ${prefix}/share/doc/open-invaders + open_invadersdoc_DATA = \ + README\ +- COPYING\ + AUTHORS\ +- ChangeLog\ +- INSTALL\ + NEWS\ + TODO + --- open-invaders-0.2.orig/debian/open-invaders.install +++ open-invaders-0.2/debian/open-invaders.install @@ -0,0 +1,2 @@ +debian/open-invaders.desktop usr/share/applications +debian/open-invaders.xpm usr/share/pixmaps --- open-invaders-0.2.orig/debian/control +++ open-invaders-0.2/debian/control @@ -0,0 +1,17 @@ +Source: open-invaders +Section: games +Priority: optional +Maintainer: Siegfried-Angel Gevatter Pujals (RainCT) +Build-Depends: debhelper (>= 5), autotools-dev, libdumb1-dev, libaldmb1-dev, liballegro4.2-dev, libxxf86vm1, libxext-dev, docbook-to-man, dpatch +Standards-Version: 3.7.2 + +Package: open-invaders +Architecture: i386 +Depends: ${shlibs:Depends}, ${misc:Depends} +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. + . + Homepage: http://www.jamyskis.net/invaders.php --- open-invaders-0.2.orig/debian/open-invaders.xpm +++ open-invaders-0.2/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.2.orig/debian/open-invaders.sgml +++ open-invaders-0.2/debian/open-invaders.sgml @@ -0,0 +1,116 @@ + manpage.1'. You may view + the manual page with: `docbook-to-man manpage.sgml | nroff -man | + less'. A typical entry in a Makefile or Makefile.am is: + +manpage.1: manpage.sgml + docbook-to-man $< > $@ + + + The docbook-to-man binary is found in the docbook-to-man package. + Please remember that if you create the nroff version in one of the + debian/rules file targets (such as build), you will need to include + docbook-to-man in your Build-Depends control field. + + --> + + + Siegfried-Angel"> + Gevatter Pujals"> + + juny 26, 2007"> + + 6"> + siggi.gevatter@gmail.com"> + + OPEN-INVADERS"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2006-2007 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + Space Invaders clone + + + + &dhpackage; + + + + DESCRIPTION + + This manual page documents briefly the + &dhpackage; command. + + &dhpackage; is a GPLed clone of the + well-known 70's game Space Invaders. To play it just run + &dhpackage; in a terminal or start it from the + menu. + + More information about this game is available on the author's site, + http://www.jamyskis.net/invaders.php + + + + AUTHOR + + This manual page was written by &dhusername; &dhemail; for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; General Public License, Version 2 any + later version published by the Free Software Foundation. + + + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + + + +
+ + + + --- open-invaders-0.2.orig/debian/copyright +++ open-invaders-0.2/debian/copyright @@ -0,0 +1,36 @@ +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 (Jamyskis) + +Copyright: (C) 2006-2007 Darryl Lecount (Jamyskis) + +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, Siegfried-Angel Gevatter Pujals (RainCT) + and is licensed under the GPL, see +`/usr/share/common-licenses/GPL'. + +The code includes elements of the PMASK collision detection library by Orz, that +is in the public domain. --- open-invaders-0.2.orig/debian/menu +++ open-invaders-0.2/debian/menu @@ -0,0 +1,2 @@ +?package(open-invaders): needs="x11" section="Games/Action" title="Open Invaders" \ + command="/usr/bin/open-invaders" icon="/usr/share/pixmaps/open-invaders.xpm" --- open-invaders-0.2.orig/debian/changelog +++ open-invaders-0.2/debian/changelog @@ -0,0 +1,9 @@ +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.2.orig/debian/README.Debian +++ open-invaders-0.2/debian/README.Debian @@ -0,0 +1,18 @@ +The current version of Open Invaders (0.2) works on i386 but is not building +on 64-bit systems nor powerpc; there was the same issue (explained below) +on both systems. If it would work on other architectures is unknown so to be +sure I'll set this package only as i386 compatible. + +When trying to build on both of these architectures, 64-bit and powerpc, it'll +first give an error with init.cc on line 64 about 'PACKAGE_DATA_DIR' not +declared (complete build log: [1]). After applying on a patch I did ([2]) that +added «#include "../config.h"» after «#ifndef ALLEGRO_LINUX» on all .cc files +(in src/), there was another error (build log: [3]), so I decided to drop support +for those and tell the upstream author (with who I am in contact) about this. + +[1] http://launchpadlibrarian.net/8210487/open-invaders-001.txt +[2] http://launchpadlibrarian.net/8210500/open-invaders-002.txt +[3] http://launchpadlibrarian.net/8210507/open-invaders-003.txt + + -- Siegfried-Angel Gevatter Pujals (RainCT) + (Mon, 25 Jun 2007 18:50:08 +0200) --- open-invaders-0.2.orig/debian/compat +++ open-invaders-0.2/debian/compat @@ -0,0 +1 @@ +5 --- open-invaders-0.2.orig/debian/open-invaders.desktop +++ open-invaders-0.2/debian/open-invaders.desktop @@ -0,0 +1,14 @@ +[Desktop Entry] +Type=Application +Name=Open Invaders +GenericName=Space Invaders clone +Comment=Play a Space Invaders clone +Comment[ca]=Juga a un clon del Space Invaders +Comment[de]=Spiele ein Space Invaders Klon +Comment[en]=Play a Space Invaders clone +Comment[es]=Juega un clon de Space Invaders +Icon=open-invaders +TryExec=open-invaders +Exec=open-invaders +Terminal=false +Categories=Game;ActionGame; --- open-invaders-0.2.orig/debian/rules +++ open-invaders-0.2/debian/rules @@ -0,0 +1,90 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +config.status: configure + dh_testdir + # Add here commands to configure the package. + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --bindir=\$${prefix}/games --mandir=\$${prefix}/share/man --docdir=\$$/share/doc CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" + +include /usr/share/dpatch/dpatch.make + +build: patch build-stamp + +build-stamp: config.status + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + docbook-to-man debian/open-invaders.sgml > debian/open-invaders.6 + + touch $@ + +clean: clean-patched unpatch + +clean-patched: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + [ ! -f Makefile ] || $(MAKE) distclean +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/open-invaders. + $(MAKE) DESTDIR=$(CURDIR)/debian/open-invaders install + + rm -rf $(CURDIR)/debian/open-invaders/usr/include + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_install + dh_installman debian/open-invaders.6 + dh_desktop + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- open-invaders-0.2.orig/debian/dirs +++ open-invaders-0.2/debian/dirs @@ -0,0 +1,4 @@ +usr/games +usr/share/doc/open-invaders +usr/share/applications +usr/share/pixmaps