Commit Graph

76 Commits

Author SHA1 Message Date
brad
858b804f37 Allow SDL to utilize symbol visibility with GCC 3 so it can
build on shared archs using GCC 3.

ok sthen@
2013-01-16 01:49:02 +00:00
edd
f1121baa4f Bump the maximum number of uhid devices SDL can address from 4 to 16. It is
quite easy to exhaust the SDL default of 4.

OK jasper@
2012-05-16 14:01:19 +00:00
dcoppa
8eab8faced Fix a typo into the gnu configure script resulting in SDL not using
the dynamic loading with the XRender and Xrandr libraries.

From brad
2012-03-22 13:00:42 +00:00
jsg
6da70a7fe8 modify the configure script so it does not dlopen old X11 libs
and include brad's X11 WANTLIB bits.

ok sthen@ dcoppa@ earlier version ok ajacoutot@
2012-03-04 01:33:22 +00:00
dcoppa
41b87830c9 Fixed bug 1426 - SDL_SemWaitTimeout returns -1 and sets error instead of
SDL_MUTEX_TIMEDOUT on time out

From upstream via brad. No bump needed.

OK ajacoutot@
2012-03-02 14:52:29 +00:00
dcoppa
eea121e0d7 Update to sdl-1.2.15.
From brad, with tweaks by ajacoutot@ and me.

Tested by many on ports@
Ok ajacoutot@
2012-03-02 09:10:38 +00:00
dcoppa
307557e8ac Roll back support for XRandR and VidMode gamma ramps: SDL was broken
on (at least) macppc because of this.

Patch updated for -current by Brad
OK ajacoutot@
2012-02-22 08:22:39 +00:00
ajacoutot
3c03cb6c0d Re-enable altivec.
from Brad, tested by myself
2012-02-17 06:59:46 +00:00
jasper
b3245c12a6 Add support for XRandR and VidMode gamma ramps.
From upstream bz #971

This fixes the very dark screens with various SDL apps, most notably
openarena.

ok jakemsr@ (MAINTAINER)
2011-05-13 07:57:24 +00:00
espie
a1e380599c help shitty includes work. fixes sdlmame 2010-06-15 15:29:29 +00:00
jakemsr
d30e4ddda5 - quit building audio(4) support
- remove unused --disable-ltdl configure arg
2010-01-12 11:19:06 +00:00
jakemsr
53ef50a03a cleanup sndio backend
- rename from "libsndio" to "sndio"
- remove support for "frame tick" synchronization; nothing uses it
- as with many other sndio backends, the audio device block size is the
  buffer-write-size the application wants and there are 2 blocks per
  device buffer
- if SDL will resample, increase the audio block and buffer size by
  the same ratio, so that device latency (or how much *time* the
  application has between write()s to not let the buffer underrun) does
  not change
- allow applications to disable conversions

tested with almost every port that uses this code (exceptions being some
games that require non-free game data) on a device most likely to be
affected by the changes (azalia(4) that only does 44.1 or 48 kHz s16)

unoverriding conversion disabling exposes brokenness in a few other
ports, those will be fixed soon
2009-01-24 10:56:11 +00:00
jakemsr
be62cb80f3 remove arts and esd backends
from Brad, thanks
2008-12-30 02:15:20 +00:00
jakemsr
bb8f2fc023 add libsndio backend and use it by default.
take maintainership as suggested by current maintainer.

ok pvalchev@
2008-11-02 14:53:51 +00:00
naddy
c218631a73 Fix alignment error in SDL display output from sparc64 to i386.
From upstream SVN.  ok pvalchev@, brad@
2008-09-16 20:43:10 +00:00
pvalchev
546f4316e3 @X_LIBS@ and @C_CFLAGS@ for pkg-config too, from brad 2008-03-20 22:00:15 +00:00
pvalchev
7081132bbf add @X_CFLAGS@ to sdl-config --cflags (-I${X11BASE}/include), much
like -L{X11...} is in --libs
from Peter Hessler
2008-03-20 05:14:11 +00:00
jakemsr
99fccde5bc - make artsd audio output work by linking with libartsc instead
of trying to dlopen() it.  also fix a couple bugs in the artsd
  output module: when artsd is "suspended", it only means that
  it it not accessing the soundcard at the moment, not that it
  will not accept data.  fix output latency by setting parameters
  that actually are settable, instead of trying to set read-only(!)
  parameters.

- allow the default audio output method to be chosen with the
  SDL_AUDIO_DRIVER environment variable.  choices are 'arts',
  'esd' and 'audio'.  'audio' selects audio(4) output, and is
  the default if SDL_AUDIO_DRIVER is not set.

ok pvalchev@
2008-03-19 13:33:29 +00:00
pvalchev
3db60d1479 Fix libGL dynamic loading (let dlopen(3) do its job!)
From Antti Harri <iku@openbsd.fi>, tested by many
2008-01-27 18:43:20 +00:00
pvalchev
b5f395b069 Update to sdl-1.2.13
Bugfix release, notably:
- Fix a fullscreen crash with ffmpeg, etc. due to expecting memory to
be executable by default - use mprotect() - Reported by deanna@
- Worked around BadAlloc error when using XVideo on the XFree86 Intel
- Integrated Graphics driver
- Fixed use of sdl-config arguments in sdl.m4
2008-01-03 17:39:40 +00:00
pvalchev
4967057365 update to sdl-1.2.12. long due update, possible now since the macppc
X acceleration bug is now gone (thanks for ajacoutot for endless testing
of this issue), diff from brad
2007-09-22 01:12:38 +00:00
naddy
b0d9a3139b various audio fixes; from jakemsr@ 2007-08-14 15:51:07 +00:00
pvalchev
c5cfa910bf if requested sound settings fail, try 48000 Hz, as some audio devices
can only support that sample rate. reported by deanna, fixed by jakemsr
who asked me to commit it
2007-08-07 14:22:02 +00:00
jakemsr
26a9c9cc52 - use the sun audio interface instead of the OpenBSD interface
- sync patches with update-patches
- bump PKGNAME

