Bug#841965: nexus: Please support building against HDF5-1.10

2016-10-25 Thread Adrian Bunk
On Mon, Oct 24, 2016 at 10:27:14PM +0200, Gilles Filippini wrote:
> Source: nexus
> Version: 4.3.2-svn1921-3
> Severity: important
> Tags: patch
> 
> Hi,

Hi Gilles,

> Please find attached a patch to support building against HDF5-1.10 currently 
> in experimental. I intend to request a transition slot this week, and will 
> NMU if need be.

nexus is orphaned with noone currently working on adoption,
please go ahead and do a (non-NMU) QA upload.

> Thanks,

Thanks
Adrian

-- 

   "Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
   "Only a promise," Lao Er said.
   Pearl S. Buck - Dragon Seed



Bug#841965: nexus: Please support building against HDF5-1.10

2016-10-24 Thread Gilles Filippini
Source: nexus
Version: 4.3.2-svn1921-3
Severity: important
Tags: patch

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Hi,

Please find attached a patch to support building against HDF5-1.10 currently in 
experimental. I intend to request a transition slot this week, and will NMU if 
need be.

Thanks,

_g.

- -- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-BEGIN PGP SIGNATURE-

iQEcBAEBCAAGBQJYDm6iAAoJEO/obGx//s+DRe8H/3KH4KW19wWpbveKdv3r1pp4
jHtRWCyLVlIMwTXwuUHHugPl0hhKwJRvhUn11c5mH8bVtB35vc5gGbxDswCNbD7B
h+oit+pEWWD5GEkrIRQet/kytSWsA8CVteLXKJrPskoBcHm5p2634jHWUi8qhu0q
m0UxxijJgc28eSAO2bmWl3DYgrSbIv42INOaMMEpvQeYUf4nCrw0Kp6Dpwi4Bn2e
bFRS7JjhettnJC3n68iLpob3j9/n+Bw75yvoh72MOLWri7UGjDk4ce76jke3tSmX
cXHPKHQaPw5hhYYIDfxJw8fHx3z83MGHcE2e98CBvyLfz6Eao4yoxL0GQHWIFO0=
=5+JJ
-END PGP SIGNATURE-
diff -Nru nexus-4.3.2-svn1921/debian/changelog nexus-4.3.2-svn1921/debian/changelog
--- nexus-4.3.2-svn1921/debian/changelog	2015-12-14 00:09:11.0 +0100
+++ nexus-4.3.2-svn1921/debian/changelog	2016-10-21 00:25:42.0 +0200
@@ -1,3 +1,9 @@
+nexus (4.3.2-svn1921-4) unstable; urgency=medium
+
+  * Fix HDF5 1.10 detection
+
+ -- Gilles Filippini   Fri, 22 Jul 2016 23:05:27 +0200
+
 nexus (4.3.2-svn1921-3) unstable; urgency=medium
 
   * QA upload.
diff -Nru nexus-4.3.2-svn1921/debian/patches/fix-hdf5-1-10-detection.patch nexus-4.3.2-svn1921/debian/patches/fix-hdf5-1-10-detection.patch
--- nexus-4.3.2-svn1921/debian/patches/fix-hdf5-1-10-detection.patch	1970-01-01 01:00:00.0 +0100
+++ nexus-4.3.2-svn1921/debian/patches/fix-hdf5-1-10-detection.patch	2016-10-21 00:25:42.0 +0200
@@ -0,0 +1,13 @@
+Index: nexus-4.3.2-svn1921/configure.ac
+===
+--- nexus-4.3.2-svn1921.orig/configure.ac
 nexus-4.3.2-svn1921/configure.ac
+@@ -610,7 +610,7 @@ HDF5_API_DEFS="-DH5Acreate_vers=2 -DH5Ai
+ if test "$H5ROOT"; then
+ H5VERSION=`grep H5_VERS_INFO ${H5ROOT}/include/H5public.h | cut -d '"' -f 2 | cut -d ' ' -f 4`
+ case $H5VERSION in
+-	1.[[89]]*)
++	1.[[89]].*|1.10.*)
+ 		HDF5_LDFLAGS=""
+ 		for j in lib lib64; do
+ 		if test -d $H5ROOT/$j; then 
diff -Nru nexus-4.3.2-svn1921/debian/patches/series nexus-4.3.2-svn1921/debian/patches/series
--- nexus-4.3.2-svn1921/debian/patches/series	2014-04-16 22:00:58.0 +0200
+++ nexus-4.3.2-svn1921/debian/patches/series	2016-10-21 00:25:42.0 +0200
@@ -1 +1,2 @@
 0001-these-days-nexus-without-hdf5-is-considered-broken.patch
+fix-hdf5-1-10-detection.patch