GNU bug report logs - #56044
[PATCH] gnu: Add simpleitk.

Previous Next

Package: guix-patches;

Reported by: Antero Mejr <antero <at> mailbox.org>

Date: Fri, 17 Jun 2022 20:57:01 UTC

Severity: normal

Tags: patch

Done: Steve George <steve <at> futurile.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 56044 in the body.
You can then email your comments to 56044 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#56044; Package guix-patches. (Fri, 17 Jun 2022 20:57:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Antero Mejr <antero <at> mailbox.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 17 Jun 2022 20:57:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Antero Mejr <antero <at> mailbox.org>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add simpleitk.
Date: Fri, 17 Jun 2022 20:55:55 +0000
* gnu/packages/image-processing.scm (simpleitk): New variable.
---
 gnu/packages/image-processing.scm | 41 +++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/gnu/packages/image-processing.scm b/gnu/packages/image-processing.scm
index 0c25b41dad..2c0141696b 100644
--- a/gnu/packages/image-processing.scm
+++ b/gnu/packages/image-processing.scm
@@ -20,6 +20,7 @@
 ;;; Copyright © 2021 Guillaume Le Vaillant <glv <at> posteo.net>
 ;;; Copyright © 2021 Ivan Gankevich <i.gankevich <at> spbu.ru>
 ;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
+;;; Copyright © 2022 Antero Mejr <antero <at> mailbox.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -72,6 +73,7 @@ (define-module (gnu packages image-processing)
   #:use-module (gnu packages image)
   #:use-module (gnu packages imagemagick)
   #:use-module (gnu packages linux)
+  #:use-module (gnu packages lua)
   #:use-module (gnu packages maths)
   #:use-module (gnu packages pdf)
   #:use-module (gnu packages perl)
@@ -84,6 +86,7 @@ (define-module (gnu packages image-processing)
   #:use-module (gnu packages qt)
   #:use-module (gnu packages serialization)
   #:use-module (gnu packages sqlite)
+  #:use-module (gnu packages swig)
   #:use-module (gnu packages tbb)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages version-control)
@@ -1372,3 +1375,41 @@ (define-public labelme
       "Image and video labeling tool supporting different shapes like
 polygons, rectangles, circles, lines, points and VOC/COCO export.")
     (license license:gpl3+)))
+
+(define-public simpleitk
+  (package
+    (name "simpleitk")
+    (version "2.1.1.2")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/SimpleITK/SimpleITK")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1dgwl6pp2hw0rsr5f7xahic3whd6py3rmgg645v450c0vwih6vjj"))))
+    (build-system cmake-build-system)
+    (arguments
+     (list #:tests? #f ;fetches external test data from network
+           #:configure-flags
+           #~(list (string-append "-DITK_DIR=" #$insight-toolkit)
+                   "-DBUILD_TESTING=OFF"
+                   "-DBUILD_EXAMPLES=OFF"
+                   "-DBUILD_SHARED_LIBS=ON")
+           #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'unpack 'fix-testing-cmake
+                 (lambda _
+                   (substitute* "Testing/Unit/CMakeLists.txt"
+                     (("add_subdirectory\\(TestBase\\)")
+                      "find_package(GTest REQUIRED)
+include_directories(${GTEST_INCLUDE_DIR})
+add_subdirectory(TestBase)")))))))
+    (native-inputs (list googletest swig))
+    (inputs (list insight-toolkit hdf5 lua))
+    (home-page "https://simpleitk.org/")
+    (synopsis "Simplified interfaces to the ITK image processing toolkit")
+    (description "SimpleITK is a simplified interface to the Insight Toolkit
+(ITK) for image registration and segmentation.")
+    (license license:asl2.0)))
-- 
2.36.1





bug closed, send any further explanations to 56044 <at> debbugs.gnu.org and Antero Mejr <antero <at> mailbox.org> Request was from Steve George <steve <at> futurile.net> to control <at> debbugs.gnu.org. (Mon, 07 Oct 2024 18:47:01 GMT) Full text and rfc822 format available.

Message sent on to Antero Mejr <antero <at> mailbox.org>:
bug#56044. (Mon, 07 Oct 2024 18:47:02 GMT) Full text and rfc822 format available.

Message #10 received at 56044-submitter <at> debbugs.gnu.org (full text, mbox):

From: Steve George <steve <at> futurile.net>
To: control <at> debbugs.gnu.org
Cc: 56044-submitter <at> debbugs.gnu.org
Subject: closing 56044
Date: Mon, 7 Oct 2024 19:46:09 +0100
close 56044 
Hi Antero - you sent in this patch to add simpleitk 2 years ago. 

Thanks for sending - and I can see you've put in loads of patches since!

It looks like no-one picked this one up when you sent it. I don't know enough about this 
project to determine if a 'general user' would find it interesting. I'm closing
for now - if you think it should be included please re-open, maybe send an 
updated v2.
thanks





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 05 Nov 2024 12:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 128 days ago.

Previous Next


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