[libmidi-perl] 20/21: Add a patch to fix spelling mistakes in the POD.

gregor herrmann gregoa at debian.org
Fri May 6 14:06:55 UTC 2016


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

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

commit 152aeafef9568f2ef61f13e5014df894ce6cb6b4
Author: gregor herrmann <gregoa at debian.org>
Date:   Fri May 6 16:05:20 2016 +0200

    Add a patch to fix spelling mistakes in the POD.
---
 debian/patches/series         |  1 +
 debian/patches/spelling.patch | 78 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 79 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..7faa9a1
--- /dev/null
+++ b/debian/patches/spelling.patch
@@ -0,0 +1,78 @@
+Description: fix spelling mistakes in the documentation
+Origin: vendor
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2016-05-06
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=114208
+Bug: https://rt.cpan.org/Ticket/Display.html?id=114208
+
+--- a/lib/MIDI.pm
++++ b/lib/MIDI.pm
+@@ -135,7 +135,7 @@
+ 
+ =item C<%MIDI::note2number> and C<%MIDI::number2note>
+ 
+-C<%MIDI::number2note> correponds MIDI note numbers to a more
++C<%MIDI::number2note> corresponds MIDI note numbers to a more
+ comprehensible representation (e.g., 68 to 'Gs4', for G-sharp, octave
+ 4); C<%MIDI::note2number> is the reverse.  Have a look at the source
+ to see the contents of the hash.
+@@ -168,7 +168,7 @@
+ 
+ =item C<%MIDI::patch2number> and C<%MIDI::number2patch>
+ 
+-C<%MIDI::number2patch> correponds General MIDI patch numbers
++C<%MIDI::number2patch> corresponds General MIDI patch numbers
+ (0 to 127) to English names (e.g., 79 to 'Ocarina');
+ C<%MIDI::patch2number> is the reverse.  Have a look at the source
+ to see the contents of the hash.
+@@ -243,7 +243,7 @@
+ 
+ =item C<%MIDI::notenum2percussion> and C<%MIDI::percussion2notenum>
+ 
+-C<%MIDI::notenum2percussion> correponds General MIDI Percussion Keys
++C<%MIDI::notenum2percussion> corresponds General MIDI Percussion Keys
+ to English names (e.g., 56 to 'Cowbell') -- but note that only numbers
+ 35 to 81 (inclusive) are defined; C<%MIDI::percussion2notenum> is the
+ reverse.  Have a look at the source to see the contents of the hash.
+--- a/lib/MIDI/Opus.pm
++++ b/lib/MIDI/Opus.pm
+@@ -67,7 +67,7 @@
+ MIDI::Events, such as 'include' => ['sysex_f0', 'sysex_f7'], just for
+ example.
+ 
+-Finally, the option C<no_parse> can be used in conjuction with either
++Finally, the option C<no_parse> can be used in conjunction with either
+ C<from_file> or C<from_handle>, and, if true, will block MTrk tracks'
+ data from being parsed into MIDI events, and will leave them as track
+ data (i.e., what you get from $track->data).  This is useful if you
+--- a/lib/MIDI/Score.pm
++++ b/lib/MIDI/Score.pm
+@@ -468,7 +468,7 @@
+ 
+ When durations of note events are quantized, they can get 0 duration.
+ These events are I<not dropped> from the returned score, and it is the
+-responsiblity of the caller to deal with them.
++responsibility of the caller to deal with them.
+ 
+ =cut
+ 
+--- a/lib/MIDI/Simple.pm
++++ b/lib/MIDI/Simple.pm
+@@ -496,7 +496,7 @@
+  B                                 (maps to the value 11)
+ 
+ (Note that these are based on the English names for these notes.  If
+-you prefer to add values to accomodate other strings denoting notes in
++you prefer to add values to accommodate other strings denoting notes in
+ the octave, you may do so by adding to the hash %MIDI::Simple::Note
+ like so:
+ 
+@@ -1812,7 +1812,7 @@
+ the user could test:
+ 
+       # Hypothetical --
+-      # This fuction doesn't actually work this way:
++      # This function doesn't actually work this way:
+       if(defined(my $note_val = is_relative_note_spec($string))) {
+          ...do things with $note_val...
+       } else {

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



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