debian/0000755000000000000000000000000012231037653007170 5ustar debian/watch0000644000000000000000000000022610732060173010216 0ustar # format version number, currently 2; this line is compulsory! version=2 http://www.cpan.org/modules/by-module/Image/Image-Imlib2-([\d\.]+)\.tar\.gz debian/rules0000755000000000000000000000124611646422442010256 0ustar #!/usr/bin/make -f %: dh $@ --with=quilt override_dh_auto_install: dh_auto_install # Install examples mkdir -p debian/libimage-imlib2-perl/usr/share/doc/libimage-imlib2-perl/ cp -r examples debian/libimage-imlib2-perl/usr/share/doc/libimage-imlib2-perl/ # Fix paths in the examples perl -pi -e 's#/usr/local/bin/perl#/usr/bin/perl#g' debian/libimage-imlib2-perl/usr/share/doc/libimage-imlib2-perl/examples/*.pl # Remove pointless (for debian) use lib '../ ...' stuff [hint: \x27 is '] perl -pi -e 's#\s*use\s+lib\s+(?:qw\(\s*\.\./[^\)]+\)|\s*\.\./[^\x27]+\x27);\s*\n##' \ debian/libimage-imlib2-perl/usr/share/doc/libimage-imlib2-perl/examples/*.pl debian/copyright0000644000000000000000000000106110370771250011121 0ustar Authors: Leon Brocard Webpage: http://search.cpan.org/~lbrocard/Image-Imlib2-1.00/ Download: http://search.cpan.org/CPAN/authors/id/L/LB/LBROCARD/Image-Imlib2-1.00.tar.gz Debianized: Don Armstrong Sunday, November 2, 2003 22:54:15 PST Copyright: Copyright (c) 2000-3 Leon Brocard. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. License: GPL or Artistic. Available at /usr/share/common-licenses/{GPL,Artistic} debian/NEWS0000644000000000000000000000154411646423213007673 0ustar libimage-imlib2-perl (1.04-1) unstable; urgency=low * has_alpha is now present in the upstream version, in exactly the same form that was present in the Debian package. -- Don Armstrong Sat, 5 Feb 2005 14:30:01 -0800 libimage-imlib2-perl (1.03-1) unstable; urgency=low * This version of libimage-imlib2-perl has a function, has_alpha that is not present in the upstream version. It is likely to change or dissappear soon. It is present to enable you to actually get alpha working with Image::Imlib2 at all. * This version of libimage-imilb2-perl has enabled alpha support by default in new images. This likely was not the case in previous versions. If this is not what you want, call $image->has_alpha(0); to disable alpha channel support. -- Don Armstrong Sun, 23 Jan 2005 02:22:40 -0800 debian/source/0000755000000000000000000000000011646423221010467 5ustar debian/source/format0000644000000000000000000000001411646422442011701 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000011646423221010616 5ustar debian/patches/add_more_error_reporting.diff0000644000000000000000000000450711646422442016536 0ustar Adds additional error checking with useful errors when image loads fail in IMLIB Index: libimage-imlib2-perl/lib/Image/Imlib2.xs =================================================================== --- libimage-imlib2-perl.orig/lib/Image/Imlib2.xs 2011-10-15 17:19:35.000000000 -0700 +++ libimage-imlib2-perl/lib/Image/Imlib2.xs 2011-10-15 17:19:52.000000000 -0700 @@ -181,6 +181,46 @@ if (err == IMLIB_LOAD_ERROR_NO_LOADER_FOR_FILE_FORMAT) { Perl_croak(aTHX_ "Image::Imlib2 load error: No loader for file format"); } + + if (err == IMLIB_LOAD_ERROR_PATH_TOO_LONG) { + Perl_croak(aTHX_ "Image::Imlib2 load error: Path too long"); + } + + if (err == IMLIB_LOAD_ERROR_PATH_COMPONENT_NON_EXISTANT) { + Perl_croak(aTHX_ "Image::Imlib2 load error: Path component non existant"); + } + + if (err == IMLIB_LOAD_ERROR_PATH_COMPONENT_NOT_DIRECTORY) { + Perl_croak(aTHX_ "Image::Imlib2 load error: Path component not directory"); + } + + if (err == IMLIB_LOAD_ERROR_PATH_POINTS_OUTSIDE_ADDRESS_SPACE) { + Perl_croak(aTHX_ "Image::Imlib2 load error: Path points outside address space"); + } + + if (err == IMLIB_LOAD_ERROR_TOO_MANY_SYMBOLIC_LINKS) { + Perl_croak(aTHX_ "Image::Imlib2 load error: Too many symbolic links"); + } + + if (err == IMLIB_LOAD_ERROR_OUT_OF_MEMORY) { + Perl_croak(aTHX_ "Image::Imlib2 load error: Out of memory"); + } + + if (err == IMLIB_LOAD_ERROR_OUT_OF_FILE_DESCRIPTORS) { + Perl_croak(aTHX_ "Image::Imlib2 load error: Out of file descriptors"); + } + + if (err == IMLIB_LOAD_ERROR_PERMISSION_DENIED_TO_WRITE) { + Perl_croak(aTHX_ "Image::Imlib2 load error: Permission denied to write"); + } + + if (err == IMLIB_LOAD_ERROR_OUT_OF_DISK_SPACE) { + Perl_croak(aTHX_ "Image::Imlib2 load error: Out of disk space"); + } + + if (err == IMLIB_LOAD_ERROR_UNKNOWN) { + Perl_croak(aTHX_ "Image::Imlib2 load error: Unknown"); + } RETVAL = image; } OUTPUT: debian/patches/series0000644000000000000000000000003611646422442012036 0ustar add_more_error_reporting.diff debian/compat0000644000000000000000000000000211646414632010373 0ustar 8 debian/control0000644000000000000000000000107711646422442010603 0ustar Source: libimage-imlib2-perl Maintainer: Don Armstrong Priority: extra Section: perl Standards-Version: 3.9.2 Build-Depends: debhelper (>= 8), libmodule-build-perl, libimlib2-dev, libtest-simple-perl, quilt Package: libimage-imlib2-perl Architecture: any Depends: ${perl:Depends}, ${shlibs:Depends}, ${misc:Depends} Recommends: Description: perl interface to the imlib2 imaging library Image::Imlib2 is a perl interface to Imlib2 that allows you to use imlib2 to read, write, scale, crop, draw, and blend graphics formats in your favorite perl program. debian/changelog0000644000000000000000000000702112231037653011042 0ustar libimage-imlib2-perl (2.03-1build2) devel; urgency=low * Rebuild for Perl 5.18. -- Colin Watson Sun, 20 Oct 2013 21:40:11 +0100 libimage-imlib2-perl (2.03-1build1) precise; urgency=low * Rebuild for Perl 5.14. -- Colin Watson Tue, 15 Nov 2011 13:45:33 +0000 libimage-imlib2-perl (2.03-1) unstable; urgency=low * New upstream release -- Don Armstrong Sat, 15 Oct 2011 16:36:13 -0700 libimage-imlib2-perl (2.02-1) unstable; urgency=low * New upstream release -- Don Armstrong Mon, 16 Feb 2009 21:43:13 -0800 libimage-imlib2-perl (2.01-1) unstable; urgency=low * New upstream release * Update standards version, no changes necessary -- Don Armstrong Thu, 19 Jun 2008 12:14:40 -0700 libimage-imlib2-perl (2.00-2) unstable; urgency=low * Fix FTBFS in perl 5.10's MakeMaker -- Don Armstrong Tue, 22 Jan 2008 15:10:59 -0800 libimage-imlib2-perl (2.00-1) unstable; urgency=low * New upstream release * Kill the .packlist with extreeme prejudice. -- Don Armstrong Tue, 18 Dec 2007 16:07:05 -0800 libimage-imlib2-perl (1.13-2) unstable; urgency=low * Delete t/cropped.png on clean (closes: #442639) -- Don Armstrong Mon, 17 Sep 2007 00:45:10 -0700 libimage-imlib2-perl (1.13-1) unstable; urgency=low * New upstream release -- Don Armstrong Fri, 19 Jan 2007 17:38:50 -0800 libimage-imlib2-perl (1.12-1) unstable; urgency=low * New upstream release -- Don Armstrong Wed, 13 Sep 2006 18:33:32 -0700 libimage-imlib2-perl (1.10-1) unstable; urgency=low * New upstream release * Update standards version; no changes necessary. -- Don Armstrong Mon, 24 Jul 2006 07:07:03 -0700 libimage-imlib2-perl (1.08-1) unstable; urgency=low * New upstream release -- Don Armstrong Sun, 12 Mar 2006 18:27:09 -0800 libimage-imlib2-perl (1.07-1) unstable; urgency=low * New upstream release (Closes: #329567) -- Don Armstrong Sun, 25 Sep 2005 04:52:37 -0700 libimage-imlib2-perl (1.04-1) unstable; urgency=low * New upstream release * Disable has_alpha patch as it is now included in upstream * Really stick NEWS.Debian into the appropriate location (closes: #294460) * Add patch from guillomovitch@mandrake.org to add more error reporting to load [02_add_more_error_reporting.diff] -- Don Armstrong Thu, 3 Mar 2005 22:14:36 -0800 libimage-imlib2-perl (1.03-1) unstable; urgency=low * New upstream release * Add has_alpha function to Image::Imlib2 which is not present in upstream to fix the lack of alpha channel support that happened in libimlib2 >= 1.1.2. (closes: #288167) * Add NEWS.Debian to indicate that the above has happened, and that new images default to having alpha support. * Add rudimentary patch support to debian/rules so I can propogate the fix to #288167 sanely. -- Don Armstrong Sun, 23 Jan 2005 02:22:36 -0800 libimage-imlib2-perl (1.02-1) unstable; urgency=low * New upstream release -- Don Armstrong Wed, 26 May 2004 23:00:14 -0700 libimage-imlib2-perl (1.01-1) unstable; urgency=low * New upstream release -- Don Armstrong Sun, 9 Nov 2003 21:49:05 -0800 libimage-imlib2-perl (1.00-1) unstable; urgency=low * Initial packaging (closes: #218877) -- Don Armstrong Mon, 3 Nov 2003 00:12:38 -0800