[ossim] 05/06: Add patch to fix spelling errors.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Thu May 5 23:07:20 UTC 2016


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

sebastic pushed a commit to branch master
in repository ossim.

commit 5a432522dc6997fb9a6a9cdd1e57010a06354dce
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri May 6 00:45:27 2016 +0200

    Add patch to fix spelling errors.
---
 debian/changelog                     |  1 +
 debian/libossim1.lintian-overrides   |  1 +
 debian/manpages/ossim-chipper.1      |  2 +-
 debian/manpages/ossim-pixelflip.1    |  2 +-
 debian/patches/series                |  1 +
 debian/patches/spelling-errors.patch | 75 ++++++++++++++++++++++++++++++++++++
 6 files changed, 80 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 32fa9ca..1fdc7ff 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ ossim (1.8.20.3+ds-3) UNRELEASED; urgency=medium
     changes for g++5 ABI transition.
   * Bump Standards-Version to 3.9.8, no changes.
   * Enable all hardening buildflags.
+  * Add patch to fix spelling errors.
 
  -- Bas Couwenberg <sebastic at debian.org>  Fri, 06 May 2016 00:21:32 +0200
 
diff --git a/debian/libossim1.lintian-overrides b/debian/libossim1.lintian-overrides
index ab1acac..ad8c459 100644
--- a/debian/libossim1.lintian-overrides
+++ b/debian/libossim1.lintian-overrides
@@ -3,4 +3,5 @@ libossim1: no-symbols-control-file usr/lib/libossim.so.*
 
 # False positive, string not included in source.
 libossim1: spelling-error-in-binary usr/lib/libossim.so.* PROCES PROCESS
+libossim1: spelling-error-in-binary usr/lib/libossim.so.* CONTROLL CONTROL
 
diff --git a/debian/manpages/ossim-chipper.1 b/debian/manpages/ossim-chipper.1
index c409d4e..342b979 100644
--- a/debian/manpages/ossim-chipper.1
+++ b/debian/manpages/ossim-chipper.1
@@ -74,7 +74,7 @@ hillshade option \- Set the red, green and blue
 color values to be used with hillshade.
 This option can be used with or without an image
 source for color.
-Range 0 to 255, Defualt r=255, g=255, b=255
+Range 0 to 255, Default r=255, g=255, b=255
 .TP
 \fB\-\-color\-table\fR
 <color\-table.kwl>
diff --git a/debian/manpages/ossim-pixelflip.1 b/debian/manpages/ossim-pixelflip.1
index 73d184e..103d560 100644
--- a/debian/manpages/ossim-pixelflip.1
+++ b/debian/manpages/ossim-pixelflip.1
@@ -80,7 +80,7 @@ not have the target.  All bands will be replaced.
 This is a good Landsat7 edge fixer...
 .PP
 If mode is "replace_full_targets":
-Target will be repaced only if all subpixels(bands) have the target.
+Target will be replaced only if all subpixels(bands) have the target.
 .IP
 Example:
 target      = 0
diff --git a/debian/patches/series b/debian/patches/series
index c48f5d1..15781fb 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -6,3 +6,4 @@ message-typo.patch
 output-typo.patch
 accommodate-typo.patch
 extension-typo.patch
+spelling-errors.patch
diff --git a/debian/patches/spelling-errors.patch b/debian/patches/spelling-errors.patch
new file mode 100644
index 0000000..a877c0a
--- /dev/null
+++ b/debian/patches/spelling-errors.patch
@@ -0,0 +1,75 @@
+Description: Fix spelling errors.
+ Ammount     -> Amount
+ Defualt     -> Default
+ repaced     -> replaced
+ availabe    -> available
+ returing    -> returning
+ initilizing -> initializing
+Author: Bas Couwenberg <sebastic at debian.org>
+
+--- a/ossim/src/apps/ossim-pixelflip/ossim-pixelflip.cpp
++++ b/ossim/src/apps/ossim-pixelflip/ossim-pixelflip.cpp
+@@ -377,7 +377,7 @@ void usage()
+       << "\nThis is a good Landsat7 edge fixer..."
+       << "\n"
+       << "\nIf mode is \"replace_full_targets\":"
+-      << "\nTarget will be repaced only if all subpixels(bands) have the "
++      << "\nTarget will be replaced only if all subpixels(bands) have the "
+       << "target."
+       << "\n"
+       << "\n Example:"
+--- a/ossim/src/ossim/util/ossimChipperUtil.cpp
++++ b/ossim/src/ossim/util/ossimChipperUtil.cpp
+@@ -201,7 +201,7 @@ void ossimChipperUtil::addArguments(ossi
+ 
+    au->addCommandLineOption("--central-meridian","<central_meridian_in_decimal_degrees>\nNote if set this will be used for the central meridian of the projection.  This can be used to lock the utm zone.");
+ 
+-   au->addCommandLineOption("--color","<r> <g> <b>\nhillshade option - Set the red, green and blue color values to be used with hillshade.\nThis option can be used with or without an image source for color.\nRange 0 to 255, Defualt r=255, g=255, b=255");
++   au->addCommandLineOption("--color","<r> <g> <b>\nhillshade option - Set the red, green and blue color values to be used with hillshade.\nThis option can be used with or without an image source for color.\nRange 0 to 255, Default r=255, g=255, b=255");
+ 
+    au->addCommandLineOption("--color-table","<color-table.kwl>\nhillshade or color-relief option - Keyword list containing color table for color-relief option.");
+ 
+--- a/ossim/src/ossim/imaging/ossimGeneralRasterInfo.cpp
++++ b/ossim/src/ossim/imaging/ossimGeneralRasterInfo.cpp
+@@ -72,7 +72,7 @@ SET_NULLS("set_fill_to_nulls_mode",
+ 
+ static const ossimKeyword
+ PIXELS_TO_CHOP("pixels_to_chop",
+-               "Ammount of pixels to chop from edge.");
++               "Amount of pixels to chop from edge.");
+ 
+ static const ossimInterleaveTypeLut INTERLEAVE_TYPE_LUT;
+ 
+--- a/ossim/src/ossim/imaging/ossimCcfTileSource.cpp
++++ b/ossim/src/ossim/imaging/ossimCcfTileSource.cpp
+@@ -607,7 +607,7 @@ bool ossimCcfTileSource::setOutputBandLi
+                  << "\nOutput band number in list is greater than the "
+                  << "number of bands in the image source!"
+                  << "\noutputBandList[" << i << "]:  "
+-                 << "\nHighest availabe band:  "
++                 << "\nHighest available band:  "
+                  << (getNumberOfInputBands() - 1)
+                  << "\nError status has been set!  Returning..."
+                  << endl;
+--- a/ossim/src/ossim/imaging/ossimImageChain.cpp
++++ b/ossim/src/ossim/imaging/ossimImageChain.cpp
+@@ -1505,7 +1505,7 @@ void ossimImageChain::initialize()
+    {
+       if(traceDebug())
+       {
+-         CLOG << "initilizing source: "
++         CLOG << "initializing source: "
+               << imageChainList()[index]->getClassName()
+               << std::endl;
+       }
+--- a/ossim/src/ossim/imaging/ossimImageSourceSequencer.cpp
++++ b/ossim/src/ossim/imaging/ossimImageSourceSequencer.cpp
+@@ -326,7 +326,7 @@ ossimRefPtr<ossimImageData> ossimImageSo
+    {
+       if(traceDebug())
+       {
+-         CLOG << "No input connection so returing NULL" << endl;
++         CLOG << "No input connection so returning NULL" << endl;
+       }
+    }
+    if(traceDebug())

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



More information about the Pkg-grass-devel mailing list