--- starvoyager-0.4.4.orig/debian/changelog +++ starvoyager-0.4.4/debian/changelog @@ -0,0 +1,43 @@ +starvoyager (0.4.4-4build1) breezy; urgency=low + + * Rebuild for new C++ ABI + + -- Matthias Klose Tue, 28 Jun 2005 09:06:35 +0000 + +starvoyager (0.4.4-4) unstable; urgency=low + + * Binaries should be installed in /usr/games, according to policy section 11.11 + * Increase Standard-Version to 3.6.0(from 3.5.10) - No changes required + * Add -O2 to CFLAGS unless there is 'noopt' in DEB_BUILD_OPTIONS + + -- Idan Sofer Thu, 1 Aug 2003 16:55:13 +0200 + +starvoyager (0.4.4-3) unstable; urgency=low + + * Remove libstdc++2.10-dev from build-depends(closes: #199700) + * Increase Standard-Version to 3.5.10(from 3.5.9) + + -- Idan Sofer Thu, 4 Jul 2003 14:23:06 +0200 + +starvoyager (0.4.4-2) unstable; urgency=low + + * Fixed manpage(starvoyager accepts no files argument) + * Add debian/compat and use versioned build-depends on debhelper as suggested by sponsor + * Reversed dependency between starvoyager and starvoyager-data, the latter now recommends starvoyager + * Description modified, removing statement as to the extent of it's portability, irrelevant for debian, as commented by Michael Goetze + * Patching outside debian/ tree is now done by dpatch + * Added patch to make it compile under gcc 3.2 properly + * Increase standards-verion to 3.5.9 + * Clean up debian/rules, remove debmake from build-depends + * Documentation moved to starvoyager-data + * Created starvoyager docs symlink to starvoyager-data + * Updated packages description, describe which is binary and which is data + + -- Idan Sofer Thu, 4 May 2003 01:13:06 +0200 + +starvoyager (0.4.4-1) unstable; urgency=low + + * Initial release. + * Makefile's $PREFIX modified to include $DESTDIR + + -- Idan Sofer Thu, 27 Mar 2003 15:30:06 +0200 --- starvoyager-0.4.4.orig/debian/control +++ starvoyager-0.4.4/debian/control @@ -0,0 +1,26 @@ +Source: starvoyager +Section: games +Priority: optional +Maintainer: Idan Sofer +Standards-Version: 3.6.0 +Build-Depends: debhelper (>= 4.1.38),dpatch,libsdl1.2-dev,libsdl-net1.2-dev + +Package: starvoyager +Architecture: any +Depends: ${shlibs:Depends}, starvoyager-data +Description: 2D space arcade game, themed around 'Star Trek' - binary + Star Voyager is a Frontier/Elite class game in a more arcade style 2D + environment, themed to the 'Star Trek' universe. It utilizes the SDL library + for portability. + . + This package contains the game binary + +Package: starvoyager-data +Architecture: all +Recommends: starvoyager +Description: 2D space arcade game, themed around 'Star Trek' - data files + Star Voyager is a Frontier/Elite class game in a more arcade style 2D + environment, themed to the 'Star Trek' universe. It utilizes the SDL library + for portability. + . + This package contains the data files used by the game engine --- starvoyager-0.4.4.orig/debian/copyright +++ starvoyager-0.4.4/debian/copyright @@ -0,0 +1,45 @@ +This package was debianized by Idan Sofer idan@idanso.dyndns.org on +Thu, 27 Mar 2003 15:30:06 +0200. + +It was downloaded from http://www.srcf.ucam.org/~ret28/sv/ + +Upstream Author: Richard Thrippleton, Contact him by e-mail at ret28 at cam dot ac dot uk + +Copyright: + +Licensing terms + +This software("Star Voyager"), including all code, sounds, datafiles and +images, is provided under a standard 2-term BSD license, with Richard +Thrippleton(rthrippleton@yahoo.com) as currently the sole copyright holder. +An exception is made for those components prefixed with 'SDL_' which are code +modules to be statically linked in. These components are licensed under the +terms of the LGPL V2.1 and the sole copyright holder is +Andreas Schiffler(aschiffler@home.com). + +Any discrepancies between my use of these modules and the LGPL are permitted +by an agreement with the author. + +BSD License + + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +LGPL full terms can be found on /usr/share/common-licenses/LGPL-2.1 --- starvoyager-0.4.4.orig/debian/compat +++ starvoyager-0.4.4/debian/compat @@ -0,0 +1 @@ +4 --- starvoyager-0.4.4.orig/debian/rules +++ starvoyager-0.4.4/debian/rules @@ -0,0 +1,65 @@ +#!/usr/bin/make -f +# Made with the aid of debmake, by Christoph Lameter, +# based on the sample debian/rules file for GNU hello by Ian Jackson. + +package=starvoyager + +include /usr/share/dpatch/dpatch.make + + +build: patch + dh_testdir + $(MAKE) + touch build + +clean: unpatch + dh_testdir + dh_testroot + dh_clean + -$(MAKE) clean + rm -f build + rm -f `find . -name "*~"` + rm -rf debian/tmp debian/files* core debian/substvars + +install: build + $(MAKE) install-bin DESTDIR=`pwd`/debian/tmp + $(MAKE) install-data DESTDIR=`pwd`/debian/tmp + dh_installdirs + +binary-indep: install + dh_testdir -i + dh_testroot -i + dh_install -i + dh_installchangelogs -i CHANGES + dh_installdocs -i + dh_installexamples -i + dh_installman -i + dh_link -i + dh_compress -i + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +binary-arch: install build + dh_testdir -a + dh_testroot -a + dh_install -a + dh_installexamples -a + dh_installmenu -a + dh_installman -a + dh_strip -a + dh_link -a + dh_compress -a + dh_fixperms -a + dh_installdeb -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary: binary-indep binary-arch + + +.PHONY: binary binary-arch binary-indep clean patch unpatch --- starvoyager-0.4.4.orig/debian/starvoyager.6 +++ starvoyager-0.4.4/debian/starvoyager.6 @@ -0,0 +1,40 @@ +.TH STARVOYAGER 6 +.\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection +.\" other parms are allowed: see man(7), man(1) +.SH NAME +starvoyager \- 'Star Trek' themed 2D space arcade game +.SH SYNOPSIS +.B starvoyager +.I "[options]" +.SH "DESCRIPTION" +.PP +.B starvoyager +is a Frontier/Elite class game in a more arcade style 2D environment, themed to +the ' +.B Star Trek +' universe. It utilizes the SDL library for portability. + +.SH OPTIONS +The programs follow the usual GNU command line syntax, however there is no +support for long options + +A summary of options are included below. +.TP +.B \-h +Show summary of options. +.TP +.B \-f +Run in full screen mode +.TP +.B \-x +Run with extra-large window +.TP +.B \-s +Run as standalone server +.SH "SEE ALSO" +The program is documented in +.IE manual.html +available in the /usr/share/doc/starvoyager directory. +.SH AUTHOR +This manual page was written by Idan Sofer , +for the Debian GNU/Linux system (but may be used by others). --- starvoyager-0.4.4.orig/debian/patches/00list +++ starvoyager-0.4.4/debian/patches/00list @@ -0,0 +1,2 @@ +01_starvoyager-gcc_3_2 +01_starvoyager-deb_makefile --- starvoyager-0.4.4.orig/debian/patches/01_starvoyager-gcc_3_2.dpatch +++ starvoyager-0.4.4/debian/patches/01_starvoyager-gcc_3_2.dpatch @@ -0,0 +1,78 @@ +#! /bin/sh -e +## 01_starvoyager-gcc_3_2.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: New patch generated from diff.gz + +if [ $# -ne 1 ]; then + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1 +fi +case "$1" in + -patch) patch -f --no-backup-if-mismatch -p1 < $0;; + -unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;; + *) + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1;; +esac + +exit 0 + +Common subdirectories: starvoyager-0.4.4.orig/data and starvoyager-0.4.4/data +diff -c starvoyager-0.4.4.orig/graphic.h starvoyager-0.4.4/graphic.h +*** starvoyager-0.4.4.orig/graphic.h Thu Jul 18 03:16:59 2002 +--- starvoyager-0.4.4/graphic.h Wed Apr 30 09:10:36 2003 +*************** +*** 6,13 **** + If that file is not included with this source then permission is not given to use this source in any way whatsoever. + */ + +! struct SDL_Surface; +! struct SDL_Rect; + + struct sbox //Bounding box on screen + { +--- 6,12 ---- + If that file is not included with this source then permission is not given to use this source in any way whatsoever. + */ + +! #include + + struct sbox //Bounding box on screen + { +diff -bc starvoyager-0.4.4.orig/sound.h starvoyager-0.4.4/sound.h +*** starvoyager-0.4.4.orig/sound.h Wed Jun 12 02:19:43 2002 +--- starvoyager-0.4.4/sound.h Wed Apr 30 09:11:09 2003 +*************** +*** 6,12 **** + If that file is not included with this source then permission is not given to use this source in any way whatsoever. + */ + +! + class sound; + + struct channel //Used to represent a virtual channel for mixing +--- 6,12 ---- + If that file is not included with this source then permission is not given to use this source in any way whatsoever. + */ + +! #include + class sound; + + struct channel //Used to represent a virtual channel for mixing +*************** +*** 16,22 **** + int div; //Div factor for each sound + }; + +- struct SDL_AudioSpec; + + class sound //A sound in the database + { +--- 16,21 ---- + int div; //Div factor for each sound + }; + + + class sound //A sound in the database + { --- starvoyager-0.4.4.orig/debian/patches/01_starvoyager-deb_makefile.dpatch +++ starvoyager-0.4.4/debian/patches/01_starvoyager-deb_makefile.dpatch @@ -0,0 +1,71 @@ +#! /bin/sh -e +## 01_starvoyager-deb_makefile.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: New patch generated from diff.gz + +if [ $# -ne 1 ]; then + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1 +fi +case "$1" in + -patch) patch -f --no-backup-if-mismatch -p1 < $0;; + -unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;; + *) + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 + exit 1;; +esac + +exit 0 + +diff -urNad /home/idan/projects/sv/debian/0.4.4/current/Makefile current/Makefile +--- /home/idan/projects/sv/debian/0.4.4/current/Makefile Tue Jul 22 09:28:48 2003 ++++ current/Makefile Tue Jul 22 09:32:54 2003 +@@ -1,13 +1,18 @@ +-PREFIX=/usr/local +-DATADIR=$(PREFIX)/share/starvoyager ++PREFIX=$(DESTDIR)/usr ++DATADIR=$(PREFIX)/share/games/starvoyager + DOCDIR=$(PREFIX)/share/doc/starvoyager +-BINDIR=$(PREFIX)/bin ++BINDIR=$(PREFIX)/games + VERSION=0.4.4 + + CPPC=c++ + CC=cc + LIBS:=`sdl-config --libs` -lSDL_net -lstdc++ + CFLAGS:=`sdl-config --cflags` -Wall -ggdb3 ++ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) ++CFLAGS += -O0 ++else ++CFLAGS += -O2 ++endif + #CFLAGS:=`sdl-config --cflags` -ggdb3 -Wall -Werror -ansi -pedantic + PACKAGENAME=starvoyager-$(VERSION)-`uname -m`-`uname|tr [A-Z] [a-z]`.bin + .SUFFIXES: .c .cc +@@ -33,15 +38,22 @@ + + + #Installing +-install: all ++install: install-data install-bin ++ ++ ++install-data: all + rm $(DATADIR) -rf + rm $(DOCDIR) -rf +- mkdir -p $(BINDIR) $(DOCDIR) $(DATADIR)/gfx $(DATADIR)/snd ++ mkdir -p $(DOCDIR) $(DATADIR)/gfx $(DATADIR)/snd + cp data/gfx/* $(DATADIR)/gfx/ + cp data/snd/* $(DATADIR)/snd/ + cp data/*.svd $(DATADIR)/ +- cp README FAQ LGPL manual.html LICENCE $(DOCDIR)/ ++ ++install-bin: all ++ rm $(DOCDIR) -rf ++ mkdir -p $(BINDIR) $(DOCDIR) + cp starvoyager $(BINDIR)/ ++ cp README FAQ manual.html $(DOCDIR)/ + chmod 755 $(BINDIR)/starvoyager + + #Uninstalling --- starvoyager-0.4.4.orig/debian/starvoyager-data.install +++ starvoyager-0.4.4/debian/starvoyager-data.install @@ -0,0 +1 @@ +debian/tmp/usr/share/games/ --- starvoyager-0.4.4.orig/debian/starvoyager.dirs +++ starvoyager-0.4.4/debian/starvoyager.dirs @@ -0,0 +1 @@ +usr/bin --- starvoyager-0.4.4.orig/debian/starvoyager.menu +++ starvoyager-0.4.4/debian/starvoyager.menu @@ -0,0 +1,2 @@ +?package(starvoyager):needs=X11 section=Games/Arcade\ + title="Star Voyager" command="/usr/games/starvoyager" --- starvoyager-0.4.4.orig/debian/starvoyager.manpages +++ starvoyager-0.4.4/debian/starvoyager.manpages @@ -0,0 +1 @@ +debian/starvoyager.6 --- starvoyager-0.4.4.orig/debian/starvoyager-data.dirs +++ starvoyager-0.4.4/debian/starvoyager-data.dirs @@ -0,0 +1 @@ +usr/share/games/starvoyager --- starvoyager-0.4.4.orig/debian/starvoyager.install +++ starvoyager-0.4.4/debian/starvoyager.install @@ -0,0 +1 @@ +debian/tmp/usr/games/ --- starvoyager-0.4.4.orig/debian/starvoyager-data.docs +++ starvoyager-0.4.4/debian/starvoyager-data.docs @@ -0,0 +1,4 @@ +FAQ +TODO +README +manual.html --- starvoyager-0.4.4.orig/debian/starvoyager.links +++ starvoyager-0.4.4/debian/starvoyager.links @@ -0,0 +1 @@ +usr/share/doc/starvoyager-data usr/share/doc/starvoyager