From dde0612f9786a8d11cb1d83c78882dbd78bacf87 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 15 Feb 2013 14:28:08 -0800 Subject: [PATCH] Added debian packaging for SDL2_image --- debian/changelog | 315 +++++++++++++++++++++++++ debian/compat | 1 + debian/control | 43 ++++ debian/copyright | 47 ++++ debian/docs | 1 + debian/files | 3 + debian/libsdl2-image-dev.examples | 2 + debian/libsdl2-image-dev.install | 4 + debian/libsdl2-image.install | 1 + debian/libsdl2-image.lintian-overrides | 1 + debian/rules | 19 ++ debian/source/format | 1 + debian/source/lintian-overrides | 1 + debian/watch | 2 + 14 files changed, 441 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/docs create mode 100644 debian/files create mode 100644 debian/libsdl2-image-dev.examples create mode 100644 debian/libsdl2-image-dev.install create mode 100644 debian/libsdl2-image.install create mode 100644 debian/libsdl2-image.lintian-overrides create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/source/lintian-overrides create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 00000000..c4338a33 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,315 @@ +sdl2-image (1.2.12) unstable; urgency=low + + * sdl-image for SDL2. Initial release. + + -- Sam Lantinga Fri, 15 Feb 2013 13:09:44 -0800 + +sdl2-image (1.2.10-3) unstable; urgency=low + + [ Felix Geyer ] + * Drop ancient Conflicts. + * Wrap (Build-)Depends in debian/control. + * Switch to dh(1) debian/rules. + * Enable parallel building. + * Drop .la file. + * Drop local dpkg-shlibdeps overrides. + * Remove all patches since they were disabled anyway. + * Switch to source format 3.0 (quilt). + * Update to Standards-Version 3.9.2, no further changes necessary. + * Switch to debhelper compat level v9. + - Exports build flags. + - Build for multiarch. (Closes: #651006) + * Override lintian warning package-name-doesnt-match-sonames. + * Fix building with libpng 1.5. (Closes: #636007) + - Add libpng15.diff. + - (Build-)Depend on libpng-dev instead of libpng12-dev. + * Add myself as uploader. + * Update Vcs control fields to the new git repository. + * Improve copyright file. + + [ Dominique Dumont ] + * control: allowed DM uploads. Set dev pkg to multi-arch: same + * copyright: converted to DEP-5 debian/copyright + * source: override package-needs-versioned-debhelper-build-depends + warning + + -- Felix Geyer Thu, 01 Dec 2011 13:11:22 +0100 + +sdl2-image (1.2.10-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Empty dependency_libs (Closes: #619536). + * Fix configure flags (Closes: #591190). + + -- Luk Claes Sun, 26 Jun 2011 17:58:00 +0200 + +sdl2-image (1.2.10-2) unstable; urgency=low + + [ Aurelien Jarno ] + * Add myself to uploaders. + * Bump shlibs (Closes: #563452). + * (Build-)Depends on libjpeg-dev instead of libjpeg62-dev + (Closes: #569241). + + -- Aurelien Jarno Thu, 11 Feb 2010 15:12:43 +0100 + +sdl2-image (1.2.10-1) unstable; urgency=low + + [ Barry deFreese ] + * Have SDL Team take over maintenance. + + With permission from Michael Koch. + + Thanks to Michael for all of his previous work. + * Add myself to uploaders. + * Add VCS tags. + * New upstream release. + + -- Barry deFreese Mon, 16 Nov 2009 14:30:11 -0500 + +sdl2-image (1.2.8-1) unstable; urgency=low + + * New upstream release. + - adds pkg-config support (Closes: #515123) + + -- Michael Koch Thu, 22 Oct 2009 23:09:13 +0200 + +sdl2-image (1.2.7-2) unstable; urgency=low + + * debian/control: + - Added ${misc:Depends} to all Depends. + - Updated Standards-Version to 3.8.3. + + -- Michael Koch Mon, 31 Aug 2009 08:17:06 +0200 + +sdl2-image (1.2.7-1) unstable; urgency=low + + * New upstream release. + * debian/control: Build-Depends on debhelper (>= 5). + * debian/control: Updated Standards-Version to 3.8.2. + * debian/control: Add Homepage field. + * debian/watch: Updated watch file for easier upstream updates. + + -- Michael Koch Tue, 21 Jul 2009 21:08:48 +0200 + +sdl2-image (1.2.6-3) unstable; urgency=low + + * CVE-2008-0544: Fix heap based buffer overflow. + * Force library to link libjpeg and libtif and not dlopen them during + runtime. + + -- Michael Koch Tue, 05 Feb 2008 23:10:31 +0100 + +sdl2-image (1.2.6-2) unstable; urgency=high + + * Fixed buffer overflow when reading GIFs. CVE pending. + * Updated Standards-Version to 3.7.3. + + -- Michael Koch Sun, 27 Jan 2008 23:44:23 +0100 + +sdl2-image (1.2.6-1) unstable; urgency=low + + * New upstream release. Closes: #437005. + * Replaced obsolete ${Source-Version}. + * Handle errors better in clean target. + + -- Michael Koch Sat, 11 Aug 2007 16:42:46 +0200 + +sdl2-image (1.2.5-3) unstable; urgency=low + + * Updated config.guess and config.sub (Closes: #401526). + + -- Michael Koch Tue, 16 Jan 2007 08:38:19 +0100 + +sdl2-image (1.2.5-2) unstable; urgency=low + + * Added patch to make SDL_image 1.2 less segfault. Thanks to Margarita + Manterola for the patch (Closes: #378173). + + -- Michael Koch Sat, 22 Jul 2006 04:30:39 +0000 + +sdl2-image (1.2.5-1) unstable; urgency=low + + * New upstream release + * Updated Build-Depends and Depends to SDL 1.2.10 + * Updated minimum shlibs version to 1.2.5 + * Updated Standards-Version to 3.7.2 + * Simplified watch file + * Fixed address of FSF in debian/copyright + + -- Michael Koch Fri, 9 Jun 2006 07:21:47 +0000 + +sdl2-image (1.2.4-1) unstable; urgency=low + + * New upstream release + * debian/copyright: Fixed header for license text (Closes: #290199) + * Updated config.guess and config.sub (Closes: #267493) + * debian/rules: Use dh_installman instead of dh_installmanpages + + -- Michael Koch Wed, 23 Feb 2005 10:44:58 +0000 + +sdl2-image (1.2.3-6) unstable; urgency=low + + * Fixed download URL in debian/copyright + * Added debian/watch + * Add -ltiff before -ljpeg. Added debian/patches/bug267169.diff for this + (Closes: #267169) + + -- Michael Koch Tue, 16 Nov 2004 18:24:14 +0000 + +sdl2-image (1.2.3-5) unstable; urgency=low + + * libsdl2-image-dev: Updated Depends to use libtiff4-dev (Closes: #262160) + Thanks to Jochen Friedrich. + + -- Michael Koch Fri, 30 Jul 2004 20:27:09 +0200 + +sdl2-image (1.2.3-4) unstable; urgency=low + + * Build-Depend on libtiff4-dev. + * debian/copyright: Updated download URL, author mail address + and copyrigth notice. + * libsdl2-image-dev: Updated section to libdevel. + + -- Michael Koch Sun, 25 Jul 2004 20:44:14 +0200 + +sdl2-image (1.2.3-3) unstable; urgency=low + + * Added patch from Ivo Danihelka + (Closes: 256660). + * Updated Standards-Version to 3.6.1. + * Build depend on debhelper (>= 4.0.0). + * Use debian/compat instead of DH_COMPAT. + * Raised debhelper compat level to 4. + * Use dh_install instead of dh_movefiles. + + -- Michael Koch Thu, 8 Jul 2004 11:39:58 +0200 + +sdl2-image (1.2.3-2) unstable; urgency=low + + * Build-Depends on libpng12-dev not libpng3-dev. + * libsdl2-image-dev: Depends on libpng12-dev instead of libpng3-dev. + * Bumped Standards-Version to 3.5.10. + + -- Michael Koch Mon, 23 Jun 2003 05:38:52 +0000 + +sdl2-image (1.2.3-1) unstable; urgency=low + + * New upstream version. + * Conflicts with packages explicitely linking libpng2 (Closes: #178802). + * Bumped Standards-Version to 3.5.9. + * Fixed "noopt" handling in debian/rules. + * Changed debian/shlibs.local to fix libsdl1.2debian dependency. + + -- Michael Koch Thu, 20 Mar 2003 12:48:26 +0100 + +sdl2-image (1.2.2-5) unstable; urgency=low + + * Bumped Standards-Version to 3.5.8. + + -- Michael Koch Thu, 12 Dec 2002 19:48:39 +0100 + +sdl2-image (1.2.2-4) unstable; urgency=low + + * Support "noopt" option and dropped "debug". + * Enabled TIFF and XCF support. + * Cleaned up debian rules. + + -- Michael Koch Wed, 23 Oct 2002 17:07:37 +0200 + +sdl2-image (1.2.2-3) unstable; urgency=low + + * Updated Standard-Version to 3.5.7. + + -- Michael Koch Thu, 5 Sep 2002 16:59:08 +0200 + +sdl2-image (1.2.2-2) unstable; urgency=low + + * New maintainer (Closes: #158940). + * Build-Depend on libpng3-dev (Closes: #153871, #156033). + * libsdl2-image-dev depend on libpng3-dev. + * added AM_MAINTAINER_MODE to configure.in to get rid of conflicts to + aclocal, autoconf, automake (Closes: #153851). + * use debhelper compat mode 3 (Build-Depend on debhelper >> 3.0). + * add support for DEB_HOST_GNU_TYPE, DEB_BUILD_GNU_TYPE and + DEB_BUILD_OPTIONS. + * removed postinst script. debhelper does all automatically. + * reworked debian/rules + + -- Michael Koch Wed, 4 Sep 2002 09:29:11 +0200 + +sdl2-image (1.2.2-1) unstable; urgency=low + + * new upstream version (closes: #150670) + * build-depend on new SDL 1.2.4 + * patch acinclude.m4, configure.in + * re-run libtoolize --force --copy; aclocal; patch aclocal.m4 to include + SDL_LIBS_FOR_LIBS, then run automake --foreign; autoconf + * depend on libpng-dev, not on (older) libpng2-dev (closes: #152302) + + -- Christian T. Steigies Mon, 8 Jul 2002 23:03:25 -0400 + +sdl2-image (1.2.1-2) unstable; urgency=low + + * libsdl2-image-dev should depend on -dev packages, thanks Junichi + * Ok, I've had enough. To make it build on slower arches as well we now + build-conflict with aclocal, autoconf, automake + * "missing" has to be executable + + -- Christian T. Steigies Sat, 13 Apr 2002 22:15:49 -0400 + +sdl2-image (1.2.1-1.1) unstable; urgency=low + + * NMU + * built against libsdl1.2 1.2.2-3.3 + * acinclude.m4: removed copy of sdl.m4 + * configure.in: IMG_LIBS should use SDL_LIBS_FOR_LIBS, not SDL_LIBS + * re-ran libtoolize --force --copy; aclocal; automake --foreign; autoconf + * debian/control: + - updated Build-Depends and Depends on libsdl1.2 to 1.2.2-3.3 + - tweaked package descriptions + + -- Branden Robinson Tue, 25 Dec 2001 05:45:38 -0500 + +sdl2-image (1.2.1-1) unstable; urgency=low + + * new upstream version + * tried to add Branden's fixes again in Makefile.am, aclocal.m4 and + configure.in + * re-ran libtoolize --force --copy; aclocal; automake --foreign; autoconf + + -- Christian T. Steigies Tue, 18 Dec 2001 21:21:39 -0500 + +sdl2-image (1.2.0-2) unstable; urgency=low + + * fix section in control file, libsdl2-image goes in libs, -dev in devel + + -- Christian T. Steigies Mon, 12 Nov 2001 21:15:11 -0500 + +sdl2-image (1.2.0-1.1) unstable; urgency=low + + * NMU to fix the Big SDL and X Extension Library Problem (Closes: #115051) + * built against libsdl1.2 1.2.2-3.1 + * Thanks to Eric Gillespie, Jr. for help preparing this solution. + * Makefile.am: use @SDL_LIBS_FOR_LIBS@ for the SDL image library itself, + and @SDL_LIBS@ for the sample program + * acinclude.m4: removed copy of sdl.m4 + * configure.in: don't define LIBS here + * re-ran libtoolize --force --copy; aclocal; automake --foreign; autoconf + * debian/control: + - bumped Standards-Version + - add Build-Depends on zlib1g-dev + - add versioning of (>= 1.2.2-3.1) to Build-Dep on libsdl1.2-dev + (it contains the logic for @SDL_LIBS_FOR_LIBS@) + - add versioning of (>= 1.2.2-3.1) to libsdl2-image-dev's dependency on + libsdl1.2-dev + * debian/postinst: only run ldconfig if $1 = "configure" + * debian/rules: + - remove some crack-smoking file deletion from the build rule (it always + fails, and is taken care of in the install rule) + + -- Branden Robinson Wed, 10 Oct 2001 12:33:40 -0500 + +sdl2-image (1.2.0-1) unstable; urgency=low + + * sdl-image for SDL1.2. Initial Release. (closes: #94452) + + -- Christian T. Steigies Fri, 20 Apr 2001 15:19:03 -0400 diff --git a/debian/compat b/debian/compat new file mode 100644 index 00000000..ec635144 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 00000000..4dcea2e4 --- /dev/null +++ b/debian/control @@ -0,0 +1,43 @@ +Source: sdl2-image +Maintainer: Debian SDL packages maintainers +Uploaders: Barry deFreese , + Aurelien Jarno , + Felix Geyer , + Sam Lantinga +Section: libs +Priority: optional +Build-Depends: debhelper (>= 8.9.0~), + libsdl2-dev (>= 2.0.0), + libjpeg-dev, + libpng-dev, + libtiff4-dev, + zlib1g-dev +Standards-Version: 3.9.2 +Homepage: http://www.libsdl.org/projects/SDL_image/ + +Package: libsdl2-image +Architecture: any +Multi-Arch: same +Depends: ${shlibs:Depends}, + ${misc:Depends} +Pre-Depends: ${misc:Pre-Depends} +Description: image loading library for Simple DirectMedia Layer 2.0 + This is a simple library to load images of various formats as SDL surfaces. + This library currently supports BMP, PPM, PCX, GIF, JPEG, PNG, TIFF, and XPM + formats. + +Package: libsdl2-image-dev +Architecture: any +Multi-Arch: same +Section: libdevel +Depends: ${misc:Depends}, + libsdl2-image (= ${binary:Version}), + libc6-dev, + libsdl2-dev (>= 2.0.0) +Description: development files for SDL 2.0 image loading library + This is a simple library to load images of various formats as SDL surfaces. + This library currently supports BMP, PPM, PCX, GIF, JPEG, PNG, TIFF, and XPM + formats. + . + This package contains the include files and static libraries required to + support development using the SDL 2.0 image loading library. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 00000000..1f90a843 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,47 @@ +Format: http://dep.debian.net/deps/dep5/ +Upstream-Name: SDL_image +Upstream-Contact: Sam Lantinga +Source: downloaded from http://www.libsdl.org/projects/SDL_image/ + +Files: * +Copyright: 1997-2013 Sam Lantinga + 2009 Eric Wing + 1990, 1991, 1993 David Koblas + 1996 Torsten Martinsen + 1998 Philippe Lavoie +License: zlib/libpng + +Files: debian/* +Copyright: 2011, Felix Geyer + 2010, Aurelien Jarno + 2009, Barry deFreese + 2002-2009 Michael Koch + 2001,2002, Christian T. Steigies +License: LGPL-2.1+ + +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.1+ + 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.1 of the GNU Lesser + Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. + diff --git a/debian/docs b/debian/docs new file mode 100644 index 00000000..e845566c --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +README diff --git a/debian/files b/debian/files new file mode 100644 index 00000000..ab606c40 --- /dev/null +++ b/debian/files @@ -0,0 +1,3 @@ +libsdl2-image-dbgsym_1.2.12_amd64.ddeb libs extra +libsdl2-image_1.2.12_amd64.deb libs optional +libsdl2-image-dev_1.2.12_amd64.deb libdevel optional diff --git a/debian/libsdl2-image-dev.examples b/debian/libsdl2-image-dev.examples new file mode 100644 index 00000000..57afbcc4 --- /dev/null +++ b/debian/libsdl2-image-dev.examples @@ -0,0 +1,2 @@ +debian/examples/Makefile +showimage.c diff --git a/debian/libsdl2-image-dev.install b/debian/libsdl2-image-dev.install new file mode 100644 index 00000000..13de8933 --- /dev/null +++ b/debian/libsdl2-image-dev.install @@ -0,0 +1,4 @@ +usr/include/SDL2 +usr/lib/*/libSDL2_image.a +usr/lib/*/libSDL2_image.so +usr/lib/*/pkgconfig/SDL2_image.pc diff --git a/debian/libsdl2-image.install b/debian/libsdl2-image.install new file mode 100644 index 00000000..0cfbb2de --- /dev/null +++ b/debian/libsdl2-image.install @@ -0,0 +1 @@ +usr/lib/*/libSDL2_image-1.2.so.* diff --git a/debian/libsdl2-image.lintian-overrides b/debian/libsdl2-image.lintian-overrides new file mode 100644 index 00000000..ff815a5f --- /dev/null +++ b/debian/libsdl2-image.lintian-overrides @@ -0,0 +1 @@ +libsdl2-image: package-name-doesnt-match-sonames libSDL2-image diff --git a/debian/rules b/debian/rules new file mode 100755 index 00000000..1dffa997 --- /dev/null +++ b/debian/rules @@ -0,0 +1,19 @@ +#!/usr/bin/make -f + +%: + dh $@ --parallel + +override_dh_auto_configure: + dh_auto_configure -- --disable-webp --disable-jpg-shared --disable-png-shared --disable-tif-shared + +override_dh_install: + dh_install --fail-missing -XlibSDL2_image.la + +override_dh_install_changelogs: + dh_installchangelogs CHANGES + +override_dh_makeshlibs: + dh_makeshlibs -V 'libsdl2-image (>= 1.2.10)' + +override_dh_compress: + dh_compress -Xshowimage.c diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 00000000..89ae9db8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native) diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides new file mode 100644 index 00000000..57c55662 --- /dev/null +++ b/debian/source/lintian-overrides @@ -0,0 +1 @@ +sdl2-image source: package-needs-versioned-debhelper-build-depends 9 diff --git a/debian/watch b/debian/watch new file mode 100644 index 00000000..f4195a9e --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.libsdl.org/projects/SDL_image/release/ (?:.*/)?SDL_image-?_?([\w+\d+\.]+|\d+)\.tar\.gz debian uupdate