Source: netcdf
Version: 1:4.1.3-7
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

iQEcBAEBCAAGBQJT2sZvAAoJEO/obGx//s+D2PEIAJcmArcRXIGelsXsqqMM7PrT
byMkj4xlYfDpApDMRLwLcTTBq2RgfVhdIFQfVB4NKThF05NWHCBMSnGOQSPJWzhr
nrOe2EcHVK4V9gOCcfC1Mqv+EA7++0rUU2YVH9gqSo/Oqdx+Y+GoZQtkmUhpNGSn
ZCkVurs/W275hDh1mhErhQfO13Wx5Hwxy/uItF9yEA+T+AFqDnw9LVk51Cft5cK1
p3S8vQB8J30NpVSdikPxy1W2Mi4AHnK3FjDZVc6S5V3blX4KgoWsAsep6R6yMnKV
pQdRoHu8AKE5lw3Yod3jEOT/cnORsrCWTx9JhL35TEAxdo0heXWq0Pibov2wdAg=
=ckTm
-----END PGP SIGNATURE-----
diff -Nru netcdf-4.1.3/debian/changelog netcdf-4.1.3/debian/changelog
--- netcdf-4.1.3/debian/changelog	2013-10-09 14:50:35.000000000 +0200
+++ netcdf-4.1.3/debian/changelog	2014-07-24 16:11:22.000000000 +0200
@@ -1,3 +1,10 @@
+netcdf (1:4.1.3-7.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Support hdf5 1.8.13 new packaging layout.
+
+ -- Gilles Filippini <p...@debian.org>  Thu, 24 Jul 2014 16:11:22 +0200
+
 netcdf (1:4.1.3-7) unstable; urgency=low
 
   * Team upload
diff -Nru netcdf-4.1.3/debian/rules netcdf-4.1.3/debian/rules
--- netcdf-4.1.3/debian/rules	2013-10-09 14:35:06.000000000 +0200
+++ netcdf-4.1.3/debian/rules	2014-07-31 11:08:32.000000000 +0200
@@ -9,14 +9,19 @@
 # skipping of fort-nc4.c without that.
 #
 # Remote sites could be not available at check time, so disabling some tests...
-#DEB_CONFIGURE_EXTRA_FLAGS := --enable-shared --enable-pic --enable-docs-install --enable-netcdf-4  --with-hdf5=/usr --with-libcf --enable-dap 
+#DEB_CONFIGURE_EXTRA_FLAGS := --enable-shared --enable-pic --enable-docs-install --enable-netcdf-4  --with-libcf --enable-dap 
 # This is useful to avoid remote Nap checks
-DEB_CONFIGURE_EXTRA_FLAGS := --enable-shared --enable-pic --enable-docs-install --enable-netcdf-4  --with-hdf5=/usr --with-libcf --enable-dap --disable-dap-remote-tests
+DEB_CONFIGURE_EXTRA_FLAGS := --enable-shared --enable-pic --enable-docs-install --enable-netcdf-4  --with-libcf --enable-dap --disable-dap-remote-tests
 DEB_CONFIGURE_SCRIPT_ENV += FC="gfortran"
 DEB_CONFIGURE_SCRIPT_ENV += CXX="g++"
 DEB_CONFIGURE_SCRIPT_ENV += CC="gcc"
 DEB_CONFIGURE_SCRIPT_ENV += CPPFLAGS="-DgFortran"
 
+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
+
 DEB_MAKE_CHECK_TARGET = check
 
 DEB_INSTALL_CHANGELOGS_ALL = $(CURDIR)/RELEASE_NOTES
_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to