[otb] 01/01: try to get only required modules from ITK
Rashad Kanavath
rashad-guest at moszumanska.debian.org
Mon Dec 21 10:27:26 UTC 2015
This is an automated email from the git hooks/post-receive script.
rashad-guest pushed a commit to branch master
in repository otb.
commit 05cd8983a0f4fe0f2b4fae1bc50309fb3c7b9ef1
Author: Rashad Kanavath <rashad.kanavath at c-s.fr>
Date: Mon Dec 21 11:26:32 2015 +0100
try to get only required modules from ITK
---
debian/patches/itk-modules-list.patch | 98 +++++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 99 insertions(+)
diff --git a/debian/patches/itk-modules-list.patch b/debian/patches/itk-modules-list.patch
new file mode 100644
index 0000000..becd3f7
--- /dev/null
+++ b/debian/patches/itk-modules-list.patch
@@ -0,0 +1,98 @@
+ProxyChains-3.1 (http://proxychains.sf.net)
+diff --git a/Modules/ThirdParty/ITK/CMakeLists.txt b/Modules/ThirdParty/ITK/CMakeLists.txt
+index 55b0eb8..05c56fa 100644
+--- a/Modules/ThirdParty/ITK/CMakeLists.txt
++++ b/Modules/ThirdParty/ITK/CMakeLists.txt
+@@ -2,7 +2,91 @@ project(OTBITK)
+
+ set(OTBITK_SYSTEM_INCLUDE_DIRS ${ITK_INCLUDE_DIRS})
+ set(OTBITK_LIBRARIES "${ITK_LIBRARIES}")
+-set(OTBITK_EXPORT_CODE_BUILD "find_package(ITK REQUIRED HINTS ${ITK_DIR})")
++
++set(OTBITK_ITK_REQUIRED_MODULE_LIST
++ ITKCommon
++ ITKFiniteDifference
++ ITKGPUCommon
++ ITKGPUFiniteDifference
++ ITKImageAdaptors
++ ITKImageFunction
++ ITKMesh
++ ITKQuadEdgeMesh
++ ITKSpatialObjects
++ #ITKTestKernel
++ ITKTransform
++
++ ITKAnisotropicSmoothing
++ ITKAntiAlias
++ ITKBiasCorrection
++ ITKBinaryMathematicalMorphology
++ ITKColormap
++ ITKConvolution
++ ITKCurvatureFlow
++ ITKDeconvolution
++ ITKDenoising
++ #ITKDiffusionTensorImage
++ ITKDisplacementField
++ ITKDistanceMap
++ ITKFastMarching
++ ITKFFT
++ ITKGPUAnisotropicSmoothing
++ ITKGPUImageFilterBase
++ ITKGPUSmoothing
++ ITKGPUThresholding
++ ITKImageCompare
++ ITKImageCompose
++ ITKImageFeature
++ ITKImageFilterBase
++ ITKImageFusion
++ ITKImageGradient
++ ITKImageGrid
++ ITKImageIntensity
++ ITKImageLabel
++ ITKImageSources
++ ITKImageStatistics
++ ITKLabelMap
++ ITKMathematicalMorphology
++ ITKPath
++ ITKQuadEdgeMeshFiltering
++ ITKSmoothing
++ ITKSpatialFunction
++ ITKThresholding
++
++ ITKEigen
++ #ITKFEM
++ ITKNarrowBand
++ ITKNeuralNetworks
++ ITKOptimizers
++ ITKOptimizersv4
++ ITKPolynomials
++ ITKStatistics
++
++ ITKRegistrationCommon
++ #ITKFEMRegistration
++ ITKGPURegistrationCommon
++ ITKGPUPDEDeformableRegistration
++ ITKMetricsv4
++ ITKPDEDeformableRegistration
++ ITKRegistrationMethodsv4
++
++ #ITKBioCell
++ ITKClassifiers
++ ITKConnectedComponents
++ ITKDeformableMesh
++ ITKKLMRegionGrowing
++ ITKLabelVoting
++ ITKLevelSets
++ ITKLevelSetsv4
++ #ITKLevelSetsv4Visualization
++ ITKMarkovRandomFieldsClassifiers
++ ITKRegionGrowing
++ ITKSignedDistanceFunction
++ ITKVoronoi
++ ITKWatersheds)
++
++set(OTBITK_EXPORT_CODE_BUILD "find_package(ITK REQUIRED COMPONENTS ${OTBITK_ITK_REQUIRED_MODULE_LIST} HINTS ${ITK_DIR})")
++
+ set(OTBITK_EXPORT_CODE_INSTALL ${OTBITK_EXPORT_CODE_BUILD})
+
+ otb_module_impl()
diff --git a/debian/patches/series b/debian/patches/series
index 231c8d4..ea65459 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
spelling.patch
cmake-fixes.patch
+itk-modules-list.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/otb.git
More information about the Pkg-grass-devel
mailing list