Port details |
- sdl2_image Simple library to load images of various formats as SDL surfaces
- 2.0.5 graphics
=4 2.0.5Version of this port present on the latest quarterly branch. - Maintainer: amdmi3@FreeBSD.org
 - Port Added: 2013-06-21 19:56:49
- Last Update: 2021-04-07 08:09:01
- Commit Hash: cf118cc
- People watching this port, also watch:: glib, libedit, py38-pycparser, gtkmm30, pkgconf
- License: ZLIB
- Description:
- 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: https://www.libsdl.org/projects/SDL_image/
- SVNWeb : git : Homepage
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- For RUN/BUILD depends:
- sdl2_image>0:graphics/sdl2_image
- For LIB depends:
- libSDL2_image-2.0.so:graphics/sdl2_image
- libSDL2_image.so:graphics/sdl2_image
- To install the port:
- cd /usr/ports/graphics/sdl2_image/ && make install clean
- To add the package, run one of these commands:
- pkg install graphics/sdl2_image
- pkg install sdl2_image
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: sdl2_image
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1562166413
SHA256 (SDL2_image-2.0.5.tar.gz) = bdd5f6e026682f7d7e1be0b6051b209da2f402a2dd8bd1c4bd9c25ad263108d0
SIZE (SDL2_image-2.0.5.tar.gz) = 11736518
- Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- gmake>=4.3 : devel/gmake
- pkgconf>=1.3.0_1 : devel/pkgconf
- sdl2-config : devel/sdl20
- Library dependencies:
-
- libpng.so : graphics/png
- libtiff.so : graphics/tiff
- libwebp.so : graphics/webp
- libSDL2.so : devel/sdl20
- libjpeg.so : graphics/jpeg-turbo
- This port is required by:
- for Libraries
-
- audio/klystrack
- devel/fifechan
- devel/py-game
- devel/py-game_sdl2
- devel/py-pysdl2
- devel/sdl2pp
- emulators/aranym
-
Deleted ports which required this port:
- * - 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_image-2.0.5:
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
- Options name:
- graphics_sdl2_image
- USES:
- gmake libtool localbase pkgconfig pathfix sdl jpeg
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: see SVNWeb link above for full details) |
Date | By | Description |
07 Apr 2021 08:09:01 2.0.5
|
Mathieu Arnold (mat)  |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
06 Apr 2021 14:31:07 2.0.5
|
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
03 Jul 2019 15:37:35
2.0.5
|
amdmi3  |
- Update to 2.0.5
MFH: 2019Q2 (with hat)
Security: 3394bc2b-9da4-11e9-951e-14dae9d5a9d2 |
21 Apr 2019 19:09:19
2.0.4_1 
|
sunpoet  |
Update MASTER_SITES
Approved by: portmgr (blanket) |
01 Mar 2019 19:18:57
2.0.4_1 
|
amdmi3  |
- Switch sdl_image and sdl2_image from dynamic loading of dependency
libraries to normal shared linking
- While here, add USES=sdl and localbase add LICENSE_FILE and strip library
PR: 196099
Submitted by: jbeich |
04 Feb 2019 14:30:49
2.0.4 
|
amdmi3  |
- Update to 2.0.4
PR: 235067
Submitted by: monwarez@mailoo.org |
14 Feb 2018 11:52:27
2.0.2 
|
amdmi3  |
- Update to 2.0.2
- Make sure no bundled libraries are used
- Update WWW |
05 Feb 2018 16:24:49
2.0.1_2 
|
amdmi3  |
Take maintainership of SDL/SDL2 ports |
26 Oct 2017 18:53:43
2.0.1_2 
|
jbeich  |
graphics/sdl2_image: backport XCF vulnerability fix
Obtained from: upstream (SDL_image-2.0.2)
Security: CVE-2017-2887 |
30 Apr 2017 12:50:54
2.0.1_1 
|
sunpoet  |
Update to 0.6.0
- Bump PORTREVISION for dependent ports
Changes: https://chromium.googlesource.com/webm/libwebp/+/master/NEWS |
22 Jan 2017 22:27:55
2.0.1 
|
rene  |
Reset mva@'s ports, he handed in his ports bit. |
06 Apr 2016 15:01:13
2.0.1 
|
amdmi3  |
- 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
2.0.0_8 
|
mat  |
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat: portmgr
Sponsored by: Absolight |
01 Apr 2016 11:17:54
2.0.0_8 
|
sunpoet  |
- Update to 0.5.0
- Bump PORTREVISION for graphics/webp shlib change
Changes: https://chromium.googlesource.com/webm/libwebp/+/master/NEWS |
22 Jun 2015 18:33:22
2.0.0_7 
|
antoine  |
Convert to USES=jpeg |
07 Feb 2015 08:21:47
2.0.0_7 
|
mva  |
- Provide OPTION knobs for the LIB_DEPENDS of sdl_image and sdl2_image
PR: 195987
Submitted by: jbeich@ |
25 Dec 2014 20:54:43
2.0.0_7 
|
bapt  |
Bump portrevision after png update |
25 Dec 2014 19:04:27
2.0.0_6 
|
antoine  |
Change libpng15.so to libpng.so in LIB_DEPENDS to prepare the upgrade |
10 Sep 2014 20:50:37
2.0.0_6 
|
gerald  |
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
2.0.0_5 
|
amdmi3  |
- Switch to USES=libtool, drop .la files
Approved by: portmgr blanket |
13 Jun 2014 07:36:28
2.0.0_4 
|
olgeni  |
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
2.0.0_4 
|
sunpoet  |
- 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
2.0.0_3 
|
mva  |
- 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
2.0.0_2 
|
mva  |
- 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
2.0.0_1 
|
bapt  |
Add NO_STAGE all over the place in preparation for the staging support (cat:
graphics) |
09 Sep 2013 22:49:21
2.0.0_1 
|
mm  |
Bump some PORTREVISIONs due to graphics/webp update to 0.3.1 |
14 Aug 2013 22:35:54
2.0.0 
|
ak  |
- Remove MAKE_JOBS_SAFE variable
Approved by: portmgr (bdrewery) |
14 Aug 2013 17:23:36
2.0.0 
|
mva  |
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
2.0.p2 
|
mva  |
- Upstream distfile has been rerolled
Reported by: Tim Cas <darkuranium@gmail.com> |
06 Jul 2013 10:26:13
2.0.p2 
|
mva  |
- Update to the latest RC |
21 Jun 2013 19:56:28
2.0.p1 
|
mva  |
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. |