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

Please give me your LTO-4 or better tape library and I'll put it to good use.
Port details
sdl2_image Simple library to load images of various formats as SDL surfaces
2.0.0_7 graphics on this many watch lists=1 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: 21 Jun 2013 19:56:49
License: ZLIB
This is a simple library to load images of various formats as SDL surfaces.
This library supports BMP, PPM, PCX, GIF, JPEG, PNG, TGA, and TIFF formats.

API:
#include "SDL_image.h"

	SDL_Surface *IMG_Load(const char *file);
or
	SDL_Surface *IMG_Load_RW(SDL_RWops *src, int freesrc);
or
	SDL_Surface *IMG_Load_RW(SDL_RWops *src, int freesrc, char *type);

where type is a string specifying the format (i.e. "PNG" or "pcx").
Note that IMG_Load_RW cannot load TGA images.

An example program 'showimage' is included, with source in showimage.c

WWW: http://www.libsdl.org/projects/SDL_image/
SVNWeb : Homepage : Distfiles Availability : PortsMon

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

Build dependencies:
  1. sdl2-config : devel/sdl20
  2. pkgconf : devel/pkgconf
  3. gmake : devel/gmake
Library dependencies:
  1. libjpeg.so : graphics/jpeg
  2. libpng.so : graphics/png
  3. libtiff.so : graphics/tiff
  4. libwebp.so : graphics/webp
  5. libSDL2.so : devel/sdl20

This port is required by:

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...

To install the port: cd /usr/ports/graphics/sdl2_image/ && make install clean
To add the package: pkg install graphics/sdl2_image


Configuration Options
===> The following configuration options are available for sdl2_image-2.0.0_7:
     JPEG=on: JPEG image format support
     PNG=on: PNG image format support
     TIFF=on: TIFF image format support
     WEBP=on: WebP image format support
===> Use 'make config' to modify these settings

USES:
pkgconfig:build pathfix gmake libtool

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

Number of commits found: 16

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
07 Feb 2015 08:21:47
Original commit files touched by this commit  2.0.0_7
Revision:378574
mva search for other commits by this committer
- Provide OPTION knobs for the LIB_DEPENDS of sdl_image and sdl2_image

PR:		195987
Submitted by:	jbeich@
25 Dec 2014 20:54:43
Original commit files touched by this commit  2.0.0_7
Revision:375598
bapt search for other commits by this committer
Bump portrevision after png update
25 Dec 2014 19:04:27
Original commit files touched by this commit  2.0.0_6
Revision:375594
antoine search for other commits by this committer
Change libpng15.so to libpng.so in LIB_DEPENDS to prepare the upgrade
10 Sep 2014 20:50:37
Original commit files touched by this commit  2.0.0_6
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 00:20:46
Original commit files touched by this commit  2.0.0_5
Revision:360331
amdmi3 search for other commits by this committer
- Switch to USES=libtool, drop .la files

Approved by:	portmgr blanket
13 Jun 2014 07:36:28
Original commit files touched by this commit  2.0.0_4
Revision:357654
olgeni search for other commits by this committer
Remove indefinite articles and trailing periods from COMMENT, plus
minor COMMENT typos and surrounding whitespace fixes. Categories G-I.

CR:		D201
Approved by:	portmgr (bapt)
08 May 2014 03:25:06
Original commit files touched by this commit  2.0.0_4
Revision:353249
sunpoet search for other commits by this committer
- Update to 0.4.0
- Add LICENSE
- Sort LIB_DEPENDS
- Use USES=libtool
- Do not silence installation message
- Bump PORTREVISION for graphics/webp shlib change

Changes:	https://chromium.googlesource.com/webm/libwebp/+/master/NEWS
17 Nov 2013 12:33:49
Original commit files touched by this commit  2.0.0_3
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>
25 Oct 2013 16:15:37
Original commit files touched by this commit  2.0.0_2
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
20 Sep 2013 18:35:46
Original commit files touched by this commit  2.0.0_1
Revision:327733
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
graphics)
09 Sep 2013 22:49:21
Original commit files touched by this commit  2.0.0_1
Revision:326850
mm search for other commits by this committer
Bump some PORTREVISIONs due to graphics/webp update to 0.3.1
14 Aug 2013 22:35:54
Refresh Original commit files touched by this commit
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
10 Jul 2013 17:57:00
Original commit files touched by this commit  2.0.p2
Revision:322725
mva search for other commits by this committer
- Upstream distfile has been rerolled

Reported by:	Tim Cas <darkuranium@gmail.com>
06 Jul 2013 10:26:13
Original commit files touched by this commit  2.0.p2
Revision:322379
mva search for other commits by this committer
- Update to the latest RC
21 Jun 2013 19:56:28
Original commit files touched by this commit  2.0.p1
Revision:321500
mva search for other commits by this committer
Welcome SDL2 to the FreeBSD ports system!

A set of new SDL2 related ports has been added, which are essentially
the same as their corresponding port for SDL1.2:

    audio/sdl2_mixer
    graphics/sdl2_image
    graphics/sdl2_ttf
    net/sdl2_net

A set of new USE_SDL knobs is available to enable SDL2 and its related
ports to be added as dependency to ports. Use either of

  USE_SDL= sdl2 image2 mixer2 net2 ttf2

to pull in the specific sdl2_* or sdl20 port.

Number of commits found: 16

Login
User Login
Create account

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

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

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
cross-binutilsMar 24
jenkinsMar 24
jenkins-ltsMar 24
libressl*Mar 24
linux-c6-openssl*Mar 24
mingw32-openssl*Mar 24
mingw64-binutilsMar 24
openssl*Mar 24
firefoxMar 22
firefox-esrMar 22
libxulMar 22
linux-firefoxMar 22
linux-seamonkeyMar 22
seamonkeyMar 22
sympaMar 13

5 vulnerabilities affecting 24 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 24726
Broken 132
Deprecated 142
Ignore 418
Forbidden 3
Restricted 203
No CDROM 95
Vulnerable 20
Expired 5
Set to expire 134
Interactive 0
new 24 hours 5
new 48 hours8
new 7 days33
new fortnight44
new month132

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