Source: libcgns
Version: 3.1.4.2-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

iQEcBAEBCAAGBQJT2sJlAAoJEO/obGx//s+DsmIIAIdq/EcpiLvuMTxRi52fHNVQ
JyJcgqGgF2hYsd73AOkZdQcXKriV5ak2tlj30qd2SVEdu2PzL7RpREfXUwLII6L0
N9I4L50TbPwl9Z3HzvAH6xuqDaSi78Jsg/pN9Adtmyh7YH0CbhTOVIALLgyymERQ
P19BCOOd7v1TXVg3tv4JtNTm0MKuW9VPGC2S5zBzR4vhlkMQ0BZ2PyvQ4INMNbKF
4tp4vwsKCgzykV+NbArd6phbz3Q7LeQDSwFsFlep1krDIz7mUbjOOVimSsCovuX2
AYcT1lsMzZ64nl/XB49pSZtalERLYLAQMCo7YZlprwIiJNZjHANzp4hllu/Eq+A=
=2JM/
-----END PGP SIGNATURE-----
diff -Nru libcgns-3.1.4.2/debian/changelog libcgns-3.1.4.2/debian/changelog
--- libcgns-3.1.4.2/debian/changelog	2013-08-06 14:52:59.000000000 +0200
+++ libcgns-3.1.4.2/debian/changelog	2014-07-25 10:45:50.000000000 +0200
@@ -1,3 +1,10 @@
+libcgns (3.1.4.2-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 10:45:50 +0200
+
 libcgns (3.1.4.2-1) unstable; urgency=low
 
   * New upstream release
diff -Nru libcgns-3.1.4.2/debian/rules libcgns-3.1.4.2/debian/rules
--- libcgns-3.1.4.2/debian/rules	2013-08-06 14:43:24.000000000 +0200
+++ libcgns-3.1.4.2/debian/rules	2014-07-31 10:10:33.000000000 +0200
@@ -10,6 +10,10 @@
 DEB_CMAKE_EXTRA_FLAGS += -DENABLE_64BIT=OFF -DENABLE_HDF5=ON \
  -DENABLE_LEGACY=ON -DENABLE_SCOPING=ON -DENABLE_FORTRAN=ON
 
+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
 
 DEB_CONFIGURE_NORMAL_ARGS += --enable-shared=all --with-hdf5=/usr \
 	--with-szip --enable-lfs --enable-debug

Reply via email to