Commit graph

54 commits

Author SHA1 Message Date
adam
92be753cf3 Changes 1.2.14:
* Added cast macros for correct usage with C++:
	SDL_reinterpret_cast(type, expression)
	SDL_static_cast(type, expression)
* Added SDL_VIDEO_FULLSCREEN_DISPLAY as a preferred synonym for
  SDL_VIDEO_FULLSCREEN_HEAD on X11.
* Added SDL_DISABLE_LOCK_KEYS environment variable to enable normal
  up/down events for Caps-Lock and Num-Lock keys.
2009-10-23 06:05:07 +00:00
wiz
801971a4ab Look for libGL.so, not any particular libGL.so.<X>, on NetBSD.
Bump PKGREVISION.

From mrg@
2009-09-02 21:19:53 +00:00
ahoka
4ae83da67b Various (including critical) bugfixes in the pulseaudio backend:
Fix assertion triggered in pulsaudio by returning "unknown" instead
of NULL pointer when guessing application name.

Own improvements:
- Use getprogname on NetBSD as it wont return NULL
- Also identify stream as "SDL Application"

3rd party bugfixes:
- Pull buffer size and other fixes from pulsaudio developers.
  http://0pointer.de/blog/projects/pa-plugin-for-sdl.html

Bump revision.
2008-12-26 17:46:07 +00:00
reinoud
1199482e9b Apply patch to first unlock the CD before trying to eject it. Since SDL
doesn't seem to have lock/unlock primitives, this looks like the right thing
to do.

Fixes audio/tcd's eject function too.
2008-10-13 17:15:44 +00:00
wiz
977555b87d Update to 1.2.13:
SDL 1.2.13 is a minor bug fix release.

  General Notes

     * Fixed link error when building with Intel Compiler 10.
     * Removed stray C++ comment from public headers.

  Unix Notes

     * Fixed crash in SDL_SoftStretch() on secure operating systems.
     * Fixed undefined symbol on X11 implementations without UTF-8 support.
     * Worked around BadAlloc error when using XVideo on the XFree86 Intel Integrated Graphics driver.
     * Scan for all joysticks on Linux instead of stopping at one that was removed.
     * Fixed use of sdl-config arguments in sdl.m4

  Mac OS X Notes

     * SDL now builds on Mac OS X 10.5 (Leopard).
     * Fixed high frequency crash involving text input.
     * Fixed beeping when the escape key is pressed and UNICODE translation is enabled.
     * Improved trackpad scrolling support.
     * Fixed joystick hat reporting for certain joysticks.
2008-01-13 15:57:59 +00:00
tron
b41f4c1a12 Fix build under Mac OS X Leopard. 2007-12-17 20:40:00 +00:00
wiz
0b0c6183c6 Update to 1.2.12:
1.2.12:
	Added SDL_VIDEO_ALLOW_SCREENSAVER to override SDL's disabling
	of the screensaver on Mac OS X and X11.

Also, many pkgsrc patches were integrated.
2007-07-25 23:31:08 +00:00
ben
4a6b339bdc Fix patch-aa to correctly use strcat, and to be C89 compliant.
Patch supplied by Christian Biere in PR#34738.
2006-10-08 18:40:23 +00:00
rillig
8f989358e3 Added two patches for Solaris 8. The X11 implementation does not define
the xEvent structure unless NEED_EVENTS is defined.
2006-08-03 20:21:20 +00:00
wiz
ec83c20805 Update to 1.2.11:
SDL 1.2.11 is a minor bug fix release.

Unix Notes

Dynamic X11 loading is only enabled with gcc 4 supporting -fvisibility=hidden.  This fixes crashes related to symbol collisions, and allows building on Solaris and IRIX.

Fixed building SDL with Xinerama disabled.

Fixed DRI OpenGL library loading, using RTLD_GLOBAL in dlopen().

Added pkgconfig configuration support.


Mac OS X Notes

The Quartz video driver supports 32x32 cursors on Mac OS X 10.3 and above.
2006-07-03 21:49:13 +00:00
jmmv
7b0118cb1f Revert previous because it changed the libraries libSDL was linked to.
Instead, try to dlopen the libraries straight from the directories they
are in.

Bump PKGREVISION to 2.

Requested and reviewed by wiz@.
2006-07-01 19:08:36 +00:00
wiz
5931798a35 Update to 1.2.10.
Package changes:
Merge SDL-arts, SDL-esound, and SDL-nas packages back as options,
all defaulting to on (add "-arts -esound -nas" to PKG_OPTIONS.SDL
to get the previous behaviour of this package). Reason: trying to
get and stay in sync with upstream, who decided not to take back
the relevant changes. Ok jmmv@

Also follow upstream w.r.t. library version numbers; bump
BUILDLINK_API_DEPENDS for that (no real reason to diverge here).

Most patches have been integrated upstream.

Changes in 1.2.10:

1.2.10:
	If SDL_OpenAudio() is passed zero for the desired format
	fields, the following environment variables will be used
	to fill them in:
		SDL_AUDIO_FREQUENCY
		SDL_AUDIO_FORMAT
		SDL_AUDIO_CHANNELS
		SDL_AUDIO_SAMPLES
	If an environment variable is not specified, it will be set
	to a reasonable default value.

	Added support for the SDL_VIDEO_FULLSCREEN_HEAD environment
	variable, currently supported on X11 Xinerama configurations.

	Added SDL_GL_SWAP_CONTROL to wait for vsync in OpenGL applications.

	Added SDL_GL_ACCELERATED_VISUAL to guarantee hardware acceleration.

	Added current_w and current_h to the SDL_VideoInfo structure,
	which is set to the desktop resolution during video intialization,
	and then set to the current resolution when a video mode is set.

	SDL_SetVideoMode() now accepts 0 for width or height and will use
	the current video mode (or the desktop mode if no mode has been set.)

	Added SDL_GetKeyRepeat()

	Added SDL_config.h, with defaults for various build environments.
2006-06-12 16:20:44 +00:00
wiz
f9403f57e9 Remove some chunks that should not be necessary any longer. 2006-02-07 18:15:50 +00:00
adam
05bc5ada2b Changes 1.2.9:
* 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
2005-09-07 10:15:39 +00:00
wiz
7319db0a4e Better DragonFlyBSD support from Joerg Sonnenberger.
. find USB headers
. fix joystick support
2005-05-31 17:37:50 +00:00
wiz
76785f1db5 Support for DragonFlyBSD, based on patches from Joerg Sonnenberger. 2005-05-20 20:08:40 +00:00
agc
4a3d2f7ce2 Add RMD160 digests. 2005-02-23 22:24:08 +00:00
kristerw
81d15a073e GCC 2 does not understand the MMX asm core. Fall back to the C source
for GCC 2.
2005-01-12 22:58:19 +00:00
drochner
1031ae2e10 The "+" constraint modifier was yoo much. While it seems correct to me, it
caused gcc complaints in some cases. Pointed out by Nicolas Joly.
PR pkg/28882 should be fixed now.
2005-01-06 16:32:01 +00:00
drochner
9711cbfc62 tighten an inline asm constraint for amd64 2005-01-06 12:25:23 +00:00
adam
f94bbda334 Changes 1.2.8:
* 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
2005-01-05 12:05:19 +00:00
dillo
a0e044de84 Reduce audio delay in the *BSD audio driver (by configuring audio
device with shorter block size and lower water marks).
PKGREVISION++
2004-07-26 20:42:27 +00:00
wiz
207ea645b6 Patch to make audio work on IRIX 5, from Georg Schwarz. 2004-07-19 10:48:46 +00:00
kristerw
c192ecf95f Make this package build on NetBSD ports that do not have
<machine/joystick.h>.
2004-07-13 20:51:58 +00:00
drochner
9a99283870 apply some patches from SDL CVS which fix inline assembler to compile
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.
2004-07-09 18:19:09 +00:00
dillo
e815167d6c fix HATs on USB joysticks that don't report up as 0.
bump PKGREVISION
2004-06-22 09:10:12 +00:00
dillo
a4c6706b7f USB joystick: number axes in usual order (X, Y, ...), not in order
returned by device.  Makes joysticks that return Z before X usable.
2004-06-05 14:04:21 +00:00
snj
c1f46e5893 Update to SDL-1.2.7.
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@.
2004-04-17 00:15:21 +00:00
recht
b4dc7ac829 replace the SDL mmx gcc3 compile-fix with the one that went into
SDL CVS
provided by Stephane Marchesin
2004-01-10 13:57:12 +00:00
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
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
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
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