GNU bug report logs - #77385
[PATCH] gnu: hdf-java: Update to 1.14.3.

Previous Next

Package: guix-patches;

Reported by: David Elsing <david.elsing <at> posteo.net>

Date: Sun, 30 Mar 2025 14:14:02 UTC

Severity: normal

Tags: patch

Done: Andreas Enge <andreas <at> enge.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: David Elsing <david.elsing <at> posteo.net>
Subject: bug#77385: closed (Re: [PATCH] gnu: hdf-java: Update to 1.14.3.)
Date: Mon, 31 Mar 2025 08:30:05 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#77385: [PATCH] gnu: hdf-java: Update to 1.14.3.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 77385 <at> debbugs.gnu.org.

-- 
77385: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=77385
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Andreas Enge <andreas <at> enge.fr>
To: David Elsing <david.elsing <at> posteo.net>
Cc: 77385-done <at> debbugs.gnu.org
Subject: Re: [PATCH] gnu: hdf-java: Update to 1.14.3.
Date: Mon, 31 Mar 2025 10:29:06 +0200
Excellent, thanks a lot! I made the error of not realising that
(find-files "java" "Makefile.am")
traversed subdirectories, where the substitutes occur.

I am going to push this as part of https://issues.guix.gnu.org/77287
and close this issue.

Andreas


[Message part 3 (message/rfc822, inline)]
From: David Elsing <david.elsing <at> posteo.net>
To: guix-patches <at> gnu.org
Cc: David Elsing <david.elsing <at> posteo.net>
Subject: [PATCH] gnu: hdf-java: Update to 1.14.3.
Date: Sun, 30 Mar 2025 14:12:49 +0000
* gnu/packages/maths.scm (hdf-java): Update to 1.14.3.
[arguments]: Adjust dependency versions in 'unbundle phase.
[inputs]: Replace hdf5 with hdf5-1.14.
[home-page]: Update.
[license]: Update URL.

Change-Id: I43db316c3a83f5ddac14b0c670430811dcac6bdc
---
 gnu/packages/maths.scm | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 3de5b7b8ae..d47c3425af 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -1880,7 +1880,7 @@ (define-public hdf5
 (define-public hdf-java
   (package
     (name "hdf-java")
-    (version "1.10.9")
+    (version "1.14.3")
     (source
      (origin
        (method git-fetch)
@@ -1892,7 +1892,7 @@ (define-public hdf-java
                                      version)))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1sjdcnafvzsy99vqhybkps8rnwmxb6fsvmkw89wb2mrrp4vi5z9v"))
+        (base32 "0lw9f62zxyjiv7vx9nvnashjj39i44j8d626i7b788zkxw58csvs"))
        (modules '((guix build utils)))
        (snippet     ; Make sure we don't use the bundled sources and binaries.
         '(for-each delete-file
@@ -1921,9 +1921,9 @@ (define-public hdf-java
                       inputs "/lib/m2/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar")))
                 (substitute* (append (find-files "java" "Makefile.am")
                                      (find-files "java" "Makefile.in"))
-                  (("\\$\\(top_srcdir\\)/java/lib/ext/slf4j-simple-1.7.33.jar")
+                  (("\\$\\(top_srcdir\\)/java/lib/ext/slf4j-simple-2.0.6.jar")
                    simple)
-                  (("\\$\\(top_srcdir\\)/java/lib/slf4j-api-1.7.33.jar")
+                  (("\\$\\(top_srcdir\\)/java/lib/slf4j-api-2.0.6.jar")
                    api)
                   (("\\$\\(top_srcdir\\)/java/lib/junit.jar")
                    junit)
@@ -1944,9 +1944,9 @@ (define-public hdf-java
                    junit)
                   (("\"\\$BLDLIBDIR\"/hamcrest-core.jar")
                    hamcrest)
-                  (("\"\\$BLDLIBDIR\"/slf4j-api-1.7.33.jar")
+                  (("\"\\$BLDLIBDIR\"/slf4j-api-2.0.6.jar")
                    api)
-                  (("\"\\$BLDLIBDIR\"/slf4j-simple-1.7.33.jar")
+                  (("\"\\$BLDLIBDIR\"/slf4j-simple-2.0.6.jar")
                    simple)
                   (("/usr/bin/test")
                    (search-input-file inputs "/bin/test"))
@@ -1963,11 +1963,11 @@ (define-public hdf-java
            java-slf4j-simple))
     (inputs
      (list hdf4
-           hdf5
+           hdf5-1.14
            java-slf4j-api
            libjpeg-turbo
            zlib))
-    (home-page "https://support.hdfgroup.org/products/java")
+    (home-page "https://www.hdfgroup.org")
     (synopsis "Java interface for the HDF4 and HDF5 libraries")
     (description "Java HDF Interface (JHI) and Java HDF5 Interface (JHI5) use
 the Java Native Interface to wrap the HDF4 and HDF5 libraries, which are
@@ -1976,7 +1976,7 @@ (define-public hdf-java
     ;; BSD-style license:
     (license (license:x11-style
               "https://support.hdfgroup.org/ftp/HDF5/hdf-java\
-/current/src/unpacked/COPYING"))))
+/current/src/unpacked/COPYING.html"))))
 
 (define-public hdf-eos2
   (package
-- 
2.48.1




This bug report was last modified 50 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.