--- libimage-base-bundle-perl-1.0.7.orig/debian/changelog +++ libimage-base-bundle-perl-1.0.7/debian/changelog @@ -0,0 +1,39 @@ +libimage-base-bundle-perl (1.0.7-3.2) unstable; urgency=medium + + * Non-maintainer upload. + * Fix "Removal of debhelper compat 4": use debhelper compat level 9. + (Closes: #817529) + + -- gregor herrmann Tue, 28 Jun 2016 15:28:29 +0200 + +libimage-base-bundle-perl (1.0.7-3.1) unstable; urgency=medium + + * Non-maintainer upload. + * Fix "FTBFS with perl 5.22 in experimental (MakeMaker changes)": + use DESTDIR instead of PREFIX in debian/rules. + (Closes: #793533) + + -- gregor herrmann Wed, 26 Aug 2015 17:21:54 +0200 + +libimage-base-bundle-perl (1.0.7-3) unstable; urgency=low + + * Add missing binary-arch target (closes: #395653) + * Update standards version + + -- Don Armstrong Fri, 15 Aug 2008 16:01:00 -0700 + +libimage-base-bundle-perl (1.0.7-2) unstable; urgency=low + + * FEAR MY debian/rules + - Added patch support to this ungainly beast + * Fix new(-file=>*GLOB) in Image::Xpm [upstream #7438] + * Fix new(-file=>*GLOB) in Image::Xbm [upstream #7439] + + -- Don Armstrong Wed, 6 Oct 2004 23:42:53 -0700 + +libimage-base-bundle-perl (1.0.7-1) unstable; urgency=low + + * Initial debian release (closes: #275133) + + -- Don Armstrong Tue, 5 Oct 2004 22:48:10 -0700 + --- libimage-base-bundle-perl-1.0.7.orig/debian/compat +++ libimage-base-bundle-perl-1.0.7/debian/compat @@ -0,0 +1 @@ +9 --- libimage-base-bundle-perl-1.0.7.orig/debian/control +++ libimage-base-bundle-perl-1.0.7/debian/control @@ -0,0 +1,24 @@ +Source: libimage-base-bundle-perl +Section: perl +Priority: optional +Standards-Version: 3.8.0 +Build-Depends: debhelper (>= 9) +Build-Depends-Indep: perl (>= 5.6.0-16) +Maintainer: Don Armstrong + +Package: libimage-base-bundle-perl +Section: perl +Priority: optional +Homepage: http://search.cpan.org/~summer/ +Architecture: all +Depends: ${perl:Depends} +Provides: libimage-base-perl, libimage-xpm-perl, libimage-xbm-perl +Description: set of modules for loading, saving and creating xpm and xbm images + A set of perl modules for loading, saving, and creating xpm and xbm + images. Contains the following modules: + . + Image::Base + Image::Xpm + Image::Xbm + . + Requred by Image::Info to parse xpm and xbm files. --- libimage-base-bundle-perl-1.0.7.orig/debian/copyright +++ libimage-base-bundle-perl-1.0.7/debian/copyright @@ -0,0 +1,15 @@ +Authors: Mark Summer +Webpage: http://search.cpan.org/~summer/ +Download: http://search.cpan.org/CPAN/authors/id/S/SU/SUMMER/Image-Base-1.07.tar.gz + http://search.cpan.org/CPAN/authors/id/S/SU/SUMMER/Image-Xbm-1.08.tar.gz + http://search.cpan.org/CPAN/authors/id/S/SU/SUMMER/Image-Xpm-1.09.tar.gz +Debianized: Don Armstrong + Monday, October 4, 2004 15:10:06 PDT + +Copyright: Copyright (c) Mark Summerfield 2000. All Rights Reserved. + + This module may be used/distributed/modified under the LGPL. + + (All three modules have the exact same copyright information) + +License: LGPL. Available at /usr/share/common-licenses/LGPL --- libimage-base-bundle-perl-1.0.7.orig/debian/patches/Image-Xbm/01_fix_GLOB_open.diff +++ libimage-base-bundle-perl-1.0.7/debian/patches/Image-Xbm/01_fix_GLOB_open.diff @@ -0,0 +1,14 @@ +diff -urw Image-Xbm-1.08/Xbm.pm Image-Xbm-1.08.patched/Xbm.pm +--- Image-Xbm-1.08/Xbm.pm 2000-11-10 08:05:51.000000000 +1300 ++++ Image-Xbm-1.08.patched/Xbm.pm 2004-08-22 17:16:09.000000000 +1200 +@@ -140,7 +140,9 @@ + } + + my $file = $self->get( '-file' ) ; +- $self->load if defined $file and -r $file and not $self->{'-bits'} ; ++ if (defined $file and not $self->{-bits}) { ++ $self->load if ref $file or -r $file; ++ } + + croak "new() `$file' not found or unreadable" + if defined $file and not defined $self->get( '-width' ) ; --- libimage-base-bundle-perl-1.0.7.orig/debian/patches/Image-Xpm/01_fix_GLOB_open.diff +++ libimage-base-bundle-perl-1.0.7/debian/patches/Image-Xpm/01_fix_GLOB_open.diff @@ -0,0 +1,15 @@ +diff -urw Image-Xpm-1.09/Xpm.pm Image-Xpm-1.09.patched/Xpm.pm +--- Image-Xpm-1.09/Xpm.pm 2000-11-10 08:05:56.000000000 +1300 ++++ Image-Xpm-1.09.patched/Xpm.pm 2004-08-22 17:15:20.000000000 +1200 +@@ -167,8 +167,9 @@ + $self->{-cc} = ' ' x $self->{-cpp}; + + my $file = $self->get('-file'); +- $self->load if defined $file and -r $file and not $self->{-pixels}; +- ++ if (defined $file and not $self->{-pixels}) { ++ $self->load if ref $file or -r $file; ++ } + croak "new() `$file' not found or unreadable" + if defined $file and not defined $self->get('-width'); + --- libimage-base-bundle-perl-1.0.7.orig/debian/rules +++ libimage-base-bundle-perl-1.0.7/debian/rules @@ -0,0 +1,110 @@ +#!/usr/bin/make -f + +#DH_VERBOSE = 1 + +ifndef PERL +PERL="/usr/bin/perl" +endif + +DEB_PACKAGES=Image-Base Image-Xbm Image-Xpm +DESTDIR=$(CURDIR)/debian/libimage-base-bundle-perl + +# Since Image;:X{p,b}m requires Image::Base, add Image::Base to @INC +# so we can test. +export PERL5LIB=$(CURDIR)/build-tree/$(subst .tar.gz,,$(wildcard Image-Base-*.tar.gz))/blib/lib + +unpack: $(foreach foo,$(DEB_PACKAGES),unpack-$(foo)-stamp) +unpack-%-stamp: + dh_testdir + mkdir -p build-tree + tar -C build-tree -xzf $*-*.tar.gz + + touch $@ + + +patch: unpack $(foreach foo,$(DEB_PACKAGES),patch-$(foo)-stamp) +patch-%-stamp: + dh_testdir + + if [ -e debian/patches/$* ]; then \ + for a in `ls debian/patches/$*/*.diff`; do \ + patch -f -d build-tree/$*-* -p1 < $$a; \ + done; \ + fi; + + rm -f unpatch-$*-stamp; + touch $@ + + +unpatch: $(foreach foo,$(DEB_PACKAGES),unpatch-$(foo)-stamp) +unpatch-%-stamp: + dh_testdir + + if [ -e debian/patches/$* ]; then \ + for a in `ls debian/patches/$*/*.diff`; do \ + patch -f -d build-tree/$*-* -p1 -R < $$a; \ + done; \ + fi; + + rm -f patch-$*-stamp + touch $@ + + +build: unpack patch $(foreach foo,$(DEB_PACKAGES),build-$(foo)-stamp) +build-%-stamp: + dh_testdir + + cd build-tree/$*-*;\ + $(PERL) Makefile.PL INSTALLDIRS=vendor; \ + $(MAKE) ; \ + $(MAKE) test + + touch $@ + +clean: + dh_testdir + dh_testroot + + rm -f unpack-*-stamp + rm -f build-*-stamp + rm -f unpatch-*-stamp + rm -f patch-*-stamp + + rm -rf build-tree + dh_clean + +install: build $(foreach foo,$(DEB_PACKAGES),install-$(foo)-stamp) +install-%-stamp: + dh_testdir + dh_testroot +# dh_clean -k + dh_installdirs + + $(MAKE) -C build-tree/$*-* install DESTDIR=$(DESTDIR) + +# MURDER DUMB /usr/lib DIRECTORY + rm -rf $(DESTDIR)/usr/lib + +# do nothing +binary-arch: + + +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installman + dh_compress + dh_fixperms + dh_installdeb + dh_perl + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep +.PHONY: unpack build clean binary-indep binary-arch binary install + + +