--- libpostscript-perl-0.06.orig/debian/control +++ libpostscript-perl-0.06/debian/control @@ -0,0 +1,24 @@ +Source: libpostscript-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 7.0.50), quilt (>= 0.46-7) +Build-Depends-Indep: perl (>= 5.8.8-11.1) +Maintainer: Debian Perl Group +Uploaders: David Paleino , + gregor herrmann +Standards-Version: 3.8.2 +Homepage: http://search.cpan.org/dist/PostScript/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libpostscript-document-perl/ +Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libpostscript-document-perl/ + +Package: libpostscript-perl +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends} +Recommends: ghostscript +Description: Perl module to generate PostScript code + The PostScript module lets you generate PostScript files within a Perl + script. + . + With PostScript::Element you can represent circles, boxes, lines and images + such that they can be easily output as PostScript code. + With PostScript::TextBlock you can write text blocks into your output file. --- libpostscript-perl-0.06.orig/debian/libpostscript-perl.examples +++ libpostscript-perl-0.06/debian/libpostscript-perl.examples @@ -0,0 +1,2 @@ +example.pl +example.txt --- libpostscript-perl-0.06.orig/debian/copyright +++ libpostscript-perl-0.06/debian/copyright @@ -0,0 +1,36 @@ +Format-Specification: + http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196 +Upstream-Maintainer: Shawn Wallace +Upstream-Source: http://search.cpan.org/dist/PostScript/ +Upstream-Name: PostScript + +Files: * +Copyright: Copyright 1998, 1999 Shawn Wallace. All rights reserved. +License-Alias: Perl +License: Artistic | GPL-1+ +X-Comment: + Document.pm and TextBlock.pm are missing any copyright statement: I've contacted + the upstream author and he confirmed that these files are released under the + same terms of the rest of the module (i.e. Perl-like GPL-1+ and Artistic). + For further reference: + + +Files: debian/* +Copyright: 2008, 2009, gregor herrmann + 2008, Roberto C. Sanchez + 2007-2008, David Paleino +License: Artistic | 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 GNU/Linux 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 GNU/Linux systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL' --- libpostscript-perl-0.06.orig/debian/watch +++ libpostscript-perl-0.06/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://search.cpan.org/dist/PostScript/ .*/PostScript-v?(\d[\d.]*)\.tar\.gz --- libpostscript-perl-0.06.orig/debian/compat +++ libpostscript-perl-0.06/debian/compat @@ -0,0 +1 @@ +7 --- libpostscript-perl-0.06.orig/debian/README.source +++ libpostscript-perl-0.06/debian/README.source @@ -0,0 +1,6 @@ +This package uses quilt to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. + +See /usr/share/doc/quilt/README.source for a detailed explanation. + --- libpostscript-perl-0.06.orig/debian/changelog +++ libpostscript-perl-0.06/debian/changelog @@ -0,0 +1,26 @@ +libpostscript-perl (0.06-2) unstable; urgency=low + + [ Nathan Handler ] + * debian/watch: Update to ignore development releases. + + [ gregor herrmann ] + * Recommend ghostcript instead of obsolete gs-gpl (closes: #539668). + * Set Standards-Version to 3.8.2; add debian/README.source to document + quilt usage. + * debian/control: Changed: Switched Vcs-Browser field to ViewSVN + (source stanza). + * Switch to debhelper 7, adjust debian/{rules,compat,control}. + * Add /me to Uploaders. + * Add headers to fix-interpreter.patch. + * Minor changes to short and long description. + * debian/copyright: switch to new format. + * New patch fix-pod.patch: fix errors from pod2man. + + -- gregor herrmann Sun, 09 Aug 2009 19:00:04 +0200 + +libpostscript-perl (0.06-1) unstable; urgency=low + + [ David Paleino ] + * Initial Release (Closes: #460622) + + -- Roberto C. Sanchez Mon, 21 Jan 2008 14:25:54 -0500 --- libpostscript-perl-0.06.orig/debian/rules +++ libpostscript-perl-0.06/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f +%: + dh --with quilt $@ + +override_dh_auto_install: + dh_auto_install + $(RM) -v $(CURDIR)/debian/libpostscript-perl/usr/share/perl5/PostScript/example.pl + --- libpostscript-perl-0.06.orig/debian/patches/fix-pod.patch +++ libpostscript-perl-0.06/debian/patches/fix-pod.patch @@ -0,0 +1,41 @@ +Author: gregor herrmann +Description: fix pod2man errors + +--- a/TextBlock.pm ++++ b/TextBlock.pm +@@ -387,16 +387,12 @@ + use PostScript::Metrics; + @okfonts = PostScript::Metrics->listFonts(); + +-=over 10 +- + NOTE: The font must be available to the PostScript interpreter that is used + to render the page described by the program. If the interpreter cannot load + the font, it will ususally attempt to substitute a similar font. If a font is + substituted with a font with different metrics, lines of text may overrun the + right margin of the text block. You have been warned. + +-=over 3 +- + It is very easy to create stylesheets for a document: + + # Define the styles +@@ -412,6 +408,9 @@ + $tb->addText(text => "It was a dark and stormy night and Spokane Sam\'s + Spongepants were thirsty...", %body); + ++=back ++ ++=over 3 + + =item numElements() + +@@ -506,6 +505,8 @@ + However, if you use the PostScript::Document module to construct generic + multi-page PostScript documents, you don't have to worry about this. + ++=back ++ + =head1 A NOTE ABOUT FONT METRICS + + The write() method uses the module PostScript::Metrics to determine the width of --- libpostscript-perl-0.06.orig/debian/patches/series +++ libpostscript-perl-0.06/debian/patches/series @@ -0,0 +1,2 @@ +fix-interpreter.patch +fix-pod.patch --- libpostscript-perl-0.06.orig/debian/patches/fix-interpreter.patch +++ libpostscript-perl-0.06/debian/patches/fix-interpreter.patch @@ -0,0 +1,11 @@ +Author: David Paleino +Description: fix interpreter + +--- a/example.pl ++++ b/example.pl +@@ -1,4 +1,4 @@ +-#!/usr/local/bin/perl -w ++#!/usr/bin/perl -w + + use strict; + use PostScript::TextBlock;