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 <s> and <Q> 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 <q> or <Q>. Now starts only on
the keys <k> and <m> 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 <p> (pause) and <s> (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
Unsorted entries in PLIST files have generated a pkglint warning for at
least 12 years. Somewhat more recently, pkglint has learned to sort
PLIST files automatically. Since pkglint 5.4.23, the sorting is only
done in obvious, simple cases. These have been applied by running:
pkglint -Cnone,PLIST -Wnone,plist-sort -r -F
or USE_X11BASE set, but don't include mk/x11.buildlink3.mk directly or
via buildlink3.mks
- introduce BUILDLINK_PREFIX.libXpm as alias for BUILDLINK_PREFIX.xpm
in the !modular case
- fix some cases where the check for libX11 couldn't work at all by using
C++ for compilation without including the proper headers
Verified using a full X11_TYPE=xorg bulk build without additional
breakage. Discussed with salo@, wiz@ and send to packages@ for feedback.
packages with the modular Xorg equivalent. Those are falling back
to the old location by default, so this commmit doesn't change
dependencies.
graphics/xpm ==> x11/libXpm
fonts/Xft2 ==> x11/libXft
x11/Xfixes ==> x11/libXfixes
x11/xcursor ==> x11/libXcursor
x11/Xrender ==> x11/libXrender
x11/Xrandr ==> libXrandr
Several changes are involved since they are all interrelated. These
changes affect about 1000 files.
The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk. bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files. Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred. This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.
The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages. Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc. This modification is a nod toward LOCALBASE=/usr. The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.
The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc. The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.
The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files. Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories. These files are used as input
to imake since imake can't use stdin for that purpose.
The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead. This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed. Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries. Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
it as "xgalaga-2.0.34.tar.gz" from "${MASTER_SITE_LOCAL}". Now that the
project has been deleted on SourceForge the distribution file is likely
going to disappear from there, too.
pkgsrc. Instead, a new variable PKGREVISION is invented that can get
bumped independent of DISTNAME and PKGNAME.
Example #1:
DISTNAME= foo-X.Y
PKGREVISION= Z
=> PKGNAME= foo-X.YnbZ
Example #2:
DISTNAME= barthing-X.Y
PKGNAME= bar-X.Y
PKGREVISION= Z
=> PKGNAME= bar=X.YnbZ (!)
On subsequent changes, only PKGREVISION needs to be bumped, no more risk
of getting DISTNAME changed accidentally.
- New, optional Makefile variable HOMEPAGE, specifies a URL for
the home page of the software if it has one.
- The value of HOMEPAGE is used to add a link from the
README.html files.
- pkglint updated to know about it. The "correct" location for
HOMEPAGE in the Makefile is after MAINTAINER, in that same
section.