Commit graph

51 commits

Author SHA1 Message Date
wiz
afd6822248 Update to 1.2.3; based on pkg/15580 by Ben Wong.
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
2002-02-14 00:39:45 +00:00
agc
8e1a5e022a Use the new aalib-x11 package in preference to the "no X11" aalib package.
Fix provided by Lubomir Sedlacik <salo@Xtrmntr.org> in PR 15271
2002-01-31 13:53:41 +00:00
tron
99d5373aa9 Include buildlink glue code for "aalib" package. This fixes build problems
in e.g. the "avifile-devel" package.
2002-01-03 19:11:40 +00:00
hubertf
21d59dcead 1.2.2nb1 for AAlib support 2002-01-03 01:32:12 +00:00
hubertf
41c4cdf91c add support for graphics/aalib
Contributed by Lubomir Sedlacik <salo@xtrmntr.org> in PR 15115
2002-01-03 01:31:46 +00:00
jlam
4b27fb2df8 Pass in LDFLAGS via SYSTEM_LIBS as it's used as the linker options for
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.
2001-12-11 16:30:45 +00:00
jlam
4c38713d7b A dependency on automake implies a dependency on autoconf; there's no need
to list them both when we listing just automake will do.
2001-11-29 19:46:10 +00:00
zuntum
c72c1cf5f9 Move pkg/ files into package's toplevel directory 2001-11-01 00:57:41 +00:00
jlam
a4bc16d30c I am a triple idiot. The only relevant variable that x11.buildlink.mk
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.
2001-10-24 22:10:43 +00:00
jlam
dff59f9ec3 x11.buildlink.mk needs to be included before any buildlink.mk files that
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.
2001-10-23 13:14:43 +00:00
jlam
f25f9d2824 bsd.buildlink.mk will automatically handle the REPLACE_BUILDLINK stuff, so
we can remove REPLACE_BUILDLINK settings containing *-config, *Conf.sh, and
*.pc.
2001-10-03 22:36:37 +00:00
jlam
f0a4fcd3e4 Substitute the real config script for the config wrapper script in
installed files.  We don't want buildlink references to escape into the
install directory.
2001-10-03 20:56:40 +00:00
rh
0c0bf65c68 Add patch missing in previous commit 2001-09-24 14:29:39 +00:00
rh
024804d8b4 Update SDL to 1.2.2. Changes include:
* 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
2001-09-24 14:28:55 +00:00
jlam
63fc151cb9 Use x11.buildlink.mk instead of USE_X11. Also convert hard-coded references
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.
2001-08-29 22:41:00 +00:00
jlam
7bba3453dc If USE_CONFIG_WRAPPER is defined (implied by USE_BUILDLINK_ONLY), then
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).
2001-08-17 21:14:00 +00:00
jlam
d2eb68d2a6 Add dir_DEFAULT setting used by EVAL_PREFIX logic to set the default
installation directory in case the package isn't installed.
2001-07-27 13:33:18 +00:00
jlam
7b1d3cb465 Mechanical changes to buildlink.mk files to use EVAL_PREFIX to set
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>.
2001-07-20 01:54:31 +00:00
jlam
7bb7d15273 Missing closing " 2001-07-14 15:51:47 +00:00
jlam
99646439a3 Reliably detect NAS headers when NAS is enabled, and remove references to
/usr/pkg/{include,lib} from the configure script.  SDL now really meets
the criteria for USE_BUILDLINK_ONLY.
2001-07-14 15:45:34 +00:00
jlam
765714a6a8 Didn't need to bump dependencies on SDL to >=1.2.1. >=1.2.0 is sufficient
for all the apps in pkgsrc.
2001-07-14 13:17:00 +00:00
rh
3077aa755a Update SDL to 1.2.1. Changes include:
* 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
2001-07-03 06:17:32 +00:00
jlam
9943bc93db Allow overriding of *_CONFIG variables in a package Makefile when using
USE_BUILDLINK_ONLY.
2001-07-02 05:33:56 +00:00
jlam
cb76bd5efc Move inclusion of bsd.buildlink.mk to start of file. 2001-07-01 22:59:08 +00:00
jlam
cb19604bda Invoke autoreconf with --foreign so that automake won't complain about
missing "GNU-required" files like NEW, AUTHORS, etc.
2001-07-01 20:13:14 +00:00
jlam
3b65bde2f7 USE_CONFIG_WRAPPER is automatically set if USE_BUILDLINK_ONLY is defined,
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.
2001-06-29 04:54:49 +00:00
jlam
3129c05fce Replace for location of sdl-config in other packages' config scripts. 2001-06-28 21:41:21 +00:00
jlam
31d1b3af60 Use REPLACE_BUILDLINK instead of repeating the post-build same code over
and over again in the pkgsrc tree.
2001-06-26 16:30:55 +00:00
jlam
df32277c4a Add buildlink.mk file for use by other package Makefiles. 2001-06-26 03:57:29 +00:00
jlam
680f6c1e65 Remove patch to hermes/Makefile.in as we already patch Makefile.am
Also patch src/Makefile.am instead of the Makefile.in file as automake
will destroy the changes otherwise.
2001-06-26 03:49:24 +00:00
jlam
46288bd12e Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY. 2001-06-26 03:29:17 +00:00
jlam
c4e71c5e7a CPPFLAGS is now passed to MAKE_ENV and CONFIGURE_ENV by bsd.pkg.mk, so
adapt by moving CPPFLAGS settings to top-level, and removing explicit
inclusion of CPPFLAGS into MAKE_ENV and CONFIGURE_ENV.
2001-06-11 06:34:17 +00:00
rh
681044f11d Don't let SDL randomly pick up NAS support. Add SDL_USE_NAS variable that,
if present, causes SDL to depend on NAS.  Disable NAS support if
SDL_USE_NAS is not defined.  Fixes PR 12784 by Eric Mumpower
<nocturne@arepa.co>
2001-05-06 12:48:56 +00:00
rh
4a00add4e6 Make SDL compile under a.out systems: only use "-f elf" on ELF systems. 2001-05-05 13:47:12 +00:00
rh
b3cbe0924f Add '--tag' for hermes nasm statements to Makefile.am as well. This should
fix bulk building and PR 12746.
2001-04-28 14:27:34 +00:00
wiz
dfb2d5edc6 Move to sha1 digests, and/or add distfile sizes. 2001-04-21 00:44:09 +00:00
rh
418eec88e3 Update SDL to 1.2.0. This closes PR 12684 by Tomasz Luchowski
<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
2001-04-17 16:27:20 +00:00
agc
d7d36b3561 + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 10:57:56 +00:00
hubertf
e32afb6fea Change BUILD_DEPENDS semantics:
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>
2001-03-27 03:19:43 +00:00
wiz
94dc65fbec Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-16 14:38:16 +00:00
fredb
f8363e87f7 Fix a few more paste-o's. 2001-02-07 05:16:39 +00:00
tron
f2d262e0be Use full pathname "${LOCALBASE}/bin/auto..." in dependences and make
targets. This includes a fix for PR pkg/12125 by Tomasz Luchowski.
2001-02-05 09:00:54 +00:00
agc
9c2d582fc9 The way that shared objects were handled in the PLISTs and bsd.pkg.mk was
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.
2001-01-04 15:10:17 +00:00
hubertf
b9fa279bce Make sdl-config --libs find libX11. 2000-12-27 11:54:32 +00:00
wiz
e8838ef323 Update to 1.1.6. Changes are bugfixes only. 2000-12-03 04:33:10 +00:00
rh
51057f7f58 Fix several severe problems that prevented this package from passing its
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
2000-10-22 16:55:19 +00:00
rh
1d8820934c Use new USE_MESA variable to depend on the correct Mesa packages 2000-10-15 12:06:32 +00:00
wulf
179a4b1f67 Updated to SDL-1.1.5 and bugfixes 2000-10-15 07:39:43 +00:00
skrll
ae5849c8bb Hack build so that automake doesn't use CXX for link stage in libjoystick. 2000-10-13 20:43:33 +00:00
dmcmahill
daa4c98202 do not list ELF shared lib links in PLIST. 2000-08-22 13:46:13 +00:00