Bug#870079: hdf4: Please enable SZIP support (libaec library)
Package: hdf4
Severity: wishlist
Tags: patch
Debdiff attached. This enables HDF4 to read/write compressed files
-- System Information:
Debian Release: 9.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 4.9.0-3-686-pae (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to en_IE.UTF-8), LANGUAGE=C (charmap=UTF-8) (ignored: LC_ALL set to en_IE.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru libhdf4-4.2.13/debian/changelog libhdf4-4.2.13/debian/changelog
--- libhdf4-4.2.13/debian/changelog 2017-06-28 22:30:05.000000000 +0100
+++ libhdf4-4.2.13/debian/changelog 2017-07-25 15:58:54.000000000 +0100
@@ -1,3 +1,10 @@
+libhdf4 (4.2.13-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Enable SZIP support
+
+ -- Alastair McKinstry <mckinstry@debian.org> Tue, 25 Jul 2017 15:58:54 +0100
+
libhdf4 (4.2.13-1) unstable; urgency=medium
* Team upload.
diff -Nru libhdf4-4.2.13/debian/control libhdf4-4.2.13/debian/control
--- libhdf4-4.2.13/debian/control 2017-06-28 22:29:26.000000000 +0100
+++ libhdf4-4.2.13/debian/control 2017-07-25 15:58:54.000000000 +0100
@@ -11,6 +11,7 @@
chrpath,
flex,
gfortran,
+ libaec-dev,
libjpeg-dev,
sharutils,
zlib1g-dev
diff -Nru libhdf4-4.2.13/debian/rules libhdf4-4.2.13/debian/rules
--- libhdf4-4.2.13/debian/rules 2017-06-28 22:02:11.000000000 +0100
+++ libhdf4-4.2.13/debian/rules 2017-07-25 15:58:54.000000000 +0100
@@ -87,6 +87,7 @@
--libdir=/usr/lib \
--enable-shared \
--enable-fortran \
+ --with-szip \
F77="$(F77)" CC="$(CC)" CXX="$(CXX)" \
CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"
@@ -99,6 +100,7 @@
--enable-shared \
--disable-fortran \
--disable-netcdf \
+ --with-szip \
CC="$(CC)" CXX="$(CXX)" \
CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"
Reply to: