FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

Port details
sdl20 Cross-platform multimedia development API
2.0.4 devel on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: mva@FreeBSD.org search for ports maintained by this maintainer
Port Added: 16 Mar 2013 21:07:36
License: ZLIB
This library is designed to make it easy to write games that run on UNIX,
Win32, MacOS X and other platforms 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.

WWW: http://www.libsdl.org/
SVNWeb : Homepage : PortsMon

To install the port: cd /usr/ports/devel/sdl20/ && make install clean
To add the package: pkg install sdl2

PKGNAME: sdl2


NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. gmake : devel/gmake
  2. pkgconf : devel/pkgconf
  3. libGL>0 : graphics/libGL
  4. glproto.pc : x11/glproto
  5. dri2proto.pc : x11/dri2proto
  6. xinerama.pc : x11/libXinerama
  7. xcursor.pc : x11/libXcursor
  8. xi.pc : x11/libXi
  9. xrandr.pc : x11/libXrandr
  10. xscrnsaver.pc : x11/libXScrnSaver
  11. xxf86vm.pc : x11/libXxf86vm
  12. xext.pc : x11/libXext
Runtime dependencies:
  1. libGL>0 : graphics/libGL
  2. xinerama.pc : x11/libXinerama
  3. xcursor.pc : x11/libXcursor
  4. xi.pc : x11/libXi
  5. xrandr.pc : x11/libXrandr
  6. xscrnsaver.pc : x11/libXScrnSaver
  7. xxf86vm.pc : x11/libXxf86vm
  8. xext.pc : x11/libXext
Library dependencies:
  1. libiconv.so : converters/libiconv

This port is required by:

for Build for Libraries * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options
===> The following configuration options are available for sdl2-2.0.4:
     ALSA=off: Audio output via the ALSA audio architecture
     ASM=on: Use optimized assembly code
     DLOPEN=on: Use dlopen for loading 3rd party libraries
     ESOUND=off: Audio output via the EsounD sound server
     NAS=off: Audio output via the Network Audio System
     OSS=on: Audio output via the Open Sound System
     PTHREADS=on: Use POSIX threads for multi-threading
     PULSEAUDIO=off: Audio output via the PulseAudio sound server
     SDL_ATOMIC=on: Enable the SDL Atomic subsystem
     SDL_AUDIO=on: Enable the SDL Audio subsystem
     SDL_CPUINFO=on: Enable the SDL CPUinfo subsystem
     SDL_EVENTS=on: Enable the SDL Events subsystem
     SDL_FILE=on: Enable the SDL File subsystem
     SDL_HAPTIC=on: Enable the SDL Haptic subsystem
     SDL_JOYSTICK=on: Enable the SDL Joystick subsystem
     SDL_LOADSO=on: Enable the SDL Loadso subsystem
     SDL_POWER=on: Enable the SDL Power subsystem
     SDL_RENDER=on: Enable the SDL Render subsystem
     SDL_THREADS=on: Enable the SDL Threads subsystem
     SDL_TIMERS=on: Enable the SDL Timers subsystem
     SDL_VIDEO=on: Enable the SDL Video subsystem
     VIDEO_OPENGL=on: OpenGL rendering support
     VIDEO_X11=on: X11 rendering support
===> Use 'make config' to modify these settings

USES:
gmake iconv libtool localbase pathfix pkgconfig

Master Sites:
  1. http://distcache.FreeBSD.org/ports-distfiles/
  2. http://www.libsdl.org/release/

Number of commits found: 27

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
06 Apr 2016 15:01:13
Original commit files touched by this commit  2.0.4
Revision:412624
amdmi3 search for other commits by this committer
- Update sdl20 and satellite libraries to latest versions

sdl2: 2.0.3 -> 2.0.4
sdl2_image: 2.0.0 -> 2.0.1
sdl2_mixer: 2.0.0 -> 2.0.1
sdl2_net: 2.0.0 -> 2.0.1
sdl2_ttf: 2.0.12 -> 2.0.14

- Add LICENSE_FILE
- Strip libraries
- Switch to USES=localbase where applicable

PR:		207671
Submitted by:	devnexen@gmail.com, amdmi3
Approved by:	maintainer timeout (mva, 1 month)
Exp-run by:	antoine
01 Apr 2016 14:00:57
Original commit files touched by this commit  2.0.3_6
Revision:412346
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.

