From unknown Mon Jun 23 13:13:19 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#56044] [PATCH] gnu: Add simpleitk. Resent-From: Antero Mejr Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Jun 2022 20:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56044 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56044@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16554993783304 (code B ref -1); Fri, 17 Jun 2022 20:57:01 +0000 Received: (at submit) by debbugs.gnu.org; 17 Jun 2022 20:56:18 +0000 Received: from localhost ([127.0.0.1]:47086 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2J0r-0000rE-MJ for submit@debbugs.gnu.org; Fri, 17 Jun 2022 16:56:18 -0400 Received: from lists.gnu.org ([209.51.188.17]:34950) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2J0o-0000r5-MV for submit@debbugs.gnu.org; Fri, 17 Jun 2022 16:56:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36176) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2J0o-0006Y6-Eg for guix-patches@gnu.org; Fri, 17 Jun 2022 16:56:14 -0400 Received: from mout-p-201.mailbox.org ([80.241.56.171]:60210) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1o2J0l-0002bM-Cw for guix-patches@gnu.org; Fri, 17 Jun 2022 16:56:14 -0400 Received: from smtp102.mailbox.org (smtp102.mailbox.org [10.196.197.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4LPrtB2X7pz9sT0 for ; Fri, 17 Jun 2022 22:56:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1655499362; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=CSNo/vVqozlm3qbX+7EppXC8hmYFUkkJsIYFqN78DAI=; b=ALVAJPeK5JIyfHsuEN/pt7VEv/gE9CglmOQ0VKe+JUHjQvDe0nUu/RowML9hlCzbU7hOli mnHh7jhLIdV+4E74CSP+q+Y1rQ3mN2kU1e+2nomT4ggHDfVG0tJwPfa/Z+oB8kM1jHkM9u dJa0zL6yPKHzVYNeIpmRNktcbprsvAdSj/JvKsVbWpl09vILueSL1CHwPnosGGsAta53oQ NxZvlKK4wQ0OvzIusewdJA1vN4q15aWlrh5VTekIFl+e0lnHy7x1Qwj4m77LIFd5lbcTTh vMkHuO1f1Rjv2KTQdahqKUN8FjdJjxO2QMVU9hTv2Tpd75UvKtl1RZTKgo/g2g== From: Antero Mejr Date: Fri, 17 Jun 2022 20:55:55 +0000 Message-Id: <20220617205555.32238-1-antero@mailbox.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-MBO-RS-ID: 6f934e492167ca7292a X-MBO-RS-META: 8akw99qzfusuud7uy5b5xn8ufrath3ao Received-SPF: pass client-ip=80.241.56.171; envelope-from=antero@mailbox.org; helo=mout-p-201.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) 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: -2.3 (--) * 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 ;;; Copyright © 2021 Ivan Gankevich ;;; Copyright © 2022 Maxim Cournoyer +;;; Copyright © 2022 Antero Mejr ;;; ;;; 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 From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 07 14:46:28 2024 Received: (at control) by debbugs.gnu.org; 7 Oct 2024 18:46:28 +0000 Received: from localhost ([127.0.0.1]:48131 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxskW-0005Hs-7h for submit@debbugs.gnu.org; Mon, 07 Oct 2024 14:46:28 -0400 Received: from mailtransmit04.runbox.com ([185.226.149.37]:59456) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxskU-0005HS-IO for control@debbugs.gnu.org; Mon, 07 Oct 2024 14:46:27 -0400 Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1sxskG-00CxPJ-VT for control@debbugs.gnu.org; Mon, 07 Oct 2024 20:46:13 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=futurile.net; s=selector1; h=Content-Type:MIME-Version:Message-ID:Subject: Cc:To:From:Date; bh=RzOopGgTc8Tp4zVHBEVkt/maq0GtwwAHzY+hm7aYN1w=; b=IyjcMxVlQ 9nGeXfH95K6X8IC3Y4nWwoB2O2NWRFL6GjVEK5fRpedGm2o1NGMvxzIzWW7qWuxYz2PSbPEEGKbgC p4k3dJs1mTJqXZC2KKYrtB9IxYMd7XKlKZyYO8TwJ3RJi57IkZeZ9F8+FPk09SJMNnUN8yMgEt3gD /N0HHgQ7AxvM3Xv3m34xD9r5VQqAxUHJmVFVNHJC/oUt4r7XLFPFhcQgeI3EQ0nFMmhQChAiK5i8u RltopGlBMweri4Cyzfir2CvXEcccsjMqkd69uJHcISizV+ZtYeSXyzLctzUnE0LvwbZ3B2p3i1z5u xGKdLfqO+BxC4hyi/WE1X8CZA==; Received: from [10.9.9.73] (helo=submission02.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1sxskG-00021u-AN; Mon, 07 Oct 2024 20:46:12 +0200 Received: by submission02.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_SECP256R1__RSA_SHA256__AES_256_GCM:256) (Exim 4.93) id 1sxskE-008oMr-9E; Mon, 07 Oct 2024 20:46:10 +0200 Date: Mon, 7 Oct 2024 19:46:09 +0100 From: Steve George To: control@debbugs.gnu.org Subject: closing 56044 Message-ID: <1728326544-3723-bts-steve@futurile.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: devscripts bts/2.22.1ubuntu1 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control Cc: 56044-submitter@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: -1.0 (-) 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