From 19c976e8d68387833a4cd7d9fb33d28cd894aebf Mon Sep 17 00:00:00 2001 From: Seth Parker Date: Thu, 11 Jun 2026 14:44:28 -0400 Subject: [PATCH 1/2] registration-toolkit 1.7.0 (new formula) C++ utilities for image-to-image and image-to-mesh registration across multipage, diachronic image sets. Co-Authored-By: Claude Opus 4.7 --- Formula/registration-toolkit.rb | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Formula/registration-toolkit.rb diff --git a/Formula/registration-toolkit.rb b/Formula/registration-toolkit.rb new file mode 100644 index 0000000..640547a --- /dev/null +++ b/Formula/registration-toolkit.rb @@ -0,0 +1,29 @@ +class RegistrationToolkit < Formula + desc "C++ utilities for image-to-image and image-to-mesh registration" + homepage "https://github.com/educelab/registration-toolkit" + url "https://github.com/educelab/registration-toolkit/archive/refs/tags/v1.7.0.tar.gz" + sha256 "a0b47765243cb58689da102326484cf5893a862ce4703e84cdc952c0190d315d" + license "GPL-3.0-or-later" + head "https://github.com/educelab/registration-toolkit.git", branch: "develop" + + depends_on "cmake" => :build + depends_on "boost" + depends_on "eigen" + depends_on "itk" + depends_on "opencv" + depends_on "spdlog" + depends_on "vtk" + + def install + system "cmake", "-S", ".", "-B", "build", + "-DRT_BUILD_DOCS=OFF", + "-DRT_BUILD_TESTS=OFF", + *std_cmake_args + system "cmake", "--build", "build" + system "cmake", "--install", "build" + end + + test do + assert_match "Usage", shell_output("#{bin}/rt_register --help 2>&1", 1) + end +end From 663e12a0ab41a079bd2a64fcc2910329972a9b44 Mon Sep 17 00:00:00 2001 From: Seth Parker Date: Thu, 11 Jun 2026 15:00:24 -0400 Subject: [PATCH 2/2] registration-toolkit: correct v1.7.0 tarball sha256 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The upstream is a GitLab→GitHub mirror; the tag was re-pushed between the initial formula authoring and CI run, which regenerated the archive tarball with different gzip metadata and thus a new sha256. Co-Authored-By: Claude Opus 4.7 --- Formula/registration-toolkit.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/registration-toolkit.rb b/Formula/registration-toolkit.rb index 640547a..741940a 100644 --- a/Formula/registration-toolkit.rb +++ b/Formula/registration-toolkit.rb @@ -2,7 +2,7 @@ class RegistrationToolkit < Formula desc "C++ utilities for image-to-image and image-to-mesh registration" homepage "https://github.com/educelab/registration-toolkit" url "https://github.com/educelab/registration-toolkit/archive/refs/tags/v1.7.0.tar.gz" - sha256 "a0b47765243cb58689da102326484cf5893a862ce4703e84cdc952c0190d315d" + sha256 "7e9fdea836673b89cae563268fbe6d3dc31b8075c7c0419af5b7d846398154e3" license "GPL-3.0-or-later" head "https://github.com/educelab/registration-toolkit.git", branch: "develop"