Commit Graph

127 Commits

Author SHA1 Message Date
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
sthen
88ea72915d Change SEPARATE_BUILD=(concurrent|simple) to Yes; bsd.port.mk doesn't
make a distinction between these.  ok aja@ dcoppa@
2012-03-29 13:38:12 +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
5855efb734 move depends to new style 2010-11-15 19:45:56 +00:00
ajacoutot
ff07e285bc Remove USE_X11. 2010-10-24 20:58:58 +00:00
espie
5c08d95027 USE_GROFF=Yes 2010-10-18 17:47:50 +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
kili
8fc6287292 WANTLIB changes after xcb addition and bump. 2009-08-10 06:29:51 +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
ratchov
0c13c69eeb bump PKGNAME, forgotten in the last commit
requested by sturm@
2009-01-08 20:38:11 +00:00
ratchov
9670a34ce5 allow programs to use big endian and unsigned 16-bit encodings
discussed with, tested by and ok todd@,
looks good to jakemsr@
2009-01-08 20:10:46 +00:00
sthen
e6cdb88c0c add @pkgpath marker to ease updates from the removed -esd flavour and
bump version.  pointed out by ajacoutot; ok ajacoutot, jakemsr.
2008-12-30 22:17:54 +00:00
jakemsr
be62cb80f3 remove arts and esd backends
from Brad, thanks
2008-12-30 02:15:20 +00:00
jakemsr
3d85607ee9 bufsz -> appbufsz per recent libsndio changes 2008-12-23 07:45:32 +00:00
jakemsr
31176b1a69 ISC license for these files, as they are not actually SDL files. 2008-11-13 22:09:59 +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
brad
10afb425f9 - Remove ${LDFLAGS} from LDFLAGS specified with CONFIGURE_ENV since this
is not set elsewhere.
- Add disable option for PulseAudio so support is not built if it happens
  to be installed.
- Enable the use of YASM to build the i386 assembly blit code.

ok pvalchev@
2008-09-26 03:14:42 +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
ajacoutot
9e0758caca - remove the sun FLAVOR and add sunaudio support by default
note: people running with non-default FLAVOR(s) will need to update their
package manually as "pkg_add -u" won't be able to cope with this change

discussed with and ok steven@, "theorical ok" from pvalchev@
2007-12-09 13:40:16 +00:00
ajacoutot
881b752615 - fix altivec FLAVOR variable expansion 2007-11-18 09:39:02 +00:00
ajacoutot
f05b0f4cb8 - there's a bug in the SDL altivec code and altivec was enabled by
default, so now we:
* add an altivec FLAVOR
* mark is BROKEN (so that --disable-altivec is used)

Note that this is not a "set and forget" workaround, we will try fixing
this segfault but for now we need a working SDL for powerpc.

discussed with and ok pvalchev@
2007-11-14 07:16:39 +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
merdely
376b75df06 Remove quotes surrounding COMMENT*/PERMIT_*/BROKEN 2007-09-16 02:52:56 +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
sturm
a11f08faad fix WANTLIB after switch to xenocara 2007-04-08 15:31:01 +00:00
espie
470294650d base64 distinfo with SHA256 2007-04-05 15:37:40 +00:00
espie
30059c7ebb help people not mix up X11 with xenocara, by making sure they link against
X11 >= 10, and bump those major numbers accordingly, so that bug-reports
will get easier to process.

(artificial `flag day' as discussed with deraadt@)
2007-03-26 21:22:13 +00:00
ajacoutot
09b0321194 - better MASTER_SITES mirror for distfiles hosted on www.libsdl.org 2007-01-21 14:47:58 +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
espie
53d48f3c04 new libspecs 2006-08-01 23:39: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
espie
04d06f7b44 bump C++ shared libs after typedef changes.
note that all SDL libs link with supc++ (potentially, and thus are affected)
-> don't take a chance, bump.
2006-01-13 23:40:22 +00:00
pvalchev
11e3d0b837 SHARED_LIBS; ok espie 2005-12-24 17:40:00 +00:00