Source: aster
Version: 11.5.0+dfsg2-2
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

iQEcBAEBCAAGBQJT2rYHAAoJEO/obGx//s+DK8YH/j7zh1jAoiPoRqI4dGQpmnVW
Z+KColuVlayE5nlOWuea8TMKhnap0luSy2H9dYZkKRwjIjWGOy6AlsdQIJqGQVqI
oDNcFVSgp7SXAoFHu2mbtg1B27OhRwpknC7qx8rxdKWWuvPtqCeOz3aRgQuV2ckK
Zf3V9Fl4trkhVpLhU7KkrZkRVlczl276V90aeVe2F8ufGKebTFMKQkdkHvaNx+oN
Vi6HxIjx6xmRuafampEsdLQhy308x13WelOjp2lB+45E1lASWt++E1nRy9jpHhRw
FATC9wwWdLCWCGQ1kMe6Wzwqp0apf0XaJDEi5iNkWSpiXyaSIRIxCE3ueWbteKM=
=DU8F
-----END PGP SIGNATURE-----
diff -Nru aster-11.5.0+dfsg2/debian/changelog aster-11.5.0+dfsg2/debian/changelog
--- aster-11.5.0+dfsg2/debian/changelog	2014-06-16 14:04:11.000000000 +0200
+++ aster-11.5.0+dfsg2/debian/changelog	2014-07-24 14:46:25.000000000 +0200
@@ -1,3 +1,10 @@
+aster (11.5.0+dfsg2-2.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Support hdf5 1.8.13 new packaging layout.
+
+ -- Gilles Filippini <p...@debian.org>  Thu, 24 Jul 2014 14:46:06 +0200
+
 aster (11.5.0+dfsg2-2) unstable; urgency=low
 
   * Team upload.
diff -Nru aster-11.5.0+dfsg2/debian/compat aster-11.5.0+dfsg2/debian/compat
--- aster-11.5.0+dfsg2/debian/compat	2014-03-26 11:55:03.000000000 +0100
+++ aster-11.5.0+dfsg2/debian/compat	2014-07-24 15:54:25.000000000 +0200
@@ -1 +1 @@
-8
+9
diff -Nru aster-11.5.0+dfsg2/debian/rules aster-11.5.0+dfsg2/debian/rules
--- aster-11.5.0+dfsg2/debian/rules	2014-06-13 09:57:12.000000000 +0200
+++ aster-11.5.0+dfsg2/debian/rules	2014-07-31 08:56:51.000000000 +0200
@@ -4,6 +4,16 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+
+# Which MPI implementation?
+# set ARCH_DEFAULT_MPI_IMPL
+include /usr/share/mpi-default-dev/debian_defaults
+
+ifneq ($(wildcard /usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/$(ARCH_DEFAULT_MPI_IMPL)/libhdf5.so),)
+  export DEB_CPPFLAGS_MAINT_APPEND := -I/usr/include/hdf5/$(ARCH_DEFAULT_MPI_IMPL)
+  export DEB_LDFLAGS_MAINT_APPEND := -Wl,-L/usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/$(ARCH_DEFAULT_MPI_IMPL)
+endif
+
 %:
 	dh $@  --with=python2
 
@@ -18,7 +28,8 @@
 	./waf configure --install-tests --prefix=/usr \
 		--disable-metis \
 		--build-executable \
-		--enable-mpi
+		--enable-mpi \
+		--enable-hdf5
 
 override_dh_auto_build:
 ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to