[proj] 15/18: Add patch to fix manpage formatting.
Bas Couwenberg
sebastic at debian.org
Fri Feb 2 20:55:50 UTC 2018
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch experimental
in repository proj.
commit 55c136e4b54624d57a57f5e7216eac8146635db0
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Fri Feb 2 21:30:33 2018 +0100
Add patch to fix manpage formatting.
---
debian/changelog | 1 +
debian/patches/manpage-formatting.patch | 67 +++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
debian/rules | 6 ---
4 files changed, 69 insertions(+), 6 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index b3a2f89..3de46ae 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,6 +15,7 @@ proj (5.0.0~rc1-1) UNRELEASED; urgency=medium
* Add lintian override for debian-watch-uses-insecure-uri.
* Add patch for adding cct & gie manpages.
* Include all headers in libproj-dev.
+ * Add patch to fix manpage formatting.
-- Bas Couwenberg <sebastic at debian.org> Fri, 02 Feb 2018 18:07:07 +0100
diff --git a/debian/patches/manpage-formatting.patch b/debian/patches/manpage-formatting.patch
new file mode 100644
index 0000000..25fcb38
--- /dev/null
+++ b/debian/patches/manpage-formatting.patch
@@ -0,0 +1,67 @@
+Description: Don't limit line length in manpages.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: https://github.com/OSGeo/proj.4/pull/767
+
+--- a/man/man1/cct.1
++++ b/man/man1/cct.1
+@@ -1,5 +1,5 @@
+ .\" release 5
+-.nr LL 5.5i
++.\"
+ .ad b
+ .hy 1
+ .TH CCT 1 "2018/02/25 Rel. 5.0.0"
+--- a/man/man1/cs2cs.1
++++ b/man/man1/cs2cs.1
+@@ -1,5 +1,5 @@
+ .\" release 5
+-.nr LL 5.5i
++.\"
+ .ad b
+ .hy 1
+ .TH CS2CS 1 "2018/02/15 Rel. 5.0.0"
+--- a/man/man1/geod.1
++++ b/man/man1/geod.1
+@@ -1,5 +1,5 @@
+ .\" @(#)geod.1
+-.nr LL 7.0i
++.\"
+ .ad b
+ .hy 1
+ .TH GEOD 1 "2018/02/15 Rel. 5.0.0"
+--- a/man/man1/gie.1
++++ b/man/man1/gie.1
+@@ -1,5 +1,5 @@
+ .\" release 5
+-.nr LL 5.5i
++.\"
+ .ad b
+ .hy 1
+ .TH GIE 1 "2018/02/25 Rel. 5.0.0"
+--- a/man/man1/proj.1
++++ b/man/man1/proj.1
+@@ -1,5 +1,5 @@
+ .\" release 5
+-.nr LL 5.5i
++.\"
+ .ad b
+ .hy 1
+ .TH PROJ 1 "2018/02/25 Rel. 5.0.0"
+--- a/man/man3/geodesic.3
++++ b/man/man3/geodesic.3
+@@ -1,5 +1,5 @@
+ .\" @(#)geodesic.3
+-.nr LL 7.0i
++.\"
+ .TH GEODESIC 3 "2018/02/15 Rel. 5.0.0"
+ .ad b
+ .hy 1
+--- a/man/man3/pj_init.3
++++ b/man/man3/pj_init.3
+@@ -1,5 +1,5 @@
+ .\" @(#)pj_init.3 - 5.0.0
+-.nr LL 5.5i
++.\"
+ .TH PJ_INIT 3U "2018/02/15 Rel. 5.0.0"
+ .ad b
+ .hy 1
diff --git a/debian/patches/series b/debian/patches/series
index aabfef5..5436338 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
link-libm.patch
soversion.patch
manpages.patch
+manpage-formatting.patch
diff --git a/debian/rules b/debian/rules
index aaf16ef..2ebb0da 100755
--- a/debian/rules
+++ b/debian/rules
@@ -66,12 +66,6 @@ override_dh_auto_install:
cp $(CURDIR)/src/org_proj4_PJ.h $(CURDIR)/debian/tmp/usr/include/.
cp $(CURDIR)/src/org_proj4_PJ_Type.h $(CURDIR)/debian/tmp/usr/include/.
- # Fix manpages
- for man in $(CURDIR)/debian/tmp/usr/share/man/man1/*.1 $(CURDIR)/debian/tmp/usr/share/man/man3/*.3; \
- do \
- sed -i -e 's/^\.nr LL 5.5i$$/\.\\"/' $$man; \
- done
-
# Fixating man section in pj_init.3
sed -i -e 's/\(.TH PJ_INIT\) 3U\(.*\)/\1 3\2/' $(CURDIR)/debian/tmp/usr/share/man/man3/pj_init.3
--
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