Commit graph

68 commits

Author SHA1 Message Date
wiz
a74f7fd449 Add comments to patches. 2012-09-14 13:20:20 +00:00
jdc
58bb713d66 Fix bus error crash on sparc64, by aligning the object we pass to:
XChangeProperty(..., 32, ...)

correctly.  See also libSDL bug 1427:

  http://bugzilla.libsdl.org/show_bug.cgi?id=1427
2012-02-20 14:55:59 +00:00
wiz
9428731fc7 Update to 1.2.15:
General Notes

   * Fixed assembly register clobbering in CPU info routines
   * Fixed memory stomp when using stretch blit on large images
   * Fixed pixel corruption with overlapping blits
   * SDL_JOYSTICK_DEVICE can be a colon separated list of joystick devices
   * Disabled MMX blitters since they don't compile on modern compilers

Unix Notes

   * Fixed crash in joystick code on newer Linux kernels
   * Fixed channel swizzling for ALSA target with 6-channel output
   * Use the OpenGL GLX_EXT_swap_control extension if available
   * XRandR support is disabled by default because it causes desktop reconfiguring. It can be enabled with the SDL_VIDEO_X11_XRANDR=1
     environment variable, or by applying this patch: http://hg.libsdl.org/SDL/raw-rev/8ec3036098df

Windows Notes

   * Fixed SDL_GL_ACCELERATED_VISUAL handling
   * Fixed application state handling with ALT-Tab
   * Fixed occasional crash handling WM_ACTIVATEAPP in Direct X code
   * Fixed UTF-8 decoding of Russian characters

Mac OS X Notes

   * Fixed building and running on Mac OS X 10.7 (Lion)
2012-01-28 10:33:31 +00:00
wiz
5ef0e78923 Another fix for keyboard handling, from Opolo Remo,
and a fix for the color patterns, also from him.
Bump PKGREVISION.
2012-01-24 15:17:05 +00:00
jmcneill
28318b6a07 use AUDIO_GETBUFINFO when available; bump pkg revision 2011-12-29 10:00:49 +00:00
wiz
1a5cda2348 Fix typo in ifdef.
Bump PKGREVISION.
2011-12-26 12:28:46 +00:00
taca
fae5c8ec48 Fix build problem without WSKBD_TYPE_ZAURUS environment; NetBSD 4_STABLE.
Extra "case" was existed before default label of case statement.
2011-12-11 10:48:58 +00:00
wiz
ae5d56d84b Compile in wscons support on NetBSD.
From Opolo Remo in private mail.
Bump PKGREVISION.
2011-12-01 10:48:07 +00:00
joerg
9e9b529406 Adjust assembler constraint to work with Clang. From FreeBSD. 2011-08-02 17:02:38 +00:00
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
e93416b2bc Add forgotten patch to CVS.
Thanks Thomas!
2008-12-26 21:53:31 +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
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
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
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