public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/InsightToolkit] rawhide: feat: add bundled provides
@ 2026-07-23 12:50 Ankur Sinha
0 siblings, 0 replies; only message in thread
From: Ankur Sinha @ 2026-07-23 12:50 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/InsightToolkit
Branch : rawhide
Commit : 2badee6678d26716b64b36f27a365727fec32249
Author : Ankur Sinha (Ankur Sinha Gmail) <sanjay.ankur@gmail.com>
Date : 2026-07-16T11:19:24+01:00
Stats : +33/-5 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/InsightToolkit/c/2badee6678d26716b64b36f27a365727fec32249?branch=rawhide
Log:
feat: add bundled provides
---
diff --git a/InsightToolkit.spec b/InsightToolkit.spec
index 1f8cd20..cee19e7 100644
--- a/InsightToolkit.spec
+++ b/InsightToolkit.spec
@@ -23,6 +23,31 @@ URL: https://www.itk.org/
Patch: 0001-remove-vxl-netlib.patch
+# Bundled libraries that have no way to use system versions.
+# Version info extracted from the upstream ITK source tree at the time of
+# the 5.4.6 release.
+# DICOMParser, GIFTI, KWSys, MetaIO, Netlib, VNLInstantiation: no version
+# info available in ITK source
+Provides: bundled(DICOMParser)
+Provides: bundled(double-conversion) = 3.1.6
+# Source: Modules/ThirdParty/DoubleConversion/CMakeLists.txt:10
+Provides: bundled(gifticlib) = 1.16
+# Source: Modules/ThirdParty/GIFTI/src/gifticlib/gifti_io.c:145
+Provides: bundled(kwsys)
+Provides: bundled(MetaIO)
+Provides: bundled(nifti) = 2.1.0
+# Source: Modules/ThirdParty/NIFTI/src/nifti/niftilib/nifti1_io_version.h:4-6
+Provides: bundled(NrrdIO) = 1.11.1
+# Source: Modules/ThirdParty/NrrdIO/src/NrrdIO/NrrdIO.h.in:51-56 (Teem version)
+Provides: bundled(netlib)
+Provides: bundled(openjpeg) = 1.2.0
+# Source: Modules/ThirdParty/OpenJPEG/src/openjpeg/openjpeg.h:90
+Provides: bundled(liblbfgs) = 1.10
+# Source: Modules/ThirdParty/libLBFGS/include/lbfgs.h:605
+Provides: bundled(googletest) = 1.13.0
+# Source: Modules/ThirdParty/GoogleTest/UpdateFromUpstream.sh:11
+Provides: bundled(VNLInstantiation)
+
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
ExcludeArch: %{ix86}
@@ -136,11 +161,14 @@ cp -a %{SOURCE1} %{SOURCE2} .
rm -rf Applications/
# remove source files of external dependencies that itk gets linked against
-# DICOMParser, GIFTI, KWSys, MetaIO, NrrdIO, Netlib, VNLInstantiation are not
-# yet in Fedora
-# 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
+# Libraries kept (pruned) because they are not available in Fedora or ITK
+# has no mechanism to use the system version:
+# DICOMParser, GIFTI, KWSys, MetaIO, NrrdIO, Netlib, VNLInstantiation - not in Fedora
+# DoubleConversion - needs source present
+# NIFTI - needs support: https://issues.itk.org/jira/browse/ITK-3349
+# OpenJPEG - needs support: https://issues.itk.org/jira/browse/ITK-3350
+# libLBFGS - in Fedora but ITK has no system option
+# GoogleTest - in Fedora but ITK_USE_SYSTEM_GOOGLETEST is OFF
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 -fvr
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-23 12:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-23 12:50 [rpms/InsightToolkit] rawhide: feat: add bundled provides Ankur Sinha
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox