Source: meep-mpich2
Version: 1.2.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

iQEcBAEBCAAGBQJT2sUKAAoJEO/obGx//s+DBooIAKIyky8cdAx0WInUML0rk9aS
P6pHxiJpu9jP7T4kTleboAC9HUGGQEO1DBKxnF8u/ZLisdh0jmfxVst3GKHx2WNQ
8dKKPT8JfZg28EpD/Wig628d8RO36xqZj43kcJ1+k/KalC2TpwKW43lnleENC6Il
D9IdO6qDZpniJADlKnaHwlwRyNaSayqjAs9WLOvxFj9Vh4pVEkp+YDCtpQ+WXDYS
5VunOv8ZOT8KuAMbcJPYJXdIIqoK3dVqr5VVlRMmAQu5LemClmE+jVl5hM23x9Pp
akJxbaYf4yul8s7QQZ+f5NX0cwJhbbioHgD7rA9SRFKsImwKfb1A2isF4B40ViE=
=VnwT
-----END PGP SIGNATURE-----
diff -Nru meep-mpich2-1.2.1/debian/changelog meep-mpich2-1.2.1/debian/changelog
--- meep-mpich2-1.2.1/debian/changelog	2014-05-25 19:25:30.000000000 +0200
+++ meep-mpich2-1.2.1/debian/changelog	2014-07-25 14:02:11.000000000 +0200
@@ -1,3 +1,10 @@
+meep-mpich2 (1.2.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 14:02:11 +0200
+
 meep-mpich2 (1.2.1-2) unstable; urgency=medium
 
   * debian/control: add Conflicts: with old lib (Closes: #748660)
diff -Nru meep-mpich2-1.2.1/debian/rules meep-mpich2-1.2.1/debian/rules
--- meep-mpich2-1.2.1/debian/rules	2014-05-12 15:37:18.000000000 +0200
+++ meep-mpich2-1.2.1/debian/rules	2014-07-31 10:43:28.000000000 +0200
@@ -9,6 +9,11 @@
 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/mpich/libhdf5.so),)
+  export DEB_CPPFLAGS_MAINT_APPEND := -I/usr/include/hdf5/mpich
+  export DEB_LDFLAGS_MAINT_APPEND := -Wl,-L/usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/mpich
+endif
+
 CONFIGURE_FLAGS = --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
 	--prefix=/usr --mandir=\$${prefix}/share/man \
 	--infodir=\$${prefix}/share/info \

Reply via email to