public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Ankur Sinha (Ankur Sinha Gmail) <sanjay.ankur@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/InsightToolkit] rawhide: feat: update to 5.4.6
Date: Thu, 23 Jul 2026 12:50:14 GMT	[thread overview]
Message-ID: <178481101456.1.10920423014963138318.rpms-InsightToolkit-cfe51c080789@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/InsightToolkit
            Branch : rawhide
            Commit : cfe51c08078990c3a3a5692541572b81ca3d4f62
            Author : Ankur Sinha (Ankur Sinha Gmail) <sanjay.ankur@gmail.com>
            Date   : 2026-07-16T11:19:21+01:00
            Stats  : +86/-211 in 10 file(s)
            URL    : https://src.fedoraproject.org/rpms/InsightToolkit/c/cfe51c08078990c3a3a5692541572b81ca3d4f62?branch=rawhide

            Log:
            feat: update to 5.4.6

Fixes rhbz#1340300
Fixes rhbz#1076793

---
diff --git a/.gitignore b/.gitignore
index e9bdd4e..e1b5b0f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,5 @@
 /InsightSoftwareGuide-*.pdf
 /InsightToolkit-4.13.3.tar.gz
 /InsightData-4.13.3.tar.gz
+/InsightToolkit-5.4.6.tar.gz
+/InsightData-5.4.6.tar.gz

diff --git a/0001-remove-vxl-netlib.patch b/0001-remove-vxl-netlib.patch
new file mode 100644
index 0000000..af942e3
--- /dev/null
+++ b/0001-remove-vxl-netlib.patch
@@ -0,0 +1,39 @@
+From 7562055f7d0127df21c5d8c947324d7ac58c9ec2 Mon Sep 17 00:00:00 2001
+From: "Ankur Sinha (Ankur Sinha Gmail)" <sanjay.ankur@gmail.com>
+Date: Sun, 31 May 2026 16:44:04 +0100
+Subject: [PATCH] remove vxl netlib
+
+---
+ Modules/ThirdParty/Netlib/src/netlib/slatec/CMakeLists.txt | 2 +-
+ Modules/ThirdParty/VNL/CMakeLists.txt                      | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Modules/ThirdParty/Netlib/src/netlib/slatec/CMakeLists.txt b/Modules/ThirdParty/Netlib/src/netlib/slatec/CMakeLists.txt
+index 522662a244..2d7224b6ea 100644
+--- a/Modules/ThirdParty/Netlib/src/netlib/slatec/CMakeLists.txt
++++ b/Modules/ThirdParty/Netlib/src/netlib/slatec/CMakeLists.txt
+@@ -23,7 +23,7 @@ ADD_LIBRARY( itkNetlibSlatec
+  )
+ 
+ IF(ITK_USE_SYSTEM_VXL)
+-  TARGET_LINK_LIBRARIES( itkNetlibSlatec v3p_netlib netlib)
++  TARGET_LINK_LIBRARIES( itkNetlibSlatec v3p_netlib)
+ ELSE(ITK_USE_SYSTEM_VXL)
+   TARGET_LINK_LIBRARIES( itkNetlibSlatec itkv3p_netlib )
+ ENDIF(ITK_USE_SYSTEM_VXL)
+diff --git a/Modules/ThirdParty/VNL/CMakeLists.txt b/Modules/ThirdParty/VNL/CMakeLists.txt
+index c379a246c3..2f49a19d1c 100644
+--- a/Modules/ThirdParty/VNL/CMakeLists.txt
++++ b/Modules/ThirdParty/VNL/CMakeLists.txt
+@@ -16,7 +16,7 @@ if(ITK_USE_SYSTEM_VXL)
+     ${VXL_CORE_INCLUDE_DIRS}
+     ${VXL_CORE_INCLUDE_DIR}
+     )
+-  set(ITKVNL_LIBRARIES vnl_algo vnl v3p_netlib netlib vcl)
++  set(ITKVNL_LIBRARIES vnl_algo vnl v3p_netlib vcl)
+   set(ITKVNL_SYSTEM_LIBRARY_DIRS "${VXL_LIBRARY_DIR}")
+   set(ITKVNL_NO_SRC 1)
+ else()
+-- 
+2.54.0
+

