Source: mpb
Version: 1.5-1
Severity: important
Tags: patch
User: [email protected]
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

iQEcBAEBCAAGBQJT2sXQAAoJEO/obGx//s+DSccH/RBNdBlxHszjLwE0HOyMWnwp
h8bqx7fjTyTwFKxZjDAtza+szBKRjnG7ptdpi2EC+uvdKyV+ATMR0QX3kO/4bBXY
32xOth3Ua3j9y1B2H7p2oTi6dwQod3t0FEwEErsYgX0no8LdKPYCAqlchpyLcKoy
Rsf58cMY6lChf9gCqfHLfilMgTChhZBcPeRL+ALoFSawTifVokvYQOw3Z7Dk9438
QwN7A+lk70RueIZCVYa2w19EaAcKjaiqiSSM6blpongOvYYdCTifJ1VOKT8uYpi/
fhbAOTitnWrqhENY8+WntMTrLd5fWBbLOAdjTMCigfocuVQkWcmTpjZyS7iTcqY=
=Jusp
-----END PGP SIGNATURE-----
diff -Nru mpb-1.5/debian/changelog mpb-1.5/debian/changelog
--- mpb-1.5/debian/changelog	2014-05-02 22:15:45.000000000 +0200
+++ mpb-1.5/debian/changelog	2014-07-25 14:13:24.000000000 +0200
@@ -1,3 +1,10 @@
+mpb (1.5-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Support hdf5 1.8.13 new packaging layout.
+
+ -- Gilles Filippini <[email protected]>  Fri, 25 Jul 2014 14:13:24 +0200
+
 mpb (1.5-1) unstable; urgency=low
 
   * upload to unstable
diff -Nru mpb-1.5/debian/rules mpb-1.5/debian/rules
--- mpb-1.5/debian/rules	2014-05-02 22:14:28.000000000 +0200
+++ mpb-1.5/debian/rules	2014-07-31 10:53:05.000000000 +0200
@@ -16,6 +16,15 @@
 DEST_DIR_MPI = $(CURDIR)/debian/build-tmp/mpb-mpi/usr
 LA_DIR = $(CURDIR)/debian/build-tmp
 
+# Which MPI implementation?
+# set ARCH_DEFAULT_MPI_IMPL
+include /usr/share/mpi-default-dev/debian_defaults
+
+ifneq ($(wildcard /usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/$(ARCH_DEFAULT_MPI_IMPL)/libhdf5.so),)
+  export DEB_CPPFLAGS_MAINT_APPEND := -I/usr/include/hdf5/$(ARCH_DEFAULT_MPI_IMPL)
+  export DEB_LDFLAGS_MAINT_APPEND := -Wl,-L/usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/$(ARCH_DEFAULT_MPI_IMPL)
+endif
+
 %:
 	dh $@ --with autoreconf
 

Reply via email to