the sun interface keeps fewer samples in the play buffer, and with
less fluctuation than the OpenBSD interface.  results in better
audio-video synchronization in e.g. ffplay and gnash

go for it -pval
2007-07-20 05:23:41 +00:00
jolan
c903391a58 use nanosleep 2006-12-04 03:52:08 +00:00
pvalchev
c6c8181980 revert to sdl-1.2.9 for now as this causes some breakage with
at least some macppc scenarios; discovered by ajacoutot
since it's only a few hour window of breakage, be careful reverting
things if you updated during that time
2006-10-19 00:26:33 +00:00
pvalchev
de02c010ac update to sdl-1.2.11
sdl-config --libs is now fixed to pass just -lSDL and the needed deps
get pulled implicitly as is proper
feedback/testing by various and ports@
XXX stupid cvs botched half of this commit
2006-10-18 17:54:33 +00:00
pvalchev
235247ab22 update to sdl-1.2.11
sdl-config --libs is now fixed to pass just -lSDL and the needed deps
get pulled implicitly as is proper
feedback/testing by various and ports@
2006-10-18 17:53:08 +00:00
aanriot
c7dfb912a3 - USE_LIBTOOL=Yes and get ride of MODGNU_SHARED_LIBS.
- PKGNAME bump.

ok steven@ naddy@
2006-02-03 06:20:11 +00:00
pvalchev
046c6bf86c remove 0-byte empty file... strange it was here 2005-10-08 08:21:21 +00:00
pvalchev
c60f742777 Update to sdl-1.2.9 2005-09-17 00:38:15 +00:00
jolan
fa968d4db6 fix opengl stuff 2005-08-10 00:25:16 +00:00
pvalchev
09a699de85 update to SDL-1.2.8 2005-05-11 17:26:15 +00:00
pvalchev
521b9c626b Update to SDL-1.2.7; based on work by jsg@ 2004-10-25 02:34:21 +00:00
pvalchev
5e42f19d55 fix OpenGL support, due to stupid hardcoding of the library name.
proper fix will hopefully happen soon
2004-09-15 01:21:44 +00:00
espie
7548e1358f gcc3 doesn't like multi-line literals, and pval already knew it's
unhappy with nasm.
2003-12-28 22:26:18 +00:00
espie
e3125a817b do not pick up libtool on the way.
okay pval@
2003-12-07 19:45:42 +00:00
pvalchev
8cb7c089bf Update to SDL-1.2.6; mostly from espie, much testing by jolan, thanks! 2003-09-29 05:41:37 +00:00
wcobb
81d7e08156 Deal with the different modelines of similar resolution introduced by
XFree 4.3 by picking up the modes with the highest refresh rates
(set SDL_VIDEO_X11_USE_ALL_MODES=1 to disable this behavior).
From SDL-current (patch by Stephen Anthony).
ok pvalchev@, jolan@
2003-04-22 00:16:53 +00:00
pvalchev
d2aab96ffc nasm -f elf; pt. out by naddy 2003-04-18 02:37:06 +00:00
wcobb
5c15707861 Don't try obtain full-screen modelines on sparc64; ok pvalchev@ 2003-03-02 02:57:16 +00:00
pvalchev
1fd2af048d set default to our libGL library name correctly (the whole way this
works is braindamaged but that is to be fixed later)
fixes "cannot find OpenGL library" errors
2003-02-23 07:58:25 +00:00
wcobb
c480039af9 Update to SDL-1.2.5.
- sdl-config no longer provides -I${LOCALBASE}/include.
- add an `aa' flavor (ASCII art display).
- GNU make is not needed.
- don't use nasm with gcc 3.
- don't install a SEGV handler.
- prevent the joystick driver from picking up usb keyboards.
ok pvalchev@
2002-11-30 11:17:26 +00:00
wcobb
b8f8ca54e2 fix two bogus tests. ok pvalchev@. 2002-05-26 04:11:16 +00:00
pvalchev
5c746576cb match libusbhid API changes; from aaron 2002-05-14 02:10:29 +00:00
pvalchev
c798cd848b Add -L${X11BASE}/lib to sdl-config in when X11 is used, as SDL depends on
libraries there and needs to know the path.  this means sdl-config was
broken for a few days but none of the ports depended on this.
Also bump package revision to p1 for the last couple of fixes to the port.
2002-05-06 04:26:08 +00:00
pvalchev
8bf19b325b Fix bogus sdl-config creation, this fixes some lib depends issues when
non-default flavors are used.
2002-05-03 19:27:17 +00:00
pvalchev
21dd4cdd2b Sync with USB changes 2002-05-03 03:07:52 +00:00
pvalchev
f8d6de97ba the rest of SDL-1.2.4 pieces; i hate cvs 2002-04-21 00:22:37 +00:00
pvalchev
0e67d773b4 SDL-1.2.4 2002-04-21 00:22:13 +00:00