debian/0000755000000000000000000000000012251727355007177 5ustar debian/patches/0000755000000000000000000000000012251726007010617 5ustar debian/patches/series0000644000000000000000000000002212207661337012033 0ustar scripts-pod.patch debian/patches/scripts-pod.patch0000644000000000000000000000477612251726007014125 0ustar Description: Add POD to scripts --- a/scripts/pdfbklt +++ b/scripts/pdfbklt @@ -1,5 +1,36 @@ #!/usr/bin/perl +=head1 NAME + +pdfbklt.plx - Turns documents into booklets + +=head1 DESCRIPTION + +Converts a PDF file into a booklet. It edits the pdffile to add the + modifications at the end. + +=head1 SYNOPSIS + + PDFBKLT [-b num/size] [-p num] [-q] [-r] [-s size] pdffile + + -b num/size Specifies which page contains the output page size details [1] + or gives the dimensions of the page in pts (x;y) or A4,ltr,lgl,A5 + -l Flag to indicate linear scaling + -p num Specifies the number of pages on the output page (1, 2, 4) [2] + If 4, can be 4s to flip on short edge + -q Quiet (no on screen messages) + -r Rotates the output (-p 2 rotates automatically, -r rotates back) + -s size Specifies the the location of the actual text on a page: + 2 half page right and left (big gutter) + 2r half page always on right + 2l half page always on left + 4 1/4 page right and left bottom (very big gutter) + 4t 1/4 page right and left top (very big gutter) + 4r/4l/4rt/4lt 1/4 page always on right or left bottom or top + location as a single string: minx,miny,maxx,maxy in pts + +=cut + use Text::PDF::File; use Text::PDF::Utils; use Getopt::Std; --- a/scripts/pdfrevert +++ b/scripts/pdfrevert @@ -1,5 +1,20 @@ #!/usr/bin/perl +=head1 NAME + +pdfrevert.plx - Removes one layer of edits from a PDF file + +=head1 DESCRIPTION + +Removes one layer of changes to a PDF file, trying to maximise the + size of the output file (to account for linearised PDF). + +=head1 SYNOPSIS + + PDFREVERT infile + +=cut + use Text::PDF::File; unless (defined $ARGV[0]) --- a/scripts/pdfstamp +++ b/scripts/pdfstamp @@ -1,5 +1,26 @@ #!/usr/bin/perl +=head1 NAME + +pdfstamp.plx - Adds the given text in a given fonts, size to all pages + at given location + +=head1 DESCRIPTION + +Adds the given string to the infile .pdf file at the given location, + font and size. + +=head1 SYNOPSIS + + pdfstamp [-f font] [-l locx,locy] [-s size] infile string + + -f font Font name from the standard fonts [Helvetica] + -l locx,locy Location in points from bottom left of page [0,0] + -s size Font size to print at [11] + -t ttfile TrueType font file to use (instead of -f) + +=cut + use Text::PDF::File; use Text::PDF::SFont; use Text::PDF::Utils; debian/compat0000644000000000000000000000000212251724135010366 0ustar 9 debian/watch0000644000000000000000000000016012207661337010223 0ustar version=3 https://metacpan.org/release/Text-PDF/ .*/Text-PDF-v?(\d[\d.\w]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip|rar) debian/changelog0000644000000000000000000000770412251727354011060 0ustar libtext-pdf-perl (0.29a-2) unstable; urgency=low * Team upload [ gregor herrmann ] * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser field (source stanza); Homepage field (source stanza). Removed: XS- Vcs-Svn fields. * debian/watch: use dist-based URL. * debian/rules: delete /usr/lib/perl5 only if it exists. * Refresh debian/rules, no functional changes. * Split changes to scripts into a patch; add quilt framework. * Remove unneeded debian/{docs,dirs}. * Fix permissions of examples. * Add debian/README.source to document quilt usage, as required by Debian Policy since 3.8.0. * debian/control: Changed: Switched Vcs-Browser field to ViewSVN (source stanza). * debian/control: Added: ${misc:Depends} to Depends: field. [ Nathan Handler ] * debian/watch: Update to ignore development releases. [ gregor herrmann ] * Change my email address. * debian/control: Changed: (build-)depend on perl instead of perl- modules. * debian/control: remove version from perl (build) dependency. * Remove alternative (build) dependencies that are already satisfied in oldstable. [ Ansgar Burchardt ] * debian/control: Convert Vcs-* fields to Git. [ gregor herrmann ] * debian/control: update {versioned,alternative} (build) dependencies. [ Salvatore Bonaccorso ] * Change Vcs-Git to canonical URI (git://anonscm.debian.org) * Change search.cpan.org based URIs to metacpan.org based URIs [ Axel Beckert ] * Switch to source format "3.0 (quilt)" + Remove quilt traces from debian/rules + Remove quilt build dependency + Remove debian/README.source * Bump debhelper compatibility to 9 + Update versioned debhelper build-dependency accordingly * Revamp debian/rules: + Fix lintian warning debian-rules-missing-recommended-target + Use dh_auto_{configure,build,test,install,clean} + Use dh_prep instead of dh_clean -k + Drop dh_clean parameters, stamp files are now cleaned automatically + Move dh_installdocs parameter to debian/docs + Remove no more needed /usr/lib/perl5 handling + Reduce amount of used variables + Finally switch to minimal dh-style debian/rules file * Fix the following lintian warnings: + quilt-patch-missing-description + copyright-without-copyright-notice * Bump Stanards-Version to 3.9.5 (no further changes) [ Gunnar Wolf ] * Removing myself as an uploader -- Axel Beckert Wed, 11 Dec 2013 01:16:37 +0100 libtext-pdf-perl (0.29a-1) unstable; urgency=low * New upstream release. * Move /usr/share/perl5/Text/PDF/changes to /usr/share/doc/libtext-pdf-perl/changelog.gz. * Remove empty directory /usr/share/lintian/overrides/. -- gregor herrmann Sat, 9 Sep 2006 21:59:25 +0200 libtext-pdf-perl (0.27a-1) unstable; urgency=low * Handing over package maintainership to the Debian pkg-perl group * New upstream release * Bumped up standards-version to 3.7.2 (No changes required) * Reworked build process to be simpler, using debhelper, instead of a highly hand-made process -- Gunnar Wolf Mon, 28 Aug 2006 19:38:00 -0500 libtext-pdf-perl (0.25-3) unstable; urgency=low * Changed the maintainer email address to the official Debian address -- Gunnar Wolf Thu, 19 Jun 2003 13:37:58 -0500 libtext-pdf-perl (0.25-2) unstable; urgency=low * Section change (interpreters -> perl) -- Gunnar Wolf Thu, 22 May 2003 09:28:43 -0500 libtext-pdf-perl (0.25-1) unstable; urgency=low * New upstream release -- Gunnar Wolf Thu, 22 May 2003 00:10:03 -0500 libtext-pdf-perl (0.23-2) unstable; urgency=low * Fixed some debian/rules bugs. -- Gunnar Eyal Wolf Iszaevich Mon, 17 Feb 2003 9:11:45 -0600 libtext-pdf-perl (0.23-1) unstable; urgency=low * Initial Release. * Closes: #179077. -- Gunnar Eyal Wolf Iszaevich Tue, 11 Feb 2003 17:18:07 -0600 debian/copyright0000644000000000000000000000117712251726756011144 0ustar This package was debianized by Gunnar Eyal Wolf Iszaevich on Tue, 11 Feb 2003 17:18:07 -0600. It was downloaded from http://www.cpan.org/modules/by-module/Text/MHOSKEN/ Upstream Author: Martin Hosken L Copyright: 1999 Martin Hosken L No warranty or expression of effectiveness for anything, least of all anyone's safety, is implied in this software or documentation. This Perl Text::PDF module is licensed under the Perl Artistic License. On Debian GNU/Linux systems, the complete text of the Artistic License can be found in '/usr/share/common-licenses/Artistic'. debian/docs0000644000000000000000000000001312251723606010037 0ustar readme.txt debian/control0000644000000000000000000000152012251726113010567 0ustar Source: libtext-pdf-perl Maintainer: Debian Perl Group Uploaders: gregor herrmann Section: perl Priority: optional Build-Depends: debhelper (>= 9~) Build-Depends-Indep: perl Standards-Version: 3.9.5 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libtext-pdf-perl.git Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libtext-pdf-perl.git Homepage: https://metacpan.org/release/Text-PDF/ Package: libtext-pdf-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends} Description: Relatively low-level interface for manipulating PDFs This module provides a strong base for working with PDF files. It may be a bit hard to use for novices, but it is powerful enough for many other important Perl modules for PDF generation to depend on it. debian/source/0000755000000000000000000000000012251721677010500 5ustar debian/source/format0000644000000000000000000000001412251721677011706 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000064612251725442010260 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 TMP = $(CURDIR)/debian/libtext-pdf-perl %: dh $@ override_dh_auto_install: dh_auto_install $(RM) $(TMP)/usr/share/perl5/Text/PDF/changes override_dh_installexamples: dh_installexamples examples/* chmod 644 $(TMP)/usr/share/doc/libtext-pdf-perl/examples/* override_dh_installchangelogs: dh_installchangelogs lib/Text/PDF/changes