r3523 - in /packages/libtext-pdf-perl/trunk: debian/
debian/changelog
debian/control debian/copyright debian/dirs debian/docs debian/rules
debian/watch pmake.bat scripts/pdfbklt.plx scripts/pdfrevert.plx
scripts/pdfstamp.plx
gwolf at users.alioth.debian.org
gwolf at users.alioth.debian.org
Tue Aug 29 00:45:21 UTC 2006
Author: gwolf
Date: Tue Aug 29 00:45:20 2006
New Revision: 3523
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=3523
Log:
Load libtext-pdf-perl-0.25 into packages/libtext-pdf-perl/trunk.
Added:
packages/libtext-pdf-perl/trunk/debian/
packages/libtext-pdf-perl/trunk/debian/changelog
packages/libtext-pdf-perl/trunk/debian/control
packages/libtext-pdf-perl/trunk/debian/copyright
packages/libtext-pdf-perl/trunk/debian/dirs
packages/libtext-pdf-perl/trunk/debian/docs
packages/libtext-pdf-perl/trunk/debian/rules (with props)
packages/libtext-pdf-perl/trunk/debian/watch
Modified:
packages/libtext-pdf-perl/trunk/pmake.bat (props changed)
packages/libtext-pdf-perl/trunk/scripts/pdfbklt.plx
packages/libtext-pdf-perl/trunk/scripts/pdfrevert.plx
packages/libtext-pdf-perl/trunk/scripts/pdfstamp.plx
Added: packages/libtext-pdf-perl/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libtext-pdf-perl/trunk/debian/changelog?rev=3523&op=file
==============================================================================
--- packages/libtext-pdf-perl/trunk/debian/changelog (added)
+++ packages/libtext-pdf-perl/trunk/debian/changelog Tue Aug 29 00:45:20 2006
@@ -1,0 +1,31 @@
+libtext-pdf-perl (0.25-3) unstable; urgency=low
+
+ * Changed the maintainer email address to the official Debian address
+
+ -- Gunnar Wolf <gwolf at debian.org> Thu, 19 Jun 2003 13:37:58 -0500
+
+libtext-pdf-perl (0.25-2) unstable; urgency=low
+
+ * Section change (interpreters -> perl)
+
+ -- Gunnar Wolf <gwolf at debian.org> Thu, 22 May 2003 09:28:43 -0500
+
+libtext-pdf-perl (0.25-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Gunnar Wolf <gwolf at debian.org> 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 <gwolf at gwolf.cx> 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 <gwolf at gwolf.cx> Tue, 11 Feb 2003 17:18:07 -0600
+
Added: packages/libtext-pdf-perl/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libtext-pdf-perl/trunk/debian/control?rev=3523&op=file
==============================================================================
--- packages/libtext-pdf-perl/trunk/debian/control (added)
+++ packages/libtext-pdf-perl/trunk/debian/control Tue Aug 29 00:45:20 2006
@@ -1,0 +1,13 @@
+Source: libtext-pdf-perl
+Section: perl
+Priority: optional
+Maintainer: Gunnar Wolf <gwolf at debian.org>
+Standards-Version: 3.5.8
+
+Package: libtext-pdf-perl
+Architecture: all
+Depends: perl, libcompress-zlib-perl
+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.
Added: packages/libtext-pdf-perl/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libtext-pdf-perl/trunk/debian/copyright?rev=3523&op=file
==============================================================================
--- packages/libtext-pdf-perl/trunk/debian/copyright (added)
+++ packages/libtext-pdf-perl/trunk/debian/copyright Tue Aug 29 00:45:20 2006
@@ -1,0 +1,14 @@
+This package was debianized by Gunnar Eyal Wolf Iszaevich <gwolf at gwolf.cx> 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 <Martin_Hosken at sil.org>
+
+Copyright:
+ 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'.
Added: packages/libtext-pdf-perl/trunk/debian/dirs
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libtext-pdf-perl/trunk/debian/dirs?rev=3523&op=file
==============================================================================
--- packages/libtext-pdf-perl/trunk/debian/dirs (added)
+++ packages/libtext-pdf-perl/trunk/debian/dirs Tue Aug 29 00:45:20 2006
@@ -1,0 +1,2 @@
+usr/share/perl5/Text/PDF
+usr/share/doc/libtext-pdf-perl
Added: packages/libtext-pdf-perl/trunk/debian/docs
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libtext-pdf-perl/trunk/debian/docs?rev=3523&op=file
==============================================================================
--- packages/libtext-pdf-perl/trunk/debian/docs (added)
+++ packages/libtext-pdf-perl/trunk/debian/docs Tue Aug 29 00:45:20 2006
@@ -1,0 +1,12 @@
+readme.txt
+examples/CD.CFG
+examples/call_conf.txt
+examples/graph.pl
+examples/hello.pl
+examples/pdfaddobj.pl
+examples/pdfaddpg.pl
+examples/pdfcrop.pl
+examples/pdfgetobj.pl
+examples/pdflines.pl
+examples/squares.pdf
+examples/test.pdf
Added: packages/libtext-pdf-perl/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libtext-pdf-perl/trunk/debian/rules?rev=3523&op=file
==============================================================================
--- packages/libtext-pdf-perl/trunk/debian/rules (added)
+++ packages/libtext-pdf-perl/trunk/debian/rules Tue Aug 29 00:45:20 2006
@@ -1,0 +1,84 @@
+#!/usr/bin/make -f
+# debian/rules makefile for libtext-pdf-perl
+# Heavily based on the rules file for GNU Hello
+
+package = libtext-pdf-perl
+tmpdir = debian/tmp
+debiandir = $(tmpdir)/DEBIAN
+docdir = $(tmpdir)/usr/share/doc/$(package)
+
+define checkdir
+ test -d debian -a -f debian/control -a -f debian/rules -a -f Makefile.PL -a -d lib/Text/PDF
+endef
+
+configure: configure-stamp
+configure-stamp:
+ $(checkdir)
+ perl Makefile.PL INSTALLDIRS=vendor
+ touch configure-stamp
+
+build: configure-stamp build-stamp
+build-stamp:
+ $(checkdir)
+ $(MAKE)
+
+clean: checkroot
+ $(checkdir)
+ # Does the blib directory exist? If so, we must clean it
+ # before starting to build the package... Of course, that
+ # requires a valid Makefile, so we create it if needed.
+ if [ -d blib ]; then \
+ if [ ! -f Makefile ]; then \
+ perl Makefile.PL INSTALLDIRS=vendor; \
+ fi; \
+ make realclean; \
+ fi
+ # And then, our stamps, temporary directories and files.
+ rm -fr configure-stamp build *~ debian/tmp debian/files debian/*~
+
+binary-arch: build
+ true
+# Yup, that was just a stub
+
+binary-indep: clean checkroot build
+ $(checkdir)
+ install -d $(tmpdir) $(debiandir) $(docdir)
+ $(MAKE) install PREFIX=$(CURDIR)/debian/tmp/usr
+ # Move documentation to its place, install ours and gzip what
+ # deserves being gzipped
+ cp -a readme.txt examples $(docdir)
+ cp -a debian/copyright $(docdir)
+ cp -a debian/changelog $(docdir)/changelog.Debian
+ gzip -9 $(docdir)/changelog.Debian
+ for i in `find $(tmpdir)/usr/share/man -type f`; do \
+ gzip -9 $$i; \
+ done
+ # Fix some permissions that don't comply to the standards...
+ for i in `find $(tmpdir)/usr/share/perl5/ $(tmpdir)/usr/share/man/ $(tmpdir)/usr/share/doc/libtext-pdf-perl -type f`;do\
+ chmod 644 $$i; \
+ done
+ for i in `find $(tmpdir)/usr/bin/ -type f`; do \
+ chmod 755 $$i; \
+ done
+ # Ok, everything is finally in its place... Now make the md5 checksums
+ # We make the checksums of every package in $(tmpdir)/usr - Everything
+ # outside usr/ is either a conffile or the debian control files, which
+ # don't need being md5summed
+ for i in `find $(tmpdir)/usr -type f -printf '%P '` ; do \
+ CURRDIR=`pwd`; cd $(tmpdir); \
+ md5sum usr/$$i ; cd $$CURRDIR; \
+ done > $(debiandir)/md5sums
+ # Enough moving things around - Now build the package!
+ dpkg-gencontrol -isp
+ chown -R root.root $(tmpdir)
+ chmod -R g-ws $(tmpdir)
+ dpkg --build $(tmpdir) ..
+
+# Generic targets
+binary: binary-indep binary-arch
+
+checkroot:
+ $(checkdir)
+ test $$(id -u) = 0
+
+.PHONY: binary binary-arch binary-indep clean checkroot
Propchange: packages/libtext-pdf-perl/trunk/debian/rules
------------------------------------------------------------------------------
svn:executable = *
Added: packages/libtext-pdf-perl/trunk/debian/watch
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libtext-pdf-perl/trunk/debian/watch?rev=3523&op=file
==============================================================================
--- packages/libtext-pdf-perl/trunk/debian/watch (added)
+++ packages/libtext-pdf-perl/trunk/debian/watch Tue Aug 29 00:45:20 2006
@@ -1,0 +1,6 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# Site Directory Pattern Version Script
+version=2
+http://www.cpan.org/modules/by-module/Text/Text-PDF-(.*)\.tar\.gz
Propchange: packages/libtext-pdf-perl/trunk/pmake.bat
------------------------------------------------------------------------------
--- svn:executable (original)
+++ svn:executable Tue Aug 29 00:45:20 2006
@@ -1,0 +1,1 @@
+*
Modified: packages/libtext-pdf-perl/trunk/scripts/pdfbklt.plx
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libtext-pdf-perl/trunk/scripts/pdfbklt.plx?rev=3523&op=diff
==============================================================================
--- packages/libtext-pdf-perl/trunk/scripts/pdfbklt.plx (original)
+++ packages/libtext-pdf-perl/trunk/scripts/pdfbklt.plx Tue Aug 29 00:45:20 2006
@@ -1,4 +1,35 @@
-#!perl
+#!/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;
Modified: packages/libtext-pdf-perl/trunk/scripts/pdfrevert.plx
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libtext-pdf-perl/trunk/scripts/pdfrevert.plx?rev=3523&op=diff
==============================================================================
--- packages/libtext-pdf-perl/trunk/scripts/pdfrevert.plx (original)
+++ packages/libtext-pdf-perl/trunk/scripts/pdfrevert.plx Tue Aug 29 00:45:20 2006
@@ -1,3 +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])
Modified: packages/libtext-pdf-perl/trunk/scripts/pdfstamp.plx
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libtext-pdf-perl/trunk/scripts/pdfstamp.plx?rev=3523&op=diff
==============================================================================
--- packages/libtext-pdf-perl/trunk/scripts/pdfstamp.plx (original)
+++ packages/libtext-pdf-perl/trunk/scripts/pdfstamp.plx Tue Aug 29 00:45:20 2006
@@ -1,3 +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;
More information about the Pkg-perl-cvs-commits
mailing list