From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3B7BF158086 for ; Tue, 14 Dec 2021 15:14:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 978E62BC04C; Tue, 14 Dec 2021 15:14:10 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EF9372BC04C for ; Tue, 14 Dec 2021 15:14:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 68C543434DA for ; Tue, 14 Dec 2021 15:14:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F0A4ED0 for ; Tue, 14 Dec 2021 15:14:06 +0000 (UTC) From: "Guilherme Amadio" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Guilherme Amadio" Message-ID: <1639494835.bf7a3c800bfc18f9b3d9eadd388a42040918eed6.amadio@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-physics/geant/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-physics/geant/files/geant4.10.7-hdf5.patch X-VCS-Directories: sci-physics/geant/files/ X-VCS-Committer: amadio X-VCS-Committer-Name: Guilherme Amadio X-VCS-Revision: bf7a3c800bfc18f9b3d9eadd388a42040918eed6 X-VCS-Branch: master Date: Tue, 14 Dec 2021 15:14:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7102d96a-8d4e-4cc5-9c40-d3c9e985bb4b X-Archives-Hash: 297dd2e3b9a86c93a7657047e4ec5532 commit: bf7a3c800bfc18f9b3d9eadd388a42040918eed6 Author: Guilherme Amadio gentoo org> AuthorDate: Tue Dec 14 15:13:55 2021 +0000 Commit: Guilherme Amadio gentoo org> CommitDate: Tue Dec 14 15:13:55 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf7a3c80 sci-physics/geant: drop unused patch Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Guilherme Amadio gentoo.org> sci-physics/geant/files/geant4.10.7-hdf5.patch | 70 -------------------------- 1 file changed, 70 deletions(-) diff --git a/sci-physics/geant/files/geant4.10.7-hdf5.patch b/sci-physics/geant/files/geant4.10.7-hdf5.patch deleted file mode 100644 index 679cdfbed9d6..000000000000 --- a/sci-physics/geant/files/geant4.10.7-hdf5.patch +++ /dev/null @@ -1,70 +0,0 @@ -From 4e86e523e7f0e419b990520a15ef7d524102cd06 Mon Sep 17 00:00:00 2001 -From: Guilherme Amadio -Date: Mon, 23 Aug 2021 13:18:25 +0200 -Subject: [PATCH] Rename Geant4::HDF5 to hdf5::hdf5 - -Needed to be compatible with CMake 3.20, which now provides imported -targets for HDF5 (https://cmake.org/cmake/help/v3.20/module/FindHDF5.html). ---- - cmake/Modules/G4HDF5Shim.cmake | 16 ++++++++-------- - cmake/Modules/G4OptionalComponents.cmake | 2 +- - -diff --git a/cmake/Modules/G4HDF5Shim.cmake b/cmake/Modules/G4HDF5Shim.cmake -index 963a7bb5be..97d97248d8 100644 ---- a/cmake/Modules/G4HDF5Shim.cmake -+++ b/cmake/Modules/G4HDF5Shim.cmake -@@ -1,10 +1,10 @@ -- # - G4HDF5Shim -+# - G4HDF5Shim - # - # Geant4's Geant4Config.cmake file aims to support CMake 3.8 and newer - # The HDF5 dependency is located through CMake's builtin FindHDF5 --# module, but this does not supply imported targets as of CMake 3.16. -+# module, but this does not supply imported targets until CMake 3.20. - # It may use HDF5's hdf5-config.cmake file if available, so create --# custom imported target Geant4::HDF5 to allow both cases to be handled -+# custom imported target hdf5::hdf5 to allow both cases to be handled - # without interference with either. - - if(HDF5_FOUND) -@@ -24,18 +24,18 @@ if(HDF5_FOUND) - endif() - endif() - -- # As FindHDF5 does not yet supply imported targets, we -+ # If FindHDF5 does not yet supply imported targets, we - # create an internal INTERFACE target to wrap these. - # This still hard-codes include/library paths, but limits it - # to one place. Later, we'll create proper imported targets - # with re-finds but for now this is the best minimally invasive proceedure -- if(NOT TARGET Geant4::HDF5) -- add_library(Geant4::HDF5 IMPORTED UNKNOWN) -- set_target_properties(Geant4::HDF5 PROPERTIES -+ if(NOT TARGET hdf5::hdf5) -+ add_library(hdf5::hdf5 IMPORTED UNKNOWN) -+ set_target_properties(hdf5::hdf5 PROPERTIES - IMPORTED_LINK_INTERFACE_LANGUAGES "C" - IMPORTED_LOCATION "${HDF5_C_LIBRARY_hdf5}" - INTERFACE_INCLUDE_DIRECTORIES "${HDF5_C_INCLUDE_DIRS}" - INTERFACE_LINK_LIBRARIES "${HDF5_C_LIBRARIES}" - ) - endif() --endif() -\ No newline at end of file -+endif() -diff --git a/cmake/Modules/G4OptionalComponents.cmake b/cmake/Modules/G4OptionalComponents.cmake -index c0639a538b..77b3c91241 100644 ---- a/cmake/Modules/G4OptionalComponents.cmake -+++ b/cmake/Modules/G4OptionalComponents.cmake -@@ -369,7 +369,7 @@ if(GEANT4_USE_HDF5) - find_package(HDF5 1.8 REQUIRED) - include("${CMAKE_CURRENT_LIST_DIR}/G4HDF5Shim.cmake") - # Backward compatibility -- set(HDF5_LIBRARIES Geant4::HDF5) -+ set(HDF5_LIBRARIES hdf5::hdf5) - - # May have found via config mode... - if(HDF5_DIR) --- -2.33.0 -