diff --git a/InsightToolkit-0001-Set-lib-lib64-according-to-the-architecture.patch b/InsightToolkit-0001-Set-lib-lib64-according-to-the-architecture.patch
deleted file mode 100644
index dc2303a..0000000
--- a/InsightToolkit-0001-Set-lib-lib64-according-to-the-architecture.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 295da373736f7401667617406ccaca993bf3593e Mon Sep 17 00:00:00 2001
-From: Mario Ceresa <mrceresa@gmail.com>
-Date: Sat, 24 Nov 2012 14:37:00 +0100
-Subject: [PATCH 1/2] Set lib/lib64 according to the architecture
-
-Signed-off-by: Mario Ceresa <mrceresa@gmail.com>
----
- CMakeLists.txt | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 81e8c09..e7076a2 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -66,7 +66,7 @@ if(NOT ITK_INSTALL_DOC_DIR)
-   set(ITK_INSTALL_DOC_DIR share/doc/ITK-${ITK_VERSION_MAJOR}.${ITK_VERSION_MINOR})
- endif()
- if(NOT ITK_INSTALL_PACKAGE_DIR)
--  set(ITK_INSTALL_PACKAGE_DIR "lib/cmake/ITK-${ITK_VERSION_MAJOR}.${ITK_VERSION_MINOR}")
-+  set(ITK_INSTALL_PACKAGE_DIR "lib${LIB_SUFFIX}/cmake/ITK-${ITK_VERSION_MAJOR}.${ITK_VERSION_MINOR}")
- endif()
- 
- # Override CMake's built-in add_* commands: assign LABELS to tests and targets
--- 
-1.8.1
-

diff --git a/InsightToolkit-pr1599-fix-invalid-const-member-func.patch b/InsightToolkit-pr1599-fix-invalid-const-member-func.patch
deleted file mode 100644
index b325e24..0000000
--- a/InsightToolkit-pr1599-fix-invalid-const-member-func.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From 4f9ad6f9f95c0f1694b3024472550b16394989f4 Mon Sep 17 00:00:00 2001
-From: Hans Johnson <hans-johnson@uiowa.edu>
-Date: Sat, 8 Feb 2020 13:27:29 -0600
-Subject: [PATCH] BUG: operator() can not be const
-
-The member variable is changed, so the operator() can not be const.
----
- Modules/Bridge/VtkGlue/include/vtkCaptureScreen.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/Modules/Bridge/VtkGlue/include/vtkCaptureScreen.h b/Modules/Bridge/VtkGlue/include/vtkCaptureScreen.h
-index 7d4e1297fff..7c9aba03c46 100644
---- a/Modules/Bridge/VtkGlue/include/vtkCaptureScreen.h
-+++ b/Modules/Bridge/VtkGlue/include/vtkCaptureScreen.h
-@@ -46,7 +46,7 @@ class vtkCaptureScreen
-     }
- 
-   void operator( ) ( vtkRenderWindow* iRenderer,
--                     const std::string& iFileName ) const
-+                     const std::string& iFileName )
-     {
-     m_Renderer = iRenderer;
-     Capture( m_Renderer, iFileName );

diff --git a/InsightToolkit-remove-vxl-netlib.patch b/InsightToolkit-remove-vxl-netlib.patch
deleted file mode 100644
index bbb365f..0000000
--- a/InsightToolkit-remove-vxl-netlib.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-diff -ur ../InsightToolkit-4.13.3.orig/Modules/ThirdParty/Netlib/src/netlib/slatec/CMakeLists.txt ./Modules/ThirdParty/Netlib/src/netlib/slatec/CMakeLists.txt
---- ../InsightToolkit-4.13.3.orig/Modules/ThirdParty/Netlib/src/netlib/slatec/CMakeLists.txt	2024-10-11 18:59:24.307669873 +0100
-+++ ./Modules/ThirdParty/Netlib/src/netlib/slatec/CMakeLists.txt	2024-10-11 19:25:14.107429822 +0100
-@@ -23,7 +23,7 @@
-  )
- 
- IF(ITK_USE_SYSTEM_VXL)
--  TARGET_LINK_LIBRARIES( itkNetlibSlatec v3p_netlib netlib)
-+  TARGET_LINK_LIBRARIES( itkNetlibSlatec v3p_netlib)
- ELSE(ITK_USE_SYSTEM_VXL)
-   TARGET_LINK_LIBRARIES( itkNetlibSlatec itkv3p_netlib )
- ENDIF(ITK_USE_SYSTEM_VXL)
-diff -ur ../InsightToolkit-4.13.3.orig/Modules/ThirdParty/VNL/CMakeLists.txt ./Modules/ThirdParty/VNL/CMakeLists.txt
---- ../InsightToolkit-4.13.3.orig/Modules/ThirdParty/VNL/CMakeLists.txt	2024-10-11 18:59:24.317669856 +0100
-+++ ./Modules/ThirdParty/VNL/CMakeLists.txt	2024-10-11 18:59:56.068615650 +0100
-@@ -13,7 +13,7 @@
-     ${VXL_CORE_INCLUDE_DIRS}
-     ${VXL_CORE_INCLUDE_DIR}
-     )
--  set(ITKVNL_LIBRARIES vnl_algo vnl v3p_netlib netlib vcl)
-+  set(ITKVNL_LIBRARIES vnl_algo vnl v3p_netlib vcl)
-   set(ITKVNL_SYSTEM_LIBRARY_DIRS "${VXL_LIBRARY_DIR}")
-   set(ITKVNL_NO_SRC 1)
- else()
-diff -ur ../InsightToolkit-4.13.3.orig/Modules/ThirdParty/VNL/src/CMakeLists.txt ./Modules/ThirdParty/VNL/src/CMakeLists.txt
---- ../InsightToolkit-4.13.3.orig/Modules/ThirdParty/VNL/src/CMakeLists.txt	2024-10-11 18:59:24.317669856 +0100
-+++ ./Modules/ThirdParty/VNL/src/CMakeLists.txt	2024-10-11 19:00:05.888598882 +0100
-@@ -18,7 +18,7 @@
- # Retrive the variable type to CACHE.
- set(BUILD_EXAMPLES ${BUILD_EXAMPLES} CACHE BOOL "Build the examples from the ITK Software Guide." FORCE)
- 
--foreach(lib itkvcl itkv3p_netlib itktestlib itkvnl itkvnl_algo itknetlib)
-+foreach(lib itkvcl itkv3p_netlib itktestlib itkvnl itkvnl_algo)
-   itk_module_target(${lib} NO_INSTALL)
- endforeach()
- 

