debian/0000755000000000000000000000000012253620055007166 5ustar debian/libdevil-dev.install0000644000000000000000000000011712146511764013132 0ustar usr/lib/*/*.so usr/lib/*/*.la usr/lib/*/*.a usr/include/ usr/lib/*/pkgconfig/* debian/libdevil-dev.docs0000644000000000000000000000004612146507005012406 0ustar Libraries.txt NEWS README README.unix debian/copyright0000644000000000000000000000320512146507005011121 0ustar Author: Denton Woods Download: http://openil.sf.net/ Files: * Copyright: (C) 2000-2002 by Denton Woods License: LGPL-2+ This package 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 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. Files: debian/* Copyright: (C) 2008 Bradley Smith License: GPL-2+. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. On Debian GNU/Linux systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL-2'. debian/changelog0000644000000000000000000002363712253620041011046 0ustar devil (1.7.8-7ubuntu3) trusty; urgency=medium * No-change rebuild for libmng soname bump. -- Matthias Klose Mon, 16 Dec 2013 16:45:04 +0100 devil (1.7.8-7ubuntu2) saucy; urgency=low * Use dh_autotools-dev to update config.{sub,guess} for new ports. -- Adam Conrad Sat, 12 Oct 2013 07:35:55 -0600 devil (1.7.8-7ubuntu1) saucy; urgency=low * Build-depend on liballegro4-dev instead of virtual liballegro4.2-dev. -- Adam Conrad Fri, 05 Jul 2013 13:43:19 -0600 devil (1.7.8-7) unstable; urgency=low * QA upload. * Change maintainer to QA group. * Change dependencies on libtiff4-dev to libtiff-dev. Closes: #682176 * Change dependencies on libpng12-dev to libpng-dev. Closes: #662298 * New patch png_set_expand_gray_1_2_4_to_8. Closes: #649554 Based on a patch by Nobuhiro Iwamatsu. * debian/ cleanup: + use dh + bump debhelper compat to 9 - this automatically enables hardening flags. Closes: #653535 + use source format 3.0 (quilt) + remove obsolete VCS links -- Frank Lichtenheld Tue, 21 May 2013 00:00:34 +0200 devil (1.7.8-6.1) unstable; urgency=low * Non-maintainer upload. * Remove references to other libraries from dependency_libs field. Closes: #633168. * debian/control: Build-Depend on libjpeg-dev instead of libjpeg62-dev. Closes: #633691. -- Muammar El Khatib Sun, 31 Jul 2011 23:15:16 +0200 devil (1.7.8-6) unstable; urgency=high * Fix CVE-2009-3994. Closes: #560080. -- Bradley Smith Tue, 08 Dec 2009 20:09:02 +0000 devil (1.7.8-5) unstable; urgency=low * Fix FTBFS. Closes: #545959. -- Bradley Smith Thu, 10 Sep 2009 19:38:13 +0100 devil (1.7.8-4) unstable; urgency=low * Add missing depends to libdevil-dev. Closes: #531888. -- Bradley Smith Sat, 22 Aug 2009 13:47:46 +0100 devil (1.7.8-3) unstable; urgency=low * Fix kfreebsd FTBFS. Patch thanks to Cyril Brulebois Closes: #541889. * Update Standards-Version to 3.8.3. -- Bradley Smith Mon, 17 Aug 2009 19:48:31 +0100 devil (1.7.8-2) unstable; urgency=low * Add missing libraries in linking of ILUT. Closes: #525363. -- Bradley Smith Sun, 26 Apr 2009 14:41:45 +0100 devil (1.7.8-1) unstable; urgency=low * New upstream release. * Add liballegro4.2-dev to Build-Depends. * Update Standards-Version to 3.8.1. (No changes). -- Bradley Smith Tue, 24 Mar 2009 18:28:21 +0000 devil (1.7.7-1) unstable; urgency=low * New upstream release. * debian/patches - 00_endian_and_ILvoid_fixes - Remove (Gone upstream). - 02_add_missing_files - Remove (Gone upstream). - 03_CVE-2008-5262 - Remove (Gone upstream). * Install pkgconfig files. -- Bradley Smith Sun, 15 Feb 2009 21:41:36 +0000 devil (1.7.5-4) unstable; urgency=low * Actually fix CVE-2008-5262. Closes: #512122. -- Bradley Smith Sat, 17 Jan 2009 15:01:18 +0000 devil (1.7.5-3) unstable; urgency=low * 03_CVE-2008-5262.diff - Backport fix for CVE-2008-5262. Closes: #511844. -- Bradley Smith Thu, 15 Jan 2009 18:50:11 +0000 devil (1.7.5-2) unstable; urgency=low * add_missing_files.diff - Add files missed from tarball. Closes: #511297 -- Bradley Smith Sat, 10 Jan 2009 20:47:32 +0000 devil (1.7.5-1) unstable; urgency=low * New upstream release. -- Bradley Smith Wed, 31 Dec 2008 12:38:16 +0000 devil (1.7.4-1) experimental; urgency=low * New upstream release. * Update maintainer email. * 00_endian_and_ILvoid_fixes.diff - Refresh. * 01_fix_as-needed.diff - Refresh. -- Bradley Smith Tue, 30 Dec 2008 21:16:58 +0000 devil (1.7.2-1) experimental; urgency=low * New upstream release. Closes: #499626 * Refresh 00_misc_fixes.diff and rename to 00_endian_and_ILvoid_fixes.diff * Refresh 01_fix_as-needed.diff * Re-add debian/watch file. * Add Homepage field. * Add Vcs-* fields. * Adjust descriptions to make the -dev package match the non-dev package. * Convert copyright to machine readable format. * Update compat version to 7 and upgrade debhelper build-depend to (>= 7). * Remove unneeded docs from installation. * Add descriptions to lintian override and patches. -- Bradley Smith Fri, 26 Sep 2008 15:25:45 +0100 devil (1.6.8-rc2-3) unstable; urgency=low * Fix typo in 00_misc_fixes.diff. * Remove broken watch file. Not adding a new one since upstreams repository is full of broken versioning. -- Bradley Smith Wed, 23 Jul 2008 21:45:53 +0100 devil (1.6.8-rc2-2) unstable; urgency=low * Build with -DGLX_GLXEXT_LEGACY to avoid implicit pointer conversion. Closes: #490975 * Fix il_endian.h patch to fix FTBFS's on big endian machines. -- Bradley Smith Sun, 20 Jul 2008 14:21:18 +0100 devil (1.6.8-rc2-1) unstable; urgency=low * New Upstream Release. * New Maintainer. Closes: #471982. * Overhaul Packaging. - Update Standards-Version to 3.8.0. + Support parallel=N in DEB_BUILD_OPTIONS. - Correct section for libdevil-dev. - Remove autotools dependency, not longer needed. - Add quilt patch system. + 00_misc_fixes.diff - Move changes to top srcdir to patch. + 01_fix_as-needed.diff - Fix --as-needed flag in libtool. - Correct debian/copyright - Add watch file. - Replace obsolete dependency (libglut3-dev). Closes: #394488. -- Bradley Smith Sun, 06 Jul 2008 19:27:50 +0100 devil (1.6.7-5.2) unstable; urgency=low * NMU. * debian/control: Build-Depend on automake1.9 instead of automake1.8, to stop blocking the removal of automake1.8. (Closes: #472594) -- Eric Dorland Sat, 03 May 2008 00:23:33 -0400 devil (1.6.7-5.1) unstable; urgency=low * Non-maintainer upload. * Turned the ILvoid type into the void type, as suggested by tbm (thanks to Per Hansen as well for the proposed patch). Closes: #376620. * Made the package binNMu-safe by using binary:Version instead of Source-Version. -- Cyril Brulebois Sat, 29 Sep 2007 14:37:27 +0200 devil (1.6.7-5) unstable; urgency=low * Ack NMU * debian/compat, debian/control: use debhelper 5 * debian/control: build-depend on libpng12-dev * debian/control: build-depend on automake1.8 * debian/control: build-depend on libgl1-mesa-dev * We are getting exceedingly good at handling changes in the worst possible way ever. I want back to 1999! See all the above entries. closes: bug#358089 * src-IL/src/il_png.c: Fix AMD64 problems. Thanks Mike McLean. closes: bug#314829 * debian/control: standards version 3.7.2; no other changes seem to be required * debian/control: add Section to source package * debian/rules: funny... move code that copies autofoo stuff AFTER the line that removes it * src-IL/src/Makefile.am: remove @LIBGIF@; autoconf test does not exist, so it never actually worked, methinks. -- Marcelo E. Magallon Fri, 05 May 2006 08:27:12 -0600 devil (1.6.7-4.1) unstable; urgency=medium * NMU (with maintainer permission.) * Recompiled with gcc 4.0 and changed library package name to libdevil1c2 (the big C++ ABI change.) -- Federico Di Gregorio Thu, 21 Jul 2005 11:50:41 +0200 devil (1.6.7-4) unstable; urgency=medium * dinstall is being a jerk. -- Marcelo E. Magallon Mon, 24 Jan 2005 21:25:22 -0600 devil (1.6.7-3) unstable; urgency=medium * src-IL/include/il_endian.h: patch from Federico Di Gregorio to fix endianess issues. Sorry about the delay and misunderstandings! Thanks Federico. (closes: bug#288314) -- Marcelo E. Magallon Sun, 23 Jan 2005 21:06:34 -0600 devil (1.6.7-2) unstable; urgency=medium * debian/rules: hideous hack to work around the fact that the upstream tarball is dirty. Thanks Federico Di Gregorio (closes: bug#288314) -- Marcelo E. Magallon Mon, 03 Jan 2005 19:57:42 -0600 devil (1.6.7-1) unstable; urgency=medium * New upstream release * debian/rules: very fscked up hack to get libtool working. -- Marcelo E. Magallon Tue, 02 Nov 2004 16:53:45 -0600 devil (1.6.5-5.1) unstable; urgency=medium * Non-Maintainer Upload. * debian/control: switch to libtiff4-dev (closes: #262795). * src-IL/include/il_endian.h: patch from Michel Dänzer to fix endianness detection (closes: #222608). -- Jordi Mallach Thu, 5 Aug 2004 01:42:43 +0200 devil (1.6.5-5) unstable; urgency=low * build and install libIL_wrap.a (closes: bug#192633) * debian/rules: strip out -L flags from dependency_libs in .la files (-L flags should not be needed at all) (closes: bug#192554) -- Marcelo E. Magallon Sun, 11 May 2003 22:47:23 +0200 devil (1.6.5-4) unstable; urgency=low * rebuild, for some reason OpenGL support is missing from -3 on i386. -- Marcelo E. Magallon Wed, 12 Mar 2003 22:41:52 +0100 devil (1.6.5-3) unstable; urgency=low * src-IL/src/il_pal.c, src-IL/src/il_psd.c: fixed signedness related warnings. * include/IL/il.h: typedef ILbyte as 'signed char' (closes: bug#181226) -- Marcelo E. Magallon Mon, 17 Feb 2003 13:10:16 +0100 devil (1.6.5-2) unstable; urgency=low * debian/control: changed description (closes: bug#177997) -- Marcelo E. Magallon Sun, 09 Feb 2003 17:34:30 +0100 devil (1.6.5-1) unstable; urgency=low * Initial Release. * src-ILU/include/ilu_region.h: fetched out of CVS, missing in upstream tarball * src-ILU/src/Makefile.am: it's top_builddir, not top_srcdir -- Marcelo E. Magallon Sun, 19 Jan 2003 13:18:49 +0100 debian/libdevil1c2.install0000644000000000000000000000003612146511775012666 0ustar usr/lib/*/*.so.* usr/bin/ilur debian/compat0000644000000000000000000000000212146510530010361 0ustar 9 debian/patches/0000755000000000000000000000000012146517607010626 5ustar debian/patches/04_png_set_expand_gray.diff0000644000000000000000000000211712146517607016004 0ustar Index: devil-1.7.8/src-IL/src/il_icon.c =================================================================== --- devil-1.7.8.orig/src-IL/src/il_icon.c 2013-05-21 00:08:36.847356129 +0200 +++ devil-1.7.8/src-IL/src/il_icon.c 2013-05-21 00:10:29.317942183 +0200 @@ -525,7 +525,7 @@ // Expand low-bit-depth grayscale images to 8 bits if (ico_color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) { - png_set_gray_1_2_4_to_8(ico_png_ptr); + png_set_expand_gray_1_2_4_to_8(ico_png_ptr); } // Expand RGB images with transparency to full alpha channels Index: devil-1.7.8/src-IL/src/il_png.c =================================================================== --- devil-1.7.8.orig/src-IL/src/il_png.c 2009-03-08 08:10:09.000000000 +0100 +++ devil-1.7.8/src-IL/src/il_png.c 2013-05-21 00:10:18.554077504 +0200 @@ -278,7 +278,7 @@ // Expand low-bit-depth grayscale images to 8 bits if (png_color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) { - png_set_gray_1_2_4_to_8(png_ptr); + png_set_expand_gray_1_2_4_to_8(png_ptr); } // Expand RGB images with transparency to full alpha channels debian/patches/01_fix_as-needed.diff0000644000000000000000000000363212146507005014446 0ustar Index: devil/build-aux/ltmain.sh =================================================================== --- devil.orig/build-aux/ltmain.sh 2009-04-26 13:46:38.000000000 +0100 +++ devil/build-aux/ltmain.sh 2009-04-26 13:47:38.000000000 +0100 @@ -4189,6 +4189,11 @@ arg=$func_stripname_result ;; + -Wl,--as-needed) + deplibs="$deplibs $arg" + continue + ;; + -Wl,*) func_stripname '-Wl,' '' "$arg" args=$func_stripname_result @@ -4543,6 +4548,15 @@ lib= found=no case $deplib in + -Wl,--as-needed) + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + deplibs="$deplib $deplibs" + fi + continue + ;; -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" Index: devil/ltmain.sh =================================================================== --- devil.orig/ltmain.sh 2009-03-08 07:10:12.000000000 +0000 +++ devil/ltmain.sh 2009-04-26 13:47:38.000000000 +0100 @@ -1807,6 +1807,11 @@ arg=`$echo "X$arg" | $Xsed -e "s/^ //"` ;; + -Wl,--as-needed) + deplibs="$deplibs $arg" + continue + ;; + -Wl,*) args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'` arg= @@ -2150,6 +2155,15 @@ lib= found=no case $deplib in + -Wl,--as-needed) + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + deplibs="$deplib $deplibs" + fi + continue + ;; -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" debian/patches/03_CVE-2009-3994.diff0000644000000000000000000000111312146507005013360 0ustar diff -up devil-1.7.8/src-IL/src/il_dicom.c~ devil-1.7.8/src-IL/src/il_dicom.c --- devil-1.7.8/src-IL/src/il_dicom.c~ 2009-03-08 08:10:09.000000000 +0100 +++ devil-1.7.8/src-IL/src/il_dicom.c 2009-12-03 12:07:45.000000000 +0100 @@ -427,9 +427,11 @@ ILboolean GetUID(ILubyte *UID) return IL_FALSE; ValLen = GetLittleUShort(); + if (ValLen > 64) + return IL_FALSE; if (iread(UID, ValLen, 1) != 1) return IL_FALSE; - UID[64] = 0; // Just to make sure that our string is terminated. + UID[ValLen] = 0; // Just to make sure that our string is terminated. return IL_TRUE; } debian/patches/02_fix_kbsd.diff0000644000000000000000000000107712146507005013546 0ustar --- a/src-ILUT/src/ilut_opengl.c +++ b/src-ILUT/src/ilut_opengl.c @@ -84,7 +84,7 @@ void *aglGetProcAddress( const GLubyte * static ILboolean HasCubemapHardware = IL_FALSE; static ILboolean HasNonPowerOfTwoHardware = IL_FALSE; -#if defined(_WIN32) || defined(_WIN64) || defined(linux) || defined(__APPLE__) +#if defined(_WIN32) || defined(_WIN64) || defined(linux) || defined(__APPLE__) || defined(__GLIBC__) ILGLTEXIMAGE3DARBPROC ilGLTexImage3D = NULL; ILGLTEXSUBIMAGE3DARBPROC ilGLTexSubImage3D = NULL; ILGLCOMPRESSEDTEXIMAGE2DARBPROC ilGLCompressed2D = NULL; debian/patches/series0000644000000000000000000000013112146517450012032 0ustar 01_fix_as-needed.diff 02_fix_kbsd.diff 03_CVE-2009-3994.diff 04_png_set_expand_gray.diff debian/libdevil1c2.lintian-overrides0000644000000000000000000000027012146507005014645 0ustar # There are multiple libraries in this package, and I don't think we would # gain anything by splitting them up. libdevil1c2: package-name-doesnt-match-sonames libIL1 libILU1 libILUT1 debian/control0000644000000000000000000000327412226250071010574 0ustar Source: devil Section: devel Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian QA Group Build-Depends: debhelper (>= 9), libpng-dev, zlib1g-dev, libjpeg-dev, libtiff-dev, libmng-dev, liblcms1-dev, freeglut3-dev, libgl1-mesa-dev | libgl-dev, libsdl1.2-dev, liballegro4-dev, autotools-dev Standards-Version: 3.8.3 Homepage: http://openil.sourceforge.net/ Package: libdevil1c2 Section: libs Architecture: any Replaces: libdevil1 Conflicts: libdevil1 Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: Cross-platform image loading and manipulation toolkit Developer's Image Library (DevIL) is a programmer's toolkit which can load, save and convert a wide variety of image formats. It also offers basic manipulation and filtering capabilities. . DevIL presents a simple programming interface similar to OpenGL's, which is easy for a developer to learn and use. Ultimate control of the images is left to the developer. Package: libdevil-dev Section: libdevel Architecture: any Pre-Depends: ${misc:Pre-Depends} Depends: libdevil1c2 (= ${binary:Version}), libtiff-dev, liblcms1-dev, ${misc:Depends} Description: Cross-platform image loading and manipulation toolkit Developer's Image Library (DevIL) is a programmer's toolkit which can load, save and convert a wide variety of image formats. It also offers basic manipulation and filtering capabilities. . DevIL presents a simple programming interface similar to OpenGL's, which is easy for a developer to learn and use. Ultimate control of the images is left to the developer. . This package contains the development files. debian/rules0000755000000000000000000000125712226250057010254 0ustar #!/usr/bin/make -f DEB_CFLAGS_MAINT_APPEND = -DGLX_GLXEXT_LEGACY DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed -lm -lXpm -lXcursor -lpthread -ldl -lXxf86vm ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) DEBUG_FLAGS = --disable-release endif %: dh $@ --parallel --with autotools_dev override_dh_auto_configure: dh_auto_configure -- \ --enable-static=yes --enable-shared=yes \ $(DEBUG_FLAGS) \ --enable-IL=yes --enable-ILU=yes --enable-ILUT=yes override_dh_auto_install: dh_auto_install rm debian/tmp/usr/share/info/DevIL_manual.info rm -f debian/tmp/usr/share/info/dir for file in debian/tmp/usr/lib/*/*.la; do \ sed -i "/dependency_libs/ s/'.*'/''/" $$file ; \ done debian/source/0000755000000000000000000000000012146511221010461 5ustar debian/source/format0000644000000000000000000000001412146511221011667 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000006612146507005010221 0ustar version=3 http://sf.net/openil/DevIL-([\d.]+)\.tar.gz