Commit graph

188 commits

Author SHA1 Message Date
adam
2b28348294 We don't BUILDLINK_PASSTHRU_DIRS magic on Mac OS X any more. 2011-01-27 14:15:05 +00:00
adam
dbf89d1185 yasm also works on x86_64 2010-12-29 18:34:06 +00:00
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
tron
95e86e0464 Remove work around for build problems under Mac OS X Snow Leopard which
is no longer necessary.
2009-10-23 08:35:20 +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
tron
099f168fb1 SDL used a deprecated audio API that is no longer available under
Mac OS X Snow Leopard. Work around that by building the package using
the Mac OS X Leopard SDK that is provided by Xcode.

This allows the "mplayer" package to build with SDL support. The
resulting binary can play video and audio if the SDL video and
audio driver are manually selected.
2009-09-13 15:51:47 +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
joerg
0268c554bd Remove @dirrm entries from PLISTs 2009-06-14 17:38:38 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
ahoka
e93416b2bc Add forgotten patch to CVS.
Thanks Thomas!
2008-12-26 21:53:31 +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
tron
918fbdc63d Revert broken change. 2008-12-19 13:05:06 +00:00
tron
83efbfdff4 Make it possible to turn off "pulseaudio" support. 2008-12-19 11:41:25 +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
rillig
7f125459d8 Removed some code duplication from the buildlink3 files by using the new
pkg-build-options.mk procedure.
2007-05-30 08:54:28 +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
5e43280b23 Replace mk/bsd.prefs.mk includes with bsd.fast.prefs.mk includes.
The redundant parsing of bsd.prefs.mk is mostly avoided now and
parse time e.g. for x11/kdebase3 gets reduced by up to 10%.
2006-12-12 21:52:34 +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
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
joerg
ea01feaea2 Include x11.b3.mk since SDL/SDL_syswm.h includes Xlib.h. 2006-09-19 19:31:50 +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
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
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
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +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
adam
1117d3487c Exclude Darwin also in buildlink3.mk 2006-07-04 06:00:35 +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
tron
d10337706c We don't need to include buildlink3 files for "arts" and "esound" because
they are properly dlopen()ed. Pointed out by Thomas Klausner.
2006-06-13 15:28:02 +00:00
tron
6798c73ffe Include buildlink3 files for "arts", "esound" and "nas" if support for
these package has been compiled into the "SDL" package. Based on a
patch provided by Thomas Klausner in private e-mail.
2006-06-13 15:02:58 +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
minskim
cfa8c1909a On Darwin, use g++ to link instead of gcc since some C++ code is compiled. 2006-04-11 22:11:31 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
jlam
6ad6aef9d4 Replace references to ossaudio.buildlink3.mk with oss.buildlink3.mk.
Remove deprecated ossaudio.buildlink3.mk.
2006-03-09 21:04:39 +00:00
jlam
afd3bd8212 Always override the path to the OSS DSP device with the one that pkgsrc
has already determined.
2006-03-09 20:00:02 +00:00