science/InsightToolkit: Update 5.2.1 -> 5.3rc04

Also include most remote modules.
This commit is contained in:
Yuri Victorovich 2022-11-18 18:00:28 -08:00
parent 0145a312fd
commit 84e966ab78
12 changed files with 1443 additions and 76 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= InsightToolkit
DISTVERSIONPREFIX= v
DISTVERSION= 5.2.1
DISTVERSION= 5.3rc04
CATEGORIES= science biology
MASTER_SITES= https://github.com/InsightSoftwareConsortium/ITK/releases/download/v${DISTVERSION}/:data
DISTFILES= InsightData-${DISTVERSION}.tar.gz:data
@ -12,16 +12,23 @@ WWW= https://www.itk.org
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= googletest>=0:devel/googletest
LIB_DEPENDS= libgdcmCommon.so:devel/gdcm \
BUILD_DEPENDS= googletest>=0:devel/googletest # gtest required for build, see https://github.com/InsightSoftwareConsortium/ITK/issues/3750
LIB_DEPENDS= libfreetype.so:print/freetype2 \
libgdcmCommon.so:devel/gdcm \
libexpat.so:textproc/expat2 \
libfftw.so:math/fftw \
libhdf5.so:science/hdf5 \
libpng.so:graphics/png \
libsz.so:science/libaec \
libtiff.so:graphics/tiff
# dependencies for optional modules
LIB_DEPENDS+= libdcmjpls.so:graphics/dcmtk \
libvtkCommonCore-${VTK_VER}.so:math/vtk${VTK_VER:R}
TEST_DEPENDS= googletest>0:devel/googletest
USES= cmake:testing compiler:c++11-lang eigen:3 jpeg pkgconfig python:test
USES= cmake:testing compiler:c++11-lang eigen:3 gl jpeg localbase:ldflags pkgconfig python:run,test xorg
USE_GL= opengl
USE_XORG= x11
USE_LDCONFIG= ${PREFIX}/lib/InsightToolkit
USE_GITHUB= yes
@ -29,8 +36,8 @@ GH_ACCOUNT= InsightSoftwareConsortium
GH_PROJECT= ITK
CMAKE_ON= BUILD_SHARED_LIBS \
ITK_FORBID_DOWNLOADS \
ITK_LEGACY_SILENT \
ITK_USE_SYSTEM_DCMTK \
ITK_USE_SYSTEM_EXPAT \
ITK_USE_SYSTEM_FFTW \
ITK_USE_SYSTEM_GDCM \
@ -40,23 +47,26 @@ CMAKE_ON= BUILD_SHARED_LIBS \
ITK_USE_SYSTEM_PNG \
ITK_USE_SYSTEM_TIFF \
ITK_USE_SYSTEM_ZLIB \
Module_ITKIOMIC \
Module_ITKIOTransformMINC \
Module_ITKIOPNG \
Module_ITKReview
CMAKE_ARGS= -DPython3_EXECUTABLE=${PYTHON_CMD}
CMAKE_OFF= ITK_USE_KWSTYLE BUILD_TESTING
CMAKE_TESTING_ON= BUILD_TESTING # 3 tests are known to fail, see https://github.com/InsightSoftwareConsortium/ITK/issues/3739
CMAKE_TESTING_ON= BUILD_TESTING # 4 tests are known to fail, see https://github.com/InsightSoftwareConsortium/ITK/issues/3739
#LDFLAGS+= -lcompat # workaround for: ld: error: lib/liblpsolve55.so.5.5.2: undefined reference to ftime
LDFLAGS+= -L${WRKSRC} -lftime # workaround for: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257789, otherwise the above line should suffice
ITK_VER= ${PORTVERSION:R}
PLIST_SUB+= ITK_VER=${ITK_VER}
OPTIONS_DEFINE= EXAMPLES TESTING
OPTIONS_DEFINE= EXAMPLES
EXAMPLES_DESC= Build examples (very time consuming)
TESTING_DESC= Build testing programs (very time consuming)
EXAMPLES_CMAKE_BOOL= BUILD_EXAMPLES
TESTING_CMAKE_BOOL= BUILD_TESTING
BINARY_ALIAS= git=${FILESDIR}/fake-git fetch=false
.include <bsd.port.pre.mk>
@ -67,7 +77,16 @@ PLIST_SUB+= CHOSEN_COMPILER_TYPE="Clang"
.endif
post-extract:
${MV} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/.ExternalData/* ${WRKSRC}/.ExternalData/
${RM} -r ${WRKDIR}/${PORTNAME}-${PORTVERSION}
@${MV} ${WRKDIR}/${PORTNAME}-${DISTVERSION}/.ExternalData/* ${WRKSRC}/.ExternalData/
@${RM} -r ${WRKDIR}/${PORTNAME}-${DISTVERSION}
pre-configure: # workaround for https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257789
@${SETENV} ${MAKE_ENV} ${CC} -c -fPIC ${FILESDIR}/ftime.c -o ${WRKSRC}/libftime.o
@${AR} -rcs ${WRKSRC}/libftime.a ${WRKSRC}/libftime.o
post-install: # remove contentless docs
@${RM} -r ${STAGEDIR}${PREFIX}/share
.include <Makefile.remote_modules>
.include <../../math/vtk9/Makefile.version>
.include <bsd.port.post.mk>

View File

@ -0,0 +1,116 @@
GH_TUPLE+= \
ntustison:ITKAdaptiveDenoising:674218fae611184d4168bd0c7b027f1a0d1a8a18:ITKAdaptiveDenoising \
InsightSoftwareConsortium:itkAnalyzeObjectMap:6501909759a0de4ba99905d0f8e36005150f444a:itkAnalyzeObjectMap \
InsightSoftwareConsortium:ITKAnisotropicDiffusionLBR:66a74d2fc9584ff22a42b4beacb0dd9bc9e71d23:ITKAnisotropicDiffusionLBR \
InsightSoftwareConsortium:ITKBSplineGradient:ba1417c320c75ba0987e8a6cb12d9bb8a3f47365:ITKBSplineGradient \
InsightSoftwareConsortium:ITKBioCell:4cef62a2f426df1784cd4984e18f31c005b4c71c:ITKBioCell \
InsightSoftwareConsortium:ITKBoneEnhancement:68e550f7ba8dd6bc467d3d86aac463302b22dffd:ITKBoneEnhancement \
InsightSoftwareConsortium:ITKBoneMorphometry:391e5bcc5c57209447bf5b2f3a77ba59d3edfe57:ITKBoneMorphometry \
SCIInstitute:ITKCleaver:b1cec7c0d4a90927c051d61d20d623cf0f587ad5:ITKCleaver \
InsightSoftwareConsortium:ITKCuberille:6b0961120ec8aa03153ecab034d2f4dd192ef190:ITKCuberille \
SimonRit:ITKCudaCommon:2999fc30f6a8acfe8c94e9e79318a1a68439324e:ITKCudaCommon \
InsightSoftwareConsortium:ITKFixedPointInverseDisplacementField:b540bb41bc01313396093dfb078b1a74187d5cc9:ITKFixedPointInverseDisplacementField \
InsightSoftwareConsortium:ITKGenericLabelInterpolator:d804834d5af635241cb92ab0ef2197d6e4f4e50c:ITKGenericLabelInterpolator \
InsightSoftwareConsortium:ITKGrowCut:7e9959f46bf40fe23d9ae30364055ae29e6059d0:ITKGrowCut \
KitwareMedical:HASI:0f50ab50d6fb532f4276ca88b244dd3c000a0155:HASI \
InsightSoftwareConsortium:ITKHigherOrderAccurateGradient:b57ee45519e88b88bd46d5b8390b029f290311d9:ITKHigherOrderAccurateGradient \
InsightSoftwareConsortium:ITKIOFDF:0a170137bac5c5728f0b0e5134de269eb390ad62:ITKIOFDF \
InsightSoftwareConsortium:ITKIOMeshSTL:7841c1360990dac8cf6f4440b765b6b6aff73cc2:ITKIOMeshSTL \
InsightSoftwareConsortium:ITKIOMeshSWC:60a61652e6b87f66f7771c9c69dc76504c2471b8:ITKIOMeshSWC \
InsightSoftwareConsortium:ITKIOOpenSlide:fb654552e240e50bd4121d431d88536d2c84e937:ITKIOOpenSlide \
KitwareMedical:ITKIOScanco:f56c97b76ae26103e017eeaeebd6153af1223ff0:ITKIOScanco \
InsightSoftwareConsortium:ITKIOTransformDCMTK:649da7a2dc71a6d89ccdf7d3123906d0ae7c72dc:ITKIOTransformDCMTK \
InsightSoftwareConsortium:ITKIsotropicWavelets:0f901b815b67cc80480d66ad5841af4a8e669734:ITKIsotropicWavelets \
InsightSoftwareConsortium:ITKLabelErodeDilate:9cab6d555b5052f9e04714323755713ee05bf2db:ITKLabelErodeDilate \
InsightSoftwareConsortium:LesionSizingToolkit:c1a84175c73319e70083e44abedb655ca85d5c57:LesionSizingToolkit \
InsightSoftwareConsortium:itkMGHImageIO:b5b0d48e43335c8ae60f4441cc8ac2d9cafbfdb9:itkMGHImageIO \
InsightSoftwareConsortium:ITKMeshNoise:95cf5854e848e4c0f2d17eb2991e7606bdb5b955:ITKMeshNoise \
InsightSoftwareConsortium:ITKMeshToPolyData:a8f6f9c95523acbf6a2505c4fae1c35260e032eb:ITKMeshToPolyData \
InsightSoftwareConsortium:ITKMinimalPathExtraction:72ef4ad37a341f6c5f1b0fe1c10e454a27980309:ITKMinimalPathExtraction \
InsightSoftwareConsortium:ITKMontage:d4d7e4a35e7882896cd1b671c9922934ee7a5930:ITKMontage \
KitwareMedical:ITKMorphologicalContourInterpolation:e518b40cc863a7be4d986469decc52d3f60f14b8:ITKMorphologicalContourInterpolation \
KitwareMedical:MultipleImageIterator:15712259fed4a7f3b7d8171fd8f6c393df380a50:MultipleImageIterator \
InsightSoftwareConsortium:ITKParabolicMorphology:18d15dedd4de3886d0bf5529ffb48720d6de32ff:ITKParabolicMorphology \
InsightSoftwareConsortium:ITKPerformanceBenchmarking:f9a8dc22b67ec63eee023c0734fc7aa5f119356a:ITKPerformanceBenchmarking \
KitwareMedical:ITKPhaseSymmetry:0b6993c4f7d1d48db110d145f6f2b22c84e5f2dd:ITKPhaseSymmetry \
InsightSoftwareConsortium:ITKPolarTransform:930d44ac91d2994e4d604be67714f1ffb9cd065c:ITKPolarTransform \
InsightSoftwareConsortium:ITKPrincipalComponentsAnalysis:d4877819abc8a921a5cefee864a52324a2542721:ITKPrincipalComponentsAnalysis \
KitwareMedical:ITKRLEImage:e18b8daa31be436e1163888183cab36e5f4a5f05:ITKRLEImage \
SimonRit:RTK:d5112fc4bba7eb07c4556169ac652d088fc29fdf:RTK \
scifio:scifio-imageio:42b30ee7d50ef6c91e0d3153f400b62bc114b2f7:scifio_imageio \
SlicerSALT:ITKShape:918041aa5508996a7ca044d509e48583cb74f2ba:ITKShape \
InsightSoftwareConsortium:ITKSimpleITKFilters:f885603b630619a20155c03a5baca2f684b9a6a7:ITKSimpleITKFilters \
InsightSoftwareConsortium:ITKSkullStrip:9afa0491f5fa5fbeba8ca44edc0a0fb2712087b5:ITKSkullStrip \
InsightSoftwareConsortium:ITKSmoothingRecursiveYvvGaussianFilter:389754f659b47f05bf7b75f76de2500ce1f9428c:ITKSmoothingRecursiveYvvGaussianFilter \
InsightSoftwareConsortium:ITKSphinxExamples:3ac107a7a1e9b884a3d2e7636b923d5c4cfcbf3f:ITKSphinxExamples \
InsightSoftwareConsortium:ITKSplitComponents:3dfd5775ec5702428d6319091e58990e9fe1e42d:ITKSplitComponents \
KitwareMedical:ITKStrain:4fd046c85556c3514b436652002539573ce25125:ITKStrain \
InsightSoftwareConsortium:itkSubdivisionQuadEdgeMeshFilter:cb71f215dc8e35c5052e542082e14486d76d39fa:itkSubdivisionQuadEdgeMeshFilter \
InsightSoftwareConsortium:ITKTextureFeatures:8ff51060a2b2bda7b2e1068908afce266ea71b3f:ITKTextureFeatures \
InsightSoftwareConsortium:ITKThickness3D:6830cadf76194acf8394308efd8c043acd561369:ITKThickness3D \
InsightSoftwareConsortium:ITKTotalVariation:fe6a530857bdb573ce8a138651b3f369a4110a3d:ITKTotalVariation \
InsightSoftwareConsortium:ITKTubeTK:ac8ce8baee1dcabca5d32c3d42922aed458f8f79:ITKTubeTK \
InsightSoftwareConsortium:ITKTwoProjectionRegistration:8e775982245ab59710b1ce9d49cd8f06c7e74377:ITKTwoProjectionRegistration \
KitwareMedical:ITKUltrasound:2443abe29ae44799a5e189fb66c7b8b7a044dcdf:ITKUltrasound \
InsightSoftwareConsortium:ITKVariationalRegistration:f9db4b9a0149e3b0164dd524af124f0827c04b78:ITKVariationalRegistration \
InsightSoftwareConsortium:ITKVkFFTBackend:bce0b1cec6d4af7de9ed3d462c0a255cf0029c06:ITKVkFFTBackend \
InsightSoftwareConsortium:itk-wasm:802f937a97b4cd702f6e171f54e76665ac8df50d:itk_wasm \
CMAKE_ON+=Module_AdaptiveDenoising
CMAKE_ON+=Module_itkAnalyzeObjectMap
CMAKE_OFF+=Module_AnisotropicDiffusionLBR
CMAKE_ON+=Module_BSplineGradient
CMAKE_OFF+=Module_BioCell
CMAKE_OFF+=Module_BoneEnhancement
CMAKE_ON+=Module_BoneMorphometry
CMAKE_OFF+=Module_Cleaver # cmake tries to download https://github.com/SCIInstitute/Cleaver2
CMAKE_ON+=Module_Cuberille
CMAKE_OFF+=Module_CudaCommon # missing CUDA::cudart
CMAKE_ON+=Module_FixedPointInverseDisplacementField
CMAKE_ON+=Module_GenericLabelInterpolator
CMAKE_ON+=Module_GrowCut
CMAKE_ON+=Module_HASI
CMAKE_ON+=Module_HigherOrderAccurateGradient
CMAKE_ON+=Module_IOFDF
CMAKE_ON+=Module_IOMeshSTL
CMAKE_ON+=Module_IOMeshSWC
CMAKE_OFF+=Module_IOOpenSlide # cmake fails: Please specify OPENSLIDE_LIBRARY and OPENSLIDE_INCLUDE_DIR.
CMAKE_ON+=Module_IOScanco
CMAKE_ON+=Module_IOTransformDCMTK
CMAKE_OFF+=Module_IsotropicWavelets # cmake fails: No such module: "ITKImageIO"
CMAKE_ON+=Module_LabelErodeDilate
CMAKE_ON+=Module_LesionSizingToolkit
CMAKE_ON+=Module_itkMGHImageIO
CMAKE_ON+=Module_MeshNoise
CMAKE_ON+=Module_MeshToPolyData
CMAKE_ON+=Module_MinimalPathExtraction
CMAKE_ON+=Module_Montage
CMAKE_ON+=Module_MorphologicalContourInterpolation
CMAKE_ON+=Module_MultipleImageIterator
CMAKE_ON+=Module_ParabolicMorphology
CMAKE_OFF+=Module_PerformanceBenchmarking # cmake fails: No such module: "PerformanceBenchmarking"
CMAKE_ON+=Module_PhaseSymmetry
CMAKE_ON+=Module_PolarTransform
CMAKE_ON+=Module_PrincipalComponentsAnalysis
CMAKE_ON+=Module_RLEImage
CMAKE_ON+=Module_RTK
CMAKE_ON+=Module_scifio-imageio
CMAKE_ON+=Module_Shape
CMAKE_ON+=Module_SimpleITKFilters
CMAKE_ON+=Module_SkullStrip
CMAKE_ON+=Module_SmoothingRecursiveYvvGaussianFilter
CMAKE_OFF+=Module_SphinxExamples # fetches a lot of test files during build
CMAKE_ON+=Module_SplitComponents
CMAKE_ON+=Module_Strain
CMAKE_ON+=Module_itkSubdivisionQuadEdgeMeshFilter
CMAKE_ON+=Module_TextureFeatures
CMAKE_ON+=Module_Thickness3D
CMAKE_OFF+=Module_TotalVariation # fetches proxTV
CMAKE_OFF+=Module_TubeTK # cmake error: get_target_property() called with non-existent target "VTK::hdf5_hl"
CMAKE_ON+=Module_TwoProjectionRegistration
CMAKE_OFF+=Module_Ultrasound # cmake fails: get_target_property() called with non-existent target "VTK::hdf5_hl"
CMAKE_ON+=Module_VariationalRegistration
CMAKE_OFF+=Module_VkFFTBackend # cmake fails: Could NOT find OpenCL (missing: OpenCL_LIBRARY OpenCL_INCLUDE_DIR)
CMAKE_ON+=Module_itk-wasm

View File

@ -1,3 +1,3 @@
# this file is provided for ITK users
ITK_VER=5.2
ITK_VER=5.3

View File

@ -1,5 +1,117 @@
TIMESTAMP = 1668411091
SHA256 (InsightData-5.2.1.tar.gz) = b5fcd209f456af289473ccc78f935b910168b852f3d4707d0c1e9dfd508b1757
SIZE (InsightData-5.2.1.tar.gz) = 293448802
SHA256 (InsightSoftwareConsortium-ITK-v5.2.1_GH0.tar.gz) = 6022b2b64624b8bcec3333fe48d5f74ff6ebceb3bdf98258ba7d7fbbc76b99ab
SIZE (InsightSoftwareConsortium-ITK-v5.2.1_GH0.tar.gz) = 20955613
TIMESTAMP = 1668730575
SHA256 (InsightData-5.3rc04.tar.gz) = 05d50103048d54e316df599ffb56a9a4d1cb7086618a052136500100a6ddaf10
SIZE (InsightData-5.3rc04.tar.gz) = 297871255
SHA256 (InsightSoftwareConsortium-ITK-v5.3rc04_GH0.tar.gz) = 0859ec9aaa02bf23366287c5a5b15ebea16b84e4f428c8b649067c93cf462030
SIZE (InsightSoftwareConsortium-ITK-v5.3rc04_GH0.tar.gz) = 21608648
SHA256 (ntustison-ITKAdaptiveDenoising-674218fae611184d4168bd0c7b027f1a0d1a8a18_GH0.tar.gz) = 603675ffdc9735ede763ca9453525efa59ecc27417ec698ffaa87d28a750807c
SIZE (ntustison-ITKAdaptiveDenoising-674218fae611184d4168bd0c7b027f1a0d1a8a18_GH0.tar.gz) = 757851
SHA256 (InsightSoftwareConsortium-itkAnalyzeObjectMap-6501909759a0de4ba99905d0f8e36005150f444a_GH0.tar.gz) = e55627b40927a38df35a5514848987c786069507bb432d0a129360c3dc589275
SIZE (InsightSoftwareConsortium-itkAnalyzeObjectMap-6501909759a0de4ba99905d0f8e36005150f444a_GH0.tar.gz) = 75758
SHA256 (InsightSoftwareConsortium-ITKAnisotropicDiffusionLBR-66a74d2fc9584ff22a42b4beacb0dd9bc9e71d23_GH0.tar.gz) = 1783145a53535e4b0b441fb793ec29a3471e66bf18a11839a29797c9dd9fb639
SIZE (InsightSoftwareConsortium-ITKAnisotropicDiffusionLBR-66a74d2fc9584ff22a42b4beacb0dd9bc9e71d23_GH0.tar.gz) = 43627
SHA256 (InsightSoftwareConsortium-ITKBSplineGradient-ba1417c320c75ba0987e8a6cb12d9bb8a3f47365_GH0.tar.gz) = db2e3f1b4dc0d6cca025acca64600c92e758808ca56257019b9cdbdc22cfce18
SIZE (InsightSoftwareConsortium-ITKBSplineGradient-ba1417c320c75ba0987e8a6cb12d9bb8a3f47365_GH0.tar.gz) = 20233
SHA256 (InsightSoftwareConsortium-ITKBioCell-4cef62a2f426df1784cd4984e18f31c005b4c71c_GH0.tar.gz) = d400d88c2ed779c58e032665756a9cc66f071083049792754de4ac782e48db1b
SIZE (InsightSoftwareConsortium-ITKBioCell-4cef62a2f426df1784cd4984e18f31c005b4c71c_GH0.tar.gz) = 7026750
SHA256 (InsightSoftwareConsortium-ITKBoneEnhancement-68e550f7ba8dd6bc467d3d86aac463302b22dffd_GH0.tar.gz) = 42424bf9d2e2377268aab07b4cff70948a93b47c33360019a2aa25f650b31b67
SIZE (InsightSoftwareConsortium-ITKBoneEnhancement-68e550f7ba8dd6bc467d3d86aac463302b22dffd_GH0.tar.gz) = 43705
SHA256 (InsightSoftwareConsortium-ITKBoneMorphometry-391e5bcc5c57209447bf5b2f3a77ba59d3edfe57_GH0.tar.gz) = 615222bf1e65f737a2a6f469596e76311122e06807a9aca36253eb0bfb002f60
SIZE (InsightSoftwareConsortium-ITKBoneMorphometry-391e5bcc5c57209447bf5b2f3a77ba59d3edfe57_GH0.tar.gz) = 1877081
SHA256 (SCIInstitute-ITKCleaver-b1cec7c0d4a90927c051d61d20d623cf0f587ad5_GH0.tar.gz) = f8e4b15a916a4aab91aa7a15b74a0de5bc85d400405bf4a6d664cf8155e3e68a
SIZE (SCIInstitute-ITKCleaver-b1cec7c0d4a90927c051d61d20d623cf0f587ad5_GH0.tar.gz) = 77405
SHA256 (InsightSoftwareConsortium-ITKCuberille-6b0961120ec8aa03153ecab034d2f4dd192ef190_GH0.tar.gz) = 145bb28ac501ab6baf1a35f052561a1e23a20ce7311735b94b10a5bf4f1e4913
SIZE (InsightSoftwareConsortium-ITKCuberille-6b0961120ec8aa03153ecab034d2f4dd192ef190_GH0.tar.gz) = 280824
SHA256 (SimonRit-ITKCudaCommon-2999fc30f6a8acfe8c94e9e79318a1a68439324e_GH0.tar.gz) = c1a89317963a8e978d38c7aa404de70b5c421d742925fb6de37a5969afd3fa69
SIZE (SimonRit-ITKCudaCommon-2999fc30f6a8acfe8c94e9e79318a1a68439324e_GH0.tar.gz) = 26276
SHA256 (InsightSoftwareConsortium-ITKFixedPointInverseDisplacementField-b540bb41bc01313396093dfb078b1a74187d5cc9_GH0.tar.gz) = f4808923be41d986a63ac83318518c576c6a1bd4412657abba1c6b3b918e6bee
SIZE (InsightSoftwareConsortium-ITKFixedPointInverseDisplacementField-b540bb41bc01313396093dfb078b1a74187d5cc9_GH0.tar.gz) = 5446460
SHA256 (InsightSoftwareConsortium-ITKGenericLabelInterpolator-d804834d5af635241cb92ab0ef2197d6e4f4e50c_GH0.tar.gz) = b9238ba0be68b43913ae27178659c04507b3b37fdc174c05e599b8a8c1d4ecff
SIZE (InsightSoftwareConsortium-ITKGenericLabelInterpolator-d804834d5af635241cb92ab0ef2197d6e4f4e50c_GH0.tar.gz) = 140442
SHA256 (InsightSoftwareConsortium-ITKGrowCut-7e9959f46bf40fe23d9ae30364055ae29e6059d0_GH0.tar.gz) = d1ab17544b496d5c04102694e5bfd923c4669177954c94269418ec997537789d
SIZE (InsightSoftwareConsortium-ITKGrowCut-7e9959f46bf40fe23d9ae30364055ae29e6059d0_GH0.tar.gz) = 27558
SHA256 (KitwareMedical-HASI-0f50ab50d6fb532f4276ca88b244dd3c000a0155_GH0.tar.gz) = 8628cb7ef6eacf08ba16ea872b0a6909f4b81c6c5302387156a175e4ccf3e5e5
SIZE (KitwareMedical-HASI-0f50ab50d6fb532f4276ca88b244dd3c000a0155_GH0.tar.gz) = 6302625
SHA256 (InsightSoftwareConsortium-ITKHigherOrderAccurateGradient-b57ee45519e88b88bd46d5b8390b029f290311d9_GH0.tar.gz) = 60f63e121a7eed5c607920522cad7be0af11eac7871559151f896417694625f3
SIZE (InsightSoftwareConsortium-ITKHigherOrderAccurateGradient-b57ee45519e88b88bd46d5b8390b029f290311d9_GH0.tar.gz) = 4477561
SHA256 (InsightSoftwareConsortium-ITKIOFDF-0a170137bac5c5728f0b0e5134de269eb390ad62_GH0.tar.gz) = 99c1170235f56372bd85dc7faa5e85c5fa5fcc179ce6ffe3b9f6bcd36ddb4607
SIZE (InsightSoftwareConsortium-ITKIOFDF-0a170137bac5c5728f0b0e5134de269eb390ad62_GH0.tar.gz) = 255691
SHA256 (InsightSoftwareConsortium-ITKIOMeshSTL-7841c1360990dac8cf6f4440b765b6b6aff73cc2_GH0.tar.gz) = fce5a5fb434bd77876496267a72c3efe7ff9c6262896647147ed57befb253cd6
SIZE (InsightSoftwareConsortium-ITKIOMeshSTL-7841c1360990dac8cf6f4440b765b6b6aff73cc2_GH0.tar.gz) = 21411
SHA256 (InsightSoftwareConsortium-ITKIOMeshSWC-60a61652e6b87f66f7771c9c69dc76504c2471b8_GH0.tar.gz) = b553c136a1aed842ae5809e6f3bb91102e106581f1922626d0da4e49a7654d93
SIZE (InsightSoftwareConsortium-ITKIOMeshSWC-60a61652e6b87f66f7771c9c69dc76504c2471b8_GH0.tar.gz) = 18341
SHA256 (InsightSoftwareConsortium-ITKIOOpenSlide-fb654552e240e50bd4121d431d88536d2c84e937_GH0.tar.gz) = c73a8a206a876ed01b594b31b2213e5e5474d637060f2dd66a15d25b22047f3d
SIZE (InsightSoftwareConsortium-ITKIOOpenSlide-fb654552e240e50bd4121d431d88536d2c84e937_GH0.tar.gz) = 26265
SHA256 (KitwareMedical-ITKIOScanco-f56c97b76ae26103e017eeaeebd6153af1223ff0_GH0.tar.gz) = b545c124d6807b05fd82d7029be6cf808e7bf03aa6726eb79ebed23530da7881
SIZE (KitwareMedical-ITKIOScanco-f56c97b76ae26103e017eeaeebd6153af1223ff0_GH0.tar.gz) = 36322
SHA256 (InsightSoftwareConsortium-ITKIOTransformDCMTK-649da7a2dc71a6d89ccdf7d3123906d0ae7c72dc_GH0.tar.gz) = e4199ee803a1fd5355f206ce709cdc6759ed02fd667a86ea1104514ad22746ac
SIZE (InsightSoftwareConsortium-ITKIOTransformDCMTK-649da7a2dc71a6d89ccdf7d3123906d0ae7c72dc_GH0.tar.gz) = 25038
SHA256 (InsightSoftwareConsortium-ITKIsotropicWavelets-0f901b815b67cc80480d66ad5841af4a8e669734_GH0.tar.gz) = 71ca1eeeb8221c4eee4ab6015f93e34e72860f03b4ec903d443915cc0f3ce68e
SIZE (InsightSoftwareConsortium-ITKIsotropicWavelets-0f901b815b67cc80480d66ad5841af4a8e669734_GH0.tar.gz) = 881653
SHA256 (InsightSoftwareConsortium-ITKLabelErodeDilate-9cab6d555b5052f9e04714323755713ee05bf2db_GH0.tar.gz) = 8ee7abdb1ed4d2b9bba311553342875bdcf0682c0f4ae43028b482b5da89d1d8
SIZE (InsightSoftwareConsortium-ITKLabelErodeDilate-9cab6d555b5052f9e04714323755713ee05bf2db_GH0.tar.gz) = 985379
SHA256 (InsightSoftwareConsortium-LesionSizingToolkit-c1a84175c73319e70083e44abedb655ca85d5c57_GH0.tar.gz) = 75febe494ad6ed2ad42a9d0e69f3a5903f4856541bdc9bb8ae8a8dac14f8f78c
SIZE (InsightSoftwareConsortium-LesionSizingToolkit-c1a84175c73319e70083e44abedb655ca85d5c57_GH0.tar.gz) = 1719111
SHA256 (InsightSoftwareConsortium-itkMGHImageIO-b5b0d48e43335c8ae60f4441cc8ac2d9cafbfdb9_GH0.tar.gz) = cce9b44e6f09b6aba0f3ce7cbb51a42290cd04bcdf75a125723bbfc7aa72cea8
SIZE (InsightSoftwareConsortium-itkMGHImageIO-b5b0d48e43335c8ae60f4441cc8ac2d9cafbfdb9_GH0.tar.gz) = 19265
SHA256 (InsightSoftwareConsortium-ITKMeshNoise-95cf5854e848e4c0f2d17eb2991e7606bdb5b955_GH0.tar.gz) = b8fc09eab9a07e7a83894e0b1fa0c5374a49d4447047bcfa0592f272a664c9a7
SIZE (InsightSoftwareConsortium-ITKMeshNoise-95cf5854e848e4c0f2d17eb2991e7606bdb5b955_GH0.tar.gz) = 14198
SHA256 (InsightSoftwareConsortium-ITKMeshToPolyData-a8f6f9c95523acbf6a2505c4fae1c35260e032eb_GH0.tar.gz) = 4db18cfb0a32ba54945f53df8ddbbf1309cda7b55f591916e6613cfe0017421b
SIZE (InsightSoftwareConsortium-ITKMeshToPolyData-a8f6f9c95523acbf6a2505c4fae1c35260e032eb_GH0.tar.gz) = 29755
SHA256 (InsightSoftwareConsortium-ITKMinimalPathExtraction-72ef4ad37a341f6c5f1b0fe1c10e454a27980309_GH0.tar.gz) = b927ae52762c83d060f89506d3e2ab481443c853d5da3687fee48d1e65e4bda0
SIZE (InsightSoftwareConsortium-ITKMinimalPathExtraction-72ef4ad37a341f6c5f1b0fe1c10e454a27980309_GH0.tar.gz) = 2874495
SHA256 (InsightSoftwareConsortium-ITKMontage-d4d7e4a35e7882896cd1b671c9922934ee7a5930_GH0.tar.gz) = 484c6b6dac65a4d8e2eee69e06a8e737e0d7560ac2af073c56088f5ec89f398e
SIZE (InsightSoftwareConsortium-ITKMontage-d4d7e4a35e7882896cd1b671c9922934ee7a5930_GH0.tar.gz) = 7987563
SHA256 (KitwareMedical-ITKMorphologicalContourInterpolation-e518b40cc863a7be4d986469decc52d3f60f14b8_GH0.tar.gz) = ee125dc78a52c3f6f10eb0a4c25e057f74247eab955c13e4a1c82f549d432aa5
SIZE (KitwareMedical-ITKMorphologicalContourInterpolation-e518b40cc863a7be4d986469decc52d3f60f14b8_GH0.tar.gz) = 2800080
SHA256 (KitwareMedical-MultipleImageIterator-15712259fed4a7f3b7d8171fd8f6c393df380a50_GH0.tar.gz) = a509d9f446e647497bd30b7dd2b7e9848fdceb7d3ce29621f392ee3ae597dde0
SIZE (KitwareMedical-MultipleImageIterator-15712259fed4a7f3b7d8171fd8f6c393df380a50_GH0.tar.gz) = 11475
SHA256 (InsightSoftwareConsortium-ITKParabolicMorphology-18d15dedd4de3886d0bf5529ffb48720d6de32ff_GH0.tar.gz) = 3d137706ac8250220fa6c1ef36ef94e41ead0fce8639d2b1fdbba3ad5ebbc34a
SIZE (InsightSoftwareConsortium-ITKParabolicMorphology-18d15dedd4de3886d0bf5529ffb48720d6de32ff_GH0.tar.gz) = 546060
SHA256 (InsightSoftwareConsortium-ITKPerformanceBenchmarking-f9a8dc22b67ec63eee023c0734fc7aa5f119356a_GH0.tar.gz) = 74ba7193ee3ff82e27b6a2975d277c28d252b586a835c9cb0d8ae2fe4de01d20
SIZE (InsightSoftwareConsortium-ITKPerformanceBenchmarking-f9a8dc22b67ec63eee023c0734fc7aa5f119356a_GH0.tar.gz) = 3090586
SHA256 (KitwareMedical-ITKPhaseSymmetry-0b6993c4f7d1d48db110d145f6f2b22c84e5f2dd_GH0.tar.gz) = 0ab913c8a540d61f731d9396502edf24853a2262c98018374c49e3c65b11928a
SIZE (KitwareMedical-ITKPhaseSymmetry-0b6993c4f7d1d48db110d145f6f2b22c84e5f2dd_GH0.tar.gz) = 27496
SHA256 (InsightSoftwareConsortium-ITKPolarTransform-930d44ac91d2994e4d604be67714f1ffb9cd065c_GH0.tar.gz) = 1deb2041f28928c982ff0ec345436d4f50b4b23b48c31947168c45d11a934b33
SIZE (InsightSoftwareConsortium-ITKPolarTransform-930d44ac91d2994e4d604be67714f1ffb9cd065c_GH0.tar.gz) = 121468
SHA256 (InsightSoftwareConsortium-ITKPrincipalComponentsAnalysis-d4877819abc8a921a5cefee864a52324a2542721_GH0.tar.gz) = f1ad006636c35c1b72f6e0a0dda5e7780ce544959e46a5e92e42833d73968f46
SIZE (InsightSoftwareConsortium-ITKPrincipalComponentsAnalysis-d4877819abc8a921a5cefee864a52324a2542721_GH0.tar.gz) = 112582
SHA256 (KitwareMedical-ITKRLEImage-e18b8daa31be436e1163888183cab36e5f4a5f05_GH0.tar.gz) = d9a7781d57ef05ad8528e5c35c817a706798d7ef50cddfadc6d86abdae89d634
SIZE (KitwareMedical-ITKRLEImage-e18b8daa31be436e1163888183cab36e5f4a5f05_GH0.tar.gz) = 762245
SHA256 (SimonRit-RTK-d5112fc4bba7eb07c4556169ac652d088fc29fdf_GH0.tar.gz) = e66dcf1e3f1bba6ce6c7e96b5ce430241391ea95ded666bbc3988433d59de35b
SIZE (SimonRit-RTK-d5112fc4bba7eb07c4556169ac652d088fc29fdf_GH0.tar.gz) = 1311494
SHA256 (scifio-scifio-imageio-42b30ee7d50ef6c91e0d3153f400b62bc114b2f7_GH0.tar.gz) = eed6409eb26ab589299f1f6338398d039e6c952e8263ff83b3088df8aecc9749
SIZE (scifio-scifio-imageio-42b30ee7d50ef6c91e0d3153f400b62bc114b2f7_GH0.tar.gz) = 26745
SHA256 (SlicerSALT-ITKShape-918041aa5508996a7ca044d509e48583cb74f2ba_GH0.tar.gz) = be0690ef3cb23f890d2451b9acfe6fd260e3b858041fa8a0aef18663f4742c2c
SIZE (SlicerSALT-ITKShape-918041aa5508996a7ca044d509e48583cb74f2ba_GH0.tar.gz) = 17309
SHA256 (InsightSoftwareConsortium-ITKSimpleITKFilters-f885603b630619a20155c03a5baca2f684b9a6a7_GH0.tar.gz) = 5a325bd3f98389f3b6355de1c4e7b72412c833b90dbb75e661627fec869f00e9
SIZE (InsightSoftwareConsortium-ITKSimpleITKFilters-f885603b630619a20155c03a5baca2f684b9a6a7_GH0.tar.gz) = 33568
SHA256 (InsightSoftwareConsortium-ITKSkullStrip-9afa0491f5fa5fbeba8ca44edc0a0fb2712087b5_GH0.tar.gz) = 75c1e79e523af0f48fddbe3acf0a551c9dd089dc83ee9a0fab851ec2206efc50
SIZE (InsightSoftwareConsortium-ITKSkullStrip-9afa0491f5fa5fbeba8ca44edc0a0fb2712087b5_GH0.tar.gz) = 741005
SHA256 (InsightSoftwareConsortium-ITKSmoothingRecursiveYvvGaussianFilter-389754f659b47f05bf7b75f76de2500ce1f9428c_GH0.tar.gz) = 74ac2ed1f7f0d71340b7ce1453f7c2bc24edaa2e49bb17af1dae37b1fb1f22d9
SIZE (InsightSoftwareConsortium-ITKSmoothingRecursiveYvvGaussianFilter-389754f659b47f05bf7b75f76de2500ce1f9428c_GH0.tar.gz) = 6162809
SHA256 (InsightSoftwareConsortium-ITKSphinxExamples-3ac107a7a1e9b884a3d2e7636b923d5c4cfcbf3f_GH0.tar.gz) = 66d213d364f2a3570332641bf921221a92385a983260dea623905867d16e5a2e
SIZE (InsightSoftwareConsortium-ITKSphinxExamples-3ac107a7a1e9b884a3d2e7636b923d5c4cfcbf3f_GH0.tar.gz) = 1521574
SHA256 (InsightSoftwareConsortium-ITKSplitComponents-3dfd5775ec5702428d6319091e58990e9fe1e42d_GH0.tar.gz) = 8a31a3781a533b184544932fd7805b9dfbd8061ee9c63d44eb12e95ead997221
SIZE (InsightSoftwareConsortium-ITKSplitComponents-3dfd5775ec5702428d6319091e58990e9fe1e42d_GH0.tar.gz) = 742578
SHA256 (KitwareMedical-ITKStrain-4fd046c85556c3514b436652002539573ce25125_GH0.tar.gz) = 07b1ee2aac053c1f3cb390e97ecd522cb805d5d99fc14235f5abea18cfc3c98c
SIZE (KitwareMedical-ITKStrain-4fd046c85556c3514b436652002539573ce25125_GH0.tar.gz) = 172308
SHA256 (InsightSoftwareConsortium-itkSubdivisionQuadEdgeMeshFilter-cb71f215dc8e35c5052e542082e14486d76d39fa_GH0.tar.gz) = 95667270059ac3df41d7271722b0738707db836e2eb6af92a5e2d07860ae604b
SIZE (InsightSoftwareConsortium-itkSubdivisionQuadEdgeMeshFilter-cb71f215dc8e35c5052e542082e14486d76d39fa_GH0.tar.gz) = 28953
SHA256 (InsightSoftwareConsortium-ITKTextureFeatures-8ff51060a2b2bda7b2e1068908afce266ea71b3f_GH0.tar.gz) = 686f11feae7f6d408683be9dd0e5d49e94803129e68dd7a8030b1c6486e8fe90
SIZE (InsightSoftwareConsortium-ITKTextureFeatures-8ff51060a2b2bda7b2e1068908afce266ea71b3f_GH0.tar.gz) = 702004
SHA256 (InsightSoftwareConsortium-ITKThickness3D-6830cadf76194acf8394308efd8c043acd561369_GH0.tar.gz) = 7b054d2674a46158c65adcab373d92d0e769bca446b6f2abf9147f4956466636
SIZE (InsightSoftwareConsortium-ITKThickness3D-6830cadf76194acf8394308efd8c043acd561369_GH0.tar.gz) = 26605
SHA256 (InsightSoftwareConsortium-ITKTotalVariation-fe6a530857bdb573ce8a138651b3f369a4110a3d_GH0.tar.gz) = 84e4524a2d70c24dae97fe3c06dbd01e029f121bbb1484aba6e1fcffb98bfc2d
SIZE (InsightSoftwareConsortium-ITKTotalVariation-fe6a530857bdb573ce8a138651b3f369a4110a3d_GH0.tar.gz) = 17117
SHA256 (InsightSoftwareConsortium-ITKTubeTK-ac8ce8baee1dcabca5d32c3d42922aed458f8f79_GH0.tar.gz) = 7dfa4827aee17f86b06c3832dbdcda8305d3685e1f5c4a9fac0ce84673364706
SIZE (InsightSoftwareConsortium-ITKTubeTK-ac8ce8baee1dcabca5d32c3d42922aed458f8f79_GH0.tar.gz) = 26078393
SHA256 (InsightSoftwareConsortium-ITKTwoProjectionRegistration-8e775982245ab59710b1ce9d49cd8f06c7e74377_GH0.tar.gz) = 535fd8da799149b57ca197d0b65a34a3e3080f17d48e2dd128831330526ff7d3
SIZE (InsightSoftwareConsortium-ITKTwoProjectionRegistration-8e775982245ab59710b1ce9d49cd8f06c7e74377_GH0.tar.gz) = 41759
SHA256 (KitwareMedical-ITKUltrasound-2443abe29ae44799a5e189fb66c7b8b7a044dcdf_GH0.tar.gz) = 35cb196efdae548e13463bd86fcecde640505452e65e1ca4d826b8b01a4a2531
SIZE (KitwareMedical-ITKUltrasound-2443abe29ae44799a5e189fb66c7b8b7a044dcdf_GH0.tar.gz) = 12560215
SHA256 (InsightSoftwareConsortium-ITKVariationalRegistration-f9db4b9a0149e3b0164dd524af124f0827c04b78_GH0.tar.gz) = 6da23c407dde4c8552d62e865c87023a4ddbfc37595ccf240e139d4133bf6e7b
SIZE (InsightSoftwareConsortium-ITKVariationalRegistration-f9db4b9a0149e3b0164dd524af124f0827c04b78_GH0.tar.gz) = 868593
SHA256 (InsightSoftwareConsortium-ITKVkFFTBackend-bce0b1cec6d4af7de9ed3d462c0a255cf0029c06_GH0.tar.gz) = cac74e07733d979807ac2580bd360b834c09209ce920104a2cbdad6086ca08ca
SIZE (InsightSoftwareConsortium-ITKVkFFTBackend-bce0b1cec6d4af7de9ed3d462c0a255cf0029c06_GH0.tar.gz) = 996939
SHA256 (InsightSoftwareConsortium-itk-wasm-802f937a97b4cd702f6e171f54e76665ac8df50d_GH0.tar.gz) = 7d8eaa5f533dc0df4e2664d7cdd229c2d33b509794eb3739524d47fee5c14b86
SIZE (InsightSoftwareConsortium-itk-wasm-802f937a97b4cd702f6e171f54e76665ac8df50d_GH0.tar.gz) = 3671659

View File

@ -0,0 +1,59 @@
#!/bin/sh
##
## fake git to assist in downloads of remote modules
##
#echo "fake-git called with args: $@" >> /tmp/fake-git.log
case "$1" in
--version)
echo "git version 2.40.0"
exit 0
;;
clone)
# we don't run git clone
#/usr/local/bin/git clone $2 $3 >> /tmp/fake-git.log 2>&1
# args
url=$2
dir=$3
# extract module name
module=$(echo $url | sed -e "s|.*/||; s|\.git\$||")
# copy the tree
cp -r ../$module-* $dir
exit 0
;;
checkout)
# assume git checkout {hash}
# memorize the hash
echo $2 > .hash
exit 0
;;
config)
# ignore
exit 0
;;
remote)
# ignore
exit 0
;;
rev-parse)
# assume: git rev-parse --verify {HASH}
echo "@rev-parse pwd=$(pwd)" >> /tmp/fake-git.log
cat .hash
exit 0
;;
submodule)
# ignore: hope that there are no submodules
exit 0
;;
esac
exit 1

