Commit graph

82 commits

Author SHA1 Message Date
kristerw
515369e600 Make SDL compile with gcc 3.3 too, by applying patches provided by
Marc Recht in response to PR pkg/23268.
2003-10-27 23:19:46 +00:00
drochner
8699a220f1 look for a CDROM also at /dev/cd?d; should fix PR pkg/22803 by
Peter Seebach
2003-09-16 17:03:44 +00:00
wiz
799b62e91e regen (for patch-aj change) 2003-09-04 09:57:41 +00:00
drochner
372b2ef84b oops - one modification was just in the generated "configure", not in
"configure.in", so it got lost during regen
2003-09-04 09:53:33 +00:00
wiz
5783c343a7 Replace configure patch with one generated by the same version of
autoconf as the original, reducing the size of the patch by 500k.
Ok'd by drochner.
2003-09-04 07:31:50 +00:00
drochner
7a10834052 update to 1.2.6
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!
2003-09-03 19:30:49 +00:00
jmmv
8652d9835b Let the NAS audio driver be a plugin too, to get rid of the SDL_USE_NAS build
definition.  Bump revision again, to 6, for better dependancy handling.
2003-07-26 23:05:34 +00:00
jmmv
84a38e30b2 Implement loadable plugin support for arts and esound output. This is to
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).
2003-07-26 21:38:22 +00:00
abs
3eb6d37c78 Correctly escape newlines in strings, to pacify gcc-3.3.
No change to generated package, so no version bump.
2003-06-04 17:53:11 +00:00
atatat
5822301974 Place a defined(__NetBSD__) near a defined(__OpenBSD__) so that the
avifile-devel pkg (among other things) can build again.
2002-11-06 19:02:55 +00:00
jlam
c261e8807c Fix the sdl-config script to return the correct libraries for linking
against libaa by querying the aalib-config script.  Bump the PKGREVISION
since this change is user-visible.
2002-10-31 22:19:49 +00:00
kristerw
84ca00410a Oops. Forgot to add patch-aa in previous commit. 2002-10-13 19:31:13 +00:00
kristerw
39c4d3ac7d Update SDL to version 1.2.5.
This update consists of numerous bugfixes. See
   http://www.libsdl.org/release/changes-1.2.html
for a full list.
2002-10-13 19:28:56 +00:00
jlam
efb93b17bd Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.
2002-08-25 19:21:43 +00:00
kristerw
938a09509a SDL configure checks if libusb or libusbhid is present on the system, but
it tried to use both if both was found (which caused conflicts.)

Solves PR 17602.
2002-07-15 23:04:20 +00:00
kristerw
3eea6e5501 Add USB joystick support (and bump version to 1.2.3nb1). The implementation
is taken from the SDL development repository, with some bugfixes from me.

Solves PR 17374.
2002-07-14 07:28:39 +00:00
wiz
da709ece99 Remove build dependency on automake by providing patches.
Requested and tested by Nick Hudson.
2002-07-13 16:17:33 +00:00
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
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
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
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
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
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
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
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
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
wiz
e0f058e5ad Initial import of SDL, a multimedia library mainly for games.
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.
2000-06-26 01:09:08 +00:00