Source: meep-openmpi
Version: 1.2.1-1
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

iQEcBAEBCAAGBQJT2sVgAAoJEO/obGx//s+DIewH/3aZLNrrM13Gw/qmM2EhyqyE
sFUywPVpYLx1YTetWIcev1I7ccHHstmYkFjsbDKsvYHC9cFEN3Z8Y6DXRE0t6XWp
zVHP870nerSvPNi1Z6AQ+pLA+WUCVLSdq8Pg1a7NMvU9jmlCWtNk7ed2qKWACE+I
HYQunQ6QtdjL+A72/GnmP0+oen4AjltKHLxoywce0wL7xG3RzthWzT0jdqB+qLvX
X70SLZGel1+jC7JBuz1yNQqXEEoRUI1Er2541nadJGGtkdBG0oV3RVruPVhJzOx+
QNOSNe+MnBxVyeLGNy/ITB4Hs0WBKuYUJff6cufd0MUQhyauZr94MHIaqMpmVRg=
=NhPM
-----END PGP SIGNATURE-----
diff -Nru meep-openmpi-1.2.1/debian/changelog meep-openmpi-1.2.1/debian/changelog
--- meep-openmpi-1.2.1/debian/changelog	2014-05-11 14:25:10.000000000 +0200
+++ meep-openmpi-1.2.1/debian/changelog	2014-07-25 14:11:39.000000000 +0200
@@ -1,3 +1,10 @@
+meep-openmpi (1.2.1-1.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:11:39 +0200
+
 meep-openmpi (1.2.1-1) unstable; urgency=medium
 
   * new upstream version
diff -Nru meep-openmpi-1.2.1/debian/rules meep-openmpi-1.2.1/debian/rules
--- meep-openmpi-1.2.1/debian/rules	2014-05-12 14:05:16.000000000 +0200
+++ meep-openmpi-1.2.1/debian/rules	2014-07-31 10:47:53.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/openmpi/libhdf5.so),)
+  export DEB_CPPFLAGS_MAINT_APPEND := -I/usr/include/hdf5/openmpi
+  export DEB_LDFLAGS_MAINT_APPEND := -Wl,-L/usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/openmpi
+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