View File

@ -0,0 +1,56 @@
// copied in verbatim from src
/*-
* SPDX-License-Identifier: BSD-4-Clause
*
* Copyright (c) 1994 Christopher G. Demetriou
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* This product includes software developed by Christopher G. Demetriou.
* 4. The name of the author may not be used to endorse or promote products
* derived from this software without specific prior written permission
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <sys/time.h>
#include <sys/timeb.h>
int
ftime(struct timeb *tbp)
{
struct timezone tz;
struct timeval t;
if (gettimeofday(&t, &tz) < 0)
return (-1);
tbp->millitm = t.tv_usec / 1000;
tbp->time = t.tv_sec;
tbp->timezone = tz.tz_minuteswest;
tbp->dstflag = tz.tz_dsttime;
return (0);
}

View File

@ -0,0 +1,21 @@
#!/bin/sh
##
## script that converts remote module GitHub addresses to GH_TUPLE/CMAKE_ON values in Makefile.remote_modules
##
set -x
(
# GH_TUPLE
echo "GH_TUPLE+= \\"
grep -h -E "^ (GIT_REPOSITORY |GIT_TAG )" $(make -V WRKSRC)/Modules/Remote/*.remote.cmake | \
sed -e 's| \${git_protocol}://github.com/| |; s|/| |; s|\.git$||' | \
awk '/^ GIT_REPOSITORY/ { printf("\t%s:%s:", $2, $3); name=$3 } /^ GIT_TAG/ { gsub("-","_",name); printf("%s:%s \\\n", $2, name) }'
echo ""
# CMAKE_ON
grep -h -E "^ GIT_REPOSITORY " $(make -V WRKSRC)/Modules/Remote/*.remote.cmake | \
sed -e 's|^ GIT_REPOSITORY \${git_protocol}://github.com/.*/|CMAKE_ON+=Module_|; s|ITK||; s|\.git$||'; \
echo ""
) > Makefile.remote_modules