With hat:	portmgr
Sponsored by:	Absolight
01 Apr 2016 13:12:47
Original commit files touched by this commit  2.0.3_6
Revision:412340
amdmi3 search for other commits by this committer
- Fix typos

PR:		207112
Submitted by:	mikael.urankar@gmail.com
Approved by:	maintainer timeout (mva, 1.5 months)
10 Oct 2015 14:03:01
Original commit files touched by this commit  2.0.3_6
Revision:398996
tijl search for other commits by this committer
Remove iconv(), iconv_open() and iconv_close() symbols from libiconv.

These were FreeBSD specific aliases for libiconv(), libiconv_open() and
libiconv_close() that are now also provided by libc which complicates
writing configure tests that work correctly when both libc iconv and
libiconv are available.

Also, because the libiconv iconv.h header redefines iconv* to libiconv*
correct use of the header implies that the aliases aren't used.

The following ports needed fixes because there was something wrong with
the way they tried to detect or use iconv:

audio/deadbeef: Remove LIBICONV_PLUG from a source file.  It's a
compile-time option and should not be set in source code.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
14 Jun 2015 09:33:30
Original commit files touched by this commit  2.0.3_6
Revision:389620
mva search for other commits by this committer
- Fix 3Dnow (_m_prefetch) support for clang

PR:		194861
Reported by:	Dmitry Luhtionov (dmitryluhtionov@gmail.com)
Submitted by:	tijl
24 May 2015 16:48:41
Original commit files touched by this commit  2.0.3_5
Revision:387283
tijl search for other commits by this committer
Replace MMX and SSE options with CPU autodetection such that they aren't
enabled by default on i386.

PR:		198738
Approved by:	maintainer timeout (2 weeks)
15 Apr 2015 08:20:28
Original commit files touched by this commit  2.0.3_4
Revision:384038
tijl search for other commits by this committer
converters/libiconv:
- Remove const qualifier from iconv(3) to match POSIX:
  http://pubs.opengroup.org/onlinepubs/9699919799/functions/iconv.html
- Patch iconv.h to expose more GNU extensions when LIBICONV_PLUG is
  defined because the base system iconv supports these extensions too.

Add/remove patches to/from ports to call iconv with non-const arguments.

This breaks some ports on FreeBSD 10 because base system iconv.h still has
the const qualifier.  Fix this by letting USES=iconv add a build dependency
on converters/libiconv so ports can use its iconv.h (with LIBICONV_PLUG
defined) instead of the base system iconv.h.

This exposed some ports that link with libiconv when it is available instead
of using libc iconv.  In these cases one of the following changes has been
(Only the first 15 lines of the commit message are shown above View all of this commit message)
27 Oct 2014 11:07:20
Original commit files touched by this commit  2.0.3_3
Revision:371552
bapt search for other commits by this committer
Cleanup plist
10 Sep 2014 20:50:37
Original commit files touched by this commit  2.0.3_3
Revision:367888
gerald search for other commits by this committer
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)
03 Jul 2014 18:23:56
Original commit files touched by this commit  2.0.3_2
Revision:360443
amdmi3 search for other commits by this committer
- Drop .la files, no dependees require them

Approved by:	portmgr blanket
30 May 2014 14:16:38
Original commit files touched by this commit  2.0.3_1
Revision:355845
tijl search for other commits by this committer
USES=libtool:keepla.
05 Apr 2014 16:33:35
Original commit files touched by this commit  2.0.3
Revision:350245
mva search for other commits by this committer
- Update to version 2.0.3

Changelog: https://hg.libsdl.org/SDL/file/704a0bfecf75/WhatsNew.txt
17 Nov 2013 12:33:49
Original commit files touched by this commit  2.0.1_1
Revision:334079
mva search for other commits by this committer
- Switch devel/sdl20 to use the autotools-based configuration, since the
  cmake-based one is not maintained that well
- Fix library naming to ensure backwards compatibility on minor version
  changes
- Bump the PORTREVISION on ports depending on devel/sdl20, since its
  shared library name changed

