This library is designed to make it easy to write games that run on UNIX,
Win32 and BeOS using the various native high-performance media interfaces,
(for video, audio, etc) and presenting a single source-code level API to
your application. This is a fairly low level API, but using this, completely
portable applications can be written with a great deal of flexibility.
===> The following configuration options are available for sdl-1.2.15_17,2:
AALIB=on: AAlib graphics library support
DOCS=on: Build and/or install documentation
EXAMPLES=on: Build and/or install examples
LINJOY=off: Use Linux joystick driver (via webcamd)
OPENGL=on: 2D/3D rendering support via OpenGL
SVGALIB=off: SVGA graphics support
VGL=on: Video Graphics Lib support
X11=on: X11 (graphics) support
====> Audio backend
NAS=off: Network Audio System support
OSS=on: Open Sound System support
PULSEAUDIO=off: PulseAudio sound server support
SNDIO=off: Sndio audio support
===> Use 'make config' to modify these settings
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
devel/sdl12-compat: convert to libmap.conf(5)
Drop headers to simplify usage as binary packge from the default repo.
Hooking into USES=sdl would have required a lot of build testing just
to trim some dependencies.
devel/sdl12-compat: add new port
This code is a compatibility layer; it provides a binary and source
compatible API for programs written against SDL 1.2, but it uses SDL 2.0
behind the scenes. If you are writing new code, please target SDL 2.0
directly and do not use this layer.
https://github.com/libsdl-org/sdl12-compat
devel/sdl12: improve joystick support
1. Update BSD driver:
- do not use uhid devices like keyboard as joystick
- add env SDL_JOYSTICK_DEVICE variable handle
- some small improvements: set verbose names, code formatting
2. Add option to compile with linux driver.
PR: 231370
Submitted by: Ivan Rozhuk <rozhuk.im@gmail.com>
Approved by: amdmi3 (maintainer timeout, 3 weeks)
Change x11/xorgproto to become a build dep
Change x11/xorgproto to become a build time dependency when added to
USE_XORG. Change the dependency to be on the port, rather than a file the
port installs.
Fix fallout.
Bump portrevision on depending ports.
PR: 230909
Reviewed by: eadler
Approved by: portmgr (antoine)
Obtained
from: https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/xorgproto
exp-run: antoine
Differential Revision: https://reviews.freebsd.org/D16906
Switch to xorgproto instead of individual packages
Upstream used to distribute protocol headers as separate packages, but has
decided to merge those to a common package, named xorgproto. This update
tracks that change.
* Add a new port, x11/xorgproto, with are protocol headers for xorg.
* Hook the new protocol port to the build and to infrastructure in
bsd.xorg.mk.
* Update all ports with a dependency on any of the old *proto packages to
instead depend on xorgproto. Bump portrevision.
* Delete the old *proto packages, update MOVED.
PR: 230023
Submitted by: zeising
Approved by: portmgr (antoine)
exp-run by: antoine
Add sndio backend
While here
- Add LICENSE_FILE, USES=localbase
- Strip library
- Group audio backend options
- Use options helpers for VGL
I think the configure script patch needs to be explained. OpenBSD
regenerates the configure script from configure.in after patching
sndio detection into it. However SDL 1.2 requires an older autoconf
version (2.59) which is not available on FreeBSD. Lots of errors when
using autoconf 2.69.
Since I was unable to regenerate it I opted to edit configure
manually. So it does the bare minimum to wire the backend sources
into the build and make sure that SNDIO_CONFIGURE_ENABLE can do its
job in enabling/disabling sndio support.
Approved by: lme (mentor)
Obtained from: OpenBSD
Differential Revision: https://reviews.freebsd.org/D10658
Revision bump of all ports with USE_GL after consolidation of mesa-libs
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D10845
Replace USES=libtool:oldver with USES=libtool or USES=libtool:keepla in
the 32 ports that still use it. Bump PORTREVISION on their dependent
ports except the ones that depend on these:
audio/libogg
audio/libvorbis
devel/pcre
ftp/curl
graphics/jpeg
graphics/libart_lgpl
graphics/tiff
textproc/expat2
textproc/libxslt
In these cases the same trick as in the recent gettext update is used.
(Only the first 15 lines of the commit message are shown above )
Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.
Part II, Bump PORTREVISIONs.
PR: 192025
Tested by: antoine (-exp runs)
Approved by: portmgr (implicit)
When setting USE_XORG via OPTION helper, use comma syntax universally; in
`devel/sdl12', `graphics/blender', and `multimedia/libav' ports they were
set incorrectly, which caused build failures of `devel/sdl12' without the
OpenGL, for example.
Also, while at it, in `multimedia/libmpeg2', fix sed(1) based patching to
produce more neat results, and use official spelling of MPEG abbreviation
in COMMENT (port description still needs cleaning up).
- Patch the SDL configure script so it no longer adds -liconv to LDFLAGS when
converters/libiconv is installed on FreeBSD 10
- Add USES=iconv to graphics/sdl_ttf. The file showfont utility uses iconv.h
PR: ports/186665
Submitted by: tijl@
- Update devel/sdl12 to 1.2.15
- Update audio/sdl_mixer to 1.2.15
- Update graphics/sdl_image to 1.2.12
- Update graphics/sdl_ttf to 2.0.11
- Update graphics/sdl_gfx to 2.0.23
- Update net/sdl_net to 1.2.8
- Bump PORTREVISIONs on ports that depend on one or more packages due to
ABI and shared library version changes
- Update Mk/bsd.sdl.mk accordingly for the new shared library versions
Tested by: exp-run by pav
- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead
PR: 157936
Submitted by: myself
Exp-runs by: pav
Approved by: pav
Remove USE_GNOME=gnometarget from ports. It has been a empty keyword since
mid 2008.
PR: ports/159624
Submitted by: Ruslan Mahmatkhanov <cvs-src@yandex.ru>
- Update devel/sdl12 to version 1.2.14.
- Update audio/sdl_mixer to version 1.2.11.
- Update graphics/sdl_gfx to version 2.0.20.
- Update graphics/sdl_image to version 1.2.10.
- Bump portrevisions for all ports depending on audio/sdl_mixer and
graphics/sdl_image.
- Update Mk/bsd.sdl.mk accordingly for the new shared lib versions.
PR: ports/142147ports/142248ports/142249
Approved by: miwi (mentor implicit)
-Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.
It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.
With help: marcus and kwm
Pointyhat-exp: a few times by pav
Tested by: pgollucci, "Romain Tartière" <romain@blogreen.org>, and
a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by: marcus
Approved by: portmgr
devel/sdl12:
- Update to 1.2.13
- OPTIONize as recommended by Danny Pansters
- Fixed up gnome dependencies as recommended by Danny Panster
- Fixed up NOPORTDOCS and NOPORTEXAMPLES knobs as recommended by Danny
Pansters
- Got rid of library renaming as recommended by Danny Pansters
- Pass maintainership to submitter
Mk/bsd.sdl.mk:
- Fixed _LIB_* entries in order to retrieve the correct library
versions.
PR: 117608
Submitted by: Marcus von Appen <mva@sysfault.org>
- The x86 inline assembler version of the SDL macro SDL_revcpy() sets the
direction flag ("std"), but does not clear it ("cld"). This is invalid
according to GCC (inline assembler, which sets the direction flag,
must reset it[0]) and the SYS V ABI (functions must leave with the
direction flag cleared[1]). The macro is (indirectly, exact call
sequence below) used in SDL_BlitSurface(), so this call sometimes
returns with the direction flag set. This happens for bliting a surface
onto itself with the destination coordinates set right/down of the source
coordinates (typical use of this is scrolling left/up). Later on other
parts of the code (like inlined memcpy()) cause memory corruption. [1]
- Give maintaintership to submitter (as discussed on irc)
PR: ports/120052 [1]
Repair regexp madness that resulted in things like "Bab%%PORTOBJFORMAT%%ish"
instead of "Babelfish" appearing in pkg-plists. Somewhere there is a
very misguided port tool.
- Add an SVGALIB OPTION. [1]
- Explicitly disable check for libusbhid.h where appropriate, as some
systems still have this header hanging around. [2]
PR: ports/104366 [1], ports/103558 (related) [2]
Submitted by: Alex Kozlov <spam@rm-rf.kiev.ua> [1],
Stefan Walter <sw@gegenunendlich.de> + others [2]
- Update devel/sdl12 to version 1.2.11. Now we employ stock SDL directory
structure (i.e. include/SDL for includes and sdl-config for configuration
binary)
- Update graphics/sdl_ttf to version 2.0.8
- Update graphics/sdl_image to version 1.2.5
- Update audio/sdl_mixer to version 1.2.7
- Update net/sdl_net to version 1.2.6
- Update Mk/bsd.sdl.mk accordingly
- Fix dependent ports to fit the new directory structure and avoid several
API breakages
- Bump up portrevisions for all dependent ports to allow them to be upgraded
by portupgrade/portmaster etc tools
Approved by: kris (portmgr), sem (mentor)
Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.
Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.
Preliminary documentation can be found at:
http://people.FreeBSD.org/~ade/autotools.txt
which is in the process of being SGMLized before introduction into the
Porters Handbook.
Light blue touch-paper. Run.