Source: pygpiv
Version: 2.0.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

iQEbBAEBCAAGBQJT2sdNAAoJEO/obGx//s+D6/sH92wlVxC8kx90JBxUU+z3xQ1F
z9/JHZPIVNvrCJss4RAtdm+THW2ouhqeQTg6u9XXK0xTwUkb9humwizHfReWfDSb
5q0p1xBeL4LjxV89thJbW1rD7pAaTQbjWWvMag3Tg0YZqeBYTX6RhZSTuz+Aoisf
3Xfe33uZ2hg5HWqMKHghgFL2HyxVRfjizifl3oPpjhmaiLQgP5J9nHingfmIUfIu
7GR9p6Sm195aLirAFqI4bp9N2cu/9r2YK4xL6rOzazTQmgOAfli4zt2iMhRPtRDG
p2SPO+KZvQfviSKLfnKBpT26SO+m9LkIkwSFE3+x605m45BJMeRBrZ5aeaMYug==
=74j+
-----END PGP SIGNATURE-----
diff -Nru pygpiv-2.0.0/debian/changelog pygpiv-2.0.0/debian/changelog
--- pygpiv-2.0.0/debian/changelog	2012-05-18 11:06:45.000000000 +0200
+++ pygpiv-2.0.0/debian/changelog	2014-07-26 14:12:10.000000000 +0200
@@ -1,3 +1,10 @@
+pygpiv (2.0.0-4.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Support hdf5 1.8.13 new packaging layout.
+
+ -- Gilles Filippini <p...@debian.org>  Sat, 26 Jul 2014 14:12:10 +0200
+
 pygpiv (2.0.0-4.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -Nru pygpiv-2.0.0/debian/rules pygpiv-2.0.0/debian/rules
--- pygpiv-2.0.0/debian/rules	2012-05-18 11:00:24.000000000 +0200
+++ pygpiv-2.0.0/debian/rules	2014-07-31 15:18:13.000000000 +0200
@@ -19,6 +19,11 @@
 CFLAGS	+= -Wall
 LDFLAGS += -Wl,--as-needed
 
+ifneq ($(wildcard /usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/serial/libhdf5.so),)
+  CFLAGS += -I/usr/include/hdf5/serial
+  LDFLAGS += -Wl,-L/usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/serial
+endif
+
 clean: 
 	dh_testdir
 	dh_testroot

Reply via email to