Source: yorick-hdf5
Version: 0.8.0-4
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

iQEcBAEBCAAGBQJT2slkAAoJEO/obGx//s+DGSoH/3rSY1vY8fyiozzFTiLTgVPk
wBVh9TxsvuQDvh8DydX7vpleIgE9WNv+6x61ztAToel8Rt3yTdZuyFfX3oNg2EVZ
JDEzxxFxSZPIXbrxL34egv7Ny96vyLD8gq4rVokZLtg9WmjIl9xJfawfnHxIFw8m
W4dZDmrid3faq2PuwjfY8MGGkKuT5Fa/rZsv+hiY2vxk84W3dbA3uYpsql2TUT+A
/Jt1VxaFNCTTR+uf+f1vIRdKWMNqCoXMKI/lQ7QerpYeztIr8SfVfYmvlGI9BNRd
aPsgvuLtD7aun7RW0NomZd5WhQEmrL8NhlHr8myW+hHrd1/JHlU9ghYHB9nyRzA=
=YO/c
-----END PGP SIGNATURE-----
diff -Nru yorick-hdf5-0.8.0/debian/changelog yorick-hdf5-0.8.0/debian/changelog
--- yorick-hdf5-0.8.0/debian/changelog	2012-06-28 17:39:22.000000000 +0200
+++ yorick-hdf5-0.8.0/debian/changelog	2014-07-26 20:18:32.000000000 +0200
@@ -1,3 +1,10 @@
+yorick-hdf5 (0.8.0-4.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Support hdf5 1.8.13 new packaging layout.
+
+ -- Gilles Filippini <p...@debian.org>  Sat, 26 Jul 2014 20:18:32 +0200
+
 yorick-hdf5 (0.8.0-4) unstable; urgency=low
 
   * Fortify (don't rely on yorick to provide right flags)
diff -Nru yorick-hdf5-0.8.0/debian/rules yorick-hdf5-0.8.0/debian/rules
--- yorick-hdf5-0.8.0/debian/rules	2012-06-28 17:38:01.000000000 +0200
+++ yorick-hdf5-0.8.0/debian/rules	2014-07-31 19:13:26.000000000 +0200
@@ -1,5 +1,10 @@
 #!/usr/bin/make -f
 
+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
+
 %:
 	dh $@
 
@@ -12,4 +17,4 @@
 	dh_installyorick
 
 override_dh_auto_clean:
-	$(MAKE) Y_MAKEDIR=/usr/lib/yorick Y_EXE=/usr/bin/yorick clean
+	-$(MAKE) Y_MAKEDIR=/usr/lib/yorick Y_EXE=/usr/bin/yorick clean

Reply via email to