Source: tessa Version: 0.3.1-6 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 iQEcBAEBCAAGBQJT2sjSAAoJEO/obGx//s+DAHQH/i7hUOiEK7hViUkXRXFtxgRz 2zALukbqYkzGh+zbFPO4pZ3YH05m1uSVIxbq8N8Tg9wFiT8425KPssJMCef/XDaT kNtLlc292Qg29IBwGAzFeZQKEbx0vI4fbRqKNNtR9KMviHycLKliCDqJMiIUuo8l BB73uo3hIRrZWdwiqhlzH8oPZZ3PLofR6BoeKQupbjgbCVpFIXAoTRspzXzl1o/m EqFBwJPn4VtavCxTtHkLRZu9B4q4uVk/zRa85ETInyrAu3oI1x8Il3cvd42nE3CP RGopla8QWVqXYLhTqSBrWVZsFAyv4pBoYUrgN64tNkVcjGzJ+3qgu61wAeprqLA= =d0++ -----END PGP SIGNATURE-----
diff -u tessa-0.3.1/debian/changelog tessa-0.3.1/debian/changelog --- tessa-0.3.1/debian/changelog +++ tessa-0.3.1/debian/changelog @@ -1,3 +1,10 @@ +tessa (0.3.1-6.1) unstable; urgency=low + + * Non-maintainer upload. + * Support hdf5 1.8.13 new packaging layout. + + -- Gilles Filippini <p...@debian.org> Sat, 26 Jul 2014 19:17:56 +0200 + tessa (0.3.1-6) unstable; urgency=low * Whoops. Only use MPI on supported arches. diff -u tessa-0.3.1/debian/rules tessa-0.3.1/debian/rules --- tessa-0.3.1/debian/rules +++ tessa-0.3.1/debian/rules @@ -6,9 +6,15 @@ 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),) + HDF5_CPPFLAGS := -I/usr/include/hdf5/serial + HDF5_LDFLAGS := -Wl,-L/usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/serial +endif + CONFIG_OPTS = --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \ --cache-file=../config.cache --prefix=/usr \ - CPPFLAGS=-DH5_USE_16_API + CPPFLAGS="$(HDF5_CPPFLAGS) -DH5_USE_16_API" \ + LDFLAGS="$(HDF5_LDFLAGS)" clean: dh_testdir