Bug#756677: libvigraimpex: [hdf5 transition] please support hdf5 1.8.13 new packaging layout
Source: libvigraimpex
Version: 1.9.0+dfsg-8
Severity: important
Tags: patch
User: pini@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
iQEcBAEBCAAGBQJT2sQYAAoJEO/obGx//s+DyQIIAJMHna2NKnDf/EfJxIKB4c3d
G8S1+p5jeKbRcLShXFrHfrw597IuYb21+dVKZCC/krerpSY+an846P6Oa4nZC43H
XF9Ryko0/KtaX3DBfRer5HI0Q2bvIIOGZkBjUMA8zmNP7IUo+t9NSioKnJ106ASm
62iN1v2FIa+kro2XN0fH9D9uvlGE3ssPMAo327pvcXdp7YcqlppsmqDXF50N7VX3
vOnNU+fY9hyGXfuF29EPLuWWjhjEgQFwam3Zh8YjssXbSLsP3FowIS9DDUBlW3P/
F1VQDzFceqEhtMFEJfZt4MFlL/8E19C8P6Rv0yjZSqbuHUJ/fWaGtLhfwA+SSos=
=8mXE
-----END PGP SIGNATURE-----
diff -Nru libvigraimpex-1.9.0+dfsg/debian/changelog libvigraimpex-1.9.0+dfsg/debian/changelog
--- libvigraimpex-1.9.0+dfsg/debian/changelog 2014-07-25 12:40:52.000000000 +0200
+++ libvigraimpex-1.9.0+dfsg/debian/changelog 2014-07-25 13:10:56.000000000 +0200
@@ -1,3 +1,9 @@
+libvigraimpex (1.9.0+dfsg-9) unstable; urgency=low
+
+ * Support hdf5 1.8.13 new packaging layout.
+
+ -- Gilles Filippini <pini@debian.org> Fri, 25 Jul 2014 13:10:56 +0200
+
libvigraimpex (1.9.0+dfsg-8) unstable; urgency=medium
* QA upload.
diff -Nru libvigraimpex-1.9.0+dfsg/debian/rules libvigraimpex-1.9.0+dfsg/debian/rules
--- libvigraimpex-1.9.0+dfsg/debian/rules 2014-07-25 12:40:44.000000000 +0200
+++ libvigraimpex-1.9.0+dfsg/debian/rules 2014-07-31 10:25:10.000000000 +0200
@@ -25,6 +25,11 @@
current_version = $(shell cd $(here) && dpkg-parsechangelog | sed -n -r -e "/Version: (.*)/ { s//\1/p; q; }")
upstream_version = $(firstword $(subst -,$(space),$(current_version)))
+ifneq ($(wildcard /usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/serial/libhdf5.so),)
+ export CMAKE_INCLUDE_PATH=/usr/include/hdf5/serial
+ export CMAKE_LIBRARY_PATH=/usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/serial
+endif
+
cmake_options = \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_VERBOSE_MAKEFILE=ON \
Reply to: