Source: libgpiv
Version: 0.6.1-4
Severity: important
Tags: patch
User: p...@debian.org
Usertags: HDF5-transition

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,

The hdf5 1.8.13 package in experimental features a new layout for
headers and libraries, so that all the binary packages are now
co-installable.

Please find attached a patch proposal to support both the current
and the new layouts.

Because this bug is in the way of the hdf5 transition I intend to NMU
in a few days. I apologize for the urge, and I hope this approach won't
offend you. Please tell me otherwise.

Kind regards,

_g.

- -- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.14-1-486
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBCAAGBQJT2sK5AAoJEO/obGx//s+DiAQH/3g+ryhrwAfjfqj3RZAOEAQt
yu5KHFagtgYtQlsMBpJfbptuOx/f57l3YcaHxNRvpcwVBFyhyi49Vdw7E7Y1bwJ+
5NZgPdYQU1P0bXoIg+R7uyaOzWPawoNhySVmmZ57S/twZqsf5U03hhkLZ7JVfVPq
9zerYvAm/H0q7m/ySHwKt+mwLii4AIMAdYR63uwDwIvDPaXgr9cItLxSueK4s/Bh
ey8xFqbijTCp0msi9E+z0iDwgBMUC97ELXkqv2q57FKznfjfDPkrFXlBlT2jWITf
PxDSIrkSWz2rz/AkW+ghXapZSSHHHGsbk8g967BZg2qd6QaZAWdueTwCKqSzWjg=
=MNuy
-----END PGP SIGNATURE-----
diff -u libgpiv-0.6.1/debian/rules libgpiv-0.6.1/debian/rules
--- libgpiv-0.6.1/debian/rules
+++ libgpiv-0.6.1/debian/rules
@@ -16,6 +16,10 @@
 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
+ifneq ($(wildcard /usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/serial/libhdf5.so),)
+  export CPPFLAGS += -I/usr/include/hdf5/serial
+  export LDFLAGS += -Wl,-L/usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/serial
+endif
 
 CONFIGURE_OPTIONS=      --host=$(DEB_HOST_GNU_TYPE) \
 		    	--build=$(DEB_BUILD_GNU_TYPE) \
diff -u libgpiv-0.6.1/debian/changelog libgpiv-0.6.1/debian/changelog
--- libgpiv-0.6.1/debian/changelog
+++ libgpiv-0.6.1/debian/changelog
@@ -1,3 +1,10 @@
+libgpiv (0.6.1-4.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Support hdf5 1.8.13 new packaging layout.
+
+ -- Gilles Filippini <p...@debian.org>  Fri, 25 Jul 2014 10:32:23 +0200
+
 libgpiv (0.6.1-4) unstable; urgency=low
 
   * Adapted Hdf5 calls to libhdf5-1.8.8 API. Closes: #657199

Reply via email to