PR:		ports/183975
Submitted by:	Jan Kokemuller <jan.kokemueller@gmail.com>
13 Nov 2013 22:26:18
Original commit files touched by this commit  2.0.1_1
Revision:333731
mva search for other commits by this committer
- Enable posix semaphores support

PR:		ports/182137
Submitted by:	Jan Beich <jbeich@tormail.org>
25 Oct 2013 16:15:37
Original commit files touched by this commit  2.0.1
Revision:331607
mva search for other commits by this committer
- Update devel/sdl20 to version 2.0.1
- Bump PORTREVISIONs for SDL2-related ports to chase the changed SDL2
  shlib version
- Enable staging support for the SDL2 ports
- Switch to new LIB_DEPENDS format for the SDL2 ports
- Add LICENSE to the SDL2 ports
- Use gmake USES for the SDL2 ports
22 Sep 2013 09:16:46
Original commit files touched by this commit  2.0.0_1
Revision:327856
mva search for other commits by this committer
- fix the include directory lists for proper usage in sdl2-config and
  sdl2.pc

Reported by:	Vitaly Magerya <vmagerya@gmail.com>
20 Sep 2013 17:17:45
Original commit files touched by this commit  2.0.0
Revision:327726
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 4)
28 Aug 2013 18:29:39
Original commit files touched by this commit  2.0.0
Revision:325547
itetcu search for other commits by this committer
Arts was removed:
 audio/arts||2013-07-26|Has expired: Depends on Qt 3.x
So remove the last leftovers.

Approved by:	portmgr (itetcu)
14 Aug 2013 22:35:54
Original commit files touched by this commit  2.0.0
Revision:324744  Sanity Test Failure
ak search for other commits by this committer
- Remove MAKE_JOBS_SAFE variable

Approved by:	portmgr (bdrewery)
14 Aug 2013 17:23:36
Original commit files touched by this commit  2.0.0
Revision:324741
mva search for other commits by this committer
SDL2 has been officially released.

- Update devel/sdl20, audio/sdl2_mixer, graphics/sdl2_image,
  graphics/sdl2_ttf and net/sdl2_net to version 2.0.0
06 Jul 2013 10:24:18
Original commit files touched by this commit  2.0.p7353
Revision:322377
mva search for other commits by this committer
- Update to revision 7353
06 Jun 2013 09:32:17
Original commit files touched by this commit  2.0.p7291
Revision:320065
mva search for other commits by this committer
- Update to revision 7291
20 May 2013 08:31:43
Original commit files touched by this commit  2.0.p7192
Revision:318582
mva search for other commits by this committer
- Update to revision 7192
27 Apr 2013 08:50:47
Original commit files touched by this commit  2.0.p7046
Revision:316654
mva search for other commits by this committer
- Convert USE_ICONV=yes to USES=iconv
- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig while here

Reviewed by:	bapt, kwm
25 Apr 2013 20:19:15
Original commit files touched by this commit  2.0.p7046
Revision:316531
mva search for other commits by this committer
- Update to revision 7046
22 Mar 2013 20:06:15
Original commit files touched by this commit  2.0.p6940
Revision:314960
makc search for other commits by this committer
- convert USE_CMAKE to USES
- while here clean up some ports from CMAKE_VERBOSE, which is intended
  for users

Approved by:	portmgr (miwi)
16 Mar 2013 21:07:19
Original commit files touched by this commit  2.0.p6940
Revision:314384
mva search for other commits by this committer
This library is designed to make it easy to write games that run on UNIX,
Win32, MacOS X and other platforms 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.

WWW: http://www.libsdl.org/

Number of commits found: 27

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
mercurialMay 01
mariadb100-serverApr 30
mariadb101-serverApr 30
mariadb55-serverApr 30
mysql55-serverApr 30
mysql56-serverApr 30
mysql57-serverApr 30
percona55-serverApr 30
logstashApr 28
subversionApr 28
subversion18Apr 28
ntpApr 27
ntp-develApr 27
firefoxApr 26
firefox-esrApr 26

15 vulnerabilities affecting 48 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 25993
Broken 283
Deprecated 61
Ignore 549
Forbidden 0
Restricted 203
No CDROM 86
Vulnerable 58
Expired 27
Set to expire 48
Interactive 0
new 24 hours 1
new 48 hours4
new 7 days19
new fortnight40
new month118

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2014 Dan Langille. All rights reserved.