debian/0000755000000000000000000000000012213277535007175 5ustar debian/patches/0000755000000000000000000000000012213256741010620 5ustar debian/patches/usr-share-crunchjpg_tmpl.pdf0000644000000000000000000000214012213256741016236 0ustar Description: Replace relative location by hardcoded Forwarded: no Author: Ivan Kohler Reviewed-By: Xavier Guimard , gregor herrmann Last-Update: 2013-02-17 --- a/bin/crunchjpgs.pl +++ b/bin/crunchjpgs.pl @@ -13,7 +13,7 @@ my %opts = ( # Hardcoded: - template => 'crunchjpg_tmpl.pdf', + template => '/usr/share/libcam-pdf-perl/crunchjpg_tmpl.pdf', # User settable values: justjpgs => 0, --- a/bin/extractallimages.pl +++ b/bin/extractallimages.pl @@ -11,7 +11,7 @@ our $VERSION = '1.60'; my %opts = ( - template => 'crunchjpg_tmpl.pdf', + template => '/usr/share/libcam-pdf-perl/crunchjpg_tmpl.pdf', verbose => 0, help => 0, --- a/bin/extractjpgs.pl +++ b/bin/extractjpgs.pl @@ -11,7 +11,7 @@ our $VERSION = '1.60'; my %opts = ( - template => 'crunchjpg_tmpl.pdf', + template => '/usr/share/libcam-pdf-perl/crunchjpg_tmpl.pdf', verbose => 0, help => 0, debian/patches/series0000644000000000000000000000003512007544760012035 0ustar usr-share-crunchjpg_tmpl.pdf debian/watch0000644000000000000000000000015412101262665010220 0ustar version=3 https://metacpan.org/release/CAM-PDF/ .*/CAM-PDF-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/copyright0000644000000000000000000000233412110230105011104 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: CAM-PDF Source: https://metacpan.org/release/CAM-PDF/ Upstream-Contact: Chris Dolan Files: * Copyright: 2002-2006, Clotho Advanced Media, Inc. 2007-2008, Chris Dolan License: Artistic or GPL-1+ Files: debian/* Copyright: 2012, Ivan Kohler 2012-2013, Salvatore Bonaccorso 2013, Xavier Guimard 2013, gregor herrmann License: Artistic or GPL-1+ License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. . On Debian systems, the complete text of the Artistic License can be found in `/usr/share/common-licenses/Artistic'. License: GPL-1+ 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 1, or (at your option) any later version. . On Debian systems, the complete text of version 1 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1'. debian/control0000644000000000000000000000326712110230105010562 0ustar Source: libcam-pdf-perl Maintainer: Debian Perl Group Uploaders: Ivan Kohler , Xavier Guimard , gregor herrmann Section: perl Priority: optional Build-Depends: debhelper (>= 8), libmodule-build-perl (>= 0.400000) | perl (>= 5.17.1) Build-Depends-Indep: libcrypt-rc4-perl, libtext-pdf-perl, perl Standards-Version: 3.9.4 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libcam-pdf-perl.git Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libcam-pdf-perl.git Homepage: https://metacpan.org/release/CAM-PDF/ Package: libcam-pdf-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, libcrypt-rc4-perl, libtext-pdf-perl, tcsh | csh | c-shell Description: PDF manipulation library CAM::PDF reads and writes any document that conforms to the PDF specification generously provided by Adobe at https://www.adobe.com/devnet/pdf/pdf_reference.html (link last checked Feb 2013). . The file format through PDF 1.5 is well-supported, with the exception of the "linearized" or "optimized" output format, which this module can read but not write. Many specific aspects of the document model are not manipulable with this package (like fonts), but if the input document is correctly written, then this module will preserve the model integrity. . The PDF writing feature saves as PDF 1.4-compatible. That means that compressed object streams cannot be written. The consequence is that reading and then writing a PDF 1.5+ document may enlarge the resulting file by a fair margin. debian/libcam-pdf-perl.examples0000644000000000000000000000001412101262665013660 0ustar bin/asciify debian/compat0000644000000000000000000000000212007544760010371 0ustar 8 debian/changelog0000644000000000000000000000315112213256741011043 0ustar libcam-pdf-perl (1.60-1) unstable; urgency=low * Imported Upstream version 1.60 * Refresh patch -- Xavier Guimard Mon, 09 Sep 2013 06:04:37 +0200 libcam-pdf-perl (1.59-1) unstable; urgency=low [ Salvatore Bonaccorso ] * Change search.cpan.org based URIs to metacpan.org based URIs [ gregor herrmann ] * New upstream release. * Refresh patch. * Add /me to Uploaders. * Bump versioned build dependency on Module::Build. * debian/control: Update long description (mention module name, update link to PDF specs). -- gregor herrmann Sun, 17 Feb 2013 14:04:59 +0100 libcam-pdf-perl (1.58-3) unstable; urgency=low [ Salvatore Bonaccorso ] * Change Vcs-Git to canonical URI (git://anonscm.debian.org) [ Xavier Guimard ] * Remove README from docs * Update debian/copyright (format and Debian uploaders) * Update patch comments * Remove unnecessary directory in libcam-pdf-perl.dirs * Bump Standards-Version to 3.9.4 * Update description * Clean debian/rules and change scripts names inside manpages * Move asciify into examples -- Xavier Guimard Thu, 24 Jan 2013 22:28:17 +0100 libcam-pdf-perl (1.58-2) unstable; urgency=low * Team upload. * Add missing (build-)dependencies. Add missing (Build-)Depends(-Indep) on libcrypt-rc4-perl and libtext-pdf-perl. (Closes: #680797) -- Salvatore Bonaccorso Sun, 08 Jul 2012 20:02:18 +0200 libcam-pdf-perl (1.58-1) unstable; urgency=low * Initial Release (closes: Bug#679050). -- Ivan Kohler Mon, 25 Jun 2012 17:44:29 -0700 debian/libcam-pdf-perl.dirs0000644000000000000000000000003312101262665013004 0ustar usr/share/libcam-pdf-perl/ debian/source/0000755000000000000000000000000012007544760010473 5ustar debian/source/format0000644000000000000000000000001412007544760011701 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000156212101262665010253 0ustar #!/usr/bin/make -f PACKAGE = $(shell dh_listpackages) TMP = $(CURDIR)/debian/$(PACKAGE) %: dh $@ override_dh_auto_install: dh_auto_install # Remove asciify, unnecessary script written for tcsh rm -f $(TMP)/usr/bin/asciify # Change scripts.pl to script prename 's/\.pl//' $(TMP)/usr/bin/*.pl $(TMP)/usr/share/man/man1/*.pl* # Rename pdfinfo into pdfinfo.cam-pdf prename 's/pdfinfo/pdfinfo.cam-pdf/' $(TMP)/usr/bin/pdfinfo $(TMP)/usr/share/man/man1/pdfinfo* # Same change inside manpages perl -i -pe 'BEGIN{$$i=join("|",split(/\s+/,"'"$$(ls $(TMP)/usr/bin)"'"));} \ s/($$i)\.pl/$$1/g; \ s/pdfinfo/pdfinfo.cam-pdf/g' $(TMP)/usr/share/man/man1/* # mv template into /usr/share/libcam-pdf-perl/ mv $(TMP)/usr/bin/crunchjpg_tmpl.pdf $(TMP)/usr/share/libcam-pdf-perl/ override_dh_fixperms: dh_fixperms chmod a-x $(TMP)/usr/share/libcam-pdf-perl/crunchjpg_tmpl.pdf