Commit graph

90 commits

Author SHA1 Message Date
heinz
d653ce6a74 Added LICENSE information. 2010-01-24 17:11:17 +00:00
tnn
3b2274f3ef bump revision for previous 2009-11-02 09:09:25 +00:00
adam
df5525ad6c Link against X11, do not dlopen X11 libs any more 2009-11-02 08:52:51 +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
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
jmcneill
9fca3a7139 Enable pulseaudio driver, bump PKGREVISION. 2008-12-18 16:53:01 +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
bjs
a45d59b689 Add support for XRandR via x11/libXrandr. Bump PKGREVISION. 2008-05-06 06:36: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
tron
cba03b30e1 Remove dependence on "binutils" package. It is apparently a leftover
from the time when this package used "nasm" instead of "yasm".
2007-08-14 14:08:13 +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
wiz
6043dd6a89 Build assembler code with yasm instead of nasm. (SDL's configure
prefers yasm to nasm.) Addresses PR 36208.
Tested on NetBSD-3.1/i386 by heinz@.

Might affect resulting binary, so PKGREVISION++.
2007-05-19 22:48:52 +00:00
joerg
adee724a2a Modular Xorg support. 2007-01-09 15:06:23 +00:00
joerg
4acdfdd20a Switch to modular buildlinks.
XXX Should libX11 be a build dependency?
2006-11-06 11:21:58 +00:00
joerg
f75176b39c Flag a number of packages I use as supporting (user-)destdir.
apg is a bit special as it has some hardcoded ownership, so
mark that as "destdir".
2006-10-09 12:52:34 +00:00
markd
a18c54cebc Don't try and do assembler on Solaris, it doesn't get it right.
Fixes PR pkg/31075.
2006-08-04 22:12:28 +00:00
wiz
293429e0bb Disable wscons backend on NetBSD (it was written for OpenBSD).
This fixes the configure step of games/asc.

Bump PKGREVISION.
2006-07-23 16:21:28 +00:00
wiz
06d5e79fe8 Add direct dependency on libiconv.
With default options, this was pulled in via arts->glib2->libiconv,
so no (and especially no recursive) PKGREVISION bump.
2006-07-07 15:06:04 +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
wiz
4495b93d1b Remove unneeded chunk, noted by markd. 2006-07-03 20:37:15 +00:00
tonio
f297491a13 MacOSX also provides GL, so avoid depending on GL onthat platform 2006-07-03 15:25:37 +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
jmmv
5666de347d Disable dlopen for libraries and instead link the SDL library to them
directly.  This didn't work because dlopen uses the rpath of the foremost
binary (not libSDL's one); therefore, some libraries could not be found.

For example, qemu was not working at all because it only has PREFIX in
its rpath, not X11PREFIX, and so libSDL could not load libX11 resulting
in a very strange error message.

There seem to be other problems such as the aalib video output crashing
or the wscons output not working, but these aren't very important (maybe
the problems have already gone away with this fix, I don't know).  Anyway,
I think the former is fixed in 1.2.11.

Bump PKGREVISION to 1.
2006-07-01 18:18:17 +00:00
adam
5375f65723 Make aalib an option, enabled by default 2006-06-15 09:45:05 +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
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
wiz
7e1c5bfbc9 Convert aalib to options framework, adding an 'x11' option, and remove
aalib-x11 and aview-x11.
SDL dependencies change, so bump PKGREVISION (and BUILDLINK_RECOMMENDED)
for affected packages.

Addresses PR 32046 by Leonard Schmidt.
2005-12-11 09:40:37 +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
67b834a329 Bump PKGREVISION for removal of glut dependency. 2005-03-27 14:45:47 +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
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +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
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
jlam
ec993afa1a LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}.  Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in bsd.pkg.mk.
2004-02-14 17:21:32 +00:00
jlam
2bef6db58f bl3ify 2004-01-05 22:44:04 +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
grant
91f00f1cbc s/netbsd.org/NetBSD.org/ 2003-07-17 21:21:03 +00:00
salo
2a3647d05e Depend on nasm only on i386, it's ignored otherwise by configure anyway. 2003-06-23 10:34:29 +00:00
wiz
7166660e08 Dependency bumps, needed because of devel/pth's major bump, and related
dependency bumps.
2003-05-02 11:53:34 +00:00
jschauma
77dbcbc11a Bump PKGREVISION due to upgrade of Mesa and friends.
Only include Mesa/buildlink2.mk if the package requires all three of
MesaLib, glu and glut - else only include the necessary buildlink2s.
2003-03-09 19:10:35 +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
9227f61970 Re-add lines accidentally removed in previous commit. Thanks wiz! 2002-11-05 19:25:07 +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
32341d5bcc buildlink1 -> buildlink2. 2002-08-27 18:19:44 +00:00