summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorJake Forster <jakecameron.forster@gmail.com>2026-03-05 22:10:17 +1030
committerRicardo Wurmus <rekado@elephly.net>2026-03-17 09:08:08 +0100
commit51b7dae59eef02b9686ea2ee7017e9a649c1d4c4 (patch)
tree1b1972b127f7a0a68ac41ace1b52c7b2a92290c8 /gnu
parent84253e012bfb80ce8b921b7b9b0cba32b5b43c5e (diff)
gnu: insight-toolkit: Update to 5.4.5.
* gnu/packages/image-processing.scm (insight-toolkit): Update to 5.4.5. [arguments]<#:phases>{ignore-warnings, fix-numpy-bool}: Remove phases. [native-inputs]: Remove gcc-13. Change-Id: I8b22897bb6da3b596967e2466efae8d21a923f36
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/image-processing.scm18
1 files changed, 3 insertions, 15 deletions
diff --git a/gnu/packages/image-processing.scm b/gnu/packages/image-processing.scm
index df1a6f9ac0d..5fd59c3b064 100644
--- a/gnu/packages/image-processing.scm
+++ b/gnu/packages/image-processing.scm
@@ -24,7 +24,7 @@
24;;; Copyright © 2022 Paul A. Patience <paul@apatience.com> 24;;; Copyright © 2022 Paul A. Patience <paul@apatience.com>
25;;; Copyright © 2023 Cairn <cairn@pm.me> 25;;; Copyright © 2023 Cairn <cairn@pm.me>
26;;; Copyright © 2024 Nicolas Graves <ngraves@ngraves.fr> 26;;; Copyright © 2024 Nicolas Graves <ngraves@ngraves.fr>
27;;; Copyright © 2025 Jake Forster <jakecameron.forster@gmail.com> 27;;; Copyright © 2025, 2026 Jake Forster <jakecameron.forster@gmail.com>
28;;; Copyright © 2025 Anderson Torres <anderson.torres.8519@gmail.com> 28;;; Copyright © 2025 Anderson Torres <anderson.torres.8519@gmail.com>
29;;; Copyright © 2025, 2026 Andreas Enge <andreas@enge.fr> 29;;; Copyright © 2025, 2026 Andreas Enge <andreas@enge.fr>
30;;; Copyright © 2025 dan <i@dan.games> 30;;; Copyright © 2025 dan <i@dan.games>
@@ -1399,7 +1399,7 @@ libraries designed for computer vision research and implementation.")
1399 module-ad-commit))) 1399 module-ad-commit)))
1400 (package 1400 (package
1401 (name "insight-toolkit") 1401 (name "insight-toolkit")
1402 (version "5.4.4") 1402 (version "5.4.5")
1403 (source 1403 (source
1404 (origin 1404 (origin
1405 (method git-fetch) 1405 (method git-fetch)
@@ -1408,7 +1408,7 @@ libraries designed for computer vision research and implementation.")
1408 (commit (string-append "v" version)))) 1408 (commit (string-append "v" version))))
1409 (file-name (git-file-name name version)) 1409 (file-name (git-file-name name version))
1410 (sha256 1410 (sha256
1411 (base32 "1l5rby8jj8726k380aivycmhn56cz56mr9k3r56c8hkkrfwwng50")) 1411 (base32 "0sd037pgsdfigc5gi4lr5iwm063s0wrjl8i4b8dfxmrbipxjvn33"))
1412 ;; This patch is required to build with both ITK_USE_GPU=ON and 1412 ;; This patch is required to build with both ITK_USE_GPU=ON and
1413 ;; ITK_WRAP_PYTHON=ON. 1413 ;; ITK_WRAP_PYTHON=ON.
1414 ;; <https://github.com/InsightSoftwareConsortium/ITK/pull/4842> 1414 ;; <https://github.com/InsightSoftwareConsortium/ITK/pull/4842>
@@ -1465,11 +1465,6 @@ libraries designed for computer vision research and implementation.")
1465 (substitute* "CMake/ITKSetStandardCompilerFlags.cmake" 1465 (substitute* "CMake/ITKSetStandardCompilerFlags.cmake"
1466 (("-mtune=native") 1466 (("-mtune=native")
1467 "")))) 1467 ""))))
1468 (add-after 'unpack 'ignore-warnings
1469 (lambda _
1470 (substitute* "Wrapping/Generators/Python/CMakeLists.txt"
1471 (("-Werror")
1472 ""))))
1473 (add-after 'unpack 'exclude-gtest-target 1468 (add-after 'unpack 'exclude-gtest-target
1474 (lambda _ 1469 (lambda _
1475 ;; Prevent ITKGoogleTest from being added to 1470 ;; Prevent ITKGoogleTest from being added to
@@ -1507,12 +1502,6 @@ libraries designed for computer vision research and implementation.")
1507 "Modules/Remote/AdaptiveDenoising") 1502 "Modules/Remote/AdaptiveDenoising")
1508 (delete-file 1503 (delete-file
1509 "Modules/Remote/AdaptiveDenoising.remote.cmake"))) 1504 "Modules/Remote/AdaptiveDenoising.remote.cmake")))
1510 (add-after 'unpack 'fix-numpy-bool
1511 (lambda _
1512 ;; <https://github.com/InsightSoftwareConsortium/ITK/pull/5402>
1513 (substitute* (string-append "Wrapping/Generators/"
1514 "Python/itk/support/types.py")
1515 (("np\\.bool") "np.bool_"))))
1516 (delete 'check) ;tests require network access and external data 1505 (delete 'check) ;tests require network access and external data
1517 (add-after 'install 'python-sanity-check 1506 (add-after 'install 'python-sanity-check
1518 (lambda* (#:key inputs outputs tests? #:allow-other-keys) 1507 (lambda* (#:key inputs outputs tests? #:allow-other-keys)
@@ -1536,7 +1525,6 @@ libraries designed for computer vision research and implementation.")
1536 zlib)) 1525 zlib))
1537 (native-inputs 1526 (native-inputs
1538 (list castxml 1527 (list castxml
1539 gcc-13
1540 git-minimal 1528 git-minimal
1541 pkg-config 1529 pkg-config
1542 python-numpy ;for phase 'python-sanity-check 1530 python-numpy ;for phase 'python-sanity-check