Source: meep-lam4
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

iQEcBAEBCAAGBQJT2sTkAAoJEO/obGx//s+DzuAH/Aqfqsf9KI2cFAzHvw+ss1Q4
1VscVpVey3/Q1aMNYCaFjZiwIgMp30mIwFL0s1UJic8MQVxZACXVPScLf6PD7SiE
lEY/Fxi7JqMQ50rWh50Dww/danZ36GK42tVCs5ifJhQ6GkrTHaKQJyUle4Xuz5cQ
eQMQv+V4I3TcwvxW6CBWdIU4f+a1gaehQyjFgIK8m4qpdPoq7XsWI4ViuuLOfeNa
fww5EVxDzEoFtwSFWeyToGSTGT75n7Hu+JrMJJSMIqODGWMIdAkayPj3WaCKhgTD
lrTr3JhHhaaGG+z/e3Xf+nQpbPApLjLo3Dyu4XoA7bJzw7/JZcp14pgHQ/zvisM=
=Dz+s
-----END PGP SIGNATURE-----
diff -Nru meep-lam4-1.2.1/debian/changelog meep-lam4-1.2.1/debian/changelog
--- meep-lam4-1.2.1/debian/changelog	2014-05-25 19:16:57.000000000 +0200
+++ meep-lam4-1.2.1/debian/changelog	2014-07-25 13:51:17.000000000 +0200
@@ -1,3 +1,10 @@
+meep-lam4 (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 13:51:17 +0200
+
 meep-lam4 (1.2.1-2) unstable; urgency=medium
 
   * debian/control: add conflict with old meep lib (Closes: #748661)
diff -Nru meep-lam4-1.2.1/debian/rules meep-lam4-1.2.1/debian/rules
--- meep-lam4-1.2.1/debian/rules	2014-05-12 12:41:34.000000000 +0200
+++ meep-lam4-1.2.1/debian/rules	2014-07-31 10:42:25.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/serial/libhdf5.so),)
+  export DEB_CPPFLAGS_MAINT_APPEND := -I/usr/include/hdf5/serial
+  export DEB_LDFLAGS_MAINT_APPEND := -Wl,-L/usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/serial
+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