Source: h5utils
Version: 1.12.1-2
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

iQEcBAEBCAAGBQJT2sFxAAoJEO/obGx//s+DtzAH/A+8Ie0fu3z8wHDGnfAczhzT
P5+tJGr5AbdSEUrJT/ZPgnzijc59Y3L3M1fJ5BPMdgJDvhpeMKi6GFrkAIXn6WAc
5OWC+isSeNRVwqesXgB+9gro13pvw+vhG6aP8ncprAVc8WKj14GhD5tAbpXFUvRg
rwRFH+Wfqwlh4fTKR9RzJNGCoIhiHN4DaFa9ce9BFNsZLk7cQ3TkY7gGQTUPRHYA
mfSrav2aytxOrRDJh7Zceta0Ov7qh3Iv8rz1/z6kZ95EGK45PSdNjMxpq35BDrGr
ZwWm1zStRd3bAeyHn7n5Gq4kO1my7q+96trn5FoKpIAxmtg9qPTcNsI1eBTFoww=
=mTuq
-----END PGP SIGNATURE-----
diff -u h5utils-1.12.1/debian/rules h5utils-1.12.1/debian/rules
--- h5utils-1.12.1/debian/rules
+++ h5utils-1.12.1/debian/rules
@@ -20,6 +20,11 @@
  export CPPFLAGS
 endif
 
+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
+
 patch: patch-stamp
 patch-stamp:
 	QUILT_PATCHES=debian/patches quilt push --color=auto -a || [ $$? = 2 ]
diff -u h5utils-1.12.1/debian/changelog h5utils-1.12.1/debian/changelog
--- h5utils-1.12.1/debian/changelog
+++ h5utils-1.12.1/debian/changelog
@@ -1,3 +1,10 @@
+h5utils (1.12.1-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Support hdf5 1.8.13 new packaging layout.
+
+ -- Gilles Filippini <p...@debian.org>  Fri, 25 Jul 2014 11:10:24 +0200
+
 h5utils (1.12.1-2) unstable; urgency=low
 
   * Fixed a FTBS with libpng 1.5: patch png1.5.

Reply via email to