Source: minc
Version: 2.2.00-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

iQEcBAEBCAAGBQJT2sWhAAoJEO/obGx//s+DNYgH/3qG6W7K+aqti/B2xM0j9B3c
ndIE+NCM9w/pEHixSp26uIgt/kMRE0LK3e8se9pvFZGCDcsIOAWKy7zBj6Dw/yNy
5vBfeIC3a8EswlMXAG361xJ4SB41WMaTIfB/V4Xxd6KvmOnw8BJP1o94vqn2u9Cy
0jFJBPS4R4Vd7fYGxW2oDk3exBe00QkeQoglEZ4ngM7xpMLiDI4nrFOTdOgHZhTP
Wyv/9nn4fsZRxSHBhlv6Sc31UGMPYpdl8f1SUZ2ErdcebnBNz2QHe4vbgYJByPrX
XJCfNKIbEChhlCepwfAR0dlU1GTTnAjIVuclZkaFxUWwzCzjVSww8fpXaQia6QQ=
=6/X6
-----END PGP SIGNATURE-----
diff -Nru minc-2.2.00/debian/changelog minc-2.2.00/debian/changelog
--- minc-2.2.00/debian/changelog	2014-05-05 11:35:26.000000000 +0200
+++ minc-2.2.00/debian/changelog	2014-07-25 14:08:42.000000000 +0200
@@ -1,3 +1,10 @@
+minc (2.2.00-4.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Support hdf5 1.8.13 new packaging layout.
+
+ -- Gilles Filippini <p...@debian.org>  Fri, 25 Jul 2014 14:08:42 +0200
+
 minc (2.2.00-4) unstable; urgency=medium
 
   * Apply patch provided by Alexander Ovchinnikov to build with clang
diff -Nru minc-2.2.00/debian/rules minc-2.2.00/debian/rules
--- minc-2.2.00/debian/rules	2013-09-14 07:54:39.000000000 +0200
+++ minc-2.2.00/debian/rules	2014-07-31 10:49:56.000000000 +0200
@@ -10,7 +10,10 @@
 	DEB_BUILD_OPTIONS += nocheck
 endif
 
-
+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
 
 DEB_CONFIGURE_EXTRA_FLAGS = --enable-shared --enable-minc2 --enable-acr-nema CFLAGS="$(CFLAGS)"
 

Reply via email to