debian/0002755000000000000000000000000011670754100007171 5ustar debian/TODO0000644000000000000000000000012111670754100007651 0ustar Drop the removal of the old high score file in postinst after lenny is released. debian/xgalaga.desktop0000644000000000000000000000023411670754100012165 0ustar [Desktop Entry] Version=1.0 Name=Galaga Comment=Play Galaga Game Exec=xgalaga Icon=xgalaga-icon Terminal=false Type=Application Categories=Game;ArcadeGame; debian/watch0000644000000000000000000000006411670754100010220 0ustar version=2 http://sf.net/xgalaga/xgalaga-(.*).tar.gz debian/rules0000755000000000000000000000372411670754100010255 0ustar #!/usr/bin/make -f export CFLAGS=-Wall -g -DXF86VIDMODE ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) MAKEFLAGS += -j$(NUMJOBS) endif build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp build-stamp: dh_testdir ln -sf /usr/share/misc/config.sub ln -sf /usr/share/misc/config.guess LIBS=-lXxf86vm ./configure \ --prefix=/usr/share/games/xgalaga \ --exec-prefix=/usr/games CFLAGS="$(CFLAGS)" # hack SOUNDDEFS so we don't need symlinks $(MAKE) SOUNDDEFS=-DSOUNDSERVER=\\\"/usr/lib/games/xgalaga/$$\(SOUNDSRV\)\\\" touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp if [ -e Makefile ]; then $(MAKE) -i distclean; fi dh_clean xgal.sndsrv.oss xgal.sndsrv.freebsd xgal.sndsrv.linux config.k.bak config.sub config.guess binary-indep: build-indep binary-arch: build-arch dh_testdir dh_testroot dh_prep dh_installdirs usr/lib/games/xgalaga usr/games usr/share/man/man6 $(MAKE) DESTDIR=`pwd`/debian/xgalaga install dh_link usr/share/games/xgalaga/CREDITS usr/share/doc/xgalaga/CREDITS # move the sound-server binary out of usr/share mv debian/xgalaga/usr/share/games/xgalaga/xgal.sndsrv.* \ debian/xgalaga/usr/lib/games/xgalaga find debian/xgalaga/usr/share/games/xgalaga -type f | xargs chmod 644 dh_install debian/xgalaga-icon.xpm usr/share/pixmaps dh_install debian/xgalaga.desktop usr/share/applications dh_install debian/xgalaga-hyperspace.desktop usr/share/applications dh_link usr/share/man/man6/xgalaga.6x usr/share/man/man6/xgalaga-hyperspace.6x dh_installdocs README* libsprite/README.libsprite dh_installexamples dh_installmenu dh_installchangelogs CHANGES 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 debian/changelog0000644000000000000000000004012211670754100011040 0ustar xgalaga (2.1.1.0-4) unstable; urgency=low * Team upload. [ Paul Wise ] * Drop use of dh_desktop, it does nothing now [ Stephen M. Webb ] * Switch to 3.0 (quilt) source format. * Bumped Standards-Version to 3.9.2 (no changes required). - ran wrap-and-sort. * Converted copyright file to DEP5 format. * debian/rules: added build-arch and build-indep targets. * Fixed FTBFS with ld --as-needed (Closes: #641293) (LP: #832918). * Converted previous source mods to quilt format. * Fixed build warnings due to implicit declarations. * Fixed build warnings due to deprecated xf86dga.h header. -- Stephen M. Webb Sat, 10 Dec 2011 00:12:31 -0500 xgalaga (2.1.1.0-3) unstable; urgency=low * New maintainer (Closes: #487472), thanks Joey Hess! - Add the Debian Games Team as maintainer, myself as uploader * Build-Depend on x11proto-core-dev instead of the dummy x-dev package * Add freedesktop menu files, tweaked from Ubuntu ones (Closes: #432398) * Use the uscan magic URL in the watch file for the QA sf.net redirector * Remove the old high score file on upgrade instead of purge * Hack SOUNDDEFS to use /usr/lib, drop sndsrv symlink, clean all sndsrvs - This also fixes the kFreeBSD FTBFS (Closes: #486113) * Give the CREDITS file correct permissions, add symlink in /usr/share/doc * Drop conflict on suidmanager as it was removed from Debian in 2003! * Drop empty and unused /var/games directory from the package * Honour noopt, nostrip, parallel=n in DEB_BUILD_OPTIONS - this brings us into line with policy, update Standards-Version * Build with more GCC warnings turned on -- Paul Wise Sat, 05 Jul 2008 00:20:01 +0800 xgalaga (2.1.1.0-2) unstable; urgency=low * Orphaned the package. -- Joey Hess Sat, 21 Jun 2008 21:39:19 -0400 xgalaga (2.1.1.0-1) unstable; urgency=low * New upstream release. -- Joey Hess Sun, 09 Mar 2008 18:24:15 -0400 xgalaga (2.1.0.2-2) unstable; urgency=low * Fix ftbfs. Closes: #468792 -- Joey Hess Sat, 01 Mar 2008 13:01:56 -0500 xgalaga (2.1.0.2-1) unstable; urgency=low * New upstream release. -- Joey Hess Tue, 26 Feb 2008 18:32:42 -0500 xgalaga (2.1.0-1-1) unstable; urgency=low * New upstream release! - Includes all patches made to the Debian package over the past ten years. - Fixes sound disabling key. Closes: #149743 - Check return code when writing to /dev/dsp, which fixes problems when the sound device is not available. Closes: #60266 - Limit -level to playable levels. Closes: #399987 * Added a Homepage field. * Remove README.Debian, no longer relevant. * Added a watch file. * Updated the man page, removed undocumented options. * Revert upstream's addition of O_NONBLOCK when opening /dev/dsp, breaks sound in my tests. -- Joey Hess Fri, 08 Feb 2008 18:47:45 -0500 xgalaga (2.0.34-44) unstable; urgency=low * Update menu file for new policy and de-hardcode paths. -- Joey Hess Sun, 08 Jul 2007 16:47:29 -0400 xgalaga (2.0.34-43) unstable; urgency=low * Take config.sub and config.guess from autotools-dev. * kFreeBSD porting. Closes: #415664 * Create a xgal.sndsrv.oss that will work on linux and, presumably, FreeBSD (untested). The source file is left at xgal.sndsrv.linux.c since renaming source files in a Debian diff is too ugly. -- Joey Hess Mon, 14 May 2007 18:29:49 -0400 xgalaga (2.0.34-42) unstable; urgency=low * Fix formatting of --help. Closes: #399985 -- Joey Hess Thu, 8 Feb 2007 18:31:16 -0500 xgalaga (2.0.34-41) unstable; urgency=low * No change upload to get buildds to rebuild it now that linux-kernel-headers is fixed. Closes: #389324 -- Joey Hess Tue, 3 Oct 2006 15:34:13 -0400 xgalaga (2.0.34-40) unstable; urgency=low * Fix a fencepost error in gecos name retreival code spotted by Thue Janus Kristensen. Closes: #386718 -- Joey Hess Sat, 9 Sep 2006 17:54:15 -0400 xgalaga (2.0.34-39) unstable; urgency=low * Revert last change, this was a linux-kernel-headers bug. -- Joey Hess Thu, 7 Sep 2006 21:50:19 -0400 xgalaga (2.0.34-38) unstable; urgency=low * Include linux/types.h in linux-joystick.c to avoid a FTBFS when including linux/joystick.h with the latest gcc. -- Joey Hess Thu, 7 Sep 2006 21:35:49 -0400 xgalaga (2.0.34-37) unstable; urgency=low * Patch from Hans de Goede to make window size configurable at run time. This includes fixes for the behavior in #369016 when running at nonstandard window sizes, it also sets the default window size to 468x586 again. * Finally removed the old xgal compatability symlink to xgalaga. -- Joey Hess Wed, 31 May 2006 19:38:58 -0400 xgalaga (2.0.34-36) unstable; urgency=low * Set window size back to 400x500 which makes fullscreen not quite that but avoids gameplay and display issues from changing the size. Closes: #369016 -- Joey Hess Fri, 26 May 2006 16:31:50 -0400 xgalaga (2.0.34-35) unstable; urgency=low * Patch from Hans de Goede of Fedora Extras to remove all the build warnings. * Patch from Hans de Goede to add fullscreen support. Note that full screen mode is enabled by default. * Update man page to document fullscreen support. * Moved a lot of stuff to /usr/share. -- Joey Hess Wed, 24 May 2006 18:13:41 -0400 xgalaga (2.0.34-34) unstable; urgency=low * Fix FTBFS due to xorg transition causing $x_libraries not to be set. Closes: #365160 -- Joey Hess Fri, 28 Apr 2006 13:42:47 -0400 xgalaga (2.0.34-33) unstable; urgency=low * Minor improvement to man page. Closes: #349647 -- Joey Hess Tue, 24 Jan 2006 13:03:39 -0500 xgalaga (2.0.34-32) unstable; urgency=low * Debhelper v5. * Move away from xlibs-dev. * Current policy. -- Joey Hess Wed, 30 Nov 2005 20:35:07 -0500 xgalaga (2.0.34-31) unstable; urgency=low * Build with -O2 not -O3 so it's debuggable. * Add NO_GLOBAL_SCORES define that rips out all support for global score file. The old global score file is not deleted until xgalaga is purged, but it will not be used anymore. * Remove insecure sgid bit. Closes: #319686 -- Joey Hess Sat, 23 Jul 2005 20:18:10 -0400 xgalaga (2.0.34-30) unstable; urgency=low * Patch from Andreas Jochens to support building with gcc 4. Closes: #300374 -- Joey Hess Sat, 19 Mar 2005 11:47:18 -0500 xgalaga (2.0.34-29) unstable; urgency=low * Add support for building a xgalaga-hyperspace binary, based on a patch by Paul Telford. Closes: #280975 -- Joey Hess Fri, 12 Nov 2004 18:02:02 -0500 xgalaga (2.0.34-28) unstable; urgency=low * Fix non-POSIX chown call in postinst. Closes: #236524 * And one in the rules file. * Quote all strings in menu file. -- Joey Hess Sat, 6 Mar 2004 12:44:45 -0900 xgalaga (2.0.34-27) unstable; urgency=low * Make the sound server deal with any buffer size the sound card returns. Thanks to Chris Capoccia for helping to track this down. See #196979, which is not all fixed, since larger buffer sizes make xgalagas sound effects lose sync. -- Joey Hess Sun, 15 Jun 2003 19:09:43 -0400 xgalaga (2.0.34-26) unstable; urgency=low * Joystick patch fix for when two buttons are pressed and one released. -- Joey Hess Fri, 6 Jun 2003 16:24:14 -0400 xgalaga (2.0.34-25) unstable; urgency=low * Joystick support patch from Wouter Verhelst , also sent upstream. Closes: #190241 * Add README.Debian with info about the joystick patch. Also update man page. * Fixed icon to use Debian icon color map. -- Joey Hess Thu, 24 Apr 2003 12:28:24 -0400 xgalaga (2.0.34-24) unstable; urgency=low * Updated config.sub and config.guess so they know about parisc64-unknown-linux-gnu host system type. Closes: #174786 -- Joey Hess Mon, 3 Feb 2003 14:06:53 -0500 xgalaga (2.0.34-23) unstable; urgency=medium * More paranioa: When writing the ~/.xgalscores, first drop the games gid so the program opens the file with only the perms of the user who ran it, to protect against numerous attacks (like setting HOME, or using a symlink..) that let the caller trick xgalaga into overwriting any file writable by group games. -- Joey Hess Sun, 29 Dec 2002 21:25:35 -0500 xgalaga (2.0.34-22) unstable; urgency=low * Passing xgalaga a huge HOME variable could crash it. Patch from Steve Kemp to make it use snprintf. Closes: #174624 -- Joey Hess Sun, 29 Dec 2002 12:29:56 -0500 xgalaga (2.0.34-21) unstable; urgency=low * If a huge initial level was given, read_level() would recurse backwards looking for a real level. After a few hundred recusions, it would overflow the stack of course. I don't think this is exploitable, but I have changed it to use a loop looking backward for the level so there is no stack overflow. It will still take a _very_ long time to start from level 11111111111 or so. Closes: #154291 -- Joey Hess Thu, 25 Jul 2002 17:50:53 -0400 xgalaga (2.0.34-20) unstable; urgency=low * Debhelper v4. * Fixed man page section. -- Joey Hess Thu, 13 Jun 2002 17:25:54 -0400 xgalaga (2.0.34-19) unstable; urgency=low * make k a signed char in xgal.sndsrv.linux.c; chars do not default to signed on all arches. -- Joey Hess Fri, 28 Dec 2001 23:07:07 -0500 xgalaga (2.0.34-18) unstable; urgency=low * Makefile.in: if there is no sound server, don't try to install one. For the Hurd. Closes: #107995 -- Joey Hess Wed, 8 Aug 2001 15:28:25 -0400 xgalaga (2.0.34-17) unstable; urgency=low * printf is a macro in gcc 3.0, which broke an internally #ifdef'd printf (sigh). Patched. * Updated config.* files for PARISC, Closes: #97379 -- Joey Hess Mon, 14 May 2001 15:36:05 -0400 xgalaga (2.0.34-16) unstable; urgency=low * Fixed three bugs relating to pausing the program, patch from Rune Broberg , Closes: #89254 Also sent upstream. * (This upload slightly delayed by accident.) -- Joey Hess Sun, 11 Mar 2001 15:21:18 -0800 xgalaga (2.0.34-15) unstable; urgency=low * No changes, Closes: #92689 (which I long ago fixed in CVS, but didn't consider RC..) -- Joey Hess Tue, 3 Apr 2001 13:30:03 -0700 xgalaga (2.0.34-14) unstable; urgency=low * statoverride transition -- Joey Hess Wed, 10 Jan 2001 15:09:20 -0800 xgalaga (2.0.34-13) unstable; urgency=low * Added a menu icon, Closes: #75767 * The icon is by Robert Cleaver Ancell , and is GPL. -- Joey Hess Fri, 5 Jan 2001 17:38:18 -0800 xgalaga (2.0.34-12) unstable; urgency=low * Made -nosound mode not try to open the sound device. Closes: #78734 Fix sent upstream. -- Joey Hess Thu, 4 Jan 2001 16:08:40 -0800 xgalaga (2.0.34-11) unstable; urgency=low * Updated to fhs /var/games. * Remove score file on purge. -- Joey Hess Sun, 5 Nov 2000 23:05:39 -0800 xgalaga (2.0.34-10) unstable; urgency=low * Build deps. -- Joey Hess Sat, 4 Dec 1999 18:24:58 -0800 xgalaga (2.0.34-9) unstable; urgency=low * README, debian/copyright, title.c: Home page change, Closes: #51569 * debian/changelog, debian/control: removed 'master' * libsprite/data.c, libsprite/data.h, libsprite/defs.h, libsprite/init.c: Patch from Kevin Ryde to fix the numlock problem. Closes: #50903 -- Joey Hess Mon, 29 Nov 1999 15:03:32 -0800 xgalaga (2.0.34-8) unstable; urgency=low * Patch from Kevin Ryde , to improve smoothness and speed in xgalaga, especially on slower video cards. -- Joey Hess Tue, 5 Oct 1999 12:34:03 -0700 xgalaga (2.0.34-7) unstable; urgency=low * FHS -- Joey Hess Mon, 6 Sep 1999 18:41:48 -0700 xgalaga (2.0.34-6) unstable; urgency=low * Modified the sound server to just exit if there is no sound support. xgalaga seems to handle this ok now, without crashing as it used to. The sound server was sleeping and blocking the SIGTERM signal that was supposed to kill it, resulting in it not quitting when the game quit. (#37165) -- Joey Hess Tue, 4 May 1999 16:26:32 -0700 xgalaga (2.0.34-5) unstable; urgency=low * Actually xgalaga doesn't accept -f at all so removed it from man page. -- Joey Hess Mon, 28 Dec 1998 19:42:18 -0800 xgalaga (2.0.34-4) unstable; urgency=low * xgal.6x: no they arn't fishes, they are enemy spaceships. (#31203) -- Joey Hess Sun, 27 Dec 1998 23:20:57 -0500 xgalaga (2.0.34-3) unstable; urgency=low * glibc 2.1 strdup fix. (#29542). -- Joey Hess Mon, 16 Nov 1998 12:12:07 -0800 xgalaga (2.0.34-2) unstable; urgency=low * Rebuilt with latest debhelper to change how sgid binary is registered. -- Joey Hess Tue, 27 Oct 1998 22:29:42 -0800 xgalaga (2.0.34-1) unstable; urgency=low * New upstream release. -- Joey Hess Mon, 11 May 1998 08:16:08 -0700 xgalaga (2.0-1) unstable; urgency=low * New upstream release. - fixes bug #11296, now works on systems w/o sound support. * Covered by the GPL now, it is now free! -- Joey Hess Thu, 30 Apr 1998 00:32:39 -0700 xgalaga (1.6c-11) unstable; urgency=low * Moved xgal.sndsrv.linux to /usr/lib/games/xgalaga/, so I don't need to write a man page for it. * Moved xgalaga to /usr/games, and it's man page to /usr/man/man6. -- Joey Hess Sat, 21 Feb 1998 23:13:30 -0800 xgalaga (1.6c-10) unstable; urgency=low * Rebuilt with debhelper 0.60 to fix mode 444 files. * Updated standards-version. -- Joey Hess Mon, 9 Feb 1998 13:08:56 -0800 xgalaga (1.6c-9) unstable; urgency=low * Use debhelper. -- Joey Hess Sat, 7 Feb 1998 20:26:30 -0800 xgalaga (1.6c-8) unstable; urgency=low * Rebuilt to use xpm4g (#12942). -- Joey Hess Sun, 14 Sep 1997 20:12:17 -0400 xgalaga (1.6c-7) unstable; urgency=low * New maintainer. * Changed it to use my generic debian/rules file. * Changed the description. * Updated url to home page in copyright file, and trimmed out some other non-copyright info from that file (same info was duplicated in the README). Added libsprite copyright info. Updated author's mailing address. * Got rid of shlibs.local. * Added a menu file. -- Joey Hess Tue, 9 Sep 1997 15:31:17 -0400 xgalaga (1.6c-6) non-free; urgency=low * Rebuilt with libc6. * Orphaned the package. * Cosmetic change (fix bug #9675). -- Vincent Renardias Fri, 9 May 1997 14:41:58 +0200 xgalaga (1.6c-5) non-free; urgency=low * Fixed problem with soundfiles (Bug #6991). * Removed empty directory /var/lib/games (Bug #6992). * Changed some src code to get rid of compilation warnings. -- Vincent Renardias Sat, 1 Feb 1997 18:01:05 +0100 xgalaga (1.6c-4) non-free; urgency=low * Wrote manpage (Corrects Bug #5593) -- Vincent Renardias Tue, 17 Dec 1996 23:19:13 +0100 xgalaga (1.6c-3) non-free; urgency=low * Changed location and mode of scorefile (Bug #5876) -- Vincent Renardias Tue, 10 Dec 1996 23:33:33 +0100 xgalaga (1.6c-2) non-free; urgency=low * Maintainer changed * No man page: added link to undocumented.7 * Tuned compile options -- Vincent Renardias Sat, 19 Oct 1996 04:49:33 +0200 xgalaga (1.6c-1) non-free; urgency=low * Initial Release -- Christoph Lameter Thu, 01 Sep 1996 15:37:25 +0100 debian/control0000644000000000000000000000153311670754100010574 0ustar Source: xgalaga Section: games Priority: optional Build-Depends: autotools-dev, debhelper (>= 5), dpkg-dev (>= 1.9.0), libx11-dev, libxmu-dev, libxpm-dev, libxxf86dga-dev, libxxf86vm-dev, x11proto-core-dev Maintainer: Debian Games Team Uploaders: Paul Wise Standards-Version: 3.9.2 Homepage: http://sourceforge.net/projects/xgalaga/ Vcs-Git: git://git.debian.org/git/pkg-games/xgalaga.git Package: xgalaga Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Description: X version of the famous Galaga game A clone of the classic game Galaga for the X Window System. Xgalaga is a space-invader like game with additional features to produce a more interesting game. debian/xgalaga-hyperspace.desktop0000644000000000000000000000027311670754100014331 0ustar [Desktop Entry] Version=1.0 Name=Galaga:Hyperspace Comment=Play enhanced Galaga Game Exec=xgalaga-hyperspace Icon=xgalaga-icon Terminal=false Type=Application Categories=Game;ArcadeGame; debian/compat0000644000000000000000000000000211670754100010365 0ustar 5 debian/menu0000644000000000000000000000044411670754100010060 0ustar ?package(xgalaga):needs="x11" section="Games/Action" title="Galaga" \ command="xgalaga" \ icon="/usr/share/pixmaps/xgalaga-icon.xpm" ?package(xgalaga):needs="x11" section="Games/Action" title="Galaga:Hyperspace" \ command="xgalaga-hyperspace" \ icon="/usr/share/pixmaps/xgalaga-icon.xpm" debian/source/0002755000000000000000000000000011670754100010471 5ustar debian/source/format0000644000000000000000000000001411670754100011675 0ustar 3.0 (quilt) debian/patches/0002755000000000000000000000000011670754100010620 5ustar debian/patches/0002-implicit-declarations.patch0000644000000000000000000000160111670754100016474 0ustar Description: Fixed build warnings due to implicit type defaults. Author: Stephen M. Webb --- a/title.c +++ b/title.c @@ -15,11 +15,12 @@ #include "struct.h" #include "data.h" #include "proto.h" +#include /* for scrolling credits */ -const LINESIZE= 70; -const VISIBLELINES=7; -const SPEEDFACTOR=5; +const int LINESIZE= 70; +const int VISIBLELINES=7; +const int SPEEDFACTOR=5; char *gchLBuf; int giCreditLines=0, giActCreditLine=0; @@ -107,7 +108,7 @@ top+150, W_Cyan); } -int read_credits() +void read_credits() { int hsf; int i,j,l,lines; @@ -174,8 +175,7 @@ void undo_credits() { - int hsf; - int i,j,l,lines; + int i,j,lines; int top = 460; char chLBuf[LINESIZE+1]; @@ -200,8 +200,7 @@ void show_credits() { - int hsf; - int i,j,l,lines; + int i,j,lines; int top = 460; char chLBuf[LINESIZE+1]; debian/patches/0001-manpages-install.patch0000644000000000000000000000153711670754100015462 0ustar Description: Uses DESTDIR for manpage installation. Origin: Pre-quilt-3.0 source modifications by Joey Hess. --- a/Makefile.in +++ b/Makefile.in @@ -65,8 +65,8 @@ for i in levels/*.xgl; do $(INSTALL) $$i $(DESTDIR)$(prefix)/$$i ; done for i in sounds/*.raw; do $(INSTALL) $$i $(DESTDIR)$(prefix)/$$i ; done $(INSTALL) CREDITS $(DESTDIR)$(creditsfile) - $(INSTALL) xgalaga.6x.gz $(mandir)/man6/xgalaga.6x.gz - chmod 644 $(mandir)/man6/xgalaga.6x.gz + $(INSTALL) xgalaga.6x.gz $(DESTDIR)$(mandir)/man6/xgalaga.6x.gz +# chmod 644 $(mandir)/man6/xgalaga.6x.gz # touch $(prefix)/scores # chmod 666 $(prefix)/scores # chown ${GAMEOWN}:${GAMEGRP} $(prefix)/scores @@ -86,7 +86,7 @@ $(CC) $(LDFLAGS) -o $(TARGET2) $(OBJS_HYPER) $(LIBS) %.6x.gz: %.6x - gzip -c $< > $@ + gzip -9 -c $< > $@ %.o: %.c $(CC) $(CFLAGS) -DORIGINAL_XGALAGA -c $< -o $@ debian/patches/series0000644000000000000000000000013111670754100012026 0ustar 0001-manpages-install.patch 0002-implicit-declarations.patch 0003-obsolete-xf86dga.patch debian/patches/0003-obsolete-xf86dga.patch0000644000000000000000000000120411670754100015275 0ustar Description: Replaced deprecated header with recommended Author: Stephen M. Webb --- a/Wlib.h +++ b/Wlib.h @@ -94,7 +94,7 @@ /* For XF86VIDMODE Support */ #ifdef XF86VIDMODE -#include +#include #include struct xf86vidmode_data { --- a/libsprite/Wlib.h +++ b/libsprite/Wlib.h @@ -94,7 +94,7 @@ /* For XF86VIDMODE Support */ #ifdef XF86VIDMODE -#include +#include #include struct xf86vidmode_data { debian/xgalaga-icon.xpm0000644000000000000000000000273411670754100012255 0ustar /* XPM */ static char *xgalaga-icon[] = { /* columns rows colors chars-per-pixel */ "32 32 17 1", " c None", ". c #191919", "X c #00007F", "o c #7F0000", "O c #7F7F00", "+ c #4C4C4C", "@ c gray50", "# c blue", "$ c green", "% c red", "& c yellow", "* c gray60", "= c #B2B2B2", "- c gray80", "; c gray90", ": c gray100", "> c None", /* pixels */ " O-O ", " %o& ", " : &O O ", " ", " $ ", " ", " ", " .oO O ", " &%OO. ", " O;o ", " OOo% ", " .O O& . ", " .o%o. ", " oOO%o ", " .%%XOO. ", " oOo%o%o ", " o;o. ", " @ @;@ @ ", " +;+ .@-@ +;+ . ", " @;@ .@;* @;@ OO ", " @;@@ @;@.@@-@ Oo%& ", " @;@--=;===@;@ .O-O ", " % @;=@@@-*@@=-@ %O%O ", " @;@@+@-@+@@;@ &Oo ", " @;@. *-* @-* ", " +*+ +;+ +*+ ", " X#X @ X#X ", " X#X X#X ", " X#X X#X ", " XXX XXX ", " ", " " }; debian/postinst0000644000000000000000000000024211670754100010773 0ustar #!/bin/sh -e OLDSCOREFILE=/var/games/xgalaga_scores # Remove old high score file on upgrade. if [ -f $OLDSCOREFILE ]; then rm -f $OLDSCOREFILE fi #DEBHELPER# debian/copyright0000644000000000000000000000506511670754100011130 0ustar Format: http://dep.debian.net/deps/dep5 Upstream-Name: xgalaga Source: http://rumsey.org/xgal.html Files: * Copyright: 1995 Joe Rumsey License: GPL-2+ 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. Files: xpm.h Copyright: 1989-94 Groupe Bull License: Expat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL GROUPE BULL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. . Except as contained in this notice, the name of GROUPE BULL shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from GROUPE BULL. Files: libsprite/* Copyright: 1989 Kevin P. Smith 1989 Scott Silvey License: ISC Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies.