+++ /dev/null
-# ChangeLog for sci-libs/itk
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
-*itk-4.4.2 (12 Sep 2013)
-
- 12 Sep 2013; Sébastien Fabbro <bicatali@gentoo.org> +itk-4.4.2.ebuild,
- -files/itk-4.4-v3compat_I2VI_const-fix.patch, -itk-4.4.0.ebuild, metadata.xml:
- sci-libs/itk: Version bump. Cleaned-up ebuild and metadata.xml
+++ /dev/null
-DIST DoxygenInsightToolkit-4.4.0.tar.gz 779393284 SHA256 a2e9a74dad840f6af7e3f3a518f43d75cad511d6b6b4b09d61f5b1b1b72d25c3 SHA512 9bdd6cedcdf5c30afb7f73130074983a56c397db776b927aae78b15a80d1158cca4563f92795d804ade34f4860b350cbbd157ed6924d53cb2ddfccf478e403c6 WHIRLPOOL 114f6ebb4052a8845559a9fa7f2883aa7bba90ff07dd7cd64d4e305e5ffdb35969b8b18b31b631e99d293fe06d95389359b23697544797a7703d9a973bd23246
-DIST InsightToolkit-4.4.2.tar.gz 231905134 SHA256 071a7929c295b80bc8a6ab80d50c06cdfb0e6aafd936103c6d0a4a086cf8bec3 SHA512 c65beca4dd60aa769871bb3089cbb421729a2dcbd8bd3ec42c378ed60828e4327f1faf062f77bcca34306315a1daee6bc29d858dab9aea1c08f4843405fd21e3 WHIRLPOOL 4036bce61d0900ef2f1484ca06e9b513f6154c2233122e41fe694c648dd6eef53510749bf75368f9851a4dbd45777ca7033ad43f28c86259d5efae9e0d4200bd
-EBUILD itk-4.4.2-r1.ebuild 3432 SHA256 6c167cd58586bb3d8f9fc5f1a812e57d74fa549d30d6e6eec88b36b33cee4b9f SHA512 96e5fb965cd6ce2319a4e648fe6b12a6bc22425c8f6fce84544caad18d8dee2ac526cff0dae930d8e12baa618544766390a433354b522accca57e7105dcce9ff WHIRLPOOL 8d06594a1422b6d4d326acb451a087c5fd14a26613ab1ebbb82805683f2a74daa9685b0e0d5f9cf831e771b92bf1340052d0481c76cbd1116174498bd5b48d6a
-EBUILD itk-4.4.2.ebuild 2923 SHA256 7f796a40419610c103d7df2cb2bddb34d1e0876cb5c255fbdcb2408823a27a69 SHA512 f915962b924ff2b3ff0e7d260469f7bd2f25ee958fde1e9df02487cb0ffafef872fd6c6212758ff3c337e674e6621bff18a3f9dfa2558c103405d69ef1dd0c07 WHIRLPOOL 5a66c514a493585fa8c0a9a3923f5eebd02607e3f6ee60c77dc5dea69674bc82a31b8bcb348045875a8bc2a2478b9eac50f302e8a93393f6d38bf67acc884543
-MISC ChangeLog 359 SHA256 650d7b2d68d163f8128358fe43533d3aae3dc22a3aaa952a2197d15edce904ea SHA512 810101a86286b8dbd9c25dbf8fa33e8451ddebf9063b1ea6cdce6b13cadf8d434cba5072968f55d3f2f4976aaf1d9014aa82a9d52d691f113a8d7f2dad9b2c32 WHIRLPOOL 3c906a3211cd8147a82835d0b8f3aae2320a6dba053e6b212aa8b108d5190fa57fda41409312f1b76e66a74022fad017a6e9bdf85595869907d7ab70f9bd525e
-MISC metadata.xml 593 SHA256 ae09fff2fcf2da1fd6c0fd922bb9bf0364add81523f39f053105f3c63146a0be SHA512 0fd5d9bcb11762b00e8781edc23111feb9ca30a2ba5873ba52696a338dd878cbc90ce94a010ce825a213583c7b360393c7b843d6e8d80b808098994554c42f71 WHIRLPOOL 0757a917fffec891b5bba3828ba6b0fde5442ea7e49d2bd0eb6cc64330f4aa882ca7656029aeee7552c2269052574f005ba50f6ca65f612e156b4134671359b9
+++ /dev/null
-# Copyright 2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-
-PYTHON_COMPAT=( python{2_5,2_6,2_7} )
-
-inherit eutils toolchain-funcs cmake-utils python-single-r1
-
-MYPN=InsightToolkit
-MYP=${MYPN}-${PV}
-
-DESCRIPTION="NLM Insight Segmentation and Registration Toolkit"
-HOMEPAGE="http://www.itk.org"
-SRC_URI="
- mirror://sourceforge/${PN}/${MYP}.tar.gz
- doc? ( mirror://sourceforge/${PN}/Doxygen${MYPN}-4.4.0.tar.gz )"
-RESTRICT="primaryuri"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="debug doc examples fftw itkv3compat python review sse2 test vtkglue"
-
-RDEPEND="
- sci-libs/hdf5[cxx]
- virtual/jpeg
- media-libs/libpng
- media-libs/tiff:0
- sys-libs/zlib
- fftw? ( sci-libs/fftw:3.0 )
- vtkglue? ( sci-libs/vtk )
-"
-DEPEND="${RDEPEND}
- python? ( ${PYTHON_DEPS}
- >=dev-lang/swig-2.0
- >=dev-cpp/gccxml-0.9.0_pre20120309 )
- doc? ( app-doc/doxygen )
-"
-
-S="${WORKDIR}/${MYP}"
-
-pkg_pretend() {
- if [[ -z ${ITK_COMPUTER_MEMORY_SIZE} ]]; then
- elog "To tune ITK to make the best use ouf working memory you can set"
- elog " ITK_COMPUTER_MEMORY_SIZE=XX"
- elog "in make.conf, default is 1 (unit is GB)"
- fi
- if use python && [[ -z ${ITK_WRAP_DIMS} ]]; then
- elog "For Python language bindings, you can define the dimensions"
- elog "you want to create bindings for by setting"
- elog " ITK_WRAP_DIMS=X;Y;Z..."
- elog "in make.conf, default is 2;3 for 2D and 3D data"
- fi
-}
-
-src_configure() {
- local mycmakeargs=(
- -DWRAP_ITK_JAVA=OFF
- -DWRAP_ITK_TCL=OFF
- -DITK_USE_SYSTEM_HDF5=ON
- -DITK_USE_SYSTEM_JPEG=ON
- -DITK_USE_SYSTEM_PNG=ON
- -DITK_USE_SYSTEM_TIFF=ON
- -DITK_USE_SYSTEM_ZLIB=ON
- -DITK_USE_SYSTEM_GCCXML=ON
- -DITK_USE_SYSTEM_SWIG=ON
- -DITK_BUILD_ALL_MODULES=ON
- -DBUILD_SHARED_LIBS=ON
- -DBUILD_EXAMPLES=OFF
- -DITK_COMPUTER_MEMORY_SIZE="${ITK_COMPUTER_MEMORY_SIZE:-1}"
- $(cmake-utils_use_build test TESTING)
- $(cmake-utils_use review ITK_USE_REVIEW)
- $(cmake-utils_use itkv3compat ITKV3_COMPATIBILITY)
- $(cmake-utils_use sse2 VNL_CONFIG_ENABLE_SSE2)
- )
- if use fftw; then
- mycmakeargs+=(
- -DUSE_FFTWD=ON
- -DUSE_FFTWF=ON
- -DUSE_SYSTEM_FFTW=ON
- -DITK_WRAP_double=ON
- -DITK_WRAP_vector_double=ON
- -DITK_WRAP_covariant_vector_double=ON
- -DITK_WRAP_complex_double=ON
- )
- fi
- if use vtkglue; then
- mycmakeargs+=(
- -DModule_ITKVtkGlue=ON
- )
- fi
- if use python; then
- mycmakeargs+=(
- -DITK_WRAP_PYTHON=ON
- -DITK_WRAP_DIMS="${ITK_WRAP_DIMS:-2;3}"
- )
- else
- mycmakeargs+=(
- -DITK_WRAP_PYTHON=OFF
- )
- fi
- cmake-utils_src_configure
-}
-
-src_install() {
- cmake-utils_src_install
-
- if use examples; then
- insinto /usr/share/doc/${PF}/examples
- docompress -x /usr/share/doc/${PF}/examples
- doins -r "${S}"/Examples/*
- fi
-
- echo "ITK_DATA_ROOT=${EROOT}/usr/share/${PN}/data" > ${T}/40${PN}
- local ldpath="${EROOT}/usr/$(get_libdir)/InsightToolkit"
- if use python; then
- echo "PYTHONPATH=${EROOT}/usr/$(get_libdir)/InsightToolkit/WrapITK/Python" >> ${T}/40${PN}
- ldpath="${ldpath}:${EROOT}/usr/$(get_libdir)/InsightToolkit/WrapITK/lib"
- fi
- echo "LDPATH=${ldpath}" >> ${T}/40${PN}
-
- if use doc; then
- insinto "/usr/share/doc/${PF}/api-docs"
- cd "${WORKDIR}"/html
- rm -f *.md5 || die "Failed to remove superfluous hashes"
- einfo "Installing API docs. This may take some time."
- insinto "/usr/share/doc/${PF}/api-docs"
- doins -r ./* || die "Failed to install docs"
- fi
-
- doenvd "${T}"/40${PN}
-}
+++ /dev/null
-# Copyright 2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-
-PYTHON_COMPAT=( python{2_5,2_6,2_7} )
-
-inherit eutils toolchain-funcs cmake-utils python-single-r1
-
-MYP=InsightToolkit-${PV}
-
-DESCRIPTION="NLM Insight Segmentation and Registration Toolkit"
-HOMEPAGE="http://www.itk.org"
-SRC_URI="mirror://sourceforge/${PN}/${MYP}.tar.gz"
-
-RESTRICT="primaryuri"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="debug examples fftw itkv3compat python review sse2 test"
-
-RDEPEND="
- sci-libs/hdf5[cxx]
- virtual/jpeg
- media-libs/libpng
- media-libs/tiff:0
- sys-libs/zlib
- fftw? ( sci-libs/fftw:3.0 )
-"
-DEPEND="${RDEPEND}
- python? ( ${PYTHON_DEPS}
- >=dev-lang/swig-2.0
- >=dev-cpp/gccxml-0.9.0_pre20120309 )
-"
-
-S="${WORKDIR}/${MYP}"
-
-pkg_pretend() {
- if [[ -z ${ITK_COMPUTER_MEMORY_SIZE} ]]; then
- elog "To tune ITK to make the best use ouf working memory you can set"
- elog " ITK_COMPUTER_MEMORY_SIZE=XX"
- elog "in make.conf, default is 1 (unit is GB)"
- fi
- if use python && [[ -z ${ITK_WRAP_DIMS} ]]; then
- elog "For Python language bindings, you can define the dimensions"
- elog "you want to create bindings for by setting"
- elog " ITK_WRAP_DIMS=X;Y;Z..."
- elog "in make.conf, default is 2;3 for 2D and 3D data"
- fi
-}
-
-src_configure() {
- local mycmakeargs=(
- -DWRAP_ITK_JAVA=OFF
- -DWRAP_ITK_TCL=OFF
- -DITK_USE_SYSTEM_HDF5=ON
- -DITK_USE_SYSTEM_JPEG=ON
- -DITK_USE_SYSTEM_PNG=ON
- -DITK_USE_SYSTEM_TIFF=ON
- -DITK_USE_SYSTEM_ZLIB=ON
- -DITK_USE_SYSTEM_GCCXML=ON
- -DITK_USE_SYSTEM_SWIG=ON
- -DITK_BUILD_ALL_MODULES=ON
- -DBUILD_SHARED_LIBS=ON
- -DBUILD_EXAMPLES=OFF
- -DITK_COMPUTER_MEMORY_SIZE="${ITK_COMPUTER_MEMORY_SIZE:-1}"
- $(cmake-utils_use_build test TESTING)
- $(cmake-utils_use review ITK_USE_REVIEW)
- $(cmake-utils_use itkv3compat ITKV3_COMPATIBILITY)
- $(cmake-utils_use sse2 VNL_CONFIG_ENABLE_SSE2)
- )
- if use fftw; then
- mycmakeargs+=(
- -DUSE_FFTWD=ON
- -DUSE_FFTWF=ON
- -DUSE_SYSTEM_FFTW=ON
- -DITK_WRAP_double=ON
- -DITK_WRAP_vector_double=ON
- -DITK_WRAP_covariant_vector_double=ON
- -DITK_WRAP_complex_double=ON
- )
- fi
- if use python; then
- mycmakeargs+=(
- -DITK_WRAP_PYTHON=ON
- -DITK_WRAP_DIMS="${ITK_WRAP_DIMS:-2;3}"
- )
- else
- mycmakeargs+=(
- -DITK_WRAP_PYTHON=OFF
- )
- fi
- cmake-utils_src_configure
-}
-
-src_install() {
- cmake-utils_src_install
-
- if use examples; then
- insinto /usr/share/doc/${PF}/examples
- docompress -x /usr/share/doc/${PF}/examples
- doins -r "${S}"/Examples/*
- fi
-
- echo "ITK_DATA_ROOT=${EROOT}/usr/share/${PN}/data" > ${T}/40${PN}
- local ldpath="${EROOT}/usr/$(get_libdir)/InsightToolkit"
- if use python; then
- echo "PYTHONPATH=${EROOT}/usr/$(get_libdir)/InsightToolkit/WrapITK/Python" >> ${T}/40${PN}
- ldpath="${ldpath}:${EROOT}/usr/$(get_libdir)/InsightToolkit/WrapITK/lib"
- fi
- echo "LDPATH=${ldpath}" >> ${T}/40${PN}
-
- doenvd "${T}"/40${PN}
-}
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>sci-biology</herd>
-<maintainer>
- <email>maintainer-wanted@gentoo.org</email>
-</maintainer>
-<longdescription lang="en">
- Insight Segmentation and Registration Toolkit (ITK) is a library
- that provides developers with an extensive suite of tools for image
- analysis.
-</longdescription>
-<use>
- <flag name="itkv3compat">Enable compatibility with ITK version 3</flag>
- <flag name="review">Enable compilation of methods under review</flag>
-</use>
-</pkgmetadata>
-