From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 25 17:28:22 2023 Received: (at submit) by debbugs.gnu.org; 25 Sep 2023 21:28:22 +0000 Received: from localhost ([127.0.0.1]:46826 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qkt7u-0006Ka-As for submit@debbugs.gnu.org; Mon, 25 Sep 2023 17:28:22 -0400 Received: from lists.gnu.org ([2001:470:142::17]:49136) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qkt7s-0006KJ-JW for submit@debbugs.gnu.org; Mon, 25 Sep 2023 17:28:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qkt7a-0001ZH-Mz for guix-patches@gnu.org; Mon, 25 Sep 2023 17:28:02 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qkt7Y-0006LN-4v for guix-patches@gnu.org; Mon, 25 Sep 2023 17:28:02 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 0ECBC240101 for ; Mon, 25 Sep 2023 23:27:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1695677278; bh=DyZi8e6zQWtyJBsWjQjSQxeD9cGCI5+t9OHqId9nNgc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=e23Tk8v/5wVq9eemAWJI7gysa3yliWGhTnBt+MwyXbFEZeh9kXqHrP9EuYUcrYGJS DPpVjMn7UuUf2+Z9+HStB0Ybc1EH5b98dUTx5poT+PVt8MSAiP4a7Wdii+Y4V5OgJ6 Sp4GzJCT2h8w5txHTt2F8jbDqus+DcHAdpvrJWbXFxs+3xuYlvnpnnaft48OL3mgdL lZHJShDfxa5mk9hgnThj5ggBJHqnSCBmYZnuGZYGsSUpjftISXaWZNGQCJh1jXmXeE j6EkU2VYe1ZpeB7Au7DJVzzcpcAYziPnQwCIAJK5fNFscPzUUPnIZHWbvXjGFB/axX wk67qzAkCTL1w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RvbZP4Vklz9s03; Mon, 25 Sep 2023 23:27:57 +0200 (CEST) From: David Elsing To: guix-patches@gnu.org Subject: [PATCH] gnu: hdf-eos5: Update to 2.0. Date: Mon, 25 Sep 2023 21:27:18 +0000 Message-ID: <6bdf4579454a1147bb8430c472ab291e602aea05.1695677238.git.david.elsing@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.66; envelope-from=david.elsing@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit Cc: David Elsing X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) * gnu/packages/maths.scm (hdf-eos5): Update to 2.0. [source]: Change URL and add snippet to remove generated files. [native-inputs]: Add autoconf, automake and libtool. [inputs]: Replace hdf5-1.8 with hdf5-1.14. [arguments]: Do not use quasiquote and add the phases remove-single-module-flag and fix-parallel-tests. --- gnu/packages/maths.scm | 57 ++++++++++++++++++++++++++++++------------ 1 file changed, 41 insertions(+), 16 deletions(-) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 6141c09886..f5c925c38f 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -1741,27 +1741,52 @@ (define-public hdf-eos2 (define-public hdf-eos5 (package (name "hdf-eos5") - (version "1.15") - (source (origin - (method url-fetch) - (uri (string-append "ftp://edhs1.gsfc.nasa.gov\ -/edhs/hdfeos5/latest_release/HDF-EOS5." version ".tar.Z")) - (sha256 - (base32 - "1p83333nzzy8rn5chxlm0hrkjjnhh2w1ji8ac0f9q4xzg838i58i")) - (patches (search-patches "hdf-eos5-build-shared.patch" - "hdf-eos5-remove-gctp.patch" - "hdf-eos5-fix-szip.patch" - "hdf-eos5-fortrantests.patch")))) + (version "2.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://git.earthdata.nasa.gov/projects/DAS/repos/hdfeos5/raw/" + "hdf-eos5-" version "-src.tar.gz?at=refs/heads/HDFEOS5_" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0by82zznms00b0d5v4iv8a7jff6xm9hzswsx4mfzw2gyy1q4ghyp")) + (modules '((guix build utils))) + (snippet + #~(begin + (for-each delete-file (find-files "." "Makefile\\.in$")) + (for-each delete-file (find-files "m4" "^l.*\\.m4$")) + (delete-file "configure") + (delete-file "aclocal.m4"))))) (native-inputs - (list gfortran)) + (list autoconf automake gfortran libtool)) (build-system gnu-build-system) (inputs - (list hdf5-1.8 zlib gctp)) + (list hdf5-1.14 zlib gctp)) (arguments - `(#:configure-flags '("--enable-install-include" "--enable-shared" + (list + #:configure-flags ''("--enable-install-include" "--enable-shared" "CC=h5cc -Df2cFortran" "LIBS=-lgctp") - #:parallel-tests? #f)) + #:parallel-tests? #f + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'remove-single_module-flag + (lambda _ + (substitute* "src/Makefile.am" + ((",-single_module") "")))) + (add-after 'unpack 'fix-parallel-tests + (lambda _ + (substitute* (find-files "testdrivers" "\\.c$") + (("#include " orig) + (string-append "#include \n" orig))) + ;; pthread is already linked. + (substitute* "testdrivers/threads/Makefile.am" + (("(LDADD=\\$\\(LIBHDFEOS5\\) \\$\\(LIBGCTP\\)) pthread" _ rest) + rest)) + ;; This file is missing in the testdrivers/threads directory. + (copy-file "testdrivers/point/simple.txt" + "testdrivers/threads/simple.txt")))))) (synopsis "HDF5-based data format for NASA's Earth Observing System") (description "HDF-EOS5 is a software library built on HDF5 to support the construction -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 30 05:40:23 2023 Received: (at submit) by debbugs.gnu.org; 30 Sep 2023 09:40:24 +0000 Received: from localhost ([127.0.0.1]:57671 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qmWSV-0007Cu-DL for submit@debbugs.gnu.org; Sat, 30 Sep 2023 05:40:23 -0400 Received: from lists.gnu.org ([2001:470:142::17]:52776) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qmWSQ-0007CL-6r for submit@debbugs.gnu.org; Sat, 30 Sep 2023 05:40:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qmWS5-0001qj-Bc for guix-patches@gnu.org; Sat, 30 Sep 2023 05:39:57 -0400 Received: from mira.cbaines.net ([212.71.252.8]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qmWS3-0006wb-My for guix-patches@gnu.org; Sat, 30 Sep 2023 05:39:57 -0400 Received: from localhost (unknown [217.155.61.229]) by mira.cbaines.net (Postfix) with ESMTPSA id 83C2527BBE2; Sat, 30 Sep 2023 10:39:54 +0100 (BST) Received: from felis (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 6df2f16b; Sat, 30 Sep 2023 09:39:53 +0000 (UTC) References: <6bdf4579454a1147bb8430c472ab291e602aea05.1695677238.git.david.elsing@posteo.net> User-agent: mu4e 1.10.5; emacs 28.2 From: Christopher Baines To: David Elsing Subject: Re: [bug#66204] [PATCH] gnu: hdf-eos5: Update to 2.0. Date: Sat, 30 Sep 2023 10:39:31 +0100 In-reply-to: <6bdf4579454a1147bb8430c472ab291e602aea05.1695677238.git.david.elsing@posteo.net> Message-ID: <87fs2w9ezc.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=212.71.252.8; envelope-from=mail@cbaines.net; helo=mira.cbaines.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit Cc: guix-patches@gnu.org, 66204-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) --=-=-= Content-Type: text/plain David Elsing writes: > * gnu/packages/maths.scm (hdf-eos5): Update to 2.0. > [source]: Change URL and add snippet to remove generated files. > [native-inputs]: Add autoconf, automake and libtool. > [inputs]: Replace hdf5-1.8 with hdf5-1.14. > [arguments]: Do not use quasiquote and add the phases > remove-single-module-flag and fix-parallel-tests. > --- > gnu/packages/maths.scm | 57 ++++++++++++++++++++++++++++++------------ > 1 file changed, 41 insertions(+), 16 deletions(-) Thanks for the patch! I've pushed this to master as d78bbb912c26e6f9329e82e22dd444488cd87979. Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmUX7OdfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XeXAg/+N+aZ59yV+Ate7/X3yZ35xD24fMyd8cfw AaBnaW+xjIy9evXhBTJTm1i6P2ocexDAROm4kMtJGMWZO73zef93oaj+77/6VKI+ c8StY0TAJQrS6aN6yFrGqeQrPhkhnNjr7rT9fdIuHPHE0Obegz7xYsZA/si8tsH2 XLsriFSnVrSDGpKXG+uhon476u1WbjR903kJzLCup7pt9wPw6yjM/2Vf0NrD4iw7 urO8qb74eO4Jsy2evUUWgaaMZCY48MjKKDx6hPpraugv0GyO4CsSvTpOcVIjXzpa JxKzTPccYyVW+h+a/m0pl77OkRd8zVz7Xvd24dFtqtJI4cAQDVJqwgYWdkLJjmFz 1f9QxIiOcwtyH4M4VWx41E9Syyyyf+2f34vnuRoBneRFg4BxK0bjsR6+y4sHiYEB SwQxyQ9wTxdJeAo9ZGb/jKx0D9+Q8rfX/oCIKeM/rS9hMVxiB2pVA4uquFkAReCv IPuZysUl9NajxkAoGF2XV3JO+1d0mskzYhYzp53J2nnflnvnGvAO9IBGEKkOWdV4 tUq2M6viCkw1Ct/W7QSWkI9L8QY+c/VqV5smYvg5dN/yIh9hvbTxKHZebTtGT1Hm Ttwq0nPNCOyZfbf/VJV/olB4k5hJJpD3UEG3cDdnXVqgzM5myi0ZNbPD2cIgdjWk eS05x0gs9TA= =13ph -----END PGP SIGNATURE----- --=-=-=-- From unknown Sun Jun 22 07:57:41 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 28 Oct 2023 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator