head 1.8; access; symbols pkgsrc-2020Q3:1.7.0.88 pkgsrc-2020Q3-base:1.7 pkgsrc-2020Q2:1.7.0.84 pkgsrc-2020Q2-base:1.7 pkgsrc-2020Q1:1.7.0.64 pkgsrc-2020Q1-base:1.7 pkgsrc-2019Q4:1.7.0.86 pkgsrc-2019Q4-base:1.7 pkgsrc-2019Q3:1.7.0.82 pkgsrc-2019Q3-base:1.7 pkgsrc-2019Q2:1.7.0.80 pkgsrc-2019Q2-base:1.7 pkgsrc-2019Q1:1.7.0.78 pkgsrc-2019Q1-base:1.7 pkgsrc-2018Q4:1.7.0.76 pkgsrc-2018Q4-base:1.7 pkgsrc-2018Q3:1.7.0.74 pkgsrc-2018Q3-base:1.7 pkgsrc-2018Q2:1.7.0.72 pkgsrc-2018Q2-base:1.7 pkgsrc-2018Q1:1.7.0.70 pkgsrc-2018Q1-base:1.7 pkgsrc-2017Q4:1.7.0.68 pkgsrc-2017Q4-base:1.7 pkgsrc-2017Q3:1.7.0.66 pkgsrc-2017Q3-base:1.7 pkgsrc-2017Q2:1.7.0.62 pkgsrc-2017Q2-base:1.7 pkgsrc-2017Q1:1.7.0.60 pkgsrc-2017Q1-base:1.7 pkgsrc-2016Q4:1.7.0.58 pkgsrc-2016Q4-base:1.7 pkgsrc-2016Q3:1.7.0.56 pkgsrc-2016Q3-base:1.7 pkgsrc-2016Q2:1.7.0.54 pkgsrc-2016Q2-base:1.7 pkgsrc-2016Q1:1.7.0.52 pkgsrc-2016Q1-base:1.7 pkgsrc-2015Q4:1.7.0.50 pkgsrc-2015Q4-base:1.7 pkgsrc-2015Q3:1.7.0.48 pkgsrc-2015Q3-base:1.7 pkgsrc-2015Q2:1.7.0.46 pkgsrc-2015Q2-base:1.7 pkgsrc-2015Q1:1.7.0.44 pkgsrc-2015Q1-base:1.7 pkgsrc-2014Q4:1.7.0.42 pkgsrc-2014Q4-base:1.7 pkgsrc-2014Q3:1.7.0.40 pkgsrc-2014Q3-base:1.7 pkgsrc-2014Q2:1.7.0.38 pkgsrc-2014Q2-base:1.7 pkgsrc-2014Q1:1.7.0.36 pkgsrc-2014Q1-base:1.7 pkgsrc-2013Q4:1.7.0.34 pkgsrc-2013Q4-base:1.7 pkgsrc-2013Q3:1.7.0.32 pkgsrc-2013Q3-base:1.7 pkgsrc-2013Q2:1.7.0.30 pkgsrc-2013Q2-base:1.7 pkgsrc-2013Q1:1.7.0.28 pkgsrc-2013Q1-base:1.7 pkgsrc-2012Q4:1.7.0.26 pkgsrc-2012Q4-base:1.7 pkgsrc-2012Q3:1.7.0.24 pkgsrc-2012Q3-base:1.7 pkgsrc-2012Q2:1.7.0.22 pkgsrc-2012Q2-base:1.7 pkgsrc-2012Q1:1.7.0.20 pkgsrc-2012Q1-base:1.7 pkgsrc-2011Q4:1.7.0.18 pkgsrc-2011Q4-base:1.7 pkgsrc-2011Q3:1.7.0.16 pkgsrc-2011Q3-base:1.7 pkgsrc-2011Q2:1.7.0.14 pkgsrc-2011Q2-base:1.7 pkgsrc-2011Q1:1.7.0.12 pkgsrc-2011Q1-base:1.7 pkgsrc-2010Q4:1.7.0.10 pkgsrc-2010Q4-base:1.7 pkgsrc-2010Q3:1.7.0.8 pkgsrc-2010Q3-base:1.7 pkgsrc-2010Q2:1.7.0.6 pkgsrc-2010Q2-base:1.7 pkgsrc-2010Q1:1.7.0.4 pkgsrc-2010Q1-base:1.7 pkgsrc-2009Q4:1.7.0.2 pkgsrc-2009Q4-base:1.7 pkgsrc-2009Q3:1.6.0.34 pkgsrc-2009Q3-base:1.6 pkgsrc-2009Q2:1.6.0.32 pkgsrc-2009Q2-base:1.6 pkgsrc-2009Q1:1.6.0.30 pkgsrc-2009Q1-base:1.6 pkgsrc-2008Q4:1.6.0.28 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.6.0.26 pkgsrc-2008Q3-base:1.6 cube-native-xorg:1.6.0.24 cube-native-xorg-base:1.6 pkgsrc-2008Q2:1.6.0.22 pkgsrc-2008Q2-base:1.6 cwrapper:1.6.0.20 pkgsrc-2008Q1:1.6.0.18 pkgsrc-2008Q1-base:1.6 pkgsrc-2007Q4:1.6.0.16 pkgsrc-2007Q4-base:1.6 pkgsrc-2007Q3:1.6.0.14 pkgsrc-2007Q3-base:1.6 pkgsrc-2007Q2:1.6.0.12 pkgsrc-2007Q2-base:1.6 pkgsrc-2007Q1:1.6.0.10 pkgsrc-2007Q1-base:1.6 pkgsrc-2006Q4:1.6.0.8 pkgsrc-2006Q4-base:1.6 pkgsrc-2006Q3:1.6.0.6 pkgsrc-2006Q3-base:1.6 pkgsrc-2006Q2:1.6.0.4 pkgsrc-2006Q2-base:1.6 pkgsrc-2006Q1:1.6.0.2 pkgsrc-2006Q1-base:1.6 pkgsrc-2005Q4:1.5.0.6 pkgsrc-2005Q4-base:1.5 pkgsrc-2005Q3:1.5.0.4 pkgsrc-2005Q3-base:1.5 pkgsrc-2005Q2:1.5.0.2 pkgsrc-2005Q2-base:1.5 pkgsrc-2005Q1:1.3.0.20 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.18 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.16 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.14 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.12 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.3.0.10 pkgsrc-2003Q4-base:1.3 netbsd-1-6-1:1.3.0.6 netbsd-1-6-1-base:1.3 netbsd-1-6:1.3.0.8 netbsd-1-6-RELEASE-base:1.3 pkgviews:1.3.0.4 pkgviews-base:1.3 buildlink2:1.3.0.2 buildlink2-base:1.3 netbsd-1-5-PATCH003:1.3 netbsd-1-5-PATCH001:1.2 netbsd-1-5-RELEASE:1.2 netbsd-1-4-PATCH003:1.2 netbsd-1-4-PATCH002:1.2 comdex-fall-1999:1.2 netbsd-1-4-PATCH001:1.2 netbsd-1-4-RELEASE:1.2 netbsd-1-3-PATCH003:1.2; locks; strict; comment @# @; 1.8 date 2020.11.20.13.50.23; author nia; state dead; branches; next 1.7; commitid HJX15Pw1zQEGaDwC; 1.7 date 2009.11.15.01.29.34; author dholland; state Exp; branches; next 1.6; 1.6 date 2006.01.13.02.02.50; author joerg; state Exp; branches; next 1.5; 1.5 date 2005.06.14.17.56.41; author minskim; state Exp; branches; next 1.4; 1.4 date 2005.06.14.17.32.37; author jmmv; state Exp; branches; next 1.3; 1.3 date 2001.09.08.00.09.10; author hubertf; state Exp; branches; next 1.2; 1.2 date 98.08.07.10.40.44; author agc; state Exp; branches; next 1.1; 1.1 date 98.08.01.13.25.29; author frueauf; state Exp; branches; next ; desc @@ 1.8 log @xgalaga: Update to 2.1.1.0 Version 2.1.01.0 (HR 2008/03/05) - Updated configure.in and Makefile.in for building an new configure script and Makefile with BSD support (autoconf -o configure configure.in). The goal is to build on supported platforms 'out of the box'. If there is anything to do, please let me know at tshe_hermann remove_this at web dot de - Added scrolling credits in the title screen. Therefore increased the third paragraph of the version number. Version 2.1.00.2 (HR 2008/02/11) - Changed numbering scheme to a dotted style to become better compatibility with distro's numbering scheme. - Fixed broken sound. xgal.sndsrv.linux opens /dev/dsp now with O_WRONLY. This makes simultaneously playing oggs working. - Added man page (content and build handling). Added and key. Version 2.1.00-1 (HR 2008/02/07) - added ifdefs in score.c for compiling with no sound support - added file mkinstalldirs. Needed by make install Version 2.1.00-0 (HR 2008/02/06) - This release is mainly a bugfix relase. Some of them are years old. See hints below. - added the xgalaga_2.0.34-44.diff from debian. Thanks to Joey Hess for collecting all these stuff over the years. Main changes are: compiling xgalaga-hyperspace, full screen mode, security fixes for HOME-Variable and global score file, joystick support, improvements of sound server, new weapons machine gun and spread shot, .... - Bugs as reported at sourceforge Request ID 1394882 "make error on fc4 64-bit" and 1167157 "make error on FC3" are supposed to be fixed. Changed the order of header files in several .c files. I have no 64 bit system to test this, but I got the same error on ubuntu 7.10 - Debian bug report #149743: "xgalaga starts when i want to turn sounds off" is fixed. In fact, it started on any key except or . Now starts only on the keys and as stated in the last line on the title screen. Turning sound off works during the game and at the title screen. For clarity there is now a 'Q' (=quiet) right from the level, which appears, when sound is switched off. - Debian bug report #60266: "Too slow when sounds are not available" is probably fixed. I could not exactly reproduce the bug. On my box, xgalaga crashes totally. Maybe it depends on the sound system. I added the evaluation of the returncode on writing to /dev/dsp. The crash was gone away. - Debian bug report #399987 "xgalaga -level accepts ""impossible to loose"" levels" is partially fixed. The -level parameter value is cut to 15. Higher levels are still avalable by playing (good luck). - Added a couple of additional key codes. The

(pause) and (toggle sound) did not work, because they produce key codes increased with 256. Editing the high score name also didn't work on the same reason. - Added bugfix for "[1837041] Fix seg fault" as reported on sourceforge - Changed order of libs in configure.in. This (and some other improvements) makes xgalaga compile under Cygwin/X @ text @$NetBSD: patch-aa,v 1.7 2009/11/15 01:29:34 dholland Exp $ Patch installation paths. DESTDIR support. --- Makefile.in.orig 1998-05-11 02:52:59.000000000 -0400 +++ Makefile.in 2009-11-14 20:26:16.000000000 -0500 @@@@ -20,12 +20,12 @@@@ SOUNDSRV = @@SOUNDSERVER@@ SOUNDOBJS = @@SOUNDSERVER@@.o SOUNDSRCS = @@SOUNDSERVER@@.c -SOUNDDEFS = -DSOUNDSERVER=\"@@prefix@@/@@SOUNDSERVER@@\" +SOUNDDEFS = -DSOUNDSERVER=\"${PREFIX}/libexec/xgalaga.sndsrv\" RM = rm -f CC = @@CC@@ CFLAGS = -I. @@CFLAGS@@ @@DEFS@@ @@X_CFLAGS@@ -DXGALAGADIR=\"@@prefix@@/\" $(SOUNDDEFS) -LDFLAGS = @@LDFLAGS@@ + LIBS = @@LIBS@@ libsprite/libsprite.a @@X_LIBS@@ INSTALL = @@INSTALL@@ @@@@ -40,19 +40,22 @@@@ SUBDIRS = libsprite all: $(TARGET) $(SOUNDSRV) $(SOUNDSRV): $(SOUNDOBJS) - $(CC) $(LDFLAGS) -o $(SOUNDSRV) $(SOUNDOBJS) $(SOUNDLIBS) + $(CC) $(LDFLAGS) -o $(SOUNDSRV) $(SOUNDOBJS) $(SOUNDLIBS) $(LIBOSSAUDIO) install: all - ./mkinstalldirs $(bindir) - ./mkinstalldirs $(prefix) - $(INSTALL) $(TARGET) $(bindir)/$(TARGET) - $(INSTALL) $(SOUNDSRV) $(prefix)/$(SOUNDSRV) - ./mkinstalldirs $(prefix)/sounds - ./mkinstalldirs $(prefix)/levels - for i in levels/*.xgl; do $(INSTALL) $$i $(prefix)/$$i ; done - for i in sounds/*.raw; do $(INSTALL) $$i $(prefix)/$$i ; done - touch $(prefix)/scores - chmod 666 $(prefix)/scores + ./mkinstalldirs $(DESTDIR)$(bindir) + ./mkinstalldirs $(DESTDIR)$(prefix) + $(INSTALL) $(TARGET) $(DESTDIR)$(bindir)/$(TARGET) + $(INSTALL) $(SOUNDSRV) $(DESTDIR)${PREFIX}/libexec/xgalaga.sndsrv + ./mkinstalldirs $(DESTDIR)$(prefix)/sounds + ./mkinstalldirs $(DESTDIR)$(prefix)/levels + for i in levels/*.xgl; do $(INSTALL) $$i $(DESTDIR)$(prefix)/$$i ; done + for i in sounds/*.raw; do $(INSTALL) $$i $(DESTDIR)$(prefix)/$$i ; done + touch $(DESTDIR)$(prefix)/scores + chown ${GAMEOWN}:${GAMEGRP} $(DESTDIR)$(prefix)/scores + chown ${GAMEOWN}:${GAMEGRP} $(DESTDIR)$(bindir)/$(TARGET) + chmod ${GAMEMODE} $(DESTDIR)$(bindir)/$(TARGET) + chmod ${GAMEDATAMODE} $(DESTDIR)$(prefix)/scores subdirs: for i in $(SUBDIRS); do cd $$i ; make ; done @ 1.7 log @DESTDIR support; partly from pkg/40304 @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.6 2006/01/13 02:02:50 joerg Exp $ @ 1.6 log @Add DragonFly support. Install sound server under libexec/, no need for OS suffix. Bump revision. @ text @d1 1 a1 1 $NetBSD$ d3 4 a6 2 --- Makefile.in.orig 1998-05-11 06:52:59.000000000 +0000 +++ Makefile.in d30 3 a32 3 ./mkinstalldirs $(bindir) ./mkinstalldirs $(prefix) $(INSTALL) $(TARGET) $(bindir)/$(TARGET) d34 5 a38 6 + $(INSTALL) $(SOUNDSRV) ${PREFIX}/libexec/xgalaga.sndsrv ./mkinstalldirs $(prefix)/sounds ./mkinstalldirs $(prefix)/levels for i in levels/*.xgl; do $(INSTALL) $$i $(prefix)/$$i ; done for i in sounds/*.raw; do $(INSTALL) $$i $(prefix)/$$i ; done touch $(prefix)/scores d40 13 a52 4 + chown ${GAMEOWN}:${GAMEGRP} $(prefix)/scores + chown ${GAMEOWN}:${GAMEGRP} $(bindir)/$(TARGET) + chmod ${GAMEMODE} $(bindir)/$(TARGET) + chmod ${GAMEDATAMODE} $(prefix)/scores @ 1.5 log @Honor GAMEOWN, GAMEGRP, GAMEMODE, and GAMEDATAMODE. @ text @d3 1 a3 1 --- Makefile.in.orig 1998-05-11 01:52:59.000000000 -0500 d5 7 a11 1 @@@@ -25,7 +25,7 @@@@ SOUNDDEFS = -DSOUNDSERVER=\"@@prefix@@/@@SO d20 1 a20 1 @@@@ -40,7 +40,7 @@@@ SUBDIRS = libsprite d29 6 a34 1 @@@@ -52,7 +52,10 @@@@ install: all @ 1.4 log @Fix build under Linux by removing local strdup(3) prototype and by using LIBOSSAUDIO instead of hardcoding -lossaudio. Closes PR pkg/29492 by A L Meyers. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.3 2001/09/08 00:09:10 hubertf Exp $ d3 1 a3 1 --- Makefile.in.orig Mon May 11 08:52:59 1998 d5 1 a5 1 @@@@ -25,7 +25,7 @@@@ d14 1 a14 1 @@@@ -40,7 +40,7 @@@@ d23 1 a23 1 @@@@ -52,7 +52,10 @@@@ d28 4 a31 4 + chown bin:games $(prefix)/scores + chown bin:games $(bindir)/$(TARGET) + chmod 2755 $(bindir)/$(TARGET) + chmod 664 $(prefix)/scores @ 1.3 log @Add sounds support. Patches submitted by Rui-Xiang Guo in PR 13893 @ text @d1 1 a1 1 $NetBSD$ d19 1 a19 1 + $(CC) $(LDFLAGS) -o $(SOUNDSRV) $(SOUNDOBJS) $(SOUNDLIBS) -lossaudio @ 1.2 log @Add NetBSD RCS Ids. @ text @d3 5 a7 3 --- Makefile.in.orig Sun May 10 23:52:59 1998 +++ Makefile.in Fri Jul 31 02:26:57 1998 @@@@ -27,3 +27,3 @@@@ d10 1 a10 1 +LDFLAGS = -Wl,-R$(X11BASE)/lib @@LDFLAGS@@ d12 14 a25 7 @@@@ -47,4 +47,3 @@@@ ./mkinstalldirs $(prefix) - $(INSTALL) $(TARGET) $(bindir)/$(TARGET) - $(INSTALL) $(SOUNDSRV) $(prefix)/$(SOUNDSRV) + $(INSTALL) $(SOUNDSRV) $(TARGET) $(bindir)/ ./mkinstalldirs $(prefix)/sounds @@@@ -54,3 +53,6 @@@@ d33 2 @ 1.1 log @Initial addition of xgalaga-2.0.34, a very fast true-to-the-original port of galaga for X11. Closes pr 5882 by Tim Rightnour. @ text @d1 2 @