Bas Couwenberg pushed to branch master at Debian GIS Project / h5utils


Commits:
31e9356a by Bas Couwenberg at 2026-09-04T12:26:25+02:00
Add patch to fix HDF4 support with 4.4.0.

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/hdf-4.4.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -7,6 +7,7 @@ h5utils (1.13.2-3) UNRELEASED; urgency=medium
   * Drop Rules-Requires-Root: no, default since dpkg 1.22.13.
   * Use test-build-validate-cleanup instead of test-build-twice.
   * Drop Priority: optional, default since dpkg 1.22.13.
+  * Add patch to fix HDF4 support with 4.4.0.
 
  -- Bas Couwenberg <[email protected]>  Thu, 20 Mar 2025 06:07:18 +0100
 


=====================================
debian/patches/hdf-4.4.patch
=====================================
@@ -0,0 +1,18 @@
+Description: Check libhdf to HDF 4.4.0.
+Author: Bas Couwenberg <[email protected]>
+Bug-Debian: https://bugs.debian.org/1146652
+Forwarded: https://github.com/NanoComp/h5utils/pull/20
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -93,7 +93,9 @@ if test "x$H4TOH5" != xh4toh5 -o "x$H5TO
+       AC_CHECK_LIB(jpeg, jpeg_start_compress,
+               [AC_CHECK_LIB(df, DFSDgetdata,
+                       [H4_LIBS="-ldf -ljpeg"; HDF4=yes],
+-                      [AC_MSG_WARN([can't find libdf (HDF4): won't be able to 
compile h5fromh4 or h4fromh5])], -ljpeg)],
++                      [AC_CHECK_LIB(hdf, DFSDgetdata,
++                              [H4_LIBS="-lhdf -ljpeg"; HDF4=yes],
++                              [AC_MSG_WARN([can't find libdf/libhdf (HDF4): 
won't be able to compile h5fromh4 or h4fromh5])])], -ljpeg)],
+               [AC_MSG_WARN([can't find libjpeg: won't be able to compile 
h5fromh4 or h4fromh5])])
+ 
+       if test $HDF4 = yes; then


=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
 acute-accent-in-manual-page.patch
+hdf-4.4.patch



View it on GitLab: 
https://salsa.debian.org/debian-gis-team/h5utils/-/commit/31e9356ad31932f0deb833b3b4e7bbccdb18dcd0

-- 
View it on GitLab: 
https://salsa.debian.org/debian-gis-team/h5utils/-/commit/31e9356ad31932f0deb833b3b4e7bbccdb18dcd0
You're receiving this email because of your account on salsa.debian.org. Manage 
all notifications: https://salsa.debian.org/-/profile/notifications | Help: 
https://salsa.debian.org/help


_______________________________________________
Pkg-grass-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to