[libterm-extendedcolor-perl] 04/04: add POD related patches

gregor herrmann gregoa at debian.org
Fri Aug 1 13:22:00 UTC 2014


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libterm-extendedcolor-perl.

commit cf32a6f3b92b6050e9235a079de4f740f7d3ba0c
Author: gregor herrmann <gregoa at debian.org>
Date:   Fri Aug 1 15:21:40 2014 +0200

    add POD related patches
---
 debian/patches/create-manpages.patch | 16 ++++++++++++++++
 debian/patches/pod-encoding.patch    | 22 ++++++++++++++++++++++
 debian/patches/series                |  2 ++
 3 files changed, 40 insertions(+)

diff --git a/debian/patches/create-manpages.patch b/debian/patches/create-manpages.patch
new file mode 100644
index 0000000..5e5871e
--- /dev/null
+++ b/debian/patches/create-manpages.patch
@@ -0,0 +1,16 @@
+Description: If we install the scripts to /usr/bin, we also need their manpages.
+Origin: vendor
+Forwarded: not-needed
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2014-08-01
+
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -22,7 +22,6 @@
+     q{bin/uncolor},
+   ],
+   PREREQ_PM        => { },
+-  MAN1PODS         => { },
+   dist             => { COMPRESS => q{gzip -9f},    SUFFIX => q{gz}, },
+   clean            => { FILES    => q{Term-ExtendedColor-*},                  },
+ );
diff --git a/debian/patches/pod-encoding.patch b/debian/patches/pod-encoding.patch
new file mode 100644
index 0000000..781a4c1
--- /dev/null
+++ b/debian/patches/pod-encoding.patch
@@ -0,0 +1,22 @@
+Description: Replace UTF-8 apostrophe with ASCII one.
+ Otherwise we get a POD ERROR:
+ Non-ASCII character seen before =encoding in 'didnXt'. Assuming UTF-8
+ .
+ Alternatively an =encoding directive could be used.
+Origin: vendor
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2014-08-01
+Forwarded: https://github.com/trapd00r/Term-ExtendedColor/issues/2
+Bug: https://github.com/trapd00r/Term-ExtendedColor/issues/2
+
+--- a/lib/Term/ExtendedColor.pm
++++ b/lib/Term/ExtendedColor.pm
+@@ -766,7 +766,7 @@
+ There's no way to give these extended colors meaningful names.
+ 
+ Our first thought was to map them against some standard color names, like those
+-in the HTML 4.0 specification or the SVG one. They didn’t match.
++in the HTML 4.0 specification or the SVG one. They didn't match.
+ 
+ Therefore, they are named by their base color (red, green, magenta) plus index;
+ The first index (always 1) is the brightest shade of that particular color,
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..8824e5f
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+create-manpages.patch
+pod-encoding.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libterm-extendedcolor-perl.git



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