aalib-x11 and aview-x11.
SDL dependencies change, so bump PKGREVISION (and BUILDLINK_RECOMMENDED)
for affected packages.
Addresses PR 32046 by Leonard Schmidt.
* Added support for direct color 8-bpp surfaces
* Altivec optimized blitters
* SDL.dll works on Windows 95 again
* Dropping a document onto an SDL app passes it as a command line parameter in MacOS X
* Fixed crash trying to allocate hardware surfaces on MacOS X
* Fixed short read problem with SDL_RWFromMem()
* Fixed gcc parse errors in SDL_audio.h on Windows
* Added support for Tru64 UNIX 4.X
* Improved RISC OS support
* Numerous improvements to the Atari port
* SDL_OPENGLBLIT is officially obsolete
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.
* Fixed compiling under newer versions of gcc
* Fixed floating point exception with Linux 2.6 joysticks
* Added 4/6 channel surround sound support on ALSA (not 3D audio)
* Fixed mouse coordinate inversion on MacOS X
* Added a CoreAudio sound driver for MacOS X
* Added MacOS X Xcode build environment support
* Updated QNX support for QNX6
* Improved Atari port, including OSMesa support
* Numerous other bug fixes and platform support improvements
in the process. (More information on tech-pkg.)
Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.
Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:
lib/libfoo.a
lib/libfoo.la
lib/libfoo.so
lib/libfoo.so.0
lib/libfoo.so.0.1
one simply needs:
lib/libfoo.la
and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.
Also make LIBTOOLIZE_PLIST default to "yes".
with gcc-3.4.x
left out a part which requires support for the "named parameter"
syntax which is not present on NetBSD-1.6.x/gcc-2.95.x
This is obviously not needed because the real variable names and
the abstract parameter names are identical.
(see PR pkg/25855 by John R. Shannon for details)
The next SDL release will probably require to install gcc-3.3.x
on NetBSD-1.6.x.
Changes:
* SDL no longer sets a fatal signal handler for SIGPIPE
* Fixed modifier key state on MacOS X
* Added support for remote XVideo
* Fixed static linking on MacOS X
* Fixed compiling with broken Linux 2.6 headers
* Fixed mouse cursor visibility and focus events on MacOS X
* Added support for /dev/joy* on Free/Net/OpenBSD
* Fixed problems with CD-ROM audio playback on MacOS X 10.1
* Added dynamic GL library loading to MacOS Carbon support
* Added function to create RWops from const memory: SDL_RWFromConstMem()
* Fixed build problems with newer versions of automake
* Fixed MacOS X libtool framework support
* Added CPU feature detection functions to SDL_cpuinfo.h
* Fixed illegal instruction crash using 3DNow on Intel processors
* Fixed asm issues with mmx.h and gcc 3.3
* Fixed crash calling app defined window proc
* Fixed long long constant warnings in GCC 3.3.1
* Fixed joystick open problems on BSD
* Fixed X11 mode line crash with only one video mode
Fixes PR pkg/22462.
Okayed by wiz@.
by moving the inclusion of buildlink3.mk files outside of the protected
region. This bug would be seen by users that have set PREFER_PKGSRC
or PREFER_NATIVE to non-default values.
BUILDLINK_PACKAGES should be ordered so that for any package in the
list, that package doesn't depend on any packages to the left of it
in the list. This ordering property is used to check for builtin
packages in the correct order. The problem was that including a
buildlink3.mk file for <pkg> correctly ensured that <pkg> was removed
from BUILDLINK_PACKAGES and appended to the end. However, since the
inclusion of any other buildlink3.mk files within that buildlink3.mk
was in a region that was protected against multiple inclusion, those
dependencies weren't also moved to the end of BUILDLINK_PACKAGES.
the normal case when BUILDLINK_DEPENDS.<pkg> isn't specified, it receives
a value only once due to the multiple inclusion protection in the
bulldlink3.mk files. In the case where a package includes several
buildlink3.mk files that each want a slightly different version of another
dependency, having BUILDLINK_DEPENDS.<pkg> be a list allows for the
strictest <pkg> dependency to be matched.
this caused a problem where now smpeg-config had the "buildlink"
directory hard-coded in the smpeg-config script.
(Instead smpeg's Makefile can define SDL_CONFIG in the CONFIGURE_ENV
to make sure it uses correct sdl-config. I haven't made that change yet.)
There are many bug fixes and improvements in this release,
including MMX and 3DNow! optimized alpha blending,
MMX optimized audio mixing, support for OpenGL FSAA,
and official QNX support!
avoid using build variable definitions, and to allow optional use of these
daemons on machines where binary packages are used. esound is no longer
needed in this package by default. OSS is kept in the package as it was
before, beeing the default output driver. Bump PKGREVISION to 5.
The patch has been reviewed by wiz@, the maintainer. It has also been sent
back to SDL authors in the hope that they will implement this functionality.
Closes PR pkg/21774 by Marc Recht, which requested the addition of arts as
an optional dependancy (not done).
Relevant changes for NetBSD:
* 1.2.3: Added X11 Xinerama support - fullscreen starts on screen 0
* 1.2.3: Added platform independent OpenGL Header - SDL_opengl.h
* 1.2.3: Fixed crash when using double-buffering with DGA
* 1.2.3: Fixed XVideo on GeForce by using last available adaptor
* 1.2.3: Added 640x480 as a scaled resolution for NTSC/PAL output
finding various libraries. This ensure that any unusual -Wl,-R options
are noted correctly in the generated sdl-config. This should fix problems
noted by various people that building packages that depend on SDL bomb out
with this error:
checking for SDL - version >= 1.0.1... no
*** Could not run SDL test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding SDL or finding the wrong
*** version of SDL. If it is not finding SDL, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location Also, make sure you have run ldconfig if that
*** is required on your system
***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
configure: error: *** SDL version 1.0.1 not found!
*** Error code 1
Stop.
In particular, it fixes pkg/14833 and pkg/14912 by Robert Elz.
redefines about which buildlink.mk files would care is BUILDLINK_X11_DIR,
which points to the location of the X11R6 hierarchy used during building.
If x11.buildlink.mk isn't included, then BUILDLINK_X11_DIR defaults to
${X11BASE} (set in bsd.pkg.mk), so its value is always safe to use. Remove
the ifdefs surrounding the use of BUILDLINK_X11_DIR in tk/buildlink.mk and
revert changes to move x11.buildlink.mk before the other buildlink.mk files.
use X11_BUILDLINK_MK as a test value. Generally just reordering the
inclusions so that x11.buildlink.mk comes before the other buildlink.mk
files will make everthing work.
* Native NetBSD audio support
* Now gets correct keyboard state when starting up on X11
* Improved the DGA 2.0 and framebuffer console drivers
* Improved OSS audio driver support, thanks to 4Front Tech.
* Improved X11 fullscreen support, works better with KDE
to ${X11BASE} in the header and library search paths into references to
${LOCALBASE}/share/x11-links. These packages should now be strongly-
buildlinked regardless of whether xpkgwedge is installed.
Changes well-tested on NetBSD-1.5X/i386 with and without xpkgwedge and
lightly-tested on NetBSD-1.5.1/alpha without xpkgwedge.
set FOO_CONFIG=${BUILDLINK_CONFIG_WRAPPER.foo} in both CONFIGURE_ENV and
MAKE_ENV. We remove the check for GNU_CONFIGURE because if a package
Makefile includes the buildlink.mk file, then it most likely wants to use
the config script wrappers as well. Change suggested by Hubert Feyrer
(hubertf) and Tomasz Luchowski (zuntum).
BUILDLINK_PREFIX.<pkgname>. This allows buildlink to find X11BASE packages
regardless of whether they were installed before or after xpkgwedge was
installed. Idea by Alistair Crooks <agc@pkgsrc.org>.
* Added Linux PlayStation 2 Graphics Synthesizer support
* Added an audio driver that writes to disk
* Mouse wheel sends mouse button (4/5) events on Windows
* Added MacOS X Project Builder projects
* Added initial support for Quartz video
* Disabled Linux /dev/event joystick interface by default
* Added native OpenBSD audio driver
* Added detection of Open Sound System on Solaris x86
* Added initial support for Nano-X
* Fixed endian detection on IA64 architectures
* Added --disable-dga configure option to disable DGA
* Fixed stuck keys when changing the video mode
* Fixed double-mouse event bug on Windows using OpenGL
* Fixed 320x200 video mode on framebuffer console
* Improved robustness for the ELO touchpad
* Added support for building under Cygwin on Windows
* Added a dummy video driver for benchmarking
* Fixed fullscreen cursor offset bug on BeOS
so remove it from package Makefiles. Also move the inclusion of the
buildlink.mk files to the end of the Makefile to just before bsd.pkg.mk
to ensure that any Makefile settings occur before the buildlink.mk files.
<zuntum@netbsd.org>
Changes include:
1.2.0: Added initial support for HP-UX (thanks Stephanie)
1.2.0: Added initial support for BSDI (thanks Kurt)
1.2.0: Fixed blitting 32-bit ARGB images to SDL_OPENGLBLIT screens
1.2.0: Fixed automake build dependencies (thanks Markus!)
1.2.0: Added 24 bpp support to software YUV display functions
1.2.0: Don't bomb trying to get DGA mouse on XFree86 4.0
1.2.0: Added initial support for OSF/Tru64 (thanks Anders)
1.1.8: Fixed joystick hat motion on MacOS
1.1.8: Don't detect mouse and keyboard as joystick on MacOS
1.1.8: Check for OpenGL 1.2 before using 16-bit SDL_OPENGLBLIT
1.1.8: Added support for /dev/sound/* in Linux 2.4
1.1.8: Fixed crash when blitting to RLE encoded surfaces
1.1.8: Fixed 8-bit audio on MacOS X
1.1.8: Fixed keyboard handling on MacOS X and MacOS classic
1.1.8: Fixed mouse cursor visibility when switching apps on MacOS
1.1.8: Implemented semaphore support on MacOS X
1.1.8: Worked around broken sem_getvalue() on MacOS X
1.1.8: Fixed 16-bit big-endian audio on MacOS X and MacOS classic
1.1.8: Fixed mutex locking on Linux glibc 2.0
1.1.8: SDL_Quit() removes the parachute signal handlers
1.1.8: Added NAS audio server support (thanks Erik!)
1.1.8: Added SDL_NOFRAME for frameless windows (thanks Andreas)
1.1.8: Added support for resizable windows on MacOS
1.1.8: Added a function to query the surface clip rectangle
1.1.8: Added a function to query the current event filter
1.1.8: The X11 XVideo adapter is now locked (thanks Jeffrey)
1.1.8: Improved the speed of fullscreen OpenGL on Windows
1.1.8: Added ELO touchscreen support for fbcon (thanks Alex)
1.1.8: Added accelerated MacOS X OpenGL support
1.1.8: Surface lock and unlock operations can now be nested
1.1.8: Optimized fillrect for PPC video memory (thanks Mattias)
1.1.8: Work around "blackout" problem with XVideo acceleration
1.1.8: Obtain correct key state on X11 focus (thanks Mattias)
1.1.8: Fixed keyboard handling on the framebuffer console
1.1.8: Added basic support for VGA16 framebuffer console
1.1.8: Open a new virtual terminal if possible on fbcon
1.1.8: Fixed default audio driver on FreeBSD (thanks Maxim)
1.1.8: Fixed joystick crash on Windows (thanks Pete)
1.1.7: Expanded documentation from the SDL Documentation Project
1.1.7: Report X11 client message events if SYSWMEVENTS enabled
1.1.7: Added support for a single hat on Windows joysticks
1.1.7: The gamma ramp routines now take arrays of Uint16 values
1.1.7: Added initial support for QNX RTP (thanks Patrick)
1.1.7: Added ALSA sound driver (thanks Patrick Trainor)
1.1.7: Added aRts UNIX sound driver (thanks Neil Stevens)
1.1.7: Get keyboard modifier state on input focus on Win32
1.1.7: SDL_ConvertSurface() now accepts SDL_RLEACCEL as a flag
1.1.7: Added initial UnixWare 7 support (thanks rr)
1.1.7: Added working YUY -> RGB conversion code (thanks Eugene)
1.1.7: Fixed video initialization crash on IRIX
1.1.7: Fixed MacOS fullscreen palette code (thanks Darrell)
1.1.7: Fixed background brush flicker on Win32 (thanks Gautier)
1.1.7: Fixed incorrect pitch when switching to window on Win32
1.1.7: Fixed memory leak when switching video modes on Win32
1.1.7: Init of fbcon shouldn't automatically set graphics mode
first component is now a package name+version/pattern, no more
executable/patchname/whatnot.
While there, introduce BUILD_USES_MSGFMT as shorthand to pull in
devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current).
Patch by Alistair Crooks <agc@netbsd.org>
out of date - it was based on a.out OBJECT_FMT, and added entries in the
generated PLISTs to reflect the symlinks that ELF packages uses. It also
tried to be clever, and removed and recreated any symbolic links that were
created, which has resulted in some fun, especially with packages which
use dlopen(3) to load modules. Some recent changes to our ld.so to bring
it more into line with other Operating Systems also exposed some cracks.
+ Modify bsd.pkg.mk and its shared object handling, so that PLISTs now contain
the ELF symlinks.
+ Don't mess about with file system entries when handling shared objects in
bsd.pkg.mk, since it's likely that libtool and the BSD *.mk processing will
have got it right, and have a much better idea than we do.
+ Modify PLISTs to contain "ELF symlinks"
+ On a.out platforms, delete any "ELF symlinks" from the generated PLISTs
+ On ELF platforms, no extra processing needs to be done in bsd.pkg.mk
+ Modify print-PLIST target in bsd.pkg.mk to add dummy symlink entries on
a.out platforms
+ Update the documentation in Packages.txt
With many thanks to Thomas Klausner for keeping me honest with this.
own tests.
Bump version to 1.1.5nb1
Changes include:
- make multithreading actually work
- activate esound backend
- /dev/dsp -> /dev/audio
- /dev/cdrom -> /dev/cd?a
- tons of bugfixes
Currently using pth instead of 'real' pthreads, and some parts (mainly
audio and obviously thread support) don't work correctly because of
that (unproven-pthreads misses pthread_cancel & friends to make it
work), but there are some programs that do.