[gdal] 01/02: Support hdf5 1.8.13 new packaging layout.

Bas Couwenberg sebastic at xs4all.nl
Thu Jul 31 22:42:39 UTC 2014


This is an automated email from the git hooks/post-receive script.

sebastic-guest pushed a commit to branch master
in repository gdal.

commit bf7b006d6b7f65f02c6e50612a16c6df3491b61a
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri Aug 1 00:02:11 2014 +0200

    Support hdf5 1.8.13 new packaging layout.
    
    Thanks to Gilles Filippini for the patch.
---
 debian/changelog | 8 ++++++++
 debian/rules     | 7 +++++++
 2 files changed, 15 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index ce2a712..f6b5497 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+gdal (1.10.1+dfsg-8) UNRELEASED; urgency=medium
+
+  * Support hdf5 1.8.13 new packaging layout.
+    Thanks to Gilles Filippini for the patch.
+    (closes: #756662)
+
+ -- Bas Couwenberg <sebastic at xs4all.nl>  Fri, 01 Aug 2014 00:01:08 +0200
+
 gdal (1.10.1+dfsg-7) unstable; urgency=medium
 
   * Also use autotools_dev to update config.sub and config.guess.
diff --git a/debian/rules b/debian/rules
index acbf0a5..551f1ea 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,6 +18,12 @@ GDAL_MAJOR=$(word 1,$(GDALVER))
 GDAL_MINOR=$(word 2,$(GDALVER))
 GDAL_PATCH=$(word 3,$(GDALVER))
 
+ifneq ($(wildcard /usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/serial/libhdf5.so),)
+  WITH_HDF5:=--with-hdf5=/usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/serial
+else
+  WITH_HDF5:=
+endif
+
 versions:
 	@echo Gdal version: $(GDAL_MAJOR).$(GDAL_MINOR).$(GDAL_PATCH)
 	@echo Swig version: $(SWIGVER)
@@ -86,6 +92,7 @@ override_dh_auto_configure:
 			--with-webp \
 			--with-jasper \
 			--with-netcdf \
+			$(WITH_HDF5) \
 			--with-xerces \
 			--with-geos \
 			--with-sqlite3 \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/gdal.git



More information about the Pkg-grass-devel mailing list