[proj] 16/18: Add patch to fix manpage section for pj_init.

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 9d6276ee9d34cc363472484703ec3b19a426f710
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri Feb 2 21:34:04 2018 +0100

    Add patch to fix manpage section for pj_init.
---
 debian/changelog                     |  1 +
 debian/patches/manpage-section.patch | 14 ++++++++++++++
 debian/patches/series                |  1 +
 debian/rules                         |  3 ---
 4 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 3de46ae..f491ead 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,6 +16,7 @@ proj (5.0.0~rc1-1) UNRELEASED; urgency=medium
   * Add patch for adding cct & gie manpages.
   * Include all headers in libproj-dev.
   * Add patch to fix manpage formatting.
+  * Add patch to fix manpage section for pj_init.
 
  -- Bas Couwenberg <sebastic at debian.org>  Fri, 02 Feb 2018 18:07:07 +0100
 
diff --git a/debian/patches/manpage-section.patch b/debian/patches/manpage-section.patch
new file mode 100644
index 0000000..59aab58
--- /dev/null
+++ b/debian/patches/manpage-section.patch
@@ -0,0 +1,14 @@
+Description: Fix manpage section for pj_init.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: https://github.com/OSGeo/proj.4/pull/768
+
+--- a/man/man3/pj_init.3
++++ b/man/man3/pj_init.3
+@@ -1,6 +1,6 @@
+ .\" @(#)pj_init.3 - 5.0.0
+ .\"
+-.TH PJ_INIT 3U "2018/02/15 Rel. 5.0.0"
++.TH PJ_INIT 3 "2018/02/15 Rel. 5.0.0"
+ .ad b
+ .hy 1
+ .SH NAME
diff --git a/debian/patches/series b/debian/patches/series
index 5436338..1ad5ec3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ link-libm.patch
 soversion.patch
 manpages.patch
 manpage-formatting.patch
+manpage-section.patch
diff --git a/debian/rules b/debian/rules
index 2ebb0da..d291632 100755
--- a/debian/rules
+++ b/debian/rules
@@ -66,9 +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/.
 	
-	# 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
-
 	# Empty dependency_libs in .la files
 	sed -i "/dependency_libs/ s/'.*'/''/" `find . -name '*.la'`
 

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