[shapelib] 10/13: Add patch to fix 'useful' typo.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Tue Aug 11 00:25:11 UTC 2015
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository shapelib.
commit a35bd48c218001c480dc2544ab997bb84c6cec39
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Mon Aug 10 22:37:30 2015 +0200
Add patch to fix 'useful' typo.
---
debian/changelog | 1 +
debian/man/shprewind.md | 2 +-
debian/patches/0008-useful-typo.patch | 25 +++++++++++++++++++++++++
debian/patches/series | 1 +
4 files changed, 28 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index d26bd94..0941371 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,7 @@ shapelib (1.3.0-5) UNRELEASED; urgency=medium
* Update watch file with sepwatch changes.
* Add common version mangling in watch file.
* Merge man pages from 0001-Add-manpages.patch with man pages from Johan.
+ * Add patch to fix 'useful' typo.
-- Bas Couwenberg <sebastic at debian.org> Wed, 15 Oct 2014 20:32:38 +0200
diff --git a/debian/man/shprewind.md b/debian/man/shprewind.md
index d3670ce..14a0602 100644
--- a/debian/man/shprewind.md
+++ b/debian/man/shprewind.md
@@ -6,7 +6,7 @@ shprewind(1) -- validates and resets the winding order of rings
`shprewind` _in_shp_file_ _out_shp_file_
##DESCRIPTION
-Validates and resets the winding order of rings in polygon geometries to match the ordering required by shapefile specification. This is usefull for shapefiles having troubles when checked with a 'shpdump -validate'.
+Validates and resets the winding order of rings in polygon geometries to match the ordering required by shapefile specification. This is useful for shapefiles having troubles when checked with a 'shpdump -validate'.
Makes a copy of the shapefile _in_shp_file_ to _out_shp_file_ and fixes the orientation of points in the rings of `Polygon`, `PolygonZ`, and `PolygonM` typed shapes to conform to the shapefile specification. According to the specification, the vertices of outer rings should be oriented clockwise on the _X/Y_ plane, and those of inner rings counterclockwise.
diff --git a/debian/patches/0008-useful-typo.patch b/debian/patches/0008-useful-typo.patch
new file mode 100644
index 0000000..9686bfb
--- /dev/null
+++ b/debian/patches/0008-useful-typo.patch
@@ -0,0 +1,25 @@
+Description: Fix 'usefull' typo, replace with 'useful'.
+Author: Bas Couwenberg <sebastic at debian.org>
+
+--- a/contrib/Shape_PointInPoly_README.txt
++++ b/contrib/Shape_PointInPoly_README.txt
+@@ -23,7 +23,7 @@ I wrote this function for the Autodesk A
+ no function to do this in the Object Arx SDK (the Acad programming SDK). Well,
+ it will be in the 2005 release...but, still. There is a function in the
+ Autodesk Map 2004 version...in the menu.
+-Not usefull when you need the coordinates, not the point on the screen...
++Not useful when you need the coordinates, not the point on the screen...
+ So when the Acad version was done I was thinking of doing it on the Shape files,
+ too. A little bit of changing the structures and variable
+ types (so they're not using Object Arx) and I was done.
+--- a/web/shapelib-tools.html
++++ b/web/shapelib-tools.html
+@@ -158,7 +158,7 @@ Shape:0 (Polygon) nVertices=4, nParts=1
+ <hr>
+
+ <h2><a name="shprewind">shprewind</a></h2>
+-<b>Purpose</b>: validates and resets the winding order of rings in polygon geometries to match the ordering required by shapefile specification. This is usefull for shapefiles having troubles when checked with a 'shpdump -validate'.
++<b>Purpose</b>: validates and resets the winding order of rings in polygon geometries to match the ordering required by shapefile specification. This is useful for shapefiles having troubles when checked with a 'shpdump -validate'.
+ <br>
+ <b>Usage</b>: <font face="courier">shprewind in_shp_file out_shp_file</font>
+ <br>
diff --git a/debian/patches/series b/debian/patches/series
index 6bea34f..8e921ef 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
0005-Stop-setting-CFLAGS-and-PREFIX-in-the-Makefile.patch
0006-Fix-FTBFS-avoid-clash-with-_ENDIAN-defines.patch
0007-Use-dpkg-buildflags-in-contrib-fixes-hardening-warni.patch
+0008-useful-typo.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/shapelib.git
More information about the Pkg-grass-devel
mailing list