[ossim] 13/14: Add patch to fix spelling errors.
Bas Couwenberg
sebastic at debian.org
Thu Aug 24 17:18:19 UTC 2017
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch experimental
in repository ossim.
commit 4186338569771db4948644df89b8fe1ae499e7bc
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Thu Aug 24 18:41:28 2017 +0200
Add patch to fix spelling errors.
---
debian/changelog | 1 +
debian/patches/series | 1 +
debian/patches/spelling-errors.patch | 130 +++++++++++++++++++++++++++++++++++
3 files changed, 132 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index eba6ae1..bf9eb01 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -19,6 +19,7 @@ ossim (2.0.0-1) UNRELEASED; urgency=medium
* Use pkg-info.mk variables instead of dpkg-parsechangelog output.
* Update rules for restructured upstream source tree.
* Don't build OSSIM apps (requires libossim installed) & tests.
+ * Add patch to fix spelling errors.
-- Bas Couwenberg <sebastic at debian.org> Tue, 25 Jul 2017 12:20:49 +0200
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..38edaa7
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+spelling-errors.patch
diff --git a/debian/patches/spelling-errors.patch b/debian/patches/spelling-errors.patch
new file mode 100644
index 0000000..510d2c2
--- /dev/null
+++ b/debian/patches/spelling-errors.patch
@@ -0,0 +1,130 @@
+Description: Fix spelling errors.
+ * Phillipines -> Philippines
+ * availabe -> available
+ * Ammount -> Amount
+ * initilizing -> initializing
+ * Unknow -> Unknown
+ * direcories -> directories
+ * Defualt -> Default
+ * prefered -> preferred
+Author: Bas Couwenberg <sebastic at debian.org>
+
+--- a/src/base/ossimDatumFactory.inc
++++ b/src/base/ossimDatumFactory.inc
+@@ -153,7 +153,7 @@ static ossimThreeParamDatumType threePar
+ {"LCF", "L.C. 5 ASTRO 1961, Cayman Brac", "CC", 25, 25, 25, -81, -78, 18, 21, 42, 124, 147},
+ {"LEH", "LEIGON, Ghana", "CD", 2, 3, 2, -9, 7, -1, 17, -130, 29, 364},
+ {"LIB", "LIBERIA 1964", "CD", 15, 15, 15, -17, -1, -1, 14, -90, 40, 88},
+-{"LUZ-A", "LUZON, Phillipines", "CC", 8, 11, 9, 115, 128, 3, 23, -133, -77, -51},
++{"LUZ-A", "LUZON, Philippines", "CC", 8, 11, 9, 115, 128, 3, 23, -133, -77, -51},
+ {"LUZ-B", "LUZON, Mindanao Island", "CC", 25, 25, 25, 120, 128, 4, 12, -133, -79, -72},
+ {"MAS", "MASSAWA, Ethiopia", "BR", 25, 25, 25, 37, 53, 7, 25, 639, 405, 60},
+ {"MER", "MERCHICH, Morocco", "CD", 5, 3, 3, -19, 5, 22, 42, 31, 146, 47},
+--- a/src/imaging/ossimCcfTileSource.cpp
++++ b/src/imaging/ossimCcfTileSource.cpp
+@@ -611,7 +611,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/src/imaging/ossimGeneralRasterInfo.cpp
++++ b/src/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/src/imaging/ossimImageChain.cpp
++++ b/src/imaging/ossimImageChain.cpp
+@@ -1505,7 +1505,7 @@ void ossimImageChain::initialize()
+ {
+ if(traceDebug())
+ {
+- CLOG << "initilizing source: "
++ CLOG << "initializing source: "
+ << imageChainList()[index]->getClassName()
+ << std::endl;
+ }
+--- a/src/imaging/ossimImageSourceSequencer.cpp
++++ b/src/imaging/ossimImageSourceSequencer.cpp
+@@ -381,7 +381,7 @@ ossimRefPtr<ossimImageData> ossimImageSo
+ {
+ if(traceDebug())
+ {
+- CLOG << "No input connection so returing NULL" << endl;
++ CLOG << "No input connection so returning NULL" << endl;
+ }
+ }
+ if(traceDebug())
+--- a/src/imaging/ossimTiffOverviewBuilder.cpp
++++ b/src/imaging/ossimTiffOverviewBuilder.cpp
+@@ -1276,7 +1276,7 @@ bool ossimTiffOverviewBuilder::setInputS
+ setErrorStatus();
+ ossimNotify(ossimNotifyLevel_WARN)
+ << MODULE << " ERROR:"
+- << "\nUnknow pixel type: "
++ << "\nUnknown pixel type: "
+ << (ossimScalarTypeLut::instance()->
+ getEntryString(m_imageHandler->getOutputScalarType()))
+ << std::endl;
+--- a/src/support_data/ossimTiffInfo.cpp
++++ b/src/support_data/ossimTiffInfo.cpp
+@@ -329,7 +329,7 @@ std::ostream& ossimTiffInfo::print(std::
+ if(traceDebug())
+ {
+ ossimNotify(ossimNotifyLevel_WARN)
+- << MODULE << " FATAL error reading number of direcories."
++ << MODULE << " FATAL error reading number of directories."
+ << std::endl;
+ }
+ m_inputStream.reset();
+@@ -752,7 +752,7 @@ std::ostream& ossimTiffInfo::print(std::
+ if(traceDebug())
+ {
+ ossimNotify(ossimNotifyLevel_WARN)
+- << MODULE << " FATAL error reading number of direcories."
++ << MODULE << " FATAL error reading number of directories."
+ << std::endl;
+ }
+ return outStr;
+--- a/src/util/ossimChipperUtil.cpp
++++ b/src/util/ossimChipperUtil.cpp
+@@ -206,7 +206,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/src/util/ossimHillshadeTool.cpp
++++ b/src/util/ossimHillshadeTool.cpp
+@@ -233,7 +233,7 @@ void ossimHillshadeTool::setUsage(ossimA
+
+ // Add arguments.
+ au->addCommandLineOption("--azimuth", "<azimuth>\nLight source azimuth angle for bump shade.\nRange: 0 to 360, Default = 180.0");
+- au->addCommandLineOption("--color","<r> <g> <b>\nSet the red, green and blue color values to be used with hillshade.\nRange 0 to 255, Defualt r=255, g=255, b=255");
++ au->addCommandLineOption("--color","<r> <g> <b>\nSet the red, green and blue color values to be used with hillshade.\nRange 0 to 255, Default r=255, g=255, b=255");
+ au->addCommandLineOption("--color-source","<file>\nSpecifies the image file to use as a color source instead of a fixed RGB value.");
+ au->addCommandLineOption("--elevation", "<elevation>\nhillshade option - Light source elevation angle for bumb shade.\nRange: 0 to 90, Default = 45.0");
+
+--- a/src/util/ossimHlzTool.cpp
++++ b/src/util/ossimHlzTool.cpp
+@@ -102,7 +102,7 @@ void ossimHlzTool::setUsage(ossimArgumen
+ "Number of threads. Defaults to use single core. For engineering/debug purposes.");
+ au->addCommandLineOption("--use-slope",
+ "Slope is computed from the normal vector using neighboring posts instead of "
+- "least-squares fit to a plane (prefered). For engineering/debug purposes.");
++ "least-squares fit to a plane (preferred). For engineering/debug purposes.");
+ }
+
+ bool ossimHlzTool::initialize(ossimArgumentParser& ap)
--
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