[proj] 13/21: Add patches to fix man pages issues.
Bas Couwenberg
sebastic at xs4all.nl
Sat Apr 12 21:29:21 UTC 2014
This is an automated email from the git hooks/post-receive script.
sebastic-guest pushed a commit to branch master
in repository proj.
commit 8be7a2d4b7c74b29cb63baecc720cf644ed12112
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Sun Apr 6 22:50:22 2014 +0200
Add patches to fix man pages issues.
---
debian/changelog | 1 +
debian/patches/geos-manpage-error.patch | 15 ++++++
debian/patches/hyphen-used-as-minus-sign.patch | 68 ++++++++++++++++++++++++++
debian/patches/series | 3 +-
4 files changed, 86 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index ff97e61..156e23c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ proj (4.8.0-3) UNRELEASED; urgency=low
* Use hardening build flags.
* Strip debian revision from symbols version.
* Empty dependency_libs in .la files.
+ * Add patches to fix man pages issues.
-- Bas Couwenberg <sebastic at xs4all.nl> Sun, 06 Apr 2014 21:02:28 +0200
diff --git a/debian/patches/geos-manpage-error.patch b/debian/patches/geos-manpage-error.patch
new file mode 100644
index 0000000..c3160dd
--- /dev/null
+++ b/debian/patches/geos-manpage-error.patch
@@ -0,0 +1,15 @@
+Description: Fix man warnings for unknown special characters.
+ warning: can't find special character ```'
+ warning: can't find special character `'''
+Author: Bas Couwenberg <sebastic at xs4all.nl>
+--- a/man/man1/geod.1
++++ b/man/man1/geod.1
+@@ -34,7 +34,7 @@ file[s]
+ (direct) and
+ .I invgeod
+ (inverse)
+-perform geodesic (\(``Great Circle\('') computations for determining
++perform geodesic (\*(lqGreat Circle\*(rq) computations for determining
+ latitude, longitude and back azimuth of a terminus point
+ given a initial point latitude, longitude, azimuth and distance (direct) or
+ the forward and back azimuths and distance between an initial and
diff --git a/debian/patches/hyphen-used-as-minus-sign.patch b/debian/patches/hyphen-used-as-minus-sign.patch
new file mode 100644
index 0000000..a3bcad9
--- /dev/null
+++ b/debian/patches/hyphen-used-as-minus-sign.patch
@@ -0,0 +1,68 @@
+Description: Fix hyphen-used-as-minus-sign lintian issues by escaping minus.
+Author: Bas Couwenberg <sebastic at xs4all.nl>
+--- a/man/man1/cs2cs.1
++++ b/man/man1/cs2cs.1
+@@ -169,9 +169,9 @@ with trailing, zero-valued minute-second
+ The following script
+ .RS 5
+ \f(CWcs2cs +proj=latlong +datum=NAD83
+- +to +proj=utm +zone=10 +datum=NAD27 -r <<EOF
++ +to +proj=utm +zone=10 +datum=NAD27 \-r <<EOF
+ 45d15'33.1" 111.5W
+- 45d15.551666667N -111d30
++ 45d15.551666667N \-111d30
+ +45.25919444444 111d30'000w
+ EOF\fR
+ .RE
+--- a/man/man1/proj.1
++++ b/man/man1/proj.1
+@@ -202,7 +202,7 @@ is an integer number specifying the powe
+ approximation.
+ For example, a
+ .I res
+-of -3 specifies an approximation with an accuracy better than .001.
++of \-3 specifies an approximation with an accuracy better than .001.
+ .I Umax,
+ and
+ .I vmax
+@@ -256,9 +256,9 @@ with trailing, zero-valued minute-second
+ .SH EXAMPLE
+ The following script
+ .RS 5
+- \f(CWproj +proj=utm +lon_0=112w +ellps=clrk66 -r <<EOF
++ \f(CWproj +proj=utm +lon_0=112w +ellps=clrk66 \-r <<EOF
+ 45d15'33.1" 111.5W
+- 45d15.551666667N -111d30
++ 45d15.551666667N \-111d30
+ +45.25919444444 111d30'000w
+ EOF\fR
+ .RE
+--- a/man/man1/geod.1
++++ b/man/man1/geod.1
+@@ -89,7 +89,7 @@ is employed the fields will be constant
+ .TP
+ .B \-p
+ This option causes the azimuthal values to be output as unsigned
+-DMS numbers between 0 and 360 degrees. Also note -f.
++DMS numbers between 0 and 360 degrees. Also note \-f.
+ .PP
+ The
+ .B +args
+@@ -173,7 +173,7 @@ and number of points to be determined.
+ The following script determines the geodesic azimuths and distance in
+ U.S. stature miles from Boston, MA, to Portland, OR:
+ .RS 5
+- \f(CWgeod +ellps=clrk66 <<EOF -I +units=us-mi
++ \f(CWgeod +ellps=clrk66 <<EOF \-I +units=us\-mi
+ 42d15'N 71d07'W 45d31'N 123d41'W
+ EOF\fR
+ .RE
+@@ -189,7 +189,7 @@ An example of forward geodesic use is to
+ Portland's location by azimuth and distance:
+ .RS 5
+ \f(CWgeod +ellps=clrk66 <<EOF +units=us-mi
+- 42d15'N 71d07'W -66d31'50.141" 2587.504
++ 42d15'N 71d07'W \-66d31'50.141" 2587.504
+ EOF\fR
+ .RE
+ which gives:
diff --git a/debian/patches/series b/debian/patches/series
index 3142a30..89dc2bf 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
-# no patches currently
manpages
+geos-manpage-error.patch
+hyphen-used-as-minus-sign.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/proj.git
More information about the Pkg-grass-devel
mailing list