diff --git a/InsightToolkit-sse.patch b/InsightToolkit-sse.patch
deleted file mode 100644
index ba978c4..0000000
--- a/InsightToolkit-sse.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-diff -up InsightToolkit-4.7.2/Modules/Core/Common/include/itkMathDetail.h.sse InsightToolkit-4.7.2/Modules/Core/Common/include/itkMathDetail.h
---- InsightToolkit-4.7.2/Modules/Core/Common/include/itkMathDetail.h.sse	2015-04-30 18:28:32.000000000 -0600
-+++ InsightToolkit-4.7.2/Modules/Core/Common/include/itkMathDetail.h	2015-05-22 13:52:07.759541689 -0600
-@@ -39,10 +39,6 @@
- #include <fenv.h> // should this be cfenv?
- #endif /* ITK_HAVE_FENV_H */
- 
--#if defined( ITK_HAVE_EMMINTRIN_H ) && !defined( ITK_WRAPPING_PARSER )
--#include <emmintrin.h> // sse 2 intrinsics
--#endif /* ITK_HAVE_EMMINTRIN_H && ! ITK_WRAPPING_PARSER */
--
- // assume no SSE2:
- #define USE_SSE2_64IMPL 0
- #define USE_SSE2_32IMPL 0
-@@ -104,6 +100,10 @@
- #define VC_USE_ASM_64IMPL 0
- #endif
- 
-+#if defined( ITK_HAVE_EMMINTRIN_H ) && !defined( ITK_WRAPPING_PARSER ) && ( USE_SSE2_32IMPL || USE_SSE2_64IMPL )
-+#include <emmintrin.h> // sse 2 intrinsics
-+#endif /* ITK_HAVE_EMMINTRIN_H && ! ITK_WRAPPING_PARSER && ( USE_SSE2_32IMPL || USE_SSE2_64IMPL ) */
-+
- namespace itk
- {
- namespace Math

diff --git a/InsightToolkit.spec b/InsightToolkit.spec
index f0c7c8d..1f8cd20 100644
--- a/InsightToolkit.spec
+++ b/InsightToolkit.spec
@@ -6,31 +6,22 @@
 %bcond_without flexiblas
 %endif
 
+%global version_major_minor 5.4
+%global version_patch 6
+
 Name:           InsightToolkit
 Summary:        Insight Toolkit library for medical image processing
-%global version_major_minor 4.13
-Version:        %{version_major_minor}.3
-%global version_doc_major_minor 4.13
-%global version_doc %{version_doc_major_minor}.0
-Release:        34%{?dist}
+Version:        %{version_major_minor}.%{version_patch}
+Release:        1%{?dist}
 # Automatically converted from old format: ASL 2.0 - review is highly recommended.
 License:        Apache-2.0
 Source0:        https://github.com/InsightSoftwareConsortium/ITK/releases/download/v%{version}/InsightToolkit-%{version}.tar.gz
-Source1:        https://downloads.sourceforge.net/project/itk/itk/%{version_doc_major_minor}/InsightSoftwareGuide-Book1-%{version_doc}.pdf
-Source2:        https://downloads.sourceforge.net/project/itk/itk/%{version_doc_major_minor}/InsightSoftwareGuide-Book2-%{version_doc}.pdf
+Source1:        https://github.com/InsightSoftwareConsortium/ITK/releases/download/v%{version}/InsightSoftwareGuide-Book1-%{version}.pdf
+Source2:        https://github.com/InsightSoftwareConsortium/ITK/releases/download/v%{version}/InsightSoftwareGuide-Book2-%{version}.pdf
 Source3:        https://github.com/InsightSoftwareConsortium/ITK/releases/download/v%{version}/InsightData-%{version}.tar.gz
 URL:            https://www.itk.org/
-Patch0:         InsightToolkit-0001-Set-lib-lib64-according-to-the-architecture.patch
-Patch2:         InsightToolkit-sse.patch
-Patch3:         remove-test.diff
-# https://github.com/InsightSoftwareConsortium/ITK/pull/1599
-Patch4:         InsightToolkit-pr1599-fix-invalid-const-member-func.patch
-# https://github.com/InsightSoftwareConsortium/ITK/pull/1920/files: remove use of triangle from vxl (patched out in vxl system package also)
-# backported
-Patch5:         InsightToolkit-remove-vxl-netlib.patch
-
-# fix __riscv define
-Patch6:         fix-riscv.patch
+
+Patch:         0001-remove-vxl-netlib.patch
 
 # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
 ExcludeArch: %{ix86}
@@ -39,6 +30,8 @@ BuildRequires:  cmake
 BuildRequires:  doxygen
 BuildRequires:  fftw-devel
 BuildRequires:  castxml
+BuildRequires:  eigen3-devel
+BuildRequires:  git-core
 BuildRequires:  gdcm-devel
 BuildRequires:  graphviz
 BuildRequires:  hdf5-devel
@@ -56,9 +49,9 @@ BuildRequires:  vxl-devel
 BuildRequires:  vtk-devel
 BuildRequires:  zlib-devel
 %if %{with flexiblas}
-BuildRequires:	flexiblas-devel
+BuildRequires:  flexiblas-devel
 %else
-BuildRequires:	blas-devel
+BuildRequires:  blas-devel
 BuildRequires:  lapack-devel
 %endif
 BuildRequires:  netcdf-cxx-devel
@@ -134,7 +127,7 @@ Requires:       vtk-devel%{?_isa}
 Libraries and header files for development of ITK-VTK bridge
 
 %prep
-%autosetup -p1
+%autosetup -S git
 
 # copy guide into the appropriate directory
 cp -a %{SOURCE1} %{SOURCE2} .
@@ -148,42 +141,26 @@ rm -rf Applications/
 # DoubleConversion still seems to need the source present
 # NIFTI needs support - https://issues.itk.org/jira/browse/ITK-3349
 # OpenJPEG - https://issues.itk.org/jira/browse/ITK-3350
-find Modules/ThirdParty/* \( -name DICOMParser -o -name DoubleConversion -o -name GIFTI -o -name KWSys -o -name MetaIO -o -name NIFTI -o -name NrrdIO -o -name Netlib -o -name OpenJPEG -o name VNLInstantiation \) \
+find Modules/ThirdParty/* \( -name DICOMParser -o -name DoubleConversion -o -name GIFTI -o -name KWSys -o -name MetaIO -o -name NIFTI -o -name NrrdIO -o -name Netlib -o -name OpenJPEG -o -name VNLInstantiation -o -name libLBFGS -o -name GoogleTest \) \
     -prune -o -regextype posix-extended -type f \
-    -regex ".*\.(h|hxx|hpp|c|cc|cpp|cxx|txx)$" -not -iname "itk*" -print0 | xargs -0 rm -fr
+    -regex ".*\.(h|hxx|hpp|c|cc|cpp|cxx|txx)$" -not -iname "itk*" -print0 | xargs -0 rm -fvr
 
 tar xvf %{SOURCE3} -C ..
 
-# short-circuit a wrapper header that causes declaration conflicts
-echo '#include "vnl/vnl_complex_traits.h"' >Modules/ThirdParty/VNLInstantiation/include/vnl_complex_traits+char-.h
-
-# get rid of use of poisoned define
-grep -e VCL_CHAR_IS_SIGNED -r -l . | xargs sed -r -i 's/VCL_CHAR_IS_SIGNED/CHAR_MIN < 0/'
-
-# comment out problematic cast
-# error: cannot convert ‘double’ to ‘itk::ResampleImageFilter<itk::Image<itk::Vector<double, 3>, 2>, itk::Image<itk::Vector<double, 3>, 2> >::PixelType’ {aka ‘itk::Vector<double, 3>’}
-#   270 |   resample->SetDefaultPixelValue( itk::NumericTraits<FixedImageType::PixelType::ValueType>::ZeroValue() );
-#       |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
-#       |                                                                                                      |
-#       |                                                                                                      double
-sed -r -i 's/resample->SetDefaultPixelValue/\/\/\0/' \
-    Modules/Registration/Metricsv4/test/itkMeanSquaresImageToImageMetricv4VectorRegistrationTest.cxx
-
 %build
-# TODO: Please submit an issue to upstream (rhbz#2380458)
-export CMAKE_POLICY_VERSION_MINIMUM=3.5
+# conflicts with castxml, needs debugging
 extra_cflags=(
-	-DITK_LEGACY_FUTURE_REMOVE # fix build with new vtk
-	-Wno-deprecated-copy       # reduce noise in the logs...
-	-Wno-maybe-uninitialized
-	-Wno-ignored-qualifiers
-	)
-%cmake .. \
+    -DITK_LEGACY_FUTURE_REMOVE # fix build with new vtk
+    -Wno-deprecated-copy       # reduce noise in the logs...
+    -Wno-maybe-uninitialized
+    -Wno-ignored-qualifiers
+    )
+%cmake \
        -DBUILD_SHARED_LIBS:BOOL=ON \
        -DBUILD_EXAMPLES:BOOL=ON \
        -DCMAKE_BUILD_TYPE:STRING="RelWithDebInfo"\
        -DCMAKE_VERBOSE_MAKEFILE=ON\
-       -DCMAKE_CXX_FLAGS:STRING="-std=gnu++14 %{optflags} ${extra_cflags[*]}" \
+       -DCMAKE_CXX_FLAGS:STRING="%{optflags} ${extra_cflags[*]}" \
        -DBUILD_TESTING=ON\
        %{?with_flexiblas:-DBLA_VENDOR=FlexiBLAS} \
        -DITK_USE_GOLD_LINKER:BOOL=OFF \
@@ -206,6 +183,7 @@ extra_cflags=(
        -DITK_USE_SYSTEM_GDCM=ON \
        -DITK_USE_SYSTEM_GOOGLETEST=OFF \
        -DITK_USE_SYSTEM_HDF5=ON \
+       -DHDF5_NO_FIND_PACKAGE_CONFIG=ON \
        -DITK_USE_SYSTEM_JPEG=ON \
        -DITK_USE_SYSTEM_MINC=ON \
        -DITK_USE_SYSTEM_PNG=ON \
@@ -213,12 +191,14 @@ extra_cflags=(
        -DITK_USE_SYSTEM_TIFF=ON \
        -DITK_USE_SYSTEM_ZLIB=ON \
        -DITK_USE_SYSTEM_VXL=ON \
+       -DITK_USE_SYSTEM_EIGEN=ON \
        -DITK_INSTALL_LIBRARY_DIR=%{_lib}/ \
        -DITK_INSTALL_INCLUDE_DIR=include/%{name} \
        -DITK_INSTALL_PACKAGE_DIR=%{_lib}/cmake/%{name}/ \
        -DITK_INSTALL_RUNTIME_DIR:PATH=%{_bindir} \
        -DITK_INSTALL_DOC_DIR=share/doc/%{name}/
 
+
 %cmake_build
 
 %install
@@ -229,30 +209,25 @@ mkdir -p %{buildroot}%{_datadir}/%{name}/examples
 cp -ar Examples/* %{buildroot}%{_datadir}/%{name}/examples/
 
 %check
-# There are a couple of tests randomly failing on f19 and rawhide and I'm debugging
-# it with upstream. Making the tests informative for now
+# There are a couple of tests randomly failing. Needs debugging with upstream.
 %ctest || exit 0
 
-# In F31 rawhide (some most likely related to the patching done above):
+# In F45 rawhide
 # The following tests FAILED:
-#	234 - itkNumericTraitsTest (Failed)
-#	2395 - itkVtkMedianImageFilterTest (Child aborted)
-#	2399 - QuickViewTest (Child aborted)
-#	2400 - itkVtkConnectedComponentImageFilterTest (Child aborted)
-
-%ldconfig_scriptlets
-
-%ldconfig_scriptlets vtk
-
+#1238 - itkTIFFImageIOPlannarConfig2 (SEGFAULT)           ITKIOTIFF
+#1241 - itkTIFFImageIOInfoTest2 (SEGFAULT)                ITKIOTIFF
+#1257 - itkLargeTIFFImageWriteReadTest2 (Failed)          BigIO RUNS_LONG
+#1258 - itkLargeTIFFImageWriteReadTest3 (Failed)          BigIO RUNS_LONG
+#1259 - itkLargeTIFFImageWriteReadTest4 (Failed)          BigIO RUNS_LONG
 
 %files
 %doc LICENSE NOTICE README.md
-%{_libdir}/*.so.*
+%{_libdir}/*-%{version_major_minor}.so.1
 %exclude %{_libdir}/libITKVtkGlue*.so.*
 %{_bindir}/itkTestDriver
 
 %files devel
-%{_libdir}/*.so
+%{_libdir}/*-%{version_major_minor}.so
 %exclude %{_libdir}/libITKVtkGlue*.so
 %{_libdir}/cmake/%{name}/
 %{_includedir}/%{name}/
@@ -268,8 +243,8 @@ cp -ar Examples/* %{buildroot}%{_datadir}/%{name}/examples/
 %files doc
 %dir %{_docdir}/%{name}/
 %{_docdir}/%{name}/*
-%doc InsightSoftwareGuide-Book1-%{version_doc}.pdf
-%doc InsightSoftwareGuide-Book2-%{version_doc}.pdf
+%doc InsightSoftwareGuide-Book1-%{version}.pdf
+%doc InsightSoftwareGuide-Book2-%{version}.pdf
 
 %files vtk
 %{_libdir}/libITKVtkGlue*.so.*
@@ -283,6 +258,9 @@ cp -ar Examples/* %{buildroot}%{_datadir}/%{name}/examples/
 %{_libdir}/cmake/%{name}/Modules/ITKVtkGlue.cmake
 
 %changelog
+* Thu Jul 16 2026 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 5.4.6-1
+- Update to latest release
+
 * Wed Jul 15 2026 Fedora Release Engineering <releng@fedoraproject.org> - 4.13.3-34
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

diff --git a/fix-riscv.patch b/fix-riscv.patch
deleted file mode 100644
index d6771b2..0000000
--- a/fix-riscv.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: InsightToolkit-4.13.3/Modules/ThirdParty/KWIML/src/itkkwiml/include/kwiml/abi.h
-===================================================================
---- InsightToolkit-4.13.3.orig/Modules/ThirdParty/KWIML/src/itkkwiml/include/kwiml/abi.h
-+++ InsightToolkit-4.13.3/Modules/ThirdParty/KWIML/src/itkkwiml/include/kwiml/abi.h
-@@ -468,7 +468,7 @@ suppression macro KWIML_ABI_NO_VERIFY wa
- # define KWIML_ABI_ENDIAN_ID KWIML_ABI_ENDIAN_ID_LITTLE
- 
- /* RISC-V */
--#elif defined(__riscv__)
-+#elif defined(__riscv)
- # define KWIML_ABI_ENDIAN_ID KWIML_ABI_ENDIAN_ID_LITTLE
- 
- /* Unknown CPU */

diff --git a/remove-test.diff b/remove-test.diff
deleted file mode 100644
index f64174b..0000000
--- a/remove-test.diff
+++ /dev/null
@@ -1,21 +0,0 @@
-diff --git a/Modules/Nonunit/Review/test/itkVectorCentralDifferenceImageFunctionTest.cxx b/Modules/Nonunit/Review/test/itkVectorCentralDifferenceImageFunctionTest.cxx
-index 73d0975244..559354c1b7 100644
---- a/Modules/Nonunit/Review/test/itkVectorCentralDifferenceImageFunctionTest.cxx
-+++ b/Modules/Nonunit/Review/test/itkVectorCentralDifferenceImageFunctionTest.cxx
-@@ -40,11 +40,11 @@ int itkVectorCentralDifferenceImageFunctionTest(int, char* [] )
-   iter.GoToBegin();
-   unsigned int counter = 0;
- 
--  while ( !iter.IsAtEnd() )
--    {
--    iter.Set( counter++ );
--    ++iter;
--    }
-+  //  while ( !iter.IsAtEnd() )
-+  //    {
-+  //    iter.Set( counter++ );
-+  //    ++iter;
-+  //    }
- 
-   // set up central difference calculator
-   typedef float CoordRepType;

diff --git a/sources b/sources
index 6cdeffa..cde3819 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
-SHA512 (InsightToolkit-4.13.3.tar.gz) = bc08bef804a4384ddf8694658bef34d30e54fa1ef5f72e460357382316dd45fed4088eb529014692cc28ffbd017782c9bcb276c8c8f4debe13af8eea93eaf5c0
-SHA512 (InsightData-4.13.3.tar.gz) = e95a2cfbe5a45f8da34ca974bb1c35078c69817a9bb26cfcef371c110f486e18ae06049676db2199368a85f69ddd127cf8964154f35c4041c0f5d4efda083078
-SHA512 (InsightSoftwareGuide-Book1-4.13.0.pdf) = 3999436244495723fdabac57129308a46ed4a6792c7367ed62252ae5f6eeae992971bf73771244c8164ddc92d068dc1ed00d2400d6fc61ebbe85181effa134c9
-SHA512 (InsightSoftwareGuide-Book2-4.13.0.pdf) = da0ff69de6ccd6458056b1c9f596a42982307ee3fc460e216f828216db8822f37c8399ce8f9caa637f1680f07451ea966ef297c4eeaa49da0f32961edc24c22f
+SHA512 (InsightToolkit-5.4.6.tar.gz) = 27b66f7f52238f48de8fb6eb4855bcf7f95c601d08cb47663cc6783209a4c17c22a373839e1f8680699edeb9c303fda272c73e1594cc39f36e52babd5b0795ee
+SHA512 (InsightData-5.4.6.tar.gz) = 95b440373c50c056a7956b81bf6c8646d5f653bae5b98f67fc159e6734dddb1757d74f34ab663cee1e694e6fe52487d6b275c78fae0c42e7c2ba6046227428af
+SHA512 (InsightSoftwareGuide-Book1-5.4.6.pdf) = bcf1f3c8fcd29aa18eac9786543b542cd167baa81f1ea8b4db25d15febbdea4b6f1e77972246840a534c461c34571683dae786916f219801275ba186200405cb
+SHA512 (InsightSoftwareGuide-Book2-5.4.6.pdf) = 4ba57c3523661154653d93f3071ecbd67fa0522954298054618f79c6e175c04c69c0e1ea4489cd3686094212fb637e1eb6291caec7d6d041053b43e8e8cd4b5d

                 reply	other threads:[~2026-07-23 12:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178481101456.1.10920423014963138318.rpms-InsightToolkit-cfe51c080789@fedoraproject.org \
    --to=sanjay.ankur@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox