[ossim] 09/11: Add patches for various typos.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Fri Jun 5 16:54:49 UTC 2015


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

sebastic pushed a commit to branch master
in repository ossim.

commit 0f1a2bfbad2705416ca1c064fa9c512fe6a1de0f
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri Jun 5 18:07:00 2015 +0200

    Add patches for various typos.
---
 debian/changelog                    |   1 +
 debian/patches/developed-typo.patch |  23 +++++++++
 debian/patches/message-typo.patch   |  14 +++++
 debian/patches/output-typo.patch    | 100 ++++++++++++++++++++++++++++++++++++
 debian/patches/series               |   4 ++
 debian/patches/unknown-typo.patch   |  36 +++++++++++++
 6 files changed, 178 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 20f2e7c..e5a68f9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,6 +13,7 @@ ossim (1.8.16-4) UNRELEASED; urgency=medium
   * Restructure control file with cme, changes:
     - Bump Standards-Version to 3.9.6, no changes.
   * Don't start description synopsis with an article.
+  * Add patches for various typos.
 
  -- Bas Couwenberg <sebastic at xs4all.nl>  Sun, 02 Nov 2014 21:19:37 +0100
 
diff --git a/debian/patches/developed-typo.patch b/debian/patches/developed-typo.patch
new file mode 100644
index 0000000..5ea5b97
--- /dev/null
+++ b/debian/patches/developed-typo.patch
@@ -0,0 +1,23 @@
+Description: Fix 'developped' typo, replace with 'developed'.
+Author: Bas Couwenberg <sebastic at debian.org>
+
+--- a/src/ossim/base/ossimTieGpt.cpp
++++ b/src/ossim/base/ossimTieGpt.cpp
+@@ -195,7 +195,7 @@ ossimTieGpt::importFromGmlNode(ossimRefP
+       else {
+          //try to read coordinates
+          //TBD
+-         ossimNotify(ossimNotifyLevel_WARN) << "WARNING: ossimTieGpt::importFromGmlNode gml:coordinates not developped yet for ground\n";
++         ossimNotify(ossimNotifyLevel_WARN) << "WARNING: ossimTieGpt::importFromGmlNode gml:coordinates not developed yet for ground\n";
+          return false;
+       }
+ 
+@@ -226,7 +226,7 @@ ossimTieGpt::importFromGmlNode(ossimRefP
+       else {
+          //try to read coordinates
+          //TBD
+-         ossimNotify(ossimNotifyLevel_WARN) << "WARNING: ossimTieGpt::importFromGmlNode gml:coordinates not developped yet for image\n";
++         ossimNotify(ossimNotifyLevel_WARN) << "WARNING: ossimTieGpt::importFromGmlNode gml:coordinates not developed yet for image\n";
+          return false;
+       }
+ 
diff --git a/debian/patches/message-typo.patch b/debian/patches/message-typo.patch
new file mode 100644
index 0000000..86d954e
--- /dev/null
+++ b/debian/patches/message-typo.patch
@@ -0,0 +1,14 @@
+Description: Fix 'messsage' typo, replace with 'message'.
+Author: Bas Couwenberg <sebastic at debian.org>
+
+--- a/src/ossim/support_data/ossimNmeaMessage.cpp
++++ b/src/ossim/support_data/ossimNmeaMessage.cpp
+@@ -64,7 +64,7 @@ void ossimNmeaMessage::parseMessage(std:
+    m_message = "";
+    if(!isValidStartChar(static_cast<char>(in.peek())))
+    {
+-      throw ossimException(ossimString("Starting NMEA messsage indicator not found, expected one of ") +
++      throw ossimException(ossimString("Starting NMEA message indicator not found, expected one of ") +
+                            m_startChars + " but found " +
+                            ossimString((char)in.peek()));
+    }
diff --git a/debian/patches/output-typo.patch b/debian/patches/output-typo.patch
new file mode 100644
index 0000000..3ac26ad
--- /dev/null
+++ b/debian/patches/output-typo.patch
@@ -0,0 +1,100 @@
+Description: Fix 'ouput' typo, replace with 'output'.
+Author: Bas Couwenberg <sebastic at debian.org>
+
+--- a/include/ossim/base/ossimImageTypeLut.h
++++ b/include/ossim/base/ossimImageTypeLut.h
+@@ -7,7 +7,7 @@
+ // Description:
+ //
+ // Contains class declaration for ImageTypeLut.  Currently has mapping of
+-// ouput image writes from enumeration to string and string to
++// output image writes from enumeration to string and string to
+ // enumeration.
+ //
+ //*******************************************************************
+--- a/src/apps/ossim-computeSrtmStats/ossim-computeSrtmStats.cpp
++++ b/src/apps/ossim-computeSrtmStats/ossim-computeSrtmStats.cpp
+@@ -34,7 +34,7 @@ static void usage()
+    ossimNotify(ossimNotifyLevel_INFO)
+       << "\nNOTES:"
+       << "\n- Output is to a \".omd\" file so if the image was"
+-      << " \"N27W081.hgt\" ouput will be a \"N27W081.omd\" file."
++      << " \"N27W081.hgt\" output will be a \"N27W081.omd\" file."
+       << "\n- Example:  computeSrtmStats *.hgt"
+       << endl;
+ }
+--- a/src/apps/ossim-mosaic/ossim-mosaic.cpp
++++ b/src/apps/ossim-mosaic/ossim-mosaic.cpp
+@@ -314,7 +314,7 @@ int main(int argc, char *argv[])
+ 	argumentParser.getApplicationUsage()->addCommandLineOption("-m", "Mosiac type (SIMPLE, BLEND, FEATHER, or any MosaicCombinerType [ossimClosestToCenter, ossimFeatherMosaic, etc..]) (default=SIMPLE");
+ 	argumentParser.getApplicationUsage()->addCommandLineOption("-w", "Writer type (tiff_strip, jpeg, etc... see ossim-info --writers) (default=tiff_strip)");
+ 	argumentParser.getApplicationUsage()->addCommandLineOption("--writer-prop <string>", "Adds a property to send to the writer. format is name=value");
+-	argumentParser.getApplicationUsage()->addCommandLineOption("-t", "ouput a keyword list template");
++	argumentParser.getApplicationUsage()->addCommandLineOption("-t", "output a keyword list template");
+ 
+ 	// Allocate some stuff up front for use later
+ 	ossimKeywordlist kwl;
+@@ -410,7 +410,7 @@ int main(int argc, char *argv[])
+    {
+       ossimNotify(ossimNotifyLevel_WARN)
+          << "mosaic ERROR:"
+-         << "\nOuput file " << outfile << " exits and will not be overwritten!"
++         << "\nOutput file " << outfile << " exits and will not be overwritten!"
+          << "\nExiting..."
+          << std::endl;
+       exit(1);
+--- a/src/ossim/base/ossimImageTypeLut.cpp
++++ b/src/ossim/base/ossimImageTypeLut.cpp
+@@ -7,7 +7,7 @@
+ // Description:
+ //
+ // Contains class definition for ImageTypeLUT.  Currently has mapping of
+-// ouput image writes from enumeration to string and string to
++// output image writes from enumeration to string and string to
+ // enumeration.
+ //
+ //*******************************************************************
+--- a/src/ossim/projection/ossimRpcProjection.cpp
++++ b/src/ossim/projection/ossimRpcProjection.cpp
+@@ -1062,7 +1062,7 @@ ossimRpcProjection::optimizeFit(const os
+    //note : please limit the number of tie points
+    //
+    //INPUTS: requires Jacobian matrix (partial derivatives with regards to parameters)
+-   //OUPUTS: will also compute parameter covariance matrix
++   //OUTPUTS: will also compute parameter covariance matrix
+    //
+    //TBD: use targetVariance!
+  
+--- a/src/ossim/projection/ossimSensorModel.cpp
++++ b/src/ossim/projection/ossimSensorModel.cpp
+@@ -1301,7 +1301,7 @@ ossimSensorModel::optimizeFit(const ossi
+    //note : please limit the number of tie points
+    //
+    //INPUTS: requires Jacobian matrix (partial derivatives with regards to parameters)
+-   //OUPUTS: will also compute parameter covariance matrix
++   //OUTPUTS: will also compute parameter covariance matrix
+    //
+    //TBD: use targetVariance!
+  
+--- a/src/ossim/support_data/ossimFfRevb.cpp
++++ b/src/ossim/support_data/ossimFfRevb.cpp
+@@ -564,7 +564,7 @@ void ossimFfRevb::write(ostream& os) con
+       << RADIANCE_DESC;
+ 
+    int i;
+-   for (i=0; i<NUMBER_OF_BANDS-1; i++) // Ouput six of the seven bands.
++   for (i=0; i<NUMBER_OF_BANDS-1; i++) // Output six of the seven bands.
+    {
+       os << setw(RADIANCE_SIZE) << theBandRadiance[i] << SPACE;
+    }
+--- a/src/ossim/support_data/ossimNitfImageHeaderV2_1.cpp
++++ b/src/ossim/support_data/ossimNitfImageHeaderV2_1.cpp
+@@ -395,7 +395,7 @@ void ossimNitfImageHeaderV2_1::writeStre
+       out.write(theUserDefinedOverflow, 3);
+    }
+ 
+-   // need to ouput tagged data
++   // need to output tagged data
+    // here
+    //
+    ossim_uint32 totalLength = getTotalTagLength();
diff --git a/debian/patches/series b/debian/patches/series
index 50ba1d1..c12e1b7 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,6 @@
 cmake
 avoid_overwrite_build_date.patch
+developed-typo.patch
+unknown-typo.patch
+message-typo.patch
+output-typo.patch
diff --git a/debian/patches/unknown-typo.patch b/debian/patches/unknown-typo.patch
new file mode 100644
index 0000000..8846e46
--- /dev/null
+++ b/debian/patches/unknown-typo.patch
@@ -0,0 +1,36 @@
+Description: Fix 'unkown' typo, replace with 'unknown'.
+Author: Bas Couwenberg <sebastic at debian.org>
+	
+--- a/include/ossim/support_data/ossimEnviHeader.h
++++ b/include/ossim/support_data/ossimEnviHeader.h
+@@ -363,7 +363,7 @@ public:
+     * (little_endian or big_endian)
+     * byte_order: little_endian
+     * 
+-    * map_info: Unkown
++    * map_info: Unknown
+     *
+     * wavelength_units: 
+     *
+--- a/src/ossim/imaging/ossimArcInfoGridWriter.cpp
++++ b/src/ossim/imaging/ossimArcInfoGridWriter.cpp
+@@ -269,7 +269,7 @@ bool ossimArcInfoGridWriter::writeBinary
+          {
+             ossimNotify(ossimNotifyLevel_WARN)
+                << "ossimArcInfoGridWriter::writeBinaryAigHeader: "
+-               << "unkown scalar type" << std::endl;
++               << "unknown scalar type" << std::endl;
+          }
+       }
+       
+--- a/src/ossim/imaging/ossimOverviewSequencer.cpp
++++ b/src/ossim/imaging/ossimOverviewSequencer.cpp
+@@ -893,7 +893,7 @@ void ossimOverviewSequencer::resampleTil
+       }
+       default:
+          ossimNotify(ossimNotifyLevel_WARN)
+-            << "ossimOverviewSequencer::resampleTile Unkown pixel type!"
++            << "ossimOverviewSequencer::resampleTile Unknown pixel type!"
+             << std::endl;
+          return;
+          

-- 
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