summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorJake Forster <jakecameron.forster@gmail.com>2026-03-10 01:33:09 +1030
committerRicardo Wurmus <rekado@elephly.net>2026-03-17 09:08:08 +0100
commitd47f5ac311cb7dc1b7c96a15a1acb8db3334fcde (patch)
tree4bd11d0950d65643f84e29753a2f72b52f0b0409 /gnu
parent1150c7ecc8580990b333b78d4a28d3ec5bf48059 (diff)
gnu: itk-snap: Update to 4.4.0.
* gnu/packages/image-processing.scm (itk-snap): Update to 4.4.0. [arguments]<#:configure-flags>: Remove unused flag "-DSNAP_PACKAGE_QT_PLUGINS". <#:phases>{do-not-copy-dependencies}: Update substitution. [native-inputs]: Add qttools. Update submodules c3d and greedy. Change-Id: I16652a5c2bd03f2840b8a4c29f9b1963cfb5d161
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/image-processing.scm25
1 files changed, 11 insertions, 14 deletions
diff --git a/gnu/packages/image-processing.scm b/gnu/packages/image-processing.scm
index 9d7118cadbb..01d829e72ac 100644
--- a/gnu/packages/image-processing.scm
+++ b/gnu/packages/image-processing.scm
@@ -1628,13 +1628,12 @@ combine the information contained in both.")
1628 (delete "swig")))))) 1628 (delete "swig"))))))
1629 1629
1630(define-public itk-snap 1630(define-public itk-snap
1631 ;; The latest release, 4.2.2, segmentation faults on startup. 1631 ;; No tag for version 4.4.0. This seems to be the commit.
1632 ;; The commit is version 4.4.0-alpha3. 1632 (let ((commit "20f631865372dc7d1f49a1e930d83131102f7a20")
1633 (let ((commit "65251254d44d68a6c0530984169784e35de020dd")
1634 (revision "0")) 1633 (revision "0"))
1635 (package 1634 (package
1636 (name "itk-snap") 1635 (name "itk-snap")
1637 (version (git-version "4.2.2" revision commit)) 1636 (version (git-version "4.4.0" revision commit))
1638 (source 1637 (source
1639 (origin 1638 (origin
1640 (method git-fetch) 1639 (method git-fetch)
@@ -1643,13 +1642,12 @@ combine the information contained in both.")
1643 (commit commit))) 1642 (commit commit)))
1644 (file-name (git-file-name name version)) 1643 (file-name (git-file-name name version))
1645 (sha256 1644 (sha256
1646 (base32 "07dgcfklc55yj3ldcq6fc5fil8qfrv7z6c3xhbd293kz7kpjr4yc")))) 1645 (base32 "0zfaiz5lc1fy0n48bwbjgw3yschmscmq9bh0ym05cpaf4sbr4p7l"))))
1647 (build-system cmake-build-system) 1646 (build-system cmake-build-system)
1648 (arguments 1647 (arguments
1649 (list 1648 (list
1650 #:configure-flags 1649 #:configure-flags
1651 #~(list "-DSNAP_VERSION_GIT_BRANCH=release" 1650 #~(list "-DSNAP_VERSION_GIT_BRANCH=release")
1652 "-DSNAP_PACKAGE_QT_PLUGINS=OFF")
1653 #:phases 1651 #:phases
1654 #~(modify-phases %standard-phases 1652 #~(modify-phases %standard-phases
1655 ;; During the installation phase all libraries provided by all 1653 ;; During the installation phase all libraries provided by all
@@ -1658,9 +1656,7 @@ combine the information contained in both.")
1658 (add-after 'unpack 'do-not-copy-dependencies 1656 (add-after 'unpack 'do-not-copy-dependencies
1659 (lambda _ 1657 (lambda _
1660 (substitute* "CMakeLists.txt" 1658 (substitute* "CMakeLists.txt"
1661 (("install_qt5_executable\ 1659 (("install\\(SCRIPT \\$\\{deploy_script\\}\\)") ""))))
1662\\(\\$\\{SNAP_MAIN_INSTALL_DIR\\}/\\$\\{SNAP_EXE\\}\\)")
1663 ""))))
1664 (add-after 'unpack 'disable-gui-tests 1660 (add-after 'unpack 'disable-gui-tests
1665 (lambda _ 1661 (lambda _
1666 ;; The GUI tests just segmentation fault. 1662 ;; The GUI tests just segmentation fault.
@@ -1740,15 +1736,16 @@ combine the information contained in both.")
1740 (native-inputs 1736 (native-inputs
1741 (list 1737 (list
1742 doxygen 1738 doxygen
1739 qttools
1743 ;; Use the submodule commits in this version of ITK-SNAP. 1740 ;; Use the submodule commits in this version of ITK-SNAP.
1744 (origin 1741 (origin
1745 (method git-fetch) 1742 (method git-fetch)
1746 (uri (git-reference 1743 (uri (git-reference
1747 (url "https://github.com/pyushkevich/c3d") 1744 (url "https://github.com/pyushkevich/c3d")
1748 (commit "a86a2a32db8635c1535522332fee68bc56eacaa2"))) 1745 (commit "d4d963629d7dfdca4b0607907f0e91827c22ea2a")))
1749 (file-name "c3d-checkout") 1746 (file-name "c3d-checkout")
1750 (sha256 1747 (sha256
1751 (base32 "0da3ikx7pqlrmvhkmzil269j6kyd84pphy1mls8v69gmzl89piis"))) 1748 (base32 "15yh2rdynql99yy5hanq5rha1pry9c3ryb7bfy47vvyqksk0znvs")))
1752 (origin 1749 (origin
1753 (method git-fetch) 1750 (method git-fetch)
1754 (uri (git-reference 1751 (uri (git-reference
@@ -1761,10 +1758,10 @@ combine the information contained in both.")
1761 (method git-fetch) 1758 (method git-fetch)
1762 (uri (git-reference 1759 (uri (git-reference
1763 (url "https://github.com/pyushkevich/greedy") 1760 (url "https://github.com/pyushkevich/greedy")
1764 (commit "f10152c5374da08ee024c4c60ef8882876bd0808"))) 1761 (commit "2d5dfa1891ac726524495d4ca8a3461be86c12f5")))
1765 (file-name "greedy-checkout") 1762 (file-name "greedy-checkout")
1766 (sha256 1763 (sha256
1767 (base32 "0xk1l0h4wis4nkfwjnvh624bdlhy7l26djibk4l00wzv0vvq21qv"))))) 1764 (base32 "13rz423p7p95ca94c5njr8jxbcic1hp8iqap613zlxmvl4n9vx15")))))
1768 (home-page "https://sourceforge.net/p/itk-snap/") 1765 (home-page "https://sourceforge.net/p/itk-snap/")
1769 (synopsis "Medical image segmentation") 1766 (synopsis "Medical image segmentation")
1770 (description "ITK-SNAP is a tool for segmenting anatomical structures in 1767 (description "ITK-SNAP is a tool for segmenting anatomical structures in