r66507 - in /trunk/libpostscript-file-perl/debian: changelog control copyright libpostscript-file-perl.lintian-overrides patches/ patches/fix-pod-spelling.patch patches/series repack.local repack.stub watch

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Mon Dec 27 17:31:30 UTC 2010


Author: jawnsy-guest
Date: Mon Dec 27 17:31:12 2010
New Revision: 66507

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=66507
Log:
* Add patch to fix POD spelling errors
* Add lintian override to supress errors about reencode (it is a
  function name)
* Refresh copyright information
* Add repacking script to remove non-free fonts and corresponding
  example file

Added:
    trunk/libpostscript-file-perl/debian/libpostscript-file-perl.lintian-overrides
    trunk/libpostscript-file-perl/debian/patches/
    trunk/libpostscript-file-perl/debian/patches/fix-pod-spelling.patch
    trunk/libpostscript-file-perl/debian/patches/series
    trunk/libpostscript-file-perl/debian/repack.local
    trunk/libpostscript-file-perl/debian/repack.stub   (with props)
Modified:
    trunk/libpostscript-file-perl/debian/changelog
    trunk/libpostscript-file-perl/debian/control
    trunk/libpostscript-file-perl/debian/copyright
    trunk/libpostscript-file-perl/debian/watch

Modified: trunk/libpostscript-file-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpostscript-file-perl/debian/changelog?rev=66507&op=diff
==============================================================================
--- trunk/libpostscript-file-perl/debian/changelog (original)
+++ trunk/libpostscript-file-perl/debian/changelog Mon Dec 27 17:31:12 2010
@@ -8,6 +8,12 @@
   * Standards-Version 3.9.1 (no changes)
   * Use new 3.0 (quilt) source format
   * No longer run author RELEASE_TESTING tests
+  * Add patch to fix POD spelling errors
+  * Add lintian override to supress errors about reencode (it is a
+    function name)
+  * Refresh copyright information
+  * Add repacking script to remove non-free fonts and corresponding
+    example file
 
   [ gregor herrmann ]
   * New upstream release 2.01.
@@ -15,7 +21,7 @@
   * Add /me to Uploaders.
   * debian/control: (build) depend on perl 5.10 for Encode: 2.21.
 
- -- Jonathan Yu <jawnsy at cpan.org>  Mon, 27 Dec 2010 11:53:04 -0500
+ -- Jonathan Yu <jawnsy at cpan.org>  Mon, 27 Dec 2010 12:47:26 -0500
 
 libpostscript-file-perl (1.05-1) unstable; urgency=low
 

Modified: trunk/libpostscript-file-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpostscript-file-perl/debian/control?rev=66507&op=diff
==============================================================================
--- trunk/libpostscript-file-perl/debian/control (original)
+++ trunk/libpostscript-file-perl/debian/control Mon Dec 27 17:31:12 2010
@@ -2,7 +2,8 @@
 Section: perl
 Priority: optional
 Build-Depends: debhelper (>= 7.0.50)
-Build-Depends-Indep: perl
+Build-Depends-Indep: perl,
+ perl (>= 5.10.1) | libtest-simple-perl (>= 0.88)
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Vincent Danjean <vdanjean at debian.org>,
  Damyan Ivanov <dmn at debian.org>, Jonathan Yu <jawnsy at cpan.org>,

Modified: trunk/libpostscript-file-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpostscript-file-perl/debian/copyright?rev=66507&op=diff
==============================================================================
--- trunk/libpostscript-file-perl/debian/copyright (original)
+++ trunk/libpostscript-file-perl/debian/copyright Mon Dec 27 17:31:12 2010
@@ -1,44 +1,45 @@
-Format-Specification:
-    http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
-Upstream-Maintainer: Christopher J. Madsen <perl at cjmweb.net>
-Upstream-Source: http://search.cpan.org/dist/PostScript-File/
-Upstream-Name: PostScript-File
+Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
+Maintainer: Christopher J. Madsen <perl at cjmweb.net>
+Source: http://search.cpan.org/dist/PostScript-File/
+Name: PostScript-File
 
 Files: *
 Copyright: 2009-2010, Christopher J. Madsen <perl at cjmweb.net>
  2002-2003, Christopher P Willmot <chris at willmot.co.uk>
-License-Alias: Perl
-License: Artistic | GPL-1+
+License: Artistic or GPL-1+
 
 Files: t/fi05pstr.t, t/fi06content.t, t/Font_Test.pm
 Copyright: 2009, Christopher J. Madsen <perl at pobox.com>
-License: Artistic | GPL-1+
+License: Artistic or GPL-1+
 
 Files: examples/*
 Copyright: 2009, Christopher J. Madsen <perl at pobox.com>
 License: PD
 
 Files: debian/*
-Copyright: 2009, Jonathan Yu <jawnsy at cpan.org>
+Copyright: 2009-2010, Jonathan Yu <jawnsy at cpan.org>
+ 2010, gregor herrmann <gregoa at debian.org>
  2007, Damyan Ivanov <dmn at debian.org>
  2006, Vincent Danjean <vdanjean at debian.org>
- 2010, gregor herrmann <gregoa at debian.org>
-License: Artistic | GPL-1+
+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 GNU/Linux systems, the complete text of the Artistic License
-    can be found in `/usr/share/common-licenses/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 GNU/Linux systems, the complete text of the GNU General
-    Public License can be found in `/usr/share/common-licenses/GPL'
+ 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'.
 
-License: PD:
-    This example is hereby placed in the public domain.
-    You may copy from it freely.
+License: PD
+ This example is hereby placed in the public domain.
+ You may copy from it freely.
+

Added: trunk/libpostscript-file-perl/debian/libpostscript-file-perl.lintian-overrides
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpostscript-file-perl/debian/libpostscript-file-perl.lintian-overrides?rev=66507&op=file
==============================================================================
--- trunk/libpostscript-file-perl/debian/libpostscript-file-perl.lintian-overrides (added)
+++ trunk/libpostscript-file-perl/debian/libpostscript-file-perl.lintian-overrides Mon Dec 27 17:31:12 2010
@@ -1,0 +1,2 @@
+# this is the name of a subroutine and cannot be changed
+spelling-error-in-manpage usr/share/man/man3/PostScript::File.3pm.gz reencode re-encode

Added: trunk/libpostscript-file-perl/debian/patches/fix-pod-spelling.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpostscript-file-perl/debian/patches/fix-pod-spelling.patch?rev=66507&op=file
==============================================================================
--- trunk/libpostscript-file-perl/debian/patches/fix-pod-spelling.patch (added)
+++ trunk/libpostscript-file-perl/debian/patches/fix-pod-spelling.patch Mon Dec 27 17:31:12 2010
@@ -1,0 +1,42 @@
+Description: fix POD spelling
+Author: Jonathan Yu <jawnsy at cpan.org>
+Origin: vendor
+Forwarded: no
+--- a/lib/PostScript/File.pm
++++ b/lib/PostScript/File.pm
+@@ -2107,7 +2107,7 @@
+ 
+ Setting this to C<cp1252> or C<iso-8859-1> also causes the document to
+ be encoded in that character set.  Any strings you add to the document
+-that have the UTF8 flag set will be reencoded automatically.  Strings
++that have the UTF8 flag set will be re-encoded automatically.  Strings
+ that do not have the UTF8 flag are expected to be in the correct
+ character set already.  This means that you should be able to set this
+ to C<cp1252>, use Unicode characters in your code and the "-iso"
+@@ -2122,7 +2122,7 @@
+ L<http://en.wikipedia.org/wiki/Windows-1252>
+ 
+ For backwards compatibility with versions of PostScript::File older
+-than 1.05, setting this to C<ISOLatin1Encoding> reencodes the fonts,
++than 1.05, setting this to C<ISOLatin1Encoding> re-encodes the fonts,
+ but does not do any character set translation in the document.
+ 
+ =head2 Initialization keys
+@@ -2162,7 +2162,7 @@
+ 
+ =head3 font_suffix
+ 
+-This string is appended to each font name as it is reencoded.  (Default: "-iso")
++This string is appended to each font name as it is re-encoded.  (Default: "-iso")
+ 
+ The string value is appended to these to make the new names.
+ 
+@@ -2810,7 +2810,7 @@
+ Code added here is output before each page.  As there is no special provision for %%Page... DSC comments, they
+ should be included here.
+ 
+-Note that any settings defined here will be active for each page seperately.  Use B<add_setup> if you want to
++Note that any settings defined here will be active for each page separately.  Use B<add_setup> if you want to
+ carry settings from one page to another.
+ 
+ =head2 get_page( [page] )

Added: trunk/libpostscript-file-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpostscript-file-perl/debian/patches/series?rev=66507&op=file
==============================================================================
--- trunk/libpostscript-file-perl/debian/patches/series (added)
+++ trunk/libpostscript-file-perl/debian/patches/series Mon Dec 27 17:31:12 2010
@@ -1,0 +1,1 @@
+fix-pod-spelling.patch

Added: trunk/libpostscript-file-perl/debian/repack.local
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpostscript-file-perl/debian/repack.local?rev=66507&op=file
==============================================================================
--- trunk/libpostscript-file-perl/debian/repack.local (added)
+++ trunk/libpostscript-file-perl/debian/repack.local Mon Dec 27 17:31:12 2010
@@ -1,0 +1,4 @@
+MANIFEST=1
+rm examples/UASquared.*
+rm examples/embed_font.pl
+

Added: trunk/libpostscript-file-perl/debian/repack.stub
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpostscript-file-perl/debian/repack.stub?rev=66507&op=file
==============================================================================
--- trunk/libpostscript-file-perl/debian/repack.stub (added)
+++ trunk/libpostscript-file-perl/debian/repack.stub Mon Dec 27 17:31:12 2010
@@ -1,0 +1,82 @@
+#!/bin/sh
+
+: <<=cut
+=pod
+
+=head1 NAME
+
+repack.stub - script to repack upstream tarballs from uscan
+
+=head1 INSTRUCTIONS
+
+put this in debian/repack.stub and add "debian sh debian/repack.stub" to
+the end of the line in debian/watch. you will also need to add a version
+mangle to debian/watch.
+
+then create a debian/repack.local. this is a shell script that is
+sources under "set -e", so be careful to check returns codes.
+
+=head1 FUNCTIONS
+
+=over 4
+
+=item rm
+
+rm is replaced by a function that does some magic ("rm -rv" by default), but also changes MANIFEST if $MANIFEST is 1
+
+=item mv
+
+mv is replaced by a function that just does mv (by default), but also changes MANIFEST if $MANIFEST is 1
+
+=item requires_version
+
+requires_version is there for future usage for requiring certain versions of the script
+
+=back
+
+=head1 VARIABLES
+
+=over 4
+
+=item SUFFIX
+
+defaults to +dfsg
+
+what to append to the upstream version
+
+=item RM_OPTS
+
+defaults to -vrf
+
+options to pass to rm
+
+=item MANIFEST
+
+defaults to 0, set to 1 to turn on.
+
+this will manipulate MANIFEST files in CPAN tarballs.
+
+=item UP_BASE
+
+this is the directory where the upstream source is.
+
+=back
+
+=cut
+
+if [ -z "$REPACK_SH" ]; then
+    if [ -f ../../scripts/repack.sh ]; then
+        REPACK_SH=../../scripts/repack.sh
+    fi
+    if [ -z "$REPACK_SH" ] && which repack.sh > /dev/null; then
+        REPACK_SH=$(which repack.sh)
+    fi
+fi
+
+if [ ! -f "$REPACK_SH" ]; then
+    echo "Couldn't find a repack.sh. please put it in your PATH, put it at ../../scripts/repack.sh, or put it somewhere else and set the REPACK_SH variable"
+    echo "You can get it from http://svn.debian.org/viewsvn/pkg-perl/scripts/repack.sh"
+    exit 1
+fi
+
+exec "$REPACK_SH" "$@"

Propchange: trunk/libpostscript-file-perl/debian/repack.stub
------------------------------------------------------------------------------
    svn:executable = *

Modified: trunk/libpostscript-file-perl/debian/watch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpostscript-file-perl/debian/watch?rev=66507&op=diff
==============================================================================
--- trunk/libpostscript-file-perl/debian/watch (original)
+++ trunk/libpostscript-file-perl/debian/watch Mon Dec 27 17:31:12 2010
@@ -1,2 +1,6 @@
 version=3
-http://search.cpan.org/dist/PostScript-File/   .*/PostScript-File-v?(\d[\d.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)
+opts="dversionmangle=s/\+dfsg//" \
+	http://search.cpan.org/dist/PostScript-File/ \
+	.*/PostScript-File-v?(\d[\d.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip) \
+        debian sh debian/repack.stub
+




More information about the Pkg-perl-cvs-commits mailing list