[libpod-simple-perl] 06/07: New spelling.patch, fixing typos in POD

Florian Schlichting fsfs at alioth.debian.org
Thu Aug 8 17:18:34 UTC 2013


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

fsfs pushed a commit to branch master
in repository libpod-simple-perl.

commit 7638a83acdf720f6b93616381563299f85eb962d
Author: Florian Schlichting <fsfs at debian.org>
Date:   Thu Aug 8 19:14:29 2013 +0200

    New spelling.patch, fixing typos in POD
---
 debian/patches/series         |    1 +
 debian/patches/spelling.patch |  154 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 155 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..5299247
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+spelling.patch
diff --git a/debian/patches/spelling.patch b/debian/patches/spelling.patch
new file mode 100644
index 0000000..cf2efa2
--- /dev/null
+++ b/debian/patches/spelling.patch
@@ -0,0 +1,154 @@
+Description: fix spelling errors in POD
+ pick a bunch of commits from upstream git to fix many spelling errors, 
+ two of which were also found by lintian
+Origin: https://github.com/theory/pod-simple/commit/917a263fddc4e92a807d6024a5cfaca9d93719d0
+Applied-Upstream: in v3.29
+
+--- a/lib/Pod/Simple/Debug.pm
++++ b/lib/Pod/Simple/Debug.pm
+@@ -1,4 +1,3 @@
+-
+ require 5;
+ package Pod::Simple::Debug;
+ use strict;
+@@ -97,7 +96,7 @@
+ any Pod::Simple-based class).  If you try loading Pod::Simple::Debug
+ after &Pod::Simple::DEBUG is already defined, Pod::Simple::Debug will
+ throw a fatal error to the effect that
+-"it's s too late to call Pod::Simple::Debug".
++"It's too late to call Pod::Simple::Debug".
+ 
+ Note that the C<use Pod::Simple::Debug (\$x, I<somenum>)> mode will make
+ Pod::Simple (et al) run rather slower, since &Pod::Simple::DEBUG won't
+--- a/lib/Pod/Simple/HTML.pm
++++ b/lib/Pod/Simple/HTML.pm
+@@ -1,4 +1,3 @@
+-
+ require 5;
+ package Pod::Simple::HTML;
+ use strict;
+@@ -969,7 +968,7 @@
+ 
+   $Pod::Simple::HTML::Content_decl =  q{<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" >};
+ 
+-Set the value that will be ebedded in the opening tags of F, C tags and verbatim text.
++Set the value that will be embedded in the opening tags of F, C tags and verbatim text.
+ F maps to <em>, C maps to <code>, Verbatim text maps to <pre> (Computerese defaults to "")
+ 
+   $Pod::Simple::HTML::Computerese =  ' class="some_class_name';
+--- a/lib/Pod/Simple/PullParser.pm
++++ b/lib/Pod/Simple/PullParser.pm
+@@ -1,4 +1,3 @@
+-
+ require 5;
+ package Pod::Simple::PullParser;
+ $VERSION = '3.28';
+@@ -688,7 +687,7 @@
+ This works like get_title except that it returns the contents of the
+ "=head1 AUTHOR\n\nParagraph...\n" section, assuming that that section
+ isn't terribly long. To recognize a "=head1 Author\n\nParagraph\n"
+-section, pass the C<nocase> otpion:
++section, pass the C<nocase> option:
+ 
+   $parser->get_author(nocase => 1);
+ 
+@@ -699,7 +698,7 @@
+ This works like get_title except that it returns the contents of the
+ "=head1 DESCRIPTION\n\nParagraph...\n" section, assuming that that section
+ isn't terribly long. To recognize a "=head1 Description\n\nParagraph\n"
+-section, pass the C<nocase> otpion:
++section, pass the C<nocase> option:
+ 
+   $parser->get_description(nocase => 1);
+ 
+@@ -708,7 +707,7 @@
+ This works like get_title except that it returns the contents of
+ the "=head1 VERSION\n\n[BIG BLOCK]\n" block.  Note that this does NOT
+ return the module's C<$VERSION>!! To recognize a
+-"=head1 Version\n\n[BIG BLOCK]\n" section, pass the C<nocase> otpion:
++"=head1 Version\n\n[BIG BLOCK]\n" section, pass the C<nocase> option:
+ 
+   $parser->get_version(nocase => 1);
+ 
+--- a/lib/Pod/Simple/Search.pm
++++ b/lib/Pod/Simple/Search.pm
+@@ -1,4 +1,3 @@
+-
+ require 5.005;
+ package Pod::Simple::Search;
+ use strict;
+@@ -834,7 +833,7 @@
+ 
+ Setting this attribute to a string value means that the searches should
+ begin in the specified subdirectory name (like "Pod" or "File::Find",
+-also expressable as "File/Find"). For example, the search option
++also expressible as "File/Find"). For example, the search option
+ C<< $search->limit_glob("File::Find::R*") >>
+ is the same as the combination of the search options
+ C<< $search->limit_re("^File::Find::R") -> dir_prefix("File::Find") >>.
+@@ -942,8 +941,7 @@
+ The options to this argument is a list of either directories that are
+ searched recursively, or files.  (Usually you wouldn't specify files,
+ but just dirs.)  Or you can just specify an empty-list, as in
+-$name2path; with the
+-C<inc> option on, as it is by default, teh
++$name2path; with the C<inc> option on, as it is by default.
+ 
+ The POD names of files are the plain basenames with any Perl-like
+ extension (.pm, .pl, .pod) stripped, and path separators replaced by
+--- a/lib/Pod/Simple/SimpleTree.pm
++++ b/lib/Pod/Simple/SimpleTree.pm
+@@ -1,5 +1,4 @@
+ 
+-
+ require 5;
+ package Pod::Simple::SimpleTree;
+ use strict;
+@@ -121,7 +120,7 @@
+ See the example tree dump in the Synopsis, above.
+ 
+ Every text node in the tree is represented by a simple (non-ref)
+-string scalar.  So you can test C<ref($node)> to see whather you have
++string scalar.  So you can test C<ref($node)> to see whether you have
+ an element node or just a text node.
+ 
+ The top node in the tree is C<[ 'Document', \%attributes,
+--- a/lib/Pod/Simple/Subclassing.pod
++++ b/lib/Pod/Simple/Subclassing.pod
+@@ -1,4 +1,3 @@
+-
+ =head1 NAME
+ 
+ Pod::Simple::Subclassing -- write a formatter as a Pod::Simple subclass
+@@ -545,7 +544,7 @@
+ Note that the values for the I<number> attributes of "item-number"
+ elements in a given "over-number" area I<will> start at 1 and go up by
+ one each time.  If the Pod source doesn't follow that order (even though
+-it really should should!), whatever numbers it has will be ignored (with
++it really should!), whatever numbers it has will be ignored (with
+ the correct values being put in the I<number> attributes), and an error
+ message might be issued to the user.
+ 
+--- a/lib/Pod/Simple/XHTML.pm
++++ b/lib/Pod/Simple/XHTML.pm
+@@ -132,7 +132,7 @@
+ 
+ =head2 html_charset
+ 
+-The charater set to declare in the Content-Type meta tag created by default
++The character set to declare in the Content-Type meta tag created by default
+ for C<html_header_tags>. Note that this option will be ignored if the value of
+ C<html_header_tags> is changed. Defaults to "ISO-8859-1".
+ 
+@@ -313,9 +313,9 @@
+ 
+ The callback methods C<start_code> and C<end_code> emits the C<code> tags
+ before and after C<handle_code> is invoked, so you might want to override these
+-together with C<handle_code> if this wrapping isn't suiteable.
++together with C<handle_code> if this wrapping isn't suitable.
+ 
+-Note that the code might be broken into mulitple segments if there are
++Note that the code might be broken into multiple segments if there are
+ nested formatting codes inside a C<< CE<lt>...> >> sequence.  In between the
+ calls to C<handle_code> other markup tags might have been emitted in that
+ case.  The same is true for verbatim sections if the C<codes_in_verbatim>

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



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