debian/0000755000000000000000000000000012260475622007174 5ustar debian/watch0000644000000000000000000000022212257520433010216 0ustar version=3 http://code.google.com/p/rockdodger/downloads/list .*/rockdodger-(\d(?:\.\d|\w)*)\.(?:pkg\.)?(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) debian/control0000644000000000000000000000123312257515002010567 0ustar Source: rockdodger Section: games Priority: optional Maintainer: Martin A. Godisch Build-Depends: libsdl-image1.2-dev, libsdl-mixer1.2-dev Standards-Version: 3.9.5 Homepage: https://code.google.com/p/rockdodger/ Package: rockdodger Architecture: any Depends: ${shlibs:Depends} Description: Fly through an asteroid field avoiding rocks and greeblies Rock Dodger is a horizontal scrolling action game where you have to navigate your spaceship through a stream of rocks flying in from the right. Your only help is a laser to destroy rocks and a limited amount of shield. This game had once upon in time the 4th place in NoStarch game contest. debian/copyright0000644000000000000000000000211612257324602011124 0ustar This package was debianized by Andreas Bombe on Wed, 24 Jul 2002 16:13:09 +0200. It is now maintained by Martin A. Godisch . It was downloaded from https://code.google.com/p/rockdodger/. Copyright (C) 2001 Paul Holt . 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 systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. debian/changelog0000644000000000000000000000703112260475561011051 0ustar rockdodger (0.9.2-1) unstable; urgency=low * New upstream release, removed some Debian patches. * Replaced manual page. * Added .desktop file. -- Martin A. Godisch Tue, 31 Dec 2013 09:08:13 +0100 rockdodger (0.9.1-3) unstable; urgency=low * Fixed file permissions. * Fixed watch file. -- Martin A. Godisch Mon, 30 Dec 2013 16:48:39 +0100 rockdodger (0.9.1-2) unstable; urgency=low * Fixed build flags. * Fixed watch file. -- Martin A. Godisch Sat, 28 Dec 2013 10:35:04 +0100 rockdodger (0.9.1-1) unstable; urgency=low * New maintainer, closes: #731793. * New upstream version, closes: #698565. * New upstream hosting, closes: #696340. * Changed source format to v3.0 (quilt), removed debhelper. * Updated standards version and watch file. -- Martin A. Godisch Fri, 27 Dec 2013 20:19:22 +0100 rockdodger (0.6.0a-7) unstable; urgency=low * Makefile: Link with -lm. Closes: #556324. -- Bart Martens Thu, 11 Mar 2010 18:38:37 +0100 rockdodger (0.6.0a-6) unstable; urgency=low * debian/menu: Updated to newest menu policy. -- Bart Martens Sat, 24 Nov 2007 23:09:58 +0100 rockdodger (0.6.0a-5) unstable; urgency=low * New maintainer. Closes: #402227. * debian/*: Use cdbs, newest debhelper, newest standards version. * debian/copyright: Updated. * Makefile: Replaced hard-coded date by "date --rfc-3339=date". * debian/watch: Added. -- Bart Martens Sat, 9 Dec 2006 11:50:53 +0100 rockdodger (0.6.0a-4) unstable; urgency=low * Fix FTBFS on gcc 4.0 due to use of struct before declaration. (closes: #300291) * Use debhelper V4. * React on noopt instead of debug in DEB_BUILD_OPTIONS to disable optimizations. * Quote remaining strings in menu file. * Convert icon to 32x32 XPM with transparency. * Bump Standards-Version to 3.6.2. * Change chown root.games to chown root:games in postinst. -- Andreas Bombe Tue, 01 Nov 2005 21:03:17 +0100 rockdodger (0.6.0a-3) unstable; urgency=low * List keyboard controls in the man page exhaustively and in a separate table. (closes: #291862) -- Andreas Bombe Sun, 13 Feb 2005 17:06:42 +0100 rockdodger (0.6.0a-2) unstable; urgency=low * Show icon in menu entry (closes: #275634). * Fix possible buffer overflow from contents of HOME environment variable (closes: #278878). -- Andreas Bombe Mon, 22 Nov 2004 04:12:26 +0100 rockdodger (0.6.0a-1) unstable; urgency=low * New upstream release. * Always build with debugging symbols, let dh_strip deal with stripping it depending on DEB_BUILD_OPTIONS. * Change upstream Makefile to append "-debian" to version number and #define release date as compilation date. * Update man page for new options. -- Andreas Bombe Mon, 23 Dec 2002 20:46:05 +0100 rockdodger (0.6-2) unstable; urgency=low * Fix parsing of highscore file with empty names (closes: #155709). * Fix help to show -w option (closes: #155844). -- Andreas Bombe Fri, 9 Aug 2002 18:36:03 +0200 rockdodger (0.6-1) unstable; urgency=low * New upstream release. * Do not expect /var/games to exist (closes: #155322). * Handle DEB_BUILD_OPTIONS better on building. -- Andreas Bombe Mon, 5 Aug 2002 18:58:19 +0200 rockdodger (0.5.1-1) unstable; urgency=low * Packaged Rock Dodger (closes: #153863) -- Andreas Bombe Wed, 24 Jul 2002 16:13:09 +0200 debian/menu0000644000000000000000000000051112257324257010063 0ustar ?package(rockdodger):needs="x11" section="Games/Action"\ title="Rockdodger" command="/usr/games/rockdodger -w"\ icon="/usr/share/rockdodger/icon32x32.xpm" ?package(rockdodger):needs="x11" section="Games/Action"\ title="Rockdodger (full screen)" command="/usr/games/rockdodger"\ icon="/usr/share/rockdodger/icon32x32.xpm" debian/rules0000755000000000000000000000435212260475505010260 0ustar #!/usr/bin/make -f testdir = test -f rockdodger_globals.c && test -f debian/rules testroot = test x`whoami` = xroot CPPFLAGS = $(shell dpkg-buildflags --get CPPFLAGS) CFLAGS = $(shell dpkg-buildflags --get CFLAGS) LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS) export LDFLAGS MOREOPTS = $(CPPFLAGS) $(CFLAGS) -Wall -Werror export MOREOPTS clean: $(testdir) rm -f build-stamp debian/files debian/substvars rm -rf debian/tmp $(MAKE) clean build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp build-stamp: $(testdir) $(MAKE) DESTDIR=$(CURDIR)/debian/tmp prefix=$(CURDIR)/debian/tmp/usr bindir=$(CURDIR)/debian/tmp/usr/games datarootdir=$(CURDIR)/debian/tmp/usr/share localstatedir=$(CURDIR)/debian/tmp/var touch $@ binary: binary-arch binary-indep binary-arch: build $(testdir) $(testroot) rm -rf debian/tmp $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp prefix=$(CURDIR)/debian/tmp/usr bindir=$(CURDIR)/debian/tmp/usr/games datarootdir=$(CURDIR)/debian/tmp/usr/share localstatedir=$(CURDIR)/debian/tmp/var ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) strip -R .comment -R .note debian/tmp/usr/games/rockdodger endif rm debian/tmp/var/games/rockdodger.scores install -p -m 0644 debian/icon32x32.xpm debian/tmp/usr/share/rockdodger install -D -p -m 0644 debian/menu debian/tmp/usr/share/menu/rockdodger install -D -p -m 0644 rockdodger.desktop debian/tmp/usr/share/applications/rockdodger.desktop install -D -p -m 0644 debian/changelog debian/tmp/usr/share/doc/rockdodger/changelog.Debian gzip -9 debian/tmp/usr/share/doc/rockdodger/changelog.Debian install -p -m 0644 debian/copyright debian/tmp/usr/share/doc/rockdodger install -d -m 0755 debian/tmp/DEBIAN install -p -m 0644 debian/control debian/tmp/DEBIAN install -p -m 0755 debian/postinst debian/postrm debian/tmp/DEBIAN cd debian/tmp && find usr -type f -print0 | xargs -0 md5sum > DEBIAN/md5sums chown -R root:root debian/tmp chmod -R go=u-w debian/tmp chown root:games debian/tmp/usr/games/rockdodger chmod 2755 debian/tmp/usr/games/rockdodger dpkg-shlibdeps debian/tmp/usr/games/rockdodger dpkg-gencontrol -isp -prockdodger dpkg --build debian/tmp .. binary-indep: .PHONY: clean build build-arch build-indep binary binary-arch binary-indep debian/postinst0000644000000000000000000000030412257342123010772 0ustar #!/bin/sh set -e SCOREFILE='/var/games/rockdodger.scores' touch "$SCOREFILE" chmod 664 "$SCOREFILE" chown root:games "$SCOREFILE" if [ -x /usr/bin/update-menus ] then update-menus fi exit 0 debian/icon32x32.xpm0000644000000000000000000001561112257322366011362 0ustar /* XPM */ static char * icon32x32_xpm[] = { "32 32 301 2", " c None", ". c #050509", "+ c #0C0C29", "@ c #090930", "# c #0A0A38", "$ c #0B0B3C", "% c #0B0B3B", "& c #0E0E30", "* c #12121D", "= c #131317", "- c #0E0E17", "; c #0D0D28", "> c #2626A7", ", c #2323BE", "' c #2525C9", ") c #2525CF", "! c #2626D0", "~ c #2626CE", "{ c #2929BD", "] c #2F2F9A", "^ c #37377B", "/ c #1C1C2A", "( c #0E0E16", "_ c #0D0D27", ": c #27279D", "< c #2323B8", "[ c #2626C1", "} c #2626CB", "| c #2626CD", "1 c #2525CE", "2 c #2626CF", "3 c #2727C7", "4 c #323289", "5 c #1F1F29", "6 c #101018", "7 c #101017", "8 c #1A1A39", "9 c #111147", "0 c #16164A", "a c #181862", "b c #30309D", "c c #2727BC", "d c #2726CB", "e c #2A28B9", "f c #3733A3", "g c #3633AC", "h c #3733B9", "i c #4C4693", "j c #4D4E5A", "k c #1A1B20", "l c #0A0A10", "m c #10101A", "n c #11111B", "o c #212131", "p c #3C3A71", "q c #4C4199", "r c #7D5F9A", "s c #A37F9B", "t c #917596", "u c #876C94", "v c #B77F8E", "w c #5A475B", "x c #1F223D", "y c #1A1E34", "z c #080B12", "A c #0B0B11", "B c #31282A", "C c #BA8792", "D c #DBA1B0", "E c #E2A4B0", "F c #E6A3AB", "G c #A57584", "H c #7D586B", "I c #C3737B", "J c #7B4A5D", "K c #1F1D3D", "L c #081337", "M c #0A1638", "N c #443A3D", "O c #504128", "P c #4E312D", "Q c #482A2A", "R c #3F2627", "S c #0C0C13", "T c #0F0F18", "U c #07070B", "V c #090913", "W c #584D9C", "X c #BC9ED1", "Y c #C4A5D3", "Z c #BE95C0", "` c #D394B2", " . c #C68299", ".. c #B77389", "+. c #E3747C", "@. c #D95F64", "#. c #A0434F", "$. c #632F44", "%. c #533045", "&. c #C49468", "*. c #F7D874", "=. c #F29780", "-. c #E97C7C", ";. c #DF7878", ">. c #9D575D", ",. c #9E5477", "'. c #9D4E71", "). c #9D585D", "!. c #9B5959", "~. c #462C2E", "{. c #08080D", "]. c #0C0C24", "^. c #29297A", "/. c #2D2D7B", "(. c #363694", "_. c #3B3BB0", ":. c #423FBE", "<. c #4B42BB", "[. c #483EBF", "}. c #4137C4", "|. c #4036C8", "1. c #4139C8", "2. c #4237B2", "3. c #9A447C", "4. c #CF4449", "5. c #E64545", "6. c #DC4647", "7. c #DD4D49", "8. c #F29940", "9. c #FBD53B", "0. c #F06F4A", "a. c #ED4E4E", "b. c #EE4E4E", "c. c #F14F5E", "d. c #FA459B", "e. c #F94494", "f. c #F34955", "g. c #F24848", "h. c #E64141", "i. c #C83635", "j. c #200E10", "k. c #363650", "l. c #37374F", "m. c #36364C", "n. c #38354E", "o. c #6F3D54", "p. c #803048", "q. c #8B2D4B", "r. c #852B52", "s. c #7B295B", "t. c #672570", "u. c #6D236E", "v. c #812B4F", "w. c #AC2F34", "x. c #DD3D3E", "y. c #EE4141", "z. c #F14641", "A. c #F69639", "B. c #FCD433", "C. c #F2653D", "D. c #EC403E", "E. c #E83E3D", "F. c #EC3A4B", "G. c #F2317E", "H. c #EF3176", "I. c #EB3A45", "J. c #E93B38", "K. c #E63934", "L. c #D4332B", "M. c #822615", "N. c #0C0406", "O. c #8B0707", "P. c #980404", "Q. c #9E0303", "R. c #9D0304", "S. c #9B0406", "T. c #98050A", "U. c #9C060D", "V. c #9F0E15", "W. c #AC1619", "X. c #C72828", "Y. c #E33A38", "Z. c #ED413B", "`. c #EE8D2C", " + c #ECC31E", ".+ c #D94E18", "++ c #CA2718", "@+ c #C3231D", "#+ c #C31F25", "$+ c #C51933", "%+ c #C5172D", "&+ c #C01C1B", "*+ c #BD1F12", "=+ c #AF1E12", "-+ c #8B210F", ";+ c #461E07", ">+ c #0E090E", ",+ c #520000", "'+ c #7F0202", ")+ c #9C0202", "!+ c #9E0202", "~+ c #A00202", "{+ c #A00303", "]+ c #A20303", "^+ c #A10404", "/+ c #A50808", "(+ c #B0110F", "_+ c #BE1810", ":+ c #C41F09", "<+ c #CF6002", "[+ c #D38E00", "}+ c #C13400", "|+ c #840B01", "1+ c #580602", "2+ c #520403", "3+ c #540304", "4+ c #570303", "5+ c #580401", "6+ c #510501", "7+ c #3E0802", "8+ c #291503", "9+ c #0B0B12", "0+ c #100B00", "a+ c #3E1901", "b+ c #760704", "c+ c #960505", "d+ c #A20504", "e+ c #9D0504", "f+ c #AB0D0A", "g+ c #B41805", "h+ c #CD5C02", "i+ c #734800", "j+ c #3E1100", "k+ c #1E080B", "l+ c #0D0D14", "m+ c #0D0D16", "n+ c #101009", "o+ c #1A191C", "p+ c #20181C", "q+ c #2C1C18", "r+ c #530F14", "s+ c #7B080C", "t+ c #80090F", "u+ c #7D0706", "v+ c #820704", "w+ c #720403", "x+ c #710202", "y+ c #210506", "z+ c #0D0807", "A+ c #100F15", "B+ c #111115", "C+ c #202030", "D+ c #16164E", "E+ c #111145", "F+ c #0A0A26", "G+ c #121233", "H+ c #0B0B5A", "I+ c #0B0B5F", "J+ c #0B0B55", "K+ c #100F4B", "L+ c #141044", "M+ c #150F46", "N+ c #1F1037", "O+ c #240D13", "P+ c #0C0A0F", "Q+ c #12121A", "R+ c #2A2A72", "S+ c #2424BA", "T+ c #2323B9", "U+ c #1A1A96", "V+ c #0F0F69", "W+ c #0B0B60", "X+ c #0A0A5D", "Y+ c #0A0A59", "Z+ c #0B0B5C", "`+ c #0B0B5D", " @ c #08083C", ".@ c #0B0B15", "+@ c #10101B", "@@ c #272775", "#@ c #2121B4", "$@ c #2222BC", "%@ c #2121B7", "&@ c #16168A", "*@ c #0D0D64", "=@ c #0A0A5B", "-@ c #090957", ";@ c #080852", ">@ c #080850", ",@ c #060637", "'@ c #060607", ")@ c #0C0C1D", "!@ c #08082D", "~@ c #090933", "{@ c #070729", "]@ c #04041C", "^@ c #030318", "/@ c #020218", "(@ c #020217", "_@ c #020216", ":@ c #0A0A15", " ", " ", " ", " ", " ", " ", " ", " . + @ # $ $ $ $ % & * = - ", " ; > , ' ) ! ! ! ~ { ] ^ / ( ", " _ : < [ } | 1 ) 2 ~ | 3 4 5 6 ", " 7 8 9 0 a b c d e f g h i j k l m ", " n ( ( ( ( o p q r s t u v w x y z A ", " n B C D E F G H I J K L M N O P Q R S S S S S T ", " U U U U V W X Y Z ` ...+.@.#.$.%.&.*.=.-.;.>.,.'.).!.~.{. ", " ].^./.(._.:.<.[.}.|.1.2.3.4.5.6.7.8.9.0.a.b.c.d.e.f.g.h.i.j. ", " 6 k.l.m.n.o.p.q.r.s.t.u.v.w.x.y.z.A.B.C.D.E.F.G.H.I.J.K.L.M. ", " - - - - N.O.P.Q.R.S.T.U.V.W.X.Y.Z.`. +.+++@+#+$+%+&+*+=+-+;+ ", " >+,+'+)+!+~+{+]+^+/+(+_+:+<+[+}+|+1+2+3+4+5+6+7+8+9+ ", " n 0+a+b+c+]+{+{+^+d+e+f+g+h+i+j+k+S S S S S S S l+ ", " n m+m+m+l+n+o+p+q+r+s+t+u+v+w+x+y+z+A+ ", " B+C+D+E+F+G+H+I+J+K+L+M+N+O+P+l m ", " Q+R+S+T+U+V+W+X+Y+Z+`+Z+ @.@ ", " +@@@#@$@%@&@*@=@-@;@>@,@A ", " '@)@!@~@~@{@]@^@/@(@_@:@ ", " ", " ", " ", " ", " ", " ", " ", " "}; debian/postrm0000644000000000000000000000025612257342144010444 0ustar #!/bin/sh set -e SCOREFILE='/var/games/rockdodger.scores' if [ "$1" = 'purge' ] then rm -f "$SCOREFILE" fi if [ -x /usr/bin/update-menus ] then update-menus fi exit 0 debian/source/0000755000000000000000000000000012257516563010502 5ustar debian/source/format0000644000000000000000000000001412257333404011677 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012260475330010617 5ustar debian/patches/series0000644000000000000000000000001212260475330012025 0ustar make.diff debian/patches/make.diff0000644000000000000000000000175112257515406012377 0ustar --- rockdodger-0.9.1.orig/Makefile +++ rockdodger-0.9.1/Makefile @@ -72,7 +72,7 @@ CFLAGS=-MMD -g $(OPTIONS) $(MOREOPTS) all: $(EXENAME) config.h config.h: config.h.in - sed -e 's:@gamesdir@:$(gamesdir):' -e 's/@PACKAGENAME@/$(PACKAGENAME)/' -e 's:@datadir@:$(datadir):' $^ > $@ + sed -e 's:@gamesdir@:/var/games:' -e 's/@PACKAGENAME@/$(PACKAGENAME)/' -e 's:@datadir@:/usr/share:' $^ > $@ $(EXENAME): config.h $(OBJECTS) ifeq ($(profile),1) @@ -78,7 +78,7 @@ $(EXENAME): config.h $(OBJECTS) ifeq ($(profile),1) $(CC) -pg -o $(EXENAME) $(OBJECTS) $(LIBRARIES) else - $(CC) -o $(EXENAME) $(OBJECTS) $(LIBRARIES) + $(CC) $(LDFLAGS) -o $(EXENAME) $(OBJECTS) $(LIBRARIES) endif clean: @@ -107,7 +107,7 @@ install: all -chgrp games $(gamesdir)/rockdodger.scores chmod g+rw $(gamesdir)/rockdodger.scores mkdir -p $(mandir)/man6 - gzip < $(MANPAGE) > $(mandir)/man6/$(MANPAGE).gz + gzip -9 < $(MANPAGE) > $(mandir)/man6/$(MANPAGE).gz uninstall: rm -f $(gamesdir)/rockdodger.scores