[proj] 01/03: Add patch to install nad2bin produced data files in /usr/lib/proj.
Bas Couwenberg
sebastic at xs4all.nl
Thu May 15 22:26: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 a899f3fd48a666626c6fb4e28b62bde355845ffe
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Thu May 15 23:01:47 2014 +0200
Add patch to install nad2bin produced data files in /usr/lib/proj.
---
debian/changelog | 7 +++++++
debian/patches/nad2bin-data.patch | 20 ++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 28 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 198b9ba..197f87e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+proj (4.8.0-5) UNRELEASED; urgency=low
+
+ * Add patch to install nad2bin produced data files in /usr/lib/proj.
+ (closes: 747862)
+
+ -- Bas Couwenberg <sebastic at xs4all.nl> Thu, 15 May 2014 23:00:58 +0200
+
proj (4.8.0-4) unstable; urgency=medium
* proj-data is arch any because of architecture specific datumgrids.
diff --git a/debian/patches/nad2bin-data.patch b/debian/patches/nad2bin-data.patch
new file mode 100644
index 0000000..9cad589
--- /dev/null
+++ b/debian/patches/nad2bin-data.patch
@@ -0,0 +1,20 @@
+Description: Install the data files produced by nad2bin to /usr/lib/proj.
+ The simple binary format produced by nad2bin is not endianess-aware,
+ making the resulting data files architecture specific.
+Author: Bas Couwenberg <sebastic at xs4all.nl>
+Bug-Debian: https://bugs.debian.org/747862
+--- a/nad/Makefile.am
++++ b/nad/Makefile.am
+@@ -32,10 +32,10 @@ process-nad2bin:
+ fi
+
+ install-data-local: process-nad2bin
+- $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
++ $(mkinstalldirs) $(DESTDIR)$(pkgdatadir) $(DESTDIR)$(pkglibdir)
+ @if [ -f conus.lla ] ; then \
+ for x in *.lla ; do \
+- DEST=$(DESTDIR)$(pkgdatadir)/`basename $$x .lla`; \
++ DEST=$(DESTDIR)$(pkglibdir)/`basename $$x .lla`; \
+ echo "../src/nad2bin$(EXEEXT) $$DEST < $$x"; \
+ ../src/nad2bin$(EXEEXT) $$DEST < $$x ; \
+ if [ $$? -ne 0 ] ; then \
diff --git a/debian/patches/series b/debian/patches/series
index 89dc2bf..3b2bfe1 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
manpages
geos-manpage-error.patch
hyphen-used-as-minus-sign.patch
+nad2bin-data.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