[libgraph-easy-perl] 02/03: Fix spelling errors in manpages

Salvatore Bonaccorso carnil at debian.org
Sun Jun 5 19:20:23 UTC 2016


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

carnil pushed a commit to branch master
in repository libgraph-easy-perl.

commit 5d94198973df4a76e0ff33696ab10bcebc4a280b
Author: Salvatore Bonaccorso <carnil at debian.org>
Date:   Sun Jun 5 21:12:05 2016 +0200

    Fix spelling errors in manpages
---
 debian/patches/fix-spelling-error-in-manpage.patch | 199 +++++++++++++++++++++
 debian/patches/series                              |   1 +
 2 files changed, 200 insertions(+)

diff --git a/debian/patches/fix-spelling-error-in-manpage.patch b/debian/patches/fix-spelling-error-in-manpage.patch
new file mode 100644
index 0000000..ff7151a
--- /dev/null
+++ b/debian/patches/fix-spelling-error-in-manpage.patch
@@ -0,0 +1,199 @@
+Description: Fix spelling errors in manpage
+Origin: vendor
+Bug: https://rt.cpan.org/Ticket/Display.html?id=115105
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=115105
+Author: Salvatore Bonaccorso <carnil at debian.org>
+Last-Update: 2016-06-05
+
+--- a/lib/Graph/Easy.pm
++++ b/lib/Graph/Easy.pm
+@@ -2474,7 +2474,7 @@ Graph::Easy - Convert or render graphs (
+ C<Graph::Easy> lets you generate graphs consisting of various shaped
+ nodes connected by edges (with optional labels).
+ 
+-It can read and write graphs in a varity of formats, as well as render
++It can read and write graphs in a variety of formats, as well as render
+ them via its own grid-based layouter.
+ 
+ Since the layouter works on a grid (manhattan layout), the output is
+@@ -2742,7 +2742,7 @@ C<Graph::Easy> supports the following me
+         
+ Creates a new, empty C<Graph::Easy> object.
+ 
+-Takes optinal a hash reference with a list of options. The following are
++Takes optional a hash reference with a list of options. The following are
+ valid options:
+ 
+ 	debug			if true, enables debug output
+--- a/lib/Graph/Easy/Base.pm
++++ b/lib/Graph/Easy/Base.pm
+@@ -179,7 +179,7 @@ sub catch_errors
+ 
+ sub warnings
+   {
+-  # return all warnings that occured after catch_messages(1)
++  # return all warnings that occurred after catch_messages(1)
+   my $self = shift;
+ 
+   @{$self->{_warnings}};
+@@ -187,7 +187,7 @@ sub warnings
+ 
+ sub errors
+   {
+-  # return all errors that occured after catch_messages(1)
++  # return all errors that occurred after catch_messages(1)
+   my $self = shift;
+ 
+   @{$self->{_errors}};
+@@ -338,7 +338,7 @@ Create a new object, and call C<_init()>
+ 
+ 	$last_error = $object->error();
+ 
+-	$object->error($error);			# set new messags
++	$object->error($error);			# set new messages
+ 	$object->error('');			# clear the error
+ 
+ Returns the last error message, or '' for no error.
+@@ -430,14 +430,14 @@ L<errors()> and L<warnings()>.
+ 
+ 	my @errors = $object->errors();
+ 
+-Return all error messages that occured after L<catch_messages()> was
++Return all error messages that occurred after L<catch_messages()> was
+ called.
+ 
+ =head2 warnings()
+ 
+ 	my @warnings = $object->warnings();
+ 
+-Return all warning messages that occured after L<catch_messages()>
++Return all warning messages that occurred after L<catch_messages()>
+ or L<catch_errors()> was called.
+ 
+ =head2 self()
+--- a/lib/Graph/Easy/Edge.pm
++++ b/lib/Graph/Easy/Edge.pm
+@@ -549,7 +549,7 @@ During the layout phase, each edge also
+ 
+ 	$last_error = $edge->error();
+ 
+-	$cvt->error($error);			# set new messags
++	$cvt->error($error);			# set new messages
+ 	$cvt->error('');			# clear error
+ 
+ Returns the last error message, or '' for no error.
+--- a/lib/Graph/Easy/Edge/Cell.pm
++++ b/lib/Graph/Easy/Edge/Cell.pm
+@@ -1360,7 +1360,7 @@ There should be no need to use this pack
+ 
+ 	$last_error = $edge->error();
+ 
+-	$cvt->error($error);			# set new messags
++	$cvt->error($error);			# set new messages
+ 	$cvt->error('');			# clear error
+ 
+ Returns the last error message, or '' for no error.
+--- a/lib/Graph/Easy/Group.pm
++++ b/lib/Graph/Easy/Group.pm
+@@ -581,7 +581,7 @@ L<Graph::Easy::Node> for a list.
+ 
+ 	$last_error = $group->error();
+ 
+-	$group->error($error);			# set new messags
++	$group->error($error);			# set new messages
+ 	$group->error('');			# clear error
+ 
+ Returns the last error message, or '' for no error.
+--- a/lib/Graph/Easy/Group/Cell.pm
++++ b/lib/Graph/Easy/Group/Cell.pm
+@@ -351,7 +351,7 @@ There should be no need to use this pack
+ 
+ 	$last_error = $group->error();
+ 
+-	$group->error($error);			# set new messags
++	$group->error($error);			# set new messages
+ 	$group->error('');			# clear error
+ 
+ Returns the last error message, or '' for no error.
+--- a/lib/Graph/Easy/Layout/Chain.pm
++++ b/lib/Graph/Easy/Layout/Chain.pm
+@@ -542,7 +542,7 @@ nodes from C<$where> onwards, instead of
+ 
+ 	$last_error = $node->error();
+ 
+-	$node->error($error);			# set new messags
++	$node->error($error);			# set new messages
+ 	$node->error('');			# clear error
+ 
+ Returns the last error message, or '' for no error.
+--- a/lib/Graph/Easy/Node/Cell.pm
++++ b/lib/Graph/Easy/Node/Cell.pm
+@@ -116,7 +116,7 @@ You should not need to use this class di
+ 
+ 	$last_error = $cell->error();
+ 
+-	$cvt->error($error);			# set new messags
++	$cvt->error($error);			# set new messages
+ 	$cvt->error('');			# clear error
+ 
+ Returns the last error message, or '' for no error.
+--- a/lib/Graph/Easy/Parser.pm
++++ b/lib/Graph/Easy/Parser.pm
+@@ -1581,7 +1581,7 @@ Please see L<Graph::Easy::Manual> for a
+ 
+ =head2 Output
+ 
+-The output will be a L<Graph::Easy|Graph::Easy> object (unless overrriden
++The output will be a L<Graph::Easy|Graph::Easy> object (unless overridden
+ with C<use_class()>), see the documentation for Graph::Easy what you can do
+ with it.
+ 
+@@ -1715,7 +1715,7 @@ with L<error()> when using the first cal
+ 
+ 	my $error = $parser->error();
+ 
+-Returns the last error, or the empty string if no error occured.
++Returns the last error, or the empty string if no error occurred.
+ 
+ If you want to catch warnings from the parser, enable catching
+ of warnings or errors:
+--- a/lib/Graph/Easy/Parser/Graphviz.pm
++++ b/lib/Graph/Easy/Parser/Graphviz.pm
+@@ -2081,7 +2081,7 @@ rules of the DOT language.
+ 
+ =head2 Output
+ 
+-The output will be a L<Graph::Easy|Graph::Easy> object (unless overrriden
++The output will be a L<Graph::Easy|Graph::Easy> object (unless overridden
+ with C<use_class()>), see the documentation for Graph::Easy what you can do
+ with it.
+ 
+@@ -2159,7 +2159,7 @@ with L<error()> when using the first cal
+ 
+ 	my $error = $parser->error();
+ 
+-Returns the last error, or the empty string if no error occured.
++Returns the last error, or the empty string if no error occurred.
+ 
+ =head2 parse_error()
+ 
+--- a/lib/Graph/Easy/Parser/VCG.pm
++++ b/lib/Graph/Easy/Parser/VCG.pm
+@@ -1042,7 +1042,7 @@ in various formats.
+ 
+ =head2 Output
+ 
+-The output will be a L<Graph::Easy|Graph::Easy> object (unless overrriden
++The output will be a L<Graph::Easy|Graph::Easy> object (unless overridden
+ with C<use_class()>), see the documentation for Graph::Easy what you can do
+ with it.
+ 
+@@ -1120,7 +1120,7 @@ with L<error()> when using the first cal
+ 
+ 	my $error = $parser->error();
+ 
+-Returns the last error, or the empty string if no error occured.
++Returns the last error, or the empty string if no error occurred.
+ 
+ =head2 parse_error()
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 6ab4d5c..03687c0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 fix-Unescaped-left-brace-in-regex-is-deprecated.patch
+fix-spelling-error-in-manpage.patch

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



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