[pktools] 20/28: Add patch to fix spelling errors.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Wed May 18 10:03:07 UTC 2016


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

sebastic pushed a commit to branch master
in repository pktools.

commit fa075d844faecf9308c44e2fd5a7731f9307b419
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Wed May 18 08:46:46 2016 +0200

    Add patch to fix spelling errors.
---
 debian/changelog                     |  1 +
 debian/patches/series                |  1 +
 debian/patches/spelling-errors.patch | 53 ++++++++++++++++++++++++++++++++++++
 3 files changed, 55 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 39b3b5c..d55a3bc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,6 +15,7 @@ pktools (2.6.7-1) UNRELEASED; urgency=medium
   * Add library package for libbase.
   * Add patch to fix pkg-config install path.
   * Install pktools-config in dev package.
+  * Add patch to fix spelling errors.
 
  -- Bas Couwenberg <sebastic at debian.org>  Tue, 17 May 2016 20:46:48 +0200
 
diff --git a/debian/patches/series b/debian/patches/series
index 7eec781..086904f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 soversion.patch
 pkg-config-install-path.patch
+spelling-errors.patch
diff --git a/debian/patches/spelling-errors.patch b/debian/patches/spelling-errors.patch
new file mode 100644
index 0000000..6d48122
--- /dev/null
+++ b/debian/patches/spelling-errors.patch
@@ -0,0 +1,53 @@
+Description: Fix spelling errors.
+ ouptut -> output
+Author: Bas Couwenberg <sebastic at debian.org>
+
+--- a/src/apps/pkfilter.cc
++++ b/src/apps/pkfilter.cc
+@@ -39,7 +39,7 @@ along with pktools.  If not, see <http:/
+ ## SYNOPSIS
+ 
+ <code>
+-  Usage: pkfilter -i input -o ouptut [-f filter | -perc value | -srf file [-srf file]* -win wavelength [-win wavelength]* | -wout wavelength -fwhm value [-wout wavelength -fwhm value]* -win wavelength [-win wavelength]*]
++  Usage: pkfilter -i input -o output [-f filter | -perc value | -srf file [-srf file]* -win wavelength [-win wavelength]* | -wout wavelength -fwhm value [-wout wavelength -fwhm value]* -win wavelength [-win wavelength]*]
+ </code>
+ 
+ <code>
+@@ -214,7 +214,7 @@ pkfilter -i lena.tif -o sobelx.tif -f so
+  | ct     | ct                   | std::string |       |color table (file with 5 columns: id R G B ALFA (0: transparent, 255: solid). Use none to ommit color table | 
+  | circ   | circular             | bool | false |circular disc kernel for dilation and erosion | 
+ 
+-Usage: pkfilter -i input -o ouptut [-f filter | -perc value | -srf file [-srf file]* -win wavelength [-win wavelength]* | -wout wavelength -fwhm value [-wout wavelength -fwhm value]* -win wavelength [-win wavelength]*]
++Usage: pkfilter -i input -o output [-f filter | -perc value | -srf file [-srf file]* -win wavelength [-win wavelength]* | -wout wavelength -fwhm value [-wout wavelength -fwhm value]* -win wavelength [-win wavelength]*]
+ 
+ 
+ Examples
+@@ -343,7 +343,7 @@ int main(int argc,char **argv) {
+   }
+   if(!doProcess){
+     cout << endl;
+-    cout << "Usage: pkfilter -i input -o ouptut [-f filter | -perc value | -srf file [-srf file]* -win wavelength [-win wavelength]* | -wout wavelength -fwhm value [-wout wavelength -fwhm value]* -win wavelength [-win wavelength]*]" << endl;
++    cout << "Usage: pkfilter -i input -o output [-f filter | -perc value | -srf file [-srf file]* -win wavelength [-win wavelength]* | -wout wavelength -fwhm value [-wout wavelength -fwhm value]* -win wavelength [-win wavelength]*]" << endl;
+     cout << endl;
+     std::cout << "short option -h shows basic options only, use long option --help to show all options" << std::endl;
+     exit(0);//help was invoked, stop processing
+--- a/src/apps/pkstatprofile.cc
++++ b/src/apps/pkstatprofile.cc
+@@ -87,7 +87,7 @@ pkstatprofile -i modis_ndvi_2010.tif -o
+  |class | class | std::string | | class value(s) to use for mode, proportion |
+  |nodata | nodata | double | | nodata value(s) |
+ 
+-Usage: pkstatprofile -i input -o ouptut [-f function]*
++Usage: pkstatprofile -i input -o output [-f function]*
+ 
+ **/
+ 
+@@ -133,7 +133,7 @@ int main(int argc,char **argv) {
+   }
+   if(!doProcess){
+     cout << endl;
+-    cout << "Usage: pkstatprofile -i input -o ouptut [-function]*" << endl;
++    cout << "Usage: pkstatprofile -i input -o output [-function]*" << endl;
+     cout << endl;
+     std::cout << "short option -h shows basic options only, use long option --help to show all options" << std::endl;
+     exit(0);//help was invoked, stop processing

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/pktools.git



More information about the Pkg-grass-devel mailing list