From: "Horea Christian" <horea.christ@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/itk/
Date: Mon, 3 Apr 2023 02:58:12 +0000 (UTC) [thread overview]
Message-ID: <1680490661.c56ebffd2bbb74f5edd5133b89f0347a7ba72e21.chymera@gentoo> (raw)
commit: c56ebffd2bbb74f5edd5133b89f0347a7ba72e21
Author: Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Mon Apr 3 02:57:41 2023 +0000
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Mon Apr 3 02:57:41 2023 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=c56ebffd
sci-libs/itk: revbump fixing module build and deps
Signed-off-by: Horea Christian <chr <AT> chymera.eu>
.../itk/{itk-5.3.0.ebuild => itk-5.3.0-r1.ebuild} | 48 ++++++++++++++--------
1 file changed, 32 insertions(+), 16 deletions(-)
diff --git a/sci-libs/itk/itk-5.3.0.ebuild b/sci-libs/itk/itk-5.3.0-r1.ebuild
similarity index 89%
rename from sci-libs/itk/itk-5.3.0.ebuild
rename to sci-libs/itk/itk-5.3.0-r1.ebuild
index 54b7c89b3..23f3341a2 100644
--- a/sci-libs/itk/itk-5.3.0.ebuild
+++ b/sci-libs/itk/itk-5.3.0-r1.ebuild
@@ -8,8 +8,6 @@ VIRTUALX_REQUIRED="manual"
inherit cmake python-single-r1 virtualx
-# rsync: [sender] link_stat "/distfiles/1c/itk-test-bcdbb347f3704262d1f00be7179d6a0a6e68aed56c0653e8072ee5a94985c713bd229c935b1226a658af84fb7f1fffc2458c98364fc35303a2303b12f9f7ce2f" (in gentoo) failed: No such file or directory (2)
-
MY_PN="InsightToolkit"
MY_P="${MY_PN}-${PV}"
GLI_V="1.2.0"
@@ -29,7 +27,7 @@ DESCRIPTION="NLM Insight Segmentation and Registration Toolkit"
HOMEPAGE="https://itk.org"
SRC_URI="
https://github.com/InsightSoftwareConsortium/ITK/releases/download/v${PV}/${MY_P}.tar.gz
- https://github.com/InsightSoftwareConsortium/ITKGenericLabelInterpolator/archive/refs/tags/v${GLI_V}.tar.gz -> ITKGenericLabelInterpolator-${GLI_V}
+ https://github.com/InsightSoftwareConsortium/ITKGenericLabelInterpolator/archive/refs/tags/v${GLI_V}.tar.gz -> ITKGenericLabelInterpolator-${GLI_V}.tar.gz
https://github.com/ntustison/ITKAdaptiveDenoising/archive/${IAD_HASH}.tar.gz -> ITKAdaptiveDenoising-${PV}.tar.gz
test? (
https://github.com/InsightSoftwareConsortium/ITK/releases/download/v${PV}/InsightData-${PV}.tar.gz
@@ -50,15 +48,16 @@ RDEPEND="
dev-cpp/eigen:3
dev-libs/double-conversion:0=
dev-libs/expat:0=
- media-libs/openjpeg:2
+ dev-libs/icu:0=
+ media-libs/libjpeg-turbo:0=
media-libs/libpng:0=
+ media-libs/openjpeg:2
media-libs/tiff:0=[jpeg]
sci-libs/dcmtk:0=
- sci-libs/hdf5:0=[cxx]
sci-libs/gdcm:0=
- sys-libs/zlib:0=
- media-libs/libjpeg-turbo:0=
- fftw? ( sci-libs/fftw:3.0= )
+ sci-libs/hdf5:0=[cxx]
+ sys-libs/zlib-ng
+ fftw? ( sci-libs/fftw:3.0=[threads] )
vtkglue? (
sci-libs/vtk:0=[rendering]
python? (
@@ -67,6 +66,13 @@ RDEPEND="
)
python? ( ${PYTHON_DEPS} )
"
+# Might also need:
+# dev-libs/kwsys::guru
+# kwiml
+# minc
+# metaio
+# niftilib
+# sci-lib/vxl::science
DEPEND="${RDEPEND}
sys-apps/coreutils
python? (
@@ -117,6 +123,7 @@ src_prepare() {
OpenJPEG/src/openjpeg
PNG/src/itkpng
TIFF/src/itktiff
+ ZLIB/src/itkzlib-ng
)
local x
for x in "${DROPS[@]}"; do
@@ -130,7 +137,7 @@ src_prepare() {
} | sort | uniq -u | xargs -n 1 ewarn "Using bundled" || die
# Remote modules
- ln -sr "../ITKGenericLabelInterpolator-${GLI_HASH}" Modules/External/ITKGenericLabelInterpolator || die
+ ln -sr "../ITKGenericLabelInterpolator-${GLI_V}" Modules/External/ITKGenericLabelInterpolator || die
ln -sr "../ITKAdaptiveDenoising-${IAD_HASH}" Modules/External/ITKAdaptiveDenoising || die
cmake_src_prepare
@@ -158,6 +165,7 @@ src_configure() {
-DITK_FORBID_DOWNLOADS:BOOL=ON
-DITK_INSTALL_LIBRARY_DIR=$(get_libdir)
-DITK_USE_REVIEW="$(usex review ON OFF)"
+ -DITK_USE_SYSTEM_ICU=ON
-DITK_USE_SYSTEM_DCMTK=ON
-DITK_USE_SYSTEM_DOUBLECONVERSION=ON
-DITK_USE_SYSTEM_CASTXML=ON
@@ -183,14 +191,24 @@ src_configure() {
)
if use fftw; then
mycmakeargs+=(
- -DUSE_FFTWD=ON
- -DUSE_FFTWF=ON
- -DUSE_SYSTEM_FFTW=ON
+ -DITK_USE_FFTWD:BOOL=ON
+ -DITK_USE_FFTWF:BOOL=ON
+ -DITK_USE_SYSTEM_FFTW:BOOL=ON
-DITK_WRAP_double=ON
-DITK_WRAP_vector_double=ON
-DITK_WRAP_covariant_vector_double=ON
-DITK_WRAP_complex_double=ON
)
+ else
+ mycmakeargs+=(
+ -DITK_USE_FFTWD:BOOL=OFF
+ -DITK_USE_FFTWF:BOOL=OFF
+ -DITK_USE_SYSTEM_FFTW:BOOL=OFF
+ -DITK_WRAP_double=OFF
+ -DITK_WRAP_vector_double=OFF
+ -DITK_WRAP_covariant_vector_double=OFF
+ -DITK_WRAP_complex_double=OFF
+ )
fi
if use vtkglue; then
mycmakeargs+=(
@@ -241,11 +259,9 @@ src_install() {
}
src_test() {
- # Failing tests reported upstream:
- # https://github.com/ntustison/ITKAdaptiveDenoising/issues/13
if use vtkglue; then
- virtx cmake_src_test -E "(AdaptiveNonLocalMeansDenoisingImageFilterTest1|AdaptiveNonLocalMeansDenoisingImageFilterTest2)"
+ virtx cmake_src_test
else
- cmake_src_test -E "(AdaptiveNonLocalMeansDenoisingImageFilterTest1|AdaptiveNonLocalMeansDenoisingImageFilterTest2)"
+ cmake_src_test
fi
}
next reply other threads:[~2023-04-03 2:58 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-03 2:58 Horea Christian [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-01-22 11:58 [gentoo-commits] proj/sci:master commit in: sci-libs/itk/ Horea Christian
2023-04-25 15:33 Horea Christian
2023-04-25 15:33 Horea Christian
2023-04-20 3:13 Horea Christian
2023-04-20 3:13 Horea Christian
2022-09-15 11:17 Andrew Ammerlaan
2022-07-12 13:36 Horea Christian
2021-12-16 10:57 Andrew Ammerlaan
2021-03-13 23:55 Horea Christian
2021-03-13 23:55 Horea Christian
2021-03-04 20:57 Andrew Ammerlaan
2021-03-04 20:56 Andrew Ammerlaan
2021-01-19 16:56 Andrew Ammerlaan
2020-12-31 15:58 Aisha Tammy
2020-12-24 17:26 Horea Christian
2020-12-24 11:06 Horea Christian
2020-10-14 6:52 Horea Christian
2020-10-09 10:04 Horea Christian
2019-04-02 1:20 Horea Christian
2017-06-23 9:11 Justin Lecher
2015-09-21 17:44 Justin Lecher
2015-02-02 12:06 Justin Lecher
2014-01-06 19:58 Justin Lecher
2013-11-16 17:03 Guillaume Horel
2013-11-16 17:03 Guillaume Horel
2013-11-16 17:03 Guillaume Horel
2013-09-11 17:27 Nicolas Bock
2013-09-11 17:27 Nicolas Bock
2013-09-11 17:27 Nicolas Bock
2013-09-11 17:27 Nicolas Bock
2013-09-11 17:27 Nicolas Bock
2013-09-11 17:27 Nicolas Bock
2013-09-11 17:27 Nicolas Bock
2013-09-11 17:27 Nicolas Bock
2013-09-11 17:27 Nicolas Bock
2013-09-11 17:27 Nicolas Bock
2013-09-11 17:27 Nicolas Bock
2013-09-11 17:27 Nicolas Bock
2013-09-11 17:27 Nicolas Bock
2013-09-11 17:27 Nicolas Bock
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=1680490661.c56ebffd2bbb74f5edd5133b89f0347a7ba72e21.chymera@gentoo \
--to=horea.christ@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.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