debian/0000775000000000000000000000000012267211770007175 5ustar debian/docs0000664000000000000000000000001312202404711010026 0ustar README.txt debian/compat0000664000000000000000000000000212202404711010357 0ustar 9 debian/patches/0000775000000000000000000000000012206346457010630 5ustar debian/patches/fix_ftbfs_big_endian.patch0000664000000000000000000000055512206346457015767 0ustar Description: Fix FTBFS on big endian architectures. Bug: https://bugzilla.libsdl.org/show_bug.cgi?id=2063 --- a/IMG_webp.c +++ b/IMG_webp.c @@ -186,7 +186,7 @@ SDL_Surface *IMG_LoadWEBP_RW(SDL_RWops *src) WebPBitstreamFeatures features; int raw_data_size; uint8_t *raw_data = NULL; - int r; + int r, s; uint8_t *ret; if ( !src ) { debian/patches/series0000664000000000000000000000003312206346152012031 0ustar fix_ftbfs_big_endian.patch debian/rules0000775000000000000000000000221112211151010010224 0ustar #!/usr/bin/make -f export DEB_CFLAGS_MAINT_APPEND = -pipe -Wall export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) SHLIBVER = 2.0.0 # features -- disable building as plugins, otherwise dh_shlibs confflags = --disable-jpg-shared confflags += --disable-tif-shared confflags += --disable-png-shared confflags += --disable-webp-shared %: dh $@ --with autoreconf --parallel override_dh_autoreconf: AUTOMAKE="automake --foreign" dh_autoreconf --as-needed override_dh_auto_configure: dh_auto_configure -- $(confflags) override_dh_install: dh_install --fail-missing -XlibSDL2_image.la override_dh_installchangelogs: dh_installchangelogs -- CHANGES.txt override_dh_link: # fix lintian warning dev-pkg-without-shlib-symlink dh_link -plibsdl2-image-dev usr/lib/$(DEB_HOST_MULTIARCH)/libSDL2_image-2.0.so.0.0.0 usr/lib/$(DEB_HOST_MULTIARCH)/libSDL2_image-2.0.so dh_link --remaining-packages override_dh_compress: dh_compress -Xshowimage.c override_dh_strip: dh_strip --dbg-package=libsdl2-image-dbg override_dh_makeshlibs: dh_makeshlibs -V"libsdl2-image-2.0-0 (>= $(SHLIBVER))" debian/libsdl2-image-2.0-0.install0000664000000000000000000000004212202404711013612 0ustar usr/lib/*/libSDL2_image-2.0.so.0* debian/source/0000775000000000000000000000000012202404711010461 5ustar debian/source/format0000664000000000000000000000001412202404711011667 0ustar 3.0 (quilt) debian/watch0000664000000000000000000000021312202404711010206 0ustar version=3 opts=dversionmangle=s/\+dfsg$// \ http://www.libsdl.org/projects/SDL_image/release/SDL2_image-([\d.]+)\.tar\.(?:gz|bz2|xz|lzma) debian/control0000664000000000000000000000420712206345555010605 0ustar Source: libsdl2-image Maintainer: Debian SDL packages maintainers Uploaders: Felix Geyer , Manuel A. Fernandez Montecelo Section: libs Priority: optional Build-Depends: debhelper (>= 9), dh-autoreconf, libsdl2-dev (>= 2.0.0), libjpeg-dev, libpng-dev, libtiff-dev, libwebp-dev, zlib1g-dev Standards-Version: 3.9.4 Homepage: http://www.libsdl.org/projects/SDL_image/ Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-sdl/packages/libsdl2-image.git Vcs-Git: git://anonscm.debian.org/pkg-sdl/packages/libsdl2-image.git Package: libsdl2-image-2.0-0 Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Image loading library for Simple DirectMedia Layer 2, libraries This is a simple library to load images of various formats as SDL surfaces. It supports the following formats: BMP, GIF, JPEG, LBM, PCX, PNG, PNM, TGA, TIFF, WEBP, XCF, XPM, XV. . This package contains the shared library. Package: libsdl2-image-dbg Section: debug Architecture: any Multi-Arch: same Priority: extra Depends: ${misc:Depends}, libsdl2-image-2.0-0 (= ${binary:Version}) Description: Image loading library for Simple DirectMedia Layer 2, debugging symbols This is a simple library to load images of various formats as SDL surfaces. It supports the following formats: BMP, GIF, JPEG, LBM, PCX, PNG, PNM, TGA, TIFF, WEBP, XCF, XPM, XV. . This package contains the debugging information for the shared library. Package: libsdl2-image-dev Architecture: any Multi-Arch: same Section: libdevel Depends: ${misc:Depends}, libsdl2-image-2.0-0 (= ${binary:Version}), libsdl2-dev (>= 2.0.0) Description: Image loading library for Simple DirectMedia Layer 2, development files This is a simple library to load images of various formats as SDL surfaces. It supports the following formats: BMP, GIF, JPEG, LBM, PCX, PNG, PNM, TGA, TIFF, WEBP, XCF, XPM, XV. . This package contains the development files. debian/gbp.conf0000664000000000000000000000031612202405216010601 0ustar [DEFAULT] pristine-tar = True sign-tags = True [git-import-orig] filter = [ 'debian', 'external', 'VisualC', 'VisualCE', 'Xcode', 'Xcode-iOS', 'IMG_ImageIO.m', 'IMG_UIImage.m' ] filter-pristine-tar = True debian/libsdl2-image-dev.install0000664000000000000000000000016412202404711013741 0ustar usr/include/SDL2/SDL_image.h usr/lib/*/libSDL2_image.a usr/lib/*/libSDL2_image.so usr/lib/*/pkgconfig/SDL2_image.pc debian/copyright0000664000000000000000000000625712202405733011133 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: SDL_image Upstream-Contact: Sam Lantinga Source: http://www.libsdl.org/projects/SDL_image/ Files: * Copyright: 1997-2013 Sam Lantinga License: zlib/libpng Files: IMG_gif.c Copyright: 1997-2013 Sam Lantinga 1990, 1991, 1993 David Koblas 1996 Torsten Martinsen License: zlib/libpng Files: IMG_png.c Copyright: 1997-2013 Sam Lantinga 1998 Philippe Lavoie License: LGPL-2+ Files: miniz.h Copyright: in public domain License: public-domain This is free and unencumbered software released into the public domain. . Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means. . In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Files: debian/* Copyright: 2013, Manuel A. Fernandez Montecelo 2013, Felix Geyer License: LGPL-2+ License: zlib/libpng This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. . Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: . 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. License: LGPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. . On Debian systems, the complete text of version 2 of the GNU Lesser Public License can be found in '/usr/share/common-licenses/LGPL-2'. debian/changelog0000664000000000000000000000272212267211770011052 0ustar libsdl2-image (2.0.0+dfsg-3build2) trusty; urgency=medium * No-change rebuild for libwebp transition -- Iain Lane Mon, 20 Jan 2014 12:18:00 +0000 libsdl2-image (2.0.0+dfsg-3build1) trusty; urgency=medium * Rebuild for libwebp5. -- Colin Watson Thu, 16 Jan 2014 16:43:20 +0000 libsdl2-image (2.0.0+dfsg-3) unstable; urgency=low * Really regenerate autoconf files. The upstream autogen.sh doesn't work properly. Thanks to Pino Toscano for the patch. - Fixes FTBFS on hurd. -- Felix Geyer Sun, 08 Sep 2013 11:16:14 +0200 libsdl2-image (2.0.0+dfsg-2) unstable; urgency=low * Tighten libsdl2-dev dependency to 2.0.0 and bump the shlibver to 2.0.0, thanks to Gianfranco Costamagna for the patch. * Fix FTBFS on big endian architectures. - Add fix_ftbfs_big_endian.patch -- Felix Geyer Sun, 25 Aug 2013 11:26:16 +0200 libsdl2-image (2.0.0+dfsg-1) unstable; urgency=low * New upstream release. * Add a watch file. * Remove external/ from upstream tarball. * Document miniz.h license in debian/copyright. -- Felix Geyer Wed, 21 Aug 2013 09:44:44 +0200 libsdl2-image (2.0.0~rc1+dfsg-1) unstable; urgency=low * Initial release. (Closes: #710698) * Filter upstream tarball to remove precompiled binaries that don't ship with the corresponding source code. -- Felix Geyer Fri, 12 Jul 2013 17:38:44 +0200 debian/libsdl2-image-dev.examples0000664000000000000000000000001412202404711014103 0ustar showimage.c