View File

@ -0,0 +1,16 @@
--- CMakeLists.txt.orig 2022-07-06 21:24:18 UTC
+++ CMakeLists.txt
@@ -652,8 +652,11 @@ add_subdirectory(Utilities/Doxygen)
# Create target to download data from the ITKData group. This must come after
# all tests have been added that reference the group, so we put it last.
-include(ExternalData)
-ExternalData_Add_Target(ITKData)
+
+if (BUILD_TESTING)
+ include(ExternalData)
+ ExternalData_Add_Target(ITKData)
+endif()
mark_as_advanced(FORCE
Module_AdaptiveDenoising

View File

@ -0,0 +1,12 @@
--- CMake/ITKModuleExternal.cmake.orig 2022-11-18 08:12:04 UTC
+++ CMake/ITKModuleExternal.cmake
@@ -221,6 +221,8 @@ endif()
# Create target to download data from the ITKData group. This must come after
# all tests have been added that reference the group, so we put it last.
if(NOT TARGET ITKData)
- include(ExternalData)
+ if (BUILD_TESTING)
+ include(ExternalData)
+ endif()
ExternalData_Add_Target(ITKData)
endif()

View File

@ -1,10 +1,10 @@
--- CMake/ITKModuleTest.cmake.orig 2019-08-03 09:25:42 UTC
--- CMake/ITKModuleTest.cmake.orig 2022-11-17 05:24:11 UTC
+++ CMake/ITKModuleTest.cmake
@@ -244,6 +244,7 @@ endfunction()
@@ -193,6 +193,7 @@ endfunction()
function(CreateGoogleTestDriver KIT KIT_LIBS KitTests)
set(exe "${KIT}GTestDriver")
+ find_package(GTest)
add_executable(${exe} ${KitTests} )
add_executable(${exe} ${KitTests})
target_link_libraries(${exe} ${KIT_LIBS} GTest::GTest GTest::Main)
itk_module_target_label(${exe})

View File

@ -1,34 +0,0 @@
--- Modules/ThirdParty/MINC/src/libminc/CMakeLists.txt.orig 2019-07-28 10:06:31 UTC
+++ Modules/ThirdParty/MINC/src/libminc/CMakeLists.txt
@@ -403,11 +403,11 @@ SET(LIBMINC_STATIC_LIBRARIES ${LIBMINC_LIBRARY_STATIC}
SET(LIBMINC_STATIC_LIBRARIES_CONFIG ${LIBMINC_LIBRARY_STATIC} ${HDF5_LIBRARY_NAME} ${NIFTI_LIBRARIES} ${ZLIB_LIBRARY_NAME})
IF(UNIX)
- SET(LIBMINC_LIBRARIES ${LIBMINC_LIBRARIES} m dl ${RT_LIBRARY})
- SET(LIBMINC_STATIC_LIBRARIES ${LIBMINC_STATIC_LIBRARIES} m dl ${RT_LIBRARY})
+ SET(LIBMINC_LIBRARIES ${LIBMINC_LIBRARIES} m ${CMAKE_DL_LIBS} ${RT_LIBRARY})
+ SET(LIBMINC_STATIC_LIBRARIES ${LIBMINC_STATIC_LIBRARIES} m ${CMAKE_DL_LIBS} ${RT_LIBRARY})
- SET(LIBMINC_LIBRARIES_CONFIG ${LIBMINC_LIBRARIES_CONFIG} m dl ${RT_LIBRARY_NAME})
- SET(LIBMINC_STATIC_LIBRARIES_CONFIG ${LIBMINC_STATIC_LIBRARIES_CONFIG} m dl ${RT_LIBRARY_NAME})
+ SET(LIBMINC_LIBRARIES_CONFIG ${LIBMINC_LIBRARIES_CONFIG} m ${CMAKE_DL_LIBS} ${RT_LIBRARY_NAME})
+ SET(LIBMINC_STATIC_LIBRARIES_CONFIG ${LIBMINC_STATIC_LIBRARIES_CONFIG} m ${CMAKE_DL_LIBS} ${RT_LIBRARY_NAME})
ENDIF(UNIX)
SET(minc_LIB_SRCS ${minc2_LIB_SRCS} ${minc_common_SRCS})
@@ -447,13 +447,13 @@ ENDIF(NOT LIBMINC_USE_SYSTEM_NIFTI AND NOT LIBMINC_EX
#EXPORT(TARGETS ${LIBMINC_LIBRARY} FILE "${LIBMINC_EXPORTED_TARGETS}.cmake")
IF(UNIX)
- TARGET_LINK_LIBRARIES(${LIBMINC_LIBRARY} m dl )
+ TARGET_LINK_LIBRARIES(${LIBMINC_LIBRARY} m ${CMAKE_DL_LIBS} )
#ITK: Skip static library build
IF(0)
IF(LIBMINC_BUILD_SHARED_LIBS)
ADD_LIBRARY(${LIBMINC_LIBRARY_STATIC} STATIC ${minc_LIB_SRCS} ${minc_HEADERS} ${volume_io_LIB_SRCS} ${volume_io_HEADERS} )
- TARGET_LINK_LIBRARIES(${LIBMINC_LIBRARY_STATIC} ${HDF5_LIBRARY} ${NIFTI_LIBRARIES} ${ZLIB_LIBRARY} ${RT_LIBRARY} m dl )
+ TARGET_LINK_LIBRARIES(${LIBMINC_LIBRARY_STATIC} ${HDF5_LIBRARY} ${NIFTI_LIBRARIES} ${ZLIB_LIBRARY} ${RT_LIBRARY} m ${CMAKE_DL_LIBS} )
IF(LIBMINC_MINC1_SUPPORT)
TARGET_LINK_LIBRARIES(${LIBMINC_LIBRARY} ${NETCDF_LIBRARY})
ENDIF(LIBMINC_MINC1_SUPPORT)

File diff suppressed because it is too large Load Diff