[SCM] Debian packaging of XML-TMX CPAN distribution branch, master, updated. 39a14204b7041edc35811b0d3e0f3735c3f2a8a7

Nuno Carvalho smash at cpan.org
Fri May 4 00:52:15 UTC 2012


The following commit has been merged in the master branch:
commit 39a14204b7041edc35811b0d3e0f3735c3f2a8a7
Author: Nuno Carvalho <smash at cpan.org>
Date:   Fri May 4 01:50:36 2012 +0100

    add patch to fix typos

diff --git a/debian/changelog b/debian/changelog
index 0512fda..6d770d8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,9 @@
 libxml-tmx-perl (0.20-1) UNRELEASED; urgency=low
 
   TODO:
-  - lintian finds two spelling errors and three missing manpages
+  - lintian finds three missing manpages
 
+  * Add patch to fix typos, also applied upstream.
   * Initial Release. (Closes: #670261)
 
  -- Nuno Carvalho <smash at cpan.org>  Tue, 24 Apr 2012 15:08:42 +0100
diff --git a/debian/patches/fix_typos.patch b/debian/patches/fix_typos.patch
new file mode 100644
index 0000000..72ded31
--- /dev/null
+++ b/debian/patches/fix_typos.patch
@@ -0,0 +1,34 @@
+Description: fix typos
+Author: Nuno Carvalho <smash at cpan.org>
+Applied-Upstream: 0.21
+--- a/scripts/tmxgrep
++++ b/scripts/tmxgrep
+@@ -49,7 +49,7 @@
+ 
+  tmxgrep <perlregexp> file.tmx
+  options:
+-   -pdf      -- ouput is transformed in a PDF file 
++   -pdf      -- output is transformed in a PDF file 
+    -max=300  -- extract up to 300 TU (def=200)
+    -max=0    -- all matches
+ 
+--- a/scripts/tmxsplit
++++ b/scripts/tmxsplit
+@@ -59,7 +59,7 @@
+     print STDERR "." if ($i % 1000==0);
+     s/\>\s+/>/;
+     undef($data);
+-    eval {dtstring($_, %h)} ; ## dont die in invalid XML
++    eval {dtstring($_, %h)} ; ## don't die in invalid XML
+     if($@){warn($@)}
+     else{
+       for my $k (keys %$data) {
+@@ -123,7 +123,7 @@
+  -latin1  -- a make latin1-encoded output
+  -utf8    -- a make   utf8-encoded output
+ 
+- -q       -- dont print filenames and "."
++ -q       -- don't print filenames and "."
+ 
+  -cutmaxlen=n -- cut translations by the n character
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..48dc2d5
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix_typos.patch

-- 
Debian packaging of XML-TMX CPAN distribution



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