diff options
author | Justin Lecher <jlec@gentoo.org> | 2013-07-16 22:13:04 +0200 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2013-07-16 22:13:04 +0200 |
commit | a4d83b445f886298bfc1d25435bb0536f071ef98 (patch) | |
tree | 528edcfec483c7c5675129d06dee2c5262c03b37 | |
parent | In sci-physics/openmx-3.7.4, the version of the PDF manual cited in the ebuil... (diff) | |
parent | app-admin/eselect: Bump to latest eselect (diff) | |
download | sci-a4d83b445f886298bfc1d25435bb0536f071ef98.tar.gz sci-a4d83b445f886298bfc1d25435bb0536f071ef98.tar.bz2 sci-a4d83b445f886298bfc1d25435bb0536f071ef98.zip |
Merge branch 'vtk'
* vtk:
app-admin/eselect: Bump to latest eselect
sci-libs/vtk: Version BUmp
dev-lang/vtune: Version Bump
sci-libs/mkl: Version Bump
sci-libs/vtk: First working version
-rw-r--r-- | app-admin/eselect/ChangeLog | 3 | ||||
-rw-r--r-- | app-admin/eselect/Manifest | 2 | ||||
-rw-r--r-- | app-admin/eselect/eselect-1.3.7-r100.ebuild (renamed from app-admin/eselect/eselect-1.3.6-r100.ebuild) | 10 | ||||
-rw-r--r-- | dev-lang/vtune/ChangeLog | 5 | ||||
-rw-r--r-- | dev-lang/vtune/Manifest | 3 | ||||
-rw-r--r-- | dev-lang/vtune/vtune-13.1.9.295420.ebuild | 38 | ||||
-rw-r--r-- | sci-libs/mkl/ChangeLog | 6 | ||||
-rw-r--r-- | sci-libs/mkl/Manifest | 3 | ||||
-rw-r--r-- | sci-libs/mkl/metadata.xml | 4 | ||||
-rw-r--r-- | sci-libs/mkl/mkl-11.0.5.192.ebuild | 131 | ||||
-rw-r--r-- | sci-libs/vtk/ChangeLog | 484 | ||||
-rw-r--r-- | sci-libs/vtk/Manifest | 3 | ||||
-rw-r--r-- | sci-libs/vtk/files/vtk-6.0.0-cg-path.patch | 16 | ||||
-rw-r--r-- | sci-libs/vtk/metadata.xml | 18 | ||||
-rw-r--r-- | sci-libs/vtk/vtk-6.0.0.ebuild | 279 |
15 files changed, 997 insertions, 8 deletions
diff --git a/app-admin/eselect/ChangeLog b/app-admin/eselect/ChangeLog index 6ba0d3f60..d44735331 100644 --- a/app-admin/eselect/ChangeLog +++ b/app-admin/eselect/ChangeLog @@ -2,6 +2,9 @@ # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 # $Header: /var/cvsroot/gentoo-x86/app-admin/eselect/ChangeLog,v 1.179 2011/01/22 21:38:52 ulm Exp $ + 16 Jul 2013; Justin Lecher <jlec@gentoo.org> +eselect-1.3.7-r100.ebuild: + Bump to latest eselect + 08 Jul 2013; Justin Lecher <jlec@gentoo.org> -eselect-1.3.5-r100.ebuild, +eselect-1.3.6-r100.ebuild, metadata.xml: Bump to latest eselect diff --git a/app-admin/eselect/Manifest b/app-admin/eselect/Manifest index 982efbea4..3c29d5ad5 100644 --- a/app-admin/eselect/Manifest +++ b/app-admin/eselect/Manifest @@ -1 +1 @@ -DIST eselect-1.3.6.tar.xz 166976 SHA256 5a2d7c69ed6f668bee60a72f742a768fec4006b05255b0f79a4ebac86dbd0c2b SHA512 a1fb0f9216eb87365c19480b9a63b9d050630329e1e6697427408393b07a3e3c0165296dea48badfe97ab6a651fee7e3f312e640d7cb32626249de876d242d9c WHIRLPOOL 716db4e6d12088f77368f3115c1196b64b71b1d3931c728adc20ca4fb6cd719fc4da6e648df15531ff02d7200459577a606bac2e239286f8dc0f2c54eaa61d6b +DIST eselect-1.3.7.tar.xz 166596 SHA256 68b3c9cf3f71633ca81c4d0edd64a77e02dc8d6b9a48641e59f0bf02378a0075 SHA512 909d79d76f144181895853ce132147daeee4ba6caf05bf08963aef147ef2d00be100d6181887d139614f1bebf15f0738ea58e755656b55b7d9d967d399ce72f0 WHIRLPOOL 82d7575e8bbcb2186ef1452e3edb07b7c242c4d14475da0c5867acc70d275e5fb9e166a2b0addb54fb3586eddabcf1eec1e208964db5489e4250bf1f8ad39468 diff --git a/app-admin/eselect/eselect-1.3.6-r100.ebuild b/app-admin/eselect/eselect-1.3.7-r100.ebuild index 49bc7a4d0..6c8b19a2f 100644 --- a/app-admin/eselect/eselect-1.3.6-r100.ebuild +++ b/app-admin/eselect/eselect-1.3.7-r100.ebuild @@ -2,15 +2,15 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ -EAPI=4 +EAPI=5 inherit autotools eutils bash-completion-r1 DESCRIPTION="Gentoo's multi-purpose configuration and management tool" -HOMEPAGE="http://www.gentoo.org/proj/en/eselect/" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Eselect" SRC_URI="mirror://gentoo/${P}.tar.xz" -LICENSE="GPL-2+" +LICENSE="GPL-2+ || ( GPL-2+ CC-BY-SA-2.5 )" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="doc" # emacs vim-syntax @@ -29,8 +29,8 @@ RDEPEND="!app-admin/eselect-news sys-apps/file sys-libs/ncurses" -#PDEPEND="emacs? ( app-emacs/eselect-mode ) -# vim-syntax? ( app-vim/eselect-syntax )" +PDEPEND="emacs? ( app-emacs/eselect-mode ) + vim-syntax? ( app-vim/eselect-syntax )" src_prepare() { epatch "${FILESDIR}"/${PN}-alternatives.patch diff --git a/dev-lang/vtune/ChangeLog b/dev-lang/vtune/ChangeLog index 6a45d9737..78878803f 100644 --- a/dev-lang/vtune/ChangeLog +++ b/dev-lang/vtune/ChangeLog @@ -2,6 +2,11 @@ # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*vtune-13.1.9.295420 (14 Jul 2013) + + 14 Jul 2013; Justin Lecher <jlec@gentoo.org> +vtune-13.1.9.295420.ebuild: + Version Bump + *vtune-13.1.4.270817 (03 Mar 2013) 03 Mar 2013; Justin Lecher <jlec@gentoo.org> -vtune-11.0.7.221625.ebuild, diff --git a/dev-lang/vtune/Manifest b/dev-lang/vtune/Manifest index 07814eda6..d99d3ff30 100644 --- a/dev-lang/vtune/Manifest +++ b/dev-lang/vtune/Manifest @@ -1,3 +1,6 @@ DIST parallel_studio_xe_2013_update2.tgz 2152945149 SHA256 e8ddf6141f7d84c1f242891fabe0882c40269c358c0b946fee22ee6caa37121c SHA512 633370f58bd9fc14140912d5b3dd251ca4819a926b004a8053f92c83de6f9fdfdad192b425c5224d8b5aee47042a1a99d49628e6e2bb53e623ae429eefcfaac4 WHIRLPOOL 5b4a7c0c9cab758885ccffab25f1aaf64a6f5576d02df81a4797a2b9ae2151efb5e564e43397a2b61040d4af66024107a5a9c537982d3e17723655414dcba166 DIST parallel_studio_xe_2013_update2_ia32.tgz 1190613262 SHA256 13063ea9c47c781ea8f368566d328434351002e7321b2021b5f04ff741a5d55f SHA512 1488a1b8c9b84881041ccf42d9f856d44aa0654ce3171b0f92114a3408d8cb1f1a18a6d488db6bbfd7322d5a230748612b53378b6ac01b8b7b3e66b3b8f94333 WHIRLPOOL f7d2b307d2f4e226004ddfcf073db087fff6d68e94f849e85350dc18894db884b62362bb3929076fdd531e29f5c49e2cd94eba8685b13fc52e293226516d909d DIST parallel_studio_xe_2013_update2_intel64.tgz 1488277925 SHA256 6136774de466de19f4024eeb5a8176ffbf559143b048fecc83848c27008361d6 SHA512 8260ab223d9a959089ae66c8948d90ce119cceeb719ef18c1a9d258ccd77e9b6a67af1a3e203d96a1c3c774def9a6fc302c126001072b7c5aa2bb3cdc68bc4dd WHIRLPOOL 006dc0e925c8265abf174682cd54f2c2fc4c4f1e059e045407d523b3e3b659cadc47da005126236a8b01b882fd0b4dfa7dadce0c52f640d5c0ada8122a9d6d08 +DIST parallel_studio_xe_2013_update4.tgz 2184817121 SHA256 55d549fc34f7a9eb96951c7be3216b68f9f960edfdc0997cf8dcffe5c78d66c8 SHA512 84ea227fdca2c427996b0c4d17a0bad6c289a6fbfc267c19f54ebee875e11e6e8d14bb3103599e3b89331c34a153b0a63a5ca8c12f4619420f78f8c4b0c2da96 WHIRLPOOL 6bedfdbcad7f0d7ad4681d51ad865db247d5f264f5fa33e7136fc64c5e83eee30bb2611f39bd7f31b790432e314a7dbea755297ae3fd2b90ccecb7beffb20d79 +DIST parallel_studio_xe_2013_update4_ia32.tgz 1220177902 SHA256 5bd75b2747f4b787b8128a83914b060d156ecdc41236f4100363b7ab4f9f6859 SHA512 968db307e08cd31450200abd41ade1f2b2855f4b5cb19911d03c1cd357cab11cbba814db354452496fcf66fc3fad1423b24f428bd4db07402f12bd63e4d34247 WHIRLPOOL f2b03ebb78960718a15fc69be814eeb7996fdd7575720f4b09cb915086cc757fea188ef5ceb7e37ed00c995e11ae544d8bd55aba8ab2d12530e26b3d23362f3e +DIST parallel_studio_xe_2013_update4_intel64.tgz 1520767493 SHA256 31383f357b9b7d9c76e727e63427387d9ee42358f5b5df75a0d8766cd318a11d SHA512 497ad8f3473e1d11cdd31dff340a8e6ec1f012e731def084b2072146b5d11db906f85ace53b2223c3fbef949222f73f36783fd697eb7809464f4403c0ac8744a WHIRLPOOL d08447f27aee0f088797968d541fe98e3813a1daf5b87024d37493663238594c3e4e75a8d9636a4059191782f5eae9065d45b7ad2c27e1f73fc74eb110ad399f diff --git a/dev-lang/vtune/vtune-13.1.9.295420.ebuild b/dev-lang/vtune/vtune-13.1.9.295420.ebuild new file mode 100644 index 000000000..3d441a198 --- /dev/null +++ b/dev-lang/vtune/vtune-13.1.9.295420.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +INTEL_DPN=parallel_studio_xe +INTEL_DID=3266 +INTEL_DPV=2013_update4 +INTEL_SUBDIR=vtune_amplifier_xe + +inherit intel-sdp multilib + +DESCRIPTION="Intel VTune Amplifier XE" +HOMEPAGE="http://software.intel.com/en-us/articles/intel-vtune-amplifier-xe/" + +IUSE="" +KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux" + +INTEL_BIN_RPMS="vtune-amplifier-xe-gui" +INTEL_DAT_RPMS="vtune-amplifier-xe-gui-common" +#INTEL_RPMS_DIRS="rpm CLI_install/rpm" + +create_bin_symlink() { + _libdir=$(get_libdir) + _arch=${_libdir/lib/} + dosym /${INTEL_SDP_DIR}/bin${_arch}/${1} /opt/bin/${1} +} + +src_install() { + intel-sdp_src_install + + # Create symbolic links + create_bin_symlink amplxe-gui + create_bin_symlink amplxe-configurator + + make_desktop_entry amplxe-gui "VTune Amplifier XE" "" "Development;Debugger" +} diff --git a/sci-libs/mkl/ChangeLog b/sci-libs/mkl/ChangeLog index 72df03b52..627b3ef3b 100644 --- a/sci-libs/mkl/ChangeLog +++ b/sci-libs/mkl/ChangeLog @@ -2,6 +2,12 @@ # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*mkl-11.0.5.192 (14 Jul 2013) + + 14 Jul 2013; Justin Lecher <jlec@gentoo.org> +mkl-11.0.5.192.ebuild, + metadata.xml: + Version Bump + *mkl-11.0.3.163 (02 May 2013) 02 May 2013; Justin Lecher <jlec@gentoo.org> +mkl-11.0.3.163.ebuild: diff --git a/sci-libs/mkl/Manifest b/sci-libs/mkl/Manifest index 00369f3ed..2792b6755 100644 --- a/sci-libs/mkl/Manifest +++ b/sci-libs/mkl/Manifest @@ -1,3 +1,6 @@ DIST parallel_studio_xe_2013_update3.tgz 2173061577 SHA256 98b3bfe9feefa8caaa1bea533362f31bcfe96aa8f9e59fc89f6a453d50df7508 SHA512 c6115f01b045c840b61e3c2a17fd39142c814d4e387fa5bc935c5cc6ca365c3fedddb6d8c045b5c239b948b42c02254d8b73c42cfe16d046dcf14d3a4597bbde WHIRLPOOL e857fbf0fc73406f7d787400f8ed6e45e93825616fe3d2d10dcd26fa03d56cd956a0b598270724be4ab3886d77502e0f456077ed3008cffc6bdb4abe60acedce DIST parallel_studio_xe_2013_update3_ia32.tgz 1207596909 SHA256 57017db1b00345d46ef9dff67dd4e5754ed0fe67fae7335489447f948dbfe7a8 SHA512 f3656fcbda74f253c8cc0ca56e16a84d77854ef51ecc7f24db02c820270bef3954d0d97d1be2aa5cf2ea7703a6e442c3be15df28de570aac7062e5c5958581a4 WHIRLPOOL 0407b59697da8a69c8ac512dec4187bf27eeb2e80516cd6a99968ef3b30a31e55eeaa31ec4bcbd34fe23678e68c4f00cc5dfce579edfb0268b789e1e65285945 DIST parallel_studio_xe_2013_update3_intel64.tgz 1508395753 SHA256 081bc3d617f04243d459d92d05398df1a3634faf3de554346f732ed83ed4ef06 SHA512 344678ba9c6029ab095cc656c2153b20f0f996dab45115296fb624eca3863763e4010b519595892ffeecfc1a0880901ef5ae53924e41e470aec46efd0abcd822 WHIRLPOOL 1295f579ecc50014b285d47ecf6b92d1b9d0c2cbadd1a5972a832178263a9b3d4cf4208153df40e270c259c1307ed21277239e70371b39eaf4e12171c25a3c1f +DIST parallel_studio_xe_2013_update4.tgz 2184817121 SHA256 55d549fc34f7a9eb96951c7be3216b68f9f960edfdc0997cf8dcffe5c78d66c8 SHA512 84ea227fdca2c427996b0c4d17a0bad6c289a6fbfc267c19f54ebee875e11e6e8d14bb3103599e3b89331c34a153b0a63a5ca8c12f4619420f78f8c4b0c2da96 WHIRLPOOL 6bedfdbcad7f0d7ad4681d51ad865db247d5f264f5fa33e7136fc64c5e83eee30bb2611f39bd7f31b790432e314a7dbea755297ae3fd2b90ccecb7beffb20d79 +DIST parallel_studio_xe_2013_update4_ia32.tgz 1220177902 SHA256 5bd75b2747f4b787b8128a83914b060d156ecdc41236f4100363b7ab4f9f6859 SHA512 968db307e08cd31450200abd41ade1f2b2855f4b5cb19911d03c1cd357cab11cbba814db354452496fcf66fc3fad1423b24f428bd4db07402f12bd63e4d34247 WHIRLPOOL f2b03ebb78960718a15fc69be814eeb7996fdd7575720f4b09cb915086cc757fea188ef5ceb7e37ed00c995e11ae544d8bd55aba8ab2d12530e26b3d23362f3e +DIST parallel_studio_xe_2013_update4_intel64.tgz 1520767493 SHA256 31383f357b9b7d9c76e727e63427387d9ee42358f5b5df75a0d8766cd318a11d SHA512 497ad8f3473e1d11cdd31dff340a8e6ec1f012e731def084b2072146b5d11db906f85ace53b2223c3fbef949222f73f36783fd697eb7809464f4403c0ac8744a WHIRLPOOL d08447f27aee0f088797968d541fe98e3813a1daf5b87024d37493663238594c3e4e75a8d9636a4059191782f5eae9065d45b7ad2c27e1f73fc74eb110ad399f diff --git a/sci-libs/mkl/metadata.xml b/sci-libs/mkl/metadata.xml index 89e096c91..cb75c055e 100644 --- a/sci-libs/mkl/metadata.xml +++ b/sci-libs/mkl/metadata.xml @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>sci</herd> -<longdescription lang="en"> + <herd>sci</herd> + <longdescription lang="en"> The Intel(R) Math Kernel Library is a mathematical library mostly optimized for Intel processors (also works on AMDs). It contains BLAS and LAPACK implementations, Fast Fourier Transforms, a vector math diff --git a/sci-libs/mkl/mkl-11.0.5.192.ebuild b/sci-libs/mkl/mkl-11.0.5.192.ebuild new file mode 100644 index 000000000..8476f9482 --- /dev/null +++ b/sci-libs/mkl/mkl-11.0.5.192.ebuild @@ -0,0 +1,131 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +INTEL_DPN=parallel_studio_xe +INTEL_DID=3266 +INTEL_DPV=2013_update4 +INTEL_SUBDIR=composerxe + +inherit intel-sdp multilib alternatives-2 + +DESCRIPTION="Intel Math Kernel Library: linear algebra, fft, math functions" +HOMEPAGE="http://software.intel.com/en-us/articles/intel-mkl/" + +IUSE="" +KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux" + +DEPEND="" +RDEPEND=">=dev-libs/intel-common-13" + +CHECKREQS_DISK_BUILD=2500M + +INTEL_BIN_RPMS="mkl mkl-devel" +INTEL_DAT_RPMS="mkl-common" + +src_prepare() { + chmod u+w -R opt +} + +mkl_add_prof() { + local pcname=${1} libs cflags x + shift + [[ ${pcname} = *int64* ]] && cflags=-DMKL_ILP64 + cat <<-EOF > ${pcname}.pc + prefix=${INTEL_SDP_EDIR}/mkl + libdir=\${prefix}/lib/${IARCH} + includedir=\${prefix}/include + Name: ${pcname} + Description: ${DESCRIPTION} + Version: ${PV} + URL: ${HOMEPAGE} + Libs: -L\${libdir} ${libs} + Cflags: -I\${includedir} ${cflags} + EOF + insinto /usr/$(get_libdir)/pkgconfig + doins ${pcname}.pc + for x in $*; do + alternatives_for ${x} ${pcname/-${x}} 0 \ + /usr/$(get_libdir)/pkgconfig/${x}.pc ${pcname}.pc + done +} + +# mkl_prof [_ilp64 or _lp64] +# help: http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/ +mkl_prof() { + local bits="" + if [[ ${IARCH} == intel64 ]]; then + bits=_lp64 + [[ ${1} == int64 ]] && bits=_ilp64 + fi + local gf="-Wl,--start-group -lmkl_gf${bits}" + local intel="-Wl,--start-group -lmkl_intel${bits}" + local core="-lmkl_core -Wl,--end-group" + local prof=mkl${IARCH:((${#IARCH} - 2)):2} + [[ ${1} == int64 ]] && prof=${prof}-int64 + local libs + + libs="${gf} -lmkl_sequential ${core} -lpthread" \ + mkl_add_prof ${prof}-gfortran blas lapack + libs="${intel} -lmkl_sequential ${core} -lpthread" \ + mkl_add_prof ${prof}-intel blas lapack cblas lapacke + libs="${gf} -lmkl_gnu_thread ${core} -fopenmp -lpthread" \ + mkl_add_prof ${prof}-gfortran-openmp blas lapack + libs="${intel} -lmkl_gnu_thread ${core} -fopenmp -lpthread" \ + mkl_add_prof ${prof}-gcc-openmp cblas lapacke + libs="${intel} -lmkl_intel_thread ${core} -openmp -lpthread" \ + mkl_add_prof ${prof}-intel-openmp blas lapack cblas lapacke + libs="-lmkl_rt -lpthread" \ + mkl_add_prof ${prof}-dynamic blas lapack cblas lapacke + libs="-lmkl_rt -liomp5 -lpthread" \ + mkl_add_prof ${prof}-dynamic-openmp blas lapack cblas lapacke + + # blacs and scalapack + local scal="-lmkl_scalapack${bits:-_core}" + local blacs="-lmkl_blacs_intelmpi${bits}" + core="-lmkl_core ${blacs} -Wl,--end-group" + + libs="${gf} -lmkl_sequential ${core} -lpthread" \ + mkl_add_prof ${prof}-gfortran-blacs blacs + libs="${scal} ${gf} -lmkl_sequential ${core} -lpthread" \ + mkl_add_prof ${prof}-gfortran-scalapack scalapack + libs="${intel} -lmkl_sequential ${core} -lpthread" \ + mkl_add_prof ${prof}-intel-blacs blacs + libs="${scal} ${intel} -lmkl_sequential ${core} -lpthread" \ + mkl_add_prof ${prof}-intel-scalapack scalapack + libs="${gf} -lmkl_gnu_thread ${core} -fopenmp -lpthread" \ + mkl_add_prof ${prof}-gfortran-openmp-blacs blacs + libs="${scal} ${gf} -lmkl_gnu_thread ${core} -fopenmp -lpthread" \ + mkl_add_prof ${prof}-gfortran-openmp-scalapack scalapack + libs="${intel} -lmkl_gnu_thread ${core} -fopenmp -lpthread" \ + mkl_add_prof ${prof}-gcc-openmp-blacs blacs + libs="${scal} ${intel} -lmkl_gnu_thread ${core} -fopenmp -lpthread" \ + mkl_add_prof ${prof}-gcc-openmp-scalapack scalapack + libs="${intel} -lmkl_intel_thread ${core} -liomp5 -lpthread" \ + mkl_add_prof ${prof}-intel-openmp-blacs blacs + libs="${scal} ${intel} -lmkl_intel_thread ${core} -liomp5 -lpthread" \ + mkl_add_prof ${prof}-intel-openmp-scalapack scalapack + libs="-lmkl_rt ${blacs} -lpthread" \ + mkl_add_prof ${prof}-dynamic-blacs blacs + libs="${scal} -lmkl_rt ${blacs} -lpthread" \ + mkl_add_prof ${prof}-dynamic-scalapack scalapack + libs="-lmkl_rt ${blacs} -liomp5 -lpthread" \ + mkl_add_prof ${prof}-dynamic-openmp-blacs blacs + libs="${scal} -lmkl_rt ${blacs} -liomp5 -lpthread" \ + mkl_add_prof ${prof}-dynamic-openmp-scalapack scalapack +} + +src_install() { + intel-sdp_src_install + echo -n > 35mkl "LDPATH=" + for IARCH in ${INTEL_ARCH}; do + mkl_prof + sed -i -e '/mkl/s/$/:/' 35mkl + echo -n >> 35mkl "${INTEL_SDP_EDIR}/mkl/lib/${IARCH}" + [[ ${IARCH} == intel64 ]] && mkl_prof int64 + done + echo >> 35mkl + doenvd 35mkl +} diff --git a/sci-libs/vtk/ChangeLog b/sci-libs/vtk/ChangeLog new file mode 100644 index 000000000..593ce9f32 --- /dev/null +++ b/sci-libs/vtk/ChangeLog @@ -0,0 +1,484 @@ +# ChangeLog for sci-libs/vtk +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/vtk/ChangeLog,v 1.108 2013/06/05 01:21:35 lu_zero Exp $ + + 16 Jul 2013; Justin Lecher <jlec@gentoo.org> vtk-6.0.0.ebuild, + -files/vtk-5.2.0-tcl-install.patch, + -files/vtk-5.4.2-boost-property_map.patch, -files/vtk-5.4.2-cg-path.patch, + -files/vtk-5.4.2-libpng14.patch, -files/vtk-5.6.0-R.patch, + -files/vtk-5.6.0-boost-property_map.patch, -files/vtk-5.6.0-cg-path.patch, + -files/vtk-5.6.0-ffmpeg.patch, -files/vtk-5.6.0-libpng14.patch, + -files/vtk-5.6.0-odbc.patch, -files/vtk-5.6.1-ffmpeg.patch, + -files/vtk-5.6.1-gcc-46.patch, -files/vtk-5.6.1-libav-0.8.patch, + -files/vtk-5.6.1-libpng15.patch, -files/vtk-5.8.0-R.patch, + -files/vtk-5.8.0-boost.patch, -files/vtk-5.10.1-ffmpeg-1.patch, + -files/vtk-5.10.1-libav-9.patch, -files/vtk-5.10.1-tcl8.6.patch, + metadata.xml: + Version BUmp + +*vtk-6.0.0 (11 Jul 2013) + + 11 Jul 2013; Justin Lecher <jlec@gentoo.org> +vtk-6.0.0.ebuild, + +files/vtk-5.2.0-tcl-install.patch, + +files/vtk-5.4.2-boost-property_map.patch, +files/vtk-5.4.2-cg-path.patch, + +files/vtk-5.4.2-libpng14.patch, +files/vtk-5.6.0-R.patch, + +files/vtk-5.6.0-boost-property_map.patch, +files/vtk-5.6.0-cg-path.patch, + +files/vtk-5.6.0-ffmpeg.patch, +files/vtk-5.6.0-libpng14.patch, + +files/vtk-5.6.0-odbc.patch, +files/vtk-5.6.1-ffmpeg.patch, + +files/vtk-5.6.1-gcc-46.patch, +files/vtk-5.6.1-libav-0.8.patch, + +files/vtk-5.6.1-libpng15.patch, +files/vtk-5.8.0-R.patch, + +files/vtk-5.8.0-boost.patch, +files/vtk-5.10.1-ffmpeg-1.patch, + +files/vtk-5.10.1-libav-9.patch, +files/vtk-5.10.1-tcl8.6.patch, + +files/vtk-6.0.0-cg-path.patch, +metadata.xml: + First working version + + 05 Jun 2013; Luca Barbato <lu_zero@gentoo.org> vtk-5.10.1.ebuild, + +files/vtk-5.10.1-libav-9.patch: + libav 9 (and upcoming 10) support. + + 02 Mar 2013; Markos Chandras <hwoarang@gentoo.org> vtk-5.10.0.ebuild, + vtk-5.10.1.ebuild: + Move Qt dependencies to the new category + + 31 Jan 2013; Justin Lecher <jlec@gentoo.org> files/vtk-5.10.1-tcl8.6.patch: + Backport upstream patch for tcl/tk-8.6.0, #454762 + + 17 Jan 2013; Alexis Ballier <aballier@gentoo.org> vtk-5.10.1.ebuild, + +files/vtk-5.10.1-ffmpeg-1.patch: + Fix build with latest ffmpeg. Part of bug #450464. + + 15 Jan 2013; Justin Lecher <jlec@gentoo.org> vtk-5.10.1.ebuild, + +files/vtk-5.10.1-tcl8.6.patch: + Better fix for tcl support + + 14 Jan 2013; Justin Lecher <jlec@gentoo.org> vtk-5.10.1.ebuild: + Solve problems with USE=examples, #447146 + + 10 Jan 2013; Justin Lecher <jlec@gentoo.org> vtk-5.10.1.ebuild: + Add compatibility fix for tcl8.6 + +*vtk-5.10.1 (13 Dec 2012) + + 13 Dec 2012; Justin Lecher <jlec@gentoo.org> +vtk-5.10.1.ebuild, + metadata.xml: + Version Bump + + 06 Dec 2012; Sébastien Fabbro <bicatali@gentoo.org> vtk-5.10.0.ebuild: + Keyword amd64-linux and x86-linux + + 04 Sep 2012; Justin Lecher <jlec@gentoo.org> -vtk-5.6.1.ebuild, + -vtk-5.8.0.ebuild: + Drop old + +*vtk-5.10.0 (07 Jun 2012) + + 07 Jun 2012; Justin Lecher <jlec@gentoo.org> files/vtk-5.8.0-boost.patch, + +vtk-5.10.0.ebuild, metadata.xml: + Version Bump, #420103; Update boost patch, #412945 + + 20 Mar 2012; Jeroen Roovers <jer@gentoo.org> vtk-5.8.0.ebuild: + Sort IUSE entries. Remove IUSE=tk duplicate by zvasylvv (bug #408871). + + 27 Feb 2012; Justin Lecher <jlec@gentoo.org> vtk-5.8.0.ebuild: + Fix typo in Changelog and commit fix for #401839 + + 13 Feb 2012; Kacper Kowalik <xarthisius@gentoo.org> vtk-5.8.0.ebuild: + Add missing dependency on media-video/nvidia-settings + + 10 Feb 2012; Justin Lecher <jlec@gentoo.org> vtk-5.8.0.ebuild, + +files/vtk-5.8.0-boost.patch: + Backport patch for boost-1.48, #400901 + + 10 Feb 2012; Justin Lecher <jlec@gentoo.org> -vtk-5.4.2-r1.ebuild, + -vtk-5.6.0-r2.ebuild, -vtk-5.6.0-r3.ebuild, vtk-5.6.1.ebuild, + vtk-5.8.0.ebuild: + Use selected python ABI, #401839, patch by JTRiley; dropped old + + 29 Dec 2011; Justin Lecher <jlec@gentoo.org> vtk-5.8.0.ebuild: + Correct PYTHON_SETUP_ARGS to VTK_PYTHON_SETUP_ARGS, #396297 + + 29 Dec 2011; Justin Lecher <jlec@gentoo.org> vtk-5.8.0.ebuild: + Add missing deps for hdf5 and PyQt4/sip support + +*vtk-5.8.0 (27 Dec 2011) + + 27 Dec 2011; Justin Lecher <jlec@gentoo.org> +vtk-5.8.0.ebuild, + +files/vtk-5.8.0-R.patch: + Version Bump, #396119 + + 16 Nov 2011; Justin Lecher <jlec@gentoo.org> vtk-5.6.1.ebuild, + +files/vtk-5.6.1-libav-0.8.patch, metadata.xml: + Add debian patch for building against libav-0.8, #380681 + + 13 Sep 2011; Samuli Suominen <ssuominen@gentoo.org> vtk-5.6.1.ebuild, + +files/vtk-5.6.1-libpng15.patch: + Fix building with libpng15 wrt #378393 by Diego Elio Pettenò + + 04 Aug 2011; Fabian Groffen <grobian@gentoo.org> vtk-5.6.1.ebuild: + Allow to find Python from Prefix, bug #376917 + + 20 Jul 2011; Pacho Ramos <pacho@gentoo.org> metadata.xml: + Drop maintainer due retirement, bug #105599 + + 25 Apr 2011; Justin Lecher <jlec@gentoo.org> vtk-5.6.0-r2.ebuild, + vtk-5.6.0-r3.ebuild, vtk-5.6.1.ebuild, files/vtk-5.6.1-ffmpeg.patch, + +files/vtk-5.6.1-gcc-46.patch: + Correct patch for USE=ffmpeg, 327957; Fix for gcc-4.6 + + 17 Apr 2011; Justin Lecher <jlec@gentoo.org> vtk-5.6.0-r3.ebuild, + vtk-5.6.1.ebuild: + Fix ofr installation of examples, #363919 + +*vtk-5.6.1 (16 Apr 2011) +*vtk-5.6.0-r3 (16 Apr 2011) + + 16 Apr 2011; Justin Lecher <jlec@gentoo.org> vtk-5.6.0-r2.ebuild, + +vtk-5.6.0-r3.ebuild, +files/vtk-5.6.0-ffmpeg.patch, +vtk-5.6.1.ebuild, + +files/vtk-5.6.1-ffmpeg.patch: + Version Bump, Fixes for ffmpeg, Fortify source, py-2.7; #362701, #350318, + #344065, #338819, #334705, #327957 + + 31 Mar 2011; Tomáš Chvátal <scarabeus@gentoo.org> vtk-5.6.0-r2.ebuild: + Depend on virtual/ffmpeg instead of media-video/ffmpeg. + + 02 Mar 2011; Justin Lecher <jlec@gentoo.org> vtk-5.4.2-r1.ebuild, + vtk-5.6.0-r2.ebuild: + Correct Slots for gtk 3 introduction to tree + + 09 Nov 2010; Kacper Kowalik <xarthisius@gentoo.org> +vtk-5.4.2-r1.ebuild, + +files/vtk-5.4.2-boost-property_map.patch, +files/vtk-5.4.2-cg-path.patch, + +files/vtk-5.4.2-libpng14.patch: + Bring back vtk-5.4.x as sci-visualization/mayavi:1 depends on it. + media-libs/jpeg -> virtual/jpeg + + 08 Nov 2010; Kacper Kowalik <xarthisius@gentoo.org> + -files/vtk-5.0.3-mpi.patch, -files/vtk-5.0.4-gcc4.3.patch, + -vtk-5.4.2-r1.ebuild, -files/vtk-5.4.2-boost-property_map.patch, + -files/vtk-5.4.2-cg-path.patch, -files/vtk-5.4.2-libpng14.patch, + vtk-5.6.0-r2.ebuild: + media-libs/jpeg -> virtual/jpeg. Drop old. + + 24 Jul 2010; Justin Lecher <jlec@gentoo.org> vtk-5.6.0-r2.ebuild: + Fix for compilation with USE=ffmpeg, #327517 + + 11 Jul 2010; Justin Lecher <jlec@gentoo.org> vtk-5.6.0-r2.ebuild, + +files/vtk-5.6.0-odbc.patch: + Imported support for dbs from sci overlay, 327601, thanks yFrancois Bissey + + 17 Jun 2010; Justin Bronder <jsbronder@gentoo.org> vtk-5.4.2-r1.ebuild: + Remove sys-cluster/lam-mpi handling, see #324415. + + 09 Jun 2010; Justin Lecher <jlec@gentoo.org> -vtk-5.4.2.ebuild: + removed old version which having problems with PYTHON ABIs stuff + + 07 Jun 2010; Justin Lecher <jlec@gentoo.org> vtk-5.6.0-r2.ebuild: + Fixed ogg -> theora USE transition + + 31 May 2010; Justin Lecher <jlec@gentoo.org> metadata.xml: + Added myself as maintainer + +*vtk-5.6.0-r2 (29 May 2010) + + 29 May 2010; Justin Lecher <jlec@gentoo.org> -vtk-5.6.0-r1.ebuild, + +vtk-5.6.0-r2.ebuild: + Don't use bundled libtheora, moved USE ogg -> theora + + 29 May 2010; Justin Lecher <jlec@gentoo.org> vtk-5.6.0-r1.ebuild: + Added missing DEPS + + 29 May 2010; Justin Lecher <jlec@gentoo.org> vtk-5.6.0-r1.ebuild: + Corrected version of cmake in DEPEND for mpi + +*vtk-5.6.0-r1 (28 May 2010) + + 28 May 2010; Justin Lecher <jlec@gentoo.org> vtk-5.4.2.ebuild, + files/vtk-5.4.2-boost-property_map.patch, -vtk-5.6.0.ebuild, + +vtk-5.6.0-r1.ebuild, +files/vtk-5.6.0-R.patch, + files/vtk-5.6.0-boost-property_map.patch: + Fixed correct detection R libs + +*vtk-5.6.0 (28 May 2010) + + 28 May 2010; Justin Lecher <jlec@gentoo.org> vtk-5.4.2-r1.ebuild, + +vtk-5.6.0.ebuild, +files/vtk-5.6.0-boost-property_map.patch, + +files/vtk-5.6.0-cg-path.patch, +files/vtk-5.6.0-libpng14.patch: + Version Bump #321505; Added support for ogg R; prelimary support for + PREFIX + + 22 May 2010; Justin Lecher <jlec@gentoo.org> vtk-5.4.2.ebuild, + vtk-5.4.2-r1.ebuild: + Add x11-libs/qt-sql to deps, #301684 + + 25 Apr 2010; Justin Lecher <jlec@gentoo.org> vtk-5.4.2-r1.ebuild: + Python ABI fixes, #316229 + + 26 Mar 2010; Ben de Groot <yngwin@gentoo.org> vtk-5.4.2.ebuild, + vtk-5.4.2-r1.ebuild: + Don't inherit unused qt3 eclass (bug #310669) + + 11 Mar 2010; Samuli Suominen <ssuominen@gentoo.org> vtk-5.4.2-r1.ebuild, + +files/vtk-5.4.2-libpng14.patch: + Fix building with libpng14. + + 11 Feb 2010; Justin Lecher <jlec@gentoo.org> vtk-5.4.2.ebuild, + vtk-5.4.2-r1.ebuild: + Removed qt3 support as it is no longer in the tree + + 21 Jan 2010; Markus Dittrich <markusle@gentoo.org> vtk-5.4.2-r1.ebuild, + +files/vtk-5.4.2-boost-property_map.patch: + Added patch to allow compilation against boost-1.42 (fixes #301684). + + 16 Jan 2010; Markus Dittrich <markusle@gentoo.org> vtk-5.4.2-r1.ebuild: + Updated handling of mycmakeargs from cmake-utils.eclass. + +*vtk-5.4.2-r1 (19 Dec 2009) + + 19 Dec 2009; Markus Dittrich <markusle@gentoo.org> +vtk-5.4.2-r1.ebuild: + New revision uses cmake-utils eclass and is significantly cleaned up. + This should have also fixed bugs #295053 and #287591. + Thanks much to Francois Bissey <f.r.bissey@massey.ac.nz> for his help. + + 17 Dec 2009; Markus Dittrich <markusle@gentoo.org> vtk-5.4.2.ebuild: + Updated dependency on cmake to >=2.6 (fixes bug #295531). + + 04 Dec 2009; Markus Dittrich <markusle@gentoo.org> vtk-5.4.2.ebuild: + Added short notice regarding possible parallel make issues per bug + #244896. + + 24 Nov 2009; Markus Dittrich <markusle@gentoo.org> vtk-5.4.2.ebuild: + Removed boost from RDEPEND (fixes bug #293083). + + 18 Sep 2009; Petteri Räty <betelgeuse@gentoo.org> -vtk-5.0.4.ebuild, + -vtk-5.2.0-r1.ebuild: + Remove old versions using built_with_use. + + 01 Sep 2009; Markus Dittrich <markusle@gentoo.org> vtk-5.4.2.ebuild: + Added missing dependency on qt-opengl (fixes bug #283181). + +*vtk-5.4.2 (17 Jul 2009) + + 17 Jul 2009; Markus Dittrich <markusle@gentoo.org> -vtk-5.0.3.ebuild, + +files/vtk-5.4.2-cg-path.patch, +vtk-5.4.2.ebuild: + Version bump (fixes bug #269040). Also removed old version. + + 27 Oct 2008; Markus Dittrich <markusle@gentoo.org> vtk-5.2.0-r1.ebuild: + Attempt to fix sandbox violations (see bug #244378). + +*vtk-5.2.0-r1 (05 Oct 2008) + + 05 Oct 2008; Markus Dittrich <markusle@gentoo.org> + +files/vtk-5.2.0-tcl-install.patch, -vtk-5.2.0.ebuild, + +vtk-5.2.0-r1.ebuild: + Fixed improper install location of support files (see bug #239553). + +*vtk-5.2.0 (01 Oct 2008) + + 01 Oct 2008; Markus Dittrich <markusle@gentoo.org> +vtk-5.2.0.ebuild: + Version bump (fixes bug #238883). Thanks much to Steve Yin + <steve@chinavfx.net> for his ebuild. + + 07 Aug 2008; Ulrich Mueller <ulm@gentoo.org> metadata.xml: + Add USE flag description to metadata wrt GLEP 56. + + 28 Jul 2008; Carsten Lohrke <carlo@gentoo.org> vtk-5.0.3.ebuild: + QA: Get rid of deprecated qt?_min_version(). + + 27 Jul 2008; Carsten Lohrke <carlo@gentoo.org> vtk-5.0.4.ebuild: + Fix broken split Qt 4.4 dependencies, cf. bug 217161 comment 11. + + 08 Jul 2008; Thomas Anderson <gentoofan23@gentoo.org> vtk-5.0.4.ebuild: + Add a qt-gui dependency, it really is needed. + + 03 Jul 2008; Thomas Anderson <gentoofan23@gentoo.org> vtk-5.0.4.ebuild: + Migrate Dependencies to permit Split QT 4.4 to satisfy dependencies, bug + #217189 + + 24 May 2008; Markus Dittrich <markusle@gentoo.org> + +files/vtk-5.0.4-gcc4.3.patch, vtk-5.0.4.ebuild: + Added gcc-4.3 compatibility patch (see bug #223383). Thanks much to + Bert Karwatzki <spasswolf@web.de> for his patch. + + 09 Mar 2008; Markus Dittrich <markusle@gentoo.org> vtk-5.0.4.ebuild: + Backported support for tcl/tk-8.5 from cvs head (fixes bug 212700). + Thanks much to Pacho Ramos <pacho@condmat1.ciencias.uniovi.es> for + his patch. + +*vtk-5.0.4 (06 Mar 2008) + + 06 Mar 2008; Markus Dittrich <markusle@gentoo.org> +vtk-5.0.4.ebuild: + Version bump. + + 29 Feb 2008; Markus Dittrich <markusle@gentoo.org> vtk-5.0.3.ebuild: + Fixed bogus install location (see bug #211819). Thanks much to + Matthias Langer <mlangc@gmx.at> for his patch. + + 21 Feb 2008; Markus Dittrich <markusle@gentoo.org> + -files/vtk-5.0.1-python2.5-gentoo.patch, -files/vtk-5.0.3-lammpi.patch, + +files/vtk-5.0.3-mpi.patch, vtk-5.0.3.ebuild: + Removed support for mpich and added support for mpich2, openmpi, and + lam-mpi. Also fixed some QA issues and added qt4 eclass. + + 19 Aug 2007; Markus Dittrich <markusle@gentoo.org> vtk-5.0.3.ebuild: + Fixed incomplete RDEPEND. + + 01 Aug 2007; Markus Dittrich <markusle@gentoo.org> vtk-5.0.3.ebuild: + Added LGPL-2 to LICENSE since it is needed for gl2ps (see bug 146019). + + 22 Jul 2007; Donnie Berkholz <dberkholz@gentoo.org>; vtk-5.0.3.ebuild: + Drop virtual/x11 references. + + 11 Jun 2007; Petteri Räty <betelgeuse@gentoo.org> -vtk-5.0.2.ebuild: + Remove old version. + + 11 Jun 2007; Petteri Räty <betelgeuse@gentoo.org> vtk-5.0.3.ebuild: + Add java? ( >=virtual/jre-1.5 ) to RDEPEND. + + 28 May 2007; Markus Dittrich <markusle@gentoo.org> vtk-5.0.3.ebuild: + Added VTKHOME as exported environmental variable. + + 08 May 2007; Markus Dittrich <markusle@gentoo.org> vtk-5.0.3.ebuild: + Re-added compile flag for javac needed on amd64 (see bug #177506). + + 06 May 2007; Markus Dittrich <markusle@gentoo.org> + +files/vtk-5.0.3-lammpi.patch, vtk-5.0.3.ebuild: + Added patch fixing cmake files to properly detect and add lam-mpi + libraries. + + 04 May 2007; Markus Dittrich <markusle@gentoo.org> vtk-5.0.3.ebuild: + Check for qt3support useflag when building the examples under qt4 + (see bug #176847). + + 01 May 2007; Markus Dittrich <markusle@gentoo.org> metadata.xml, + vtk-5.0.3.ebuild: + Removed explicit java CLASSPATH and added the friendly java folks + to metadata (see bug #176547). + +*vtk-5.0.3 (23 Apr 2007) + + 23 Apr 2007; Markus Dittrich <markusle@gentoo.org> + -files/vtk-qt-gentoo.patch, -vtk-5.0.0.ebuild, -vtk-5.0.1.ebuild, + +vtk-5.0.3.ebuild: + Version bump and removed old versions. Thanks much to Sebastien + Fabbro <bicatali@gentoo.org> for his ebuild. + + 16 Apr 2007; Christian Faulhammer <opfer@gentoo.org> vtk-5.0.0.ebuild: + moved from USE tcltk to tk, see bug 17808 + +*vtk-5.0.2 (02 Dec 2006) + + 02 Dec 2006; Markus Dittrich <markusle@gentoo.org> +vtk-5.0.2.ebuild: + Version bump. + + 18 Nov 2006; Markus Dittrich <markusle@gentoo.org> vtk-5.0.1.ebuild: + Added -j1 back to ebuild since some people still experience problems + with parallel builds (see discussion on bug #146767). + + 14 Oct 2006; Joshua Nichols <nichoj@gentoo.org> vtk-5.0.0.ebuild: + Added call to java-pkg_pkg_setup, for bug #142708 + + 23 Sep 2006; Markus Dittrich <markusle@gentoo.org> + +files/vtk-5.0.1-python2.5-gentoo.patch, vtk-5.0.1.ebuild: + Added patch to fix compile problems with python-2.5 + (see bug #148727). + + 08 Sep 2006; Markus Dittrich <markusle@gentoo.org> + +files/vtk-qt-gentoo.patch, -files/vtk-qt3-qt4-gentoo.patch, + vtk-5.0.0.ebuild, vtk-5.0.1.ebuild: + Renamed the qt patch in an effort to get rid of the executable + permissions. Also cleaned up the ebuilds some. + + 08 Sep 2006; Markus Dittrich <markusle@gentoo.org> + files/vtk-qt3-qt4-gentoo.patch, -files/vtk-4.2.6-gcc34.patch, + -vtk-4.2.6.ebuild: + Removed old version since it doesn't build any more. Also fixed + permissions for the vtk-qt patch (see bug #146826). + + 20 Jul 2006; Markus Dittrich <markusle@gentoo.org> vtk-5.0.1.ebuild: + Moved to new java system. Removed -j1 from emake since it works + fine here with -j2. + +*vtk-5.0.1 (09 Jul 2006) + + 09 Jul 2006; Markus Dittrich <markusle@gentoo.org> vtk-4.2.6.ebuild, + vtk-5.0.0.ebuild, +vtk-5.0.1.ebuild: + Version bump. Also, split tcltk USE flag into tcl and tk and moved + to new style virtual/jdk. + + 23 Jun 2006; Markus Dittrich <markusle@gentoo.org> vtk-5.0.0.ebuild: + Added a warning to the ebuild that qt4 is the default in case both + qt3 and qt4 are selected as use flags (see bug #137658). + + 11 Jun 2006; Markus Dittrich <markusle@gentoo.org> vtk-5.0.0.ebuild: + Fix RDEPEND and cmake configuration such that tcl/tk is only + pulled in and used if USE=tcltk. This closes bug #136324. + + 27 Apr 2006; Alec Warner <antarus@gentoo.org> Manifest: + Fixing SHA256 digest, pass four + + 21 Apr 2006; Markus Dittrich <markusle@gentoo.org> vtk-5.0.0.ebuild: + Depend on cmake-2.2.x to be able to properly compile against QT4. + This fixes bug #130471. + + 07 Apr 2006; Markus Dittrich <markusle@gentoo.org> ChangeLog: + Removed from package.mask after testing. + + 27 Mar 2006; Markus Dittrich <markusle@gentoo.org> vtk-5.0.0.ebuild: + Added proper JAVA_AWT_LIBRARY cmake variable for amd64 platform. + Thanks to Sebastiaan <s.breedveld@erasmusmc.nl> for pointing this + out (c.f. bug #123178). + + 26 Mar 2006; Markus Dittrich <markusle@gentoo.org> + +files/vtk-qt3-qt4-gentoo.patch, vtk-5.0.0.ebuild: + Added a small fix for java compilation on amd64 as detailed + in bug #123178. Thanks to Sebastiaan <s.breedveld@erasmusmc.nl> for + the fix. Also enabled compilation of vtk against either QT3 or QT4. + + 06 Mar 2006; Markus Dittrich <markusle@gentoo.org> vtk-5.0.0.ebuild: + Fixed some QT3 issues and forced -j1 during emake. Thanks + much to Sebastiaan <s.breedveld@erasmusmc.nl> for his fixes + and testing. + +*vtk-5.0.0 (05 Mar 2006) + + 05 Mar 2006; Markus Dittrich <markusle@gentoo.org> +vtk-5.0.0.ebuild: + Version bump. Many thanks to Toon Verstraelen + <Toon.Verstraelen@UGent.be> and Sebastiaan + <s.breedveld@erasmusmc.nl> for their ebuilds and patches. + This fixes bug #123178. + + 26 Feb 2006; Markus Dittrich <markusle@gentoo.org> vtk-4.2.6.ebuild: + Added cmake command line flag to prevent insecure RUNPATHS + (c.f. bug #122875). + + 22 Jan 2006; Markus Dittrich <markusle@gentoo.org> vtk-4.2.6.ebuild: + Fix dependencies for modular X and replace instances of lib with + $(get_libdir). + + 17 Jan 2006; Markus Dittrich <markusle@gentoo.org> metadata.xml: + Changed maintainer to Markus Dittrich <markusle@gentoo.org>. + + 19 Dec 2005; Markus Dittrich <markusle@gentoo.org> vtk-4.2.6.ebuild: + Use python eclass functions to determine installed python version. + + 18 Dec 2005; Markus Dittrich <markusle@gentoo.org> vtk-4.2.6.ebuild: + Fixed compilation problems when using cmake-2.2.x and when compiling against + python 2.4.x. Also corrected installation path of vtk jar file. This fixes + bugs #112119, #103343, #113597. + + 08 Oct 2005; Thomas Matthijs <axxo@gentoo.org> vtk-4.2.6.ebuild: + use java-pkg_dojar not dojar + + 24 Aug 2005; Patrick Kursawe <phosphan@gentoo.org> vtk-4.2.6.ebuild: + No longer using cp -a (bug #103487) + + 20 Aug 2005; Olivier Fisette <ribosome@gentoo.org> vtk-4.2.6.ebuild: + Removed unused "data" USE flag (fixes bug #100418). + + 03 Jun 2005; Patrick Dawson <pkdawson@gentoo.org> vtk-4.2.6.ebuild: + Typo fix. + +*vtk-4.2.6 (10 May 2005) + + 10 May 2005; Patrick Dawson <pkdawson@gentoo.org> + +files/vtk-4.2.6-gcc34.patch, +vtk-4.2.6.ebuild: + Initial import. See bug #25335. diff --git a/sci-libs/vtk/Manifest b/sci-libs/vtk/Manifest new file mode 100644 index 000000000..1dadbe944 --- /dev/null +++ b/sci-libs/vtk/Manifest @@ -0,0 +1,3 @@ +DIST vtk-6.0.0.tar.gz 24170173 SHA256 426df543cffeacf21154dddcd2a6efbd91a586570a07a0db4c426d3e0acd10e4 SHA512 ac238e2d228df4fc4d324826b8729af9ab3274039d5abf834f013fb4deaddc116ba2b1b24fb93aaf4b1bfc4bb321d19bc05566883cf3db1f982c9650d77583e8 WHIRLPOOL b8619e254f97392dae01b8e2376bd70a07ce21504580d29844fcf1ab5621d85ba12bfd6047b4f90afd2b648d8b6c17e4ce5d789d6e1f84b5a4f847de5ee376b9 +DIST vtkDocHtml-6.0.0.tar.gz 204228463 SHA256 f5324c4c197b0cacd19bf1e5721bb012d753d49526e224d9f2dd7412f34e4434 SHA512 b6d5660f3ae6046c63b22b613cab6822f45f6b30a09522277e32f941c75dc48e8c92abc4d7f02b17e3f4d8e625de6dce7f000acc79e2d588a13d1577c139291a WHIRLPOOL b951c4ee62639c6bada2e02c2fceddbdb730c76d80c61a6ed013d8d9878b78a697158f41f53d68b5d62e4baa1f9ecb88e2437490da7610970622a40ecb14db1f +DIST vtkdata-6.0.0.tar.gz 99106820 SHA256 d5cb638804cc09838e05876f1701d2e9cf7aa3a5c63885da7c2ddf52b2fbb04d SHA512 b76eb8389047de1b74c585b8a3064d499758886f8e44063cb0d73fdc29b1a7cfbb1926bca869ccfbfaada3cffbb74a78a01fa081fd230002af7c4d79aa8a90af WHIRLPOOL 213a9ad270cf528cdfd9b601eaceba185d8388f629023fcd59603324539251c55c34685943122c07efd4e8b54217686399d9ec9d4e6e2780f33fcb510b148dc6 diff --git a/sci-libs/vtk/files/vtk-6.0.0-cg-path.patch b/sci-libs/vtk/files/vtk-6.0.0-cg-path.patch new file mode 100644 index 000000000..c83a06b2f --- /dev/null +++ b/sci-libs/vtk/files/vtk-6.0.0-cg-path.patch @@ -0,0 +1,16 @@ + Utilities/MaterialLibrary/CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Utilities/MaterialLibrary/CMakeLists.txt b/Utilities/MaterialLibrary/CMakeLists.txt +index 330a189..ede97be 100644 +--- a/Utilities/MaterialLibrary/CMakeLists.txt ++++ b/Utilities/MaterialLibrary/CMakeLists.txt +@@ -116,7 +116,7 @@ MACRO(get_modules modules prefix files ) + ENDMACRO(get_modules) + + SET(CMD_DEP ProcessShader) +-SET(CMD ProcessShader) ++SET(CMD ./ProcessShader.sh) + + IF (VTK_USE_CG_SHADERS) + # Create the Cg library. diff --git a/sci-libs/vtk/metadata.xml b/sci-libs/vtk/metadata.xml new file mode 100644 index 000000000..50d848a13 --- /dev/null +++ b/sci-libs/vtk/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sci</herd> + <herd>java</herd> + <maintainer> + <email>jlec@gentoo.org</email> + <name>Justin Lecher</name> + </maintainer> + <use> + <flag name="boost">Add support for boost</flag> + <flag name="chemistry">Add chemistry support</flag> + <flag name="cg">Use nvidia's cg shaders</flag> + <flag name="patented">Build patented classes</flag> + <flag name="offscreen">Offscreen rendering through OSMesa</flag> + <flag name="R">Enable support for dev-lang/R</flag> + </use> +</pkgmetadata> diff --git a/sci-libs/vtk/vtk-6.0.0.ebuild b/sci-libs/vtk/vtk-6.0.0.ebuild new file mode 100644 index 000000000..36a30ba34 --- /dev/null +++ b/sci-libs/vtk/vtk-6.0.0.ebuild @@ -0,0 +1,279 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/vtk/vtk-5.10.1.ebuild,v 1.6 2013/03/02 23:24:14 hwoarang Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_6,2_7} ) + +WANT_CMAKE="always" + +inherit eutils flag-o-matic java-pkg-opt-2 python-single-r1 qt4-r2 versionator toolchain-funcs cmake-utils + +# Short package version +SPV="$(get_version_component_range 1-2)" + +DESCRIPTION="The Visualization Toolkit" +HOMEPAGE="http://www.vtk.org/" +SRC_URI=" + http://www.${PN}.org/files/release/${SPV}/${P/_rc/.rc}.tar.gz + doc? ( http://www.${PN}.org/files/release/${SPV}/${PN}DocHtml-${PV}.tar.gz ) + examples? ( http://www.${PN}.org/files/release/${SPV}/${PN}data-${PV}.tar.gz )" + +LICENSE="BSD LGPL-2" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +SLOT="0" +IUSE=" + boost chemistry cg doc examples ffmpeg java mpi mysql odbc offscreen + patented postgres python qt4 R test theora threads tk + video_cards_nvidia X" + +REQUIRED_USE=" + python? ( ${PYTHON_REQUIRED_USE} ) + ^^ ( X offscreen )" + +RDEPEND=" + dev-libs/expat + dev-libs/libxml2:2 + media-libs/freetype + media-libs/libpng + media-libs/mesa + media-libs/tiff + sci-libs/hdf5 + sys-libs/zlib + virtual/jpeg + virtual/opengl + x11-libs/gl2ps + x11-libs/libX11 + x11-libs/libXmu + x11-libs/libXt + cg? ( media-gfx/nvidia-cg-toolkit ) + examples? ( + dev-qt/qtcore:4[qt3support] + dev-qt/qtgui:4[qt3support] ) + ffmpeg? ( virtual/ffmpeg ) + java? ( >=virtual/jre-1.5 ) + mpi? ( virtual/mpi[cxx,romio] ) + mysql? ( virtual/mysql ) + odbc? ( dev-db/unixODBC ) + offscreen? ( media-libs/mesa[osmesa] ) + postgres? ( dev-db/postgresql-base ) + python? ( + ${PYTHON_DEPS} + dev-python/sip[${PYTHON_USEDEP}] ) + qt4? ( + dev-qt/qtcore:4 + dev-qt/qtgui:4 + dev-qt/qtopengl:4 + dev-qt/qtsql:4 + dev-qt/qtwebkit:4 + python? ( dev-python/PyQt4[${PYTHON_USEDEP}] ) + ) + tk? ( dev-lang/tk ) + theora? ( media-libs/libtheora ) + tk? ( dev-lang/tk ) + video_cards_nvidia? ( media-video/nvidia-settings ) + R? ( dev-lang/R )" +DEPEND="${RDEPEND} + boost? ( >=dev-libs/boost-1.40.0[mpi?] ) + doc? ( app-doc/doxygen ) + java? ( >=virtual/jdk-1.5 ) + dev-util/cmake" + +S="${WORKDIR}"/VTK${PV/_rc/.rc} + +PATCHES=( + "${FILESDIR}"/${P}-cg-path.patch + ) + +pkg_setup() { + echo + einfo "Please note that the VTK build occasionally fails when" + einfo "using parallel make. Hence, if you experience a build" + einfo "failure please try re-emerging with MAKEOPTS=\"-j1\" first." + echo + + java-pkg-opt-2_pkg_setup + + use python && python-single-r1_pkg_setup + append-cppflags -D__STDC_CONSTANT_MACROS +} + +src_prepare() { + cmake-utils_src_prepare +} + +src_configure() { + # general configuration + local mycmakeargs=( + -Wno-dev +# -DVTK_INSTALL_PACKAGE_DIR=/$(get_libdir)/${PN}-${SPV} + -DCMAKE_SKIP_RPATH=YES + -DVTK_DIR="${S}" + -DVTK_INSTALL_LIBRARY_DIR=$(get_libdir) + -DVTK_DATA_ROOT:PATH="${EPREFIX}/usr/share/${PN}/data" + -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" + -DBUILD_SHARED_LIBS=ON + -DVTK_USE_SYSTEM_EXPAT=ON + -DVTK_USE_SYSTEM_FreeType=ON + -DVTK_USE_SYSTEM_GL2PS=ON + -DVTK_USE_SYSTEM_HDF5=ON + -DVTK_USE_SYSTEM_JPEG=ON +# -DVTK_USE_SYSTEM_LIBPROJ4=ON + -DVTK_USE_SYSTEM_LibXml2=ON + -DVTK_USE_SYSTEM_PNG=ON + -DVTK_USE_SYSTEM_TIFF=ON + -DVTK_USE_SYSTEM_ZLIB=ON +# -DVTK_USE_SYSTEM_xdmf2=ON + -DHDF5_LIBRARY="${EPREFIX}/usr/$(get_libdir)" + -DHDF5_INCLUDE_DIRS="${EPREFIX}/usr/include" + -DBUILD_TESTING=OFF + -DBUILD_EXAMPLES=OFF + -DVTK_USE_HYBRID=ON + -DVTK_USE_GL2PS=ON + -DVTK_USE_RENDERING=ON + ) + + # use flag triggered options + mycmakeargs+=( + $(cmake-utils_use boost VTK_USE_BOOST) + $(cmake-utils_use cg VTK_USE_CG_SHADERS) + $(cmake-utils_use chemistry VTK_USE_CHEMISTRY) + $(cmake-utils_use doc DOCUMENTATION_HTML_HELP) + $(cmake-utils_use_build doc DOCUMENTATION) + $(cmake-utils_use java VTK_USE_JAVA) + $(cmake-utils_use mpi VTK_USE_MPI) + $(cmake-utils_use mysql VTK_USE_MYSQL) + $(cmake-utils_use patented VTK_USE_PATENTED) + $(cmake-utils_use postgres VTK_USE_POSTGRES) + $(cmake-utils_use odbc VTK_USE_ODBC) + $(cmake-utils_use offscreen VTK_OPENGL_HAS_OSMESA) + $(cmake-utils_use offscreen VTK_OPENGL_HAS_OSMESA) + $(cmake-utils_use qt4 VTK_USE_QT) + $(cmake-utils_use theora VTK_USE_OGGTHEORA_ENCODER) + $(cmake-utils_use ffmpeg VTK_USE_FFMPEG_ENCODER) + $(cmake-utils_use tk VTK_USE_TK) + $(cmake-utils_use threads VTK_USE_PARALLEL) + $(cmake-utils_use video_cards_nvidia VTK_USE_NVCONTROL) + $(cmake-utils_use X VTK_USE_X) + $(cmake-utils_use X VTK_USE_GUISUPPORT) + $(cmake-utils_use R VTK_USE_GNU_R) + ) + + use tk && + mycmakeargs+=( + -DVTK_WRAP_TCL=ON + -DVTK_WRAP_TK=ON + -DVTK_TCL_INCLUDE_DIR="${EPREFIX}/usr/include" + -DVTK_TCL_LIBRARY="${EPREFIX}/usr/$(get_libdir)" + -DVTK_TK_INCLUDE_DIR="${EPREFIX}/usr/include" + -DVTK_TK_LIBRARY="${EPREFIX}/usr/$(get_libdir)" + -DVTK_INSTALL_TCL_DIR="$(get_libdir)" + ) + + use theora && mycmakeargs+=( -DVTK_USE_SYSTEM_OGGTHEORA=ON ) + + # mpi needs the parallel framework + if use mpi && use !threads; then + mycmakeargs+=( -DVTK_USE_PARALLEL=ON ) + fi + + if use java; then + mycmakeargs+=( + -DVTK_WRAP_JAVA=ON + -DJAVA_AWT_INCLUDE_PATH=`java-config -O`/include + -DJAVA_INCLUDE_PATH:PATH=`java-config -O`/include + -DJAVA_INCLUDE_PATH2:PATH=`java-config -O`/include/linux + ) + + if [ "${ARCH}" == "amd64" ]; then + mycmakeargs+=(-DJAVA_AWT_LIBRARY=`java-config -O`/jre/lib/${ARCH}/libjawt.so) + else + mycmakeargs+=(-DJAVA_AWT_LIBRARY:PATH=`java-config -O`/jre/lib/i386/libjawt.so) + fi + fi + + if use python; then + mycmakeargs+=( + -DPYTHON_INCLUDE_DIR="$(python_get_includedir)" + -DPYTHON_LIBRARY="$(python_get_library_path)" + -DVTK_WRAP_PYTHON=ON + -DVTK_WRAP_PYTHON_SIP=ON + -DSIP_PYQT_DIR="${EPREFIX}/usr/share/sip" + -DSIP_INCLUDE_DIR="$(python_get_includedir)" + -DVTK_PYTHON_INCLUDE_DIR="$(python_get_includedir)" + -DVTK_PYTHON_LIBRARY="$(python_get_library_path)" + -DVTK_PYTHON_SETUP_ARGS:STRING=--root="${D}") + fi + + if use qt4 ; then + mycmakeargs+=( + -DVTK_USE_GUISUPPORT=ON + -DVTK_USE_QVTK=ON + -DVTK_USE_QVTK_OPENGL=ON + -DVTK_USE_QVTK_QTOPENGL=ON + -DQT_WRAP_CPP=ON + -DQT_WRAP_UI=ON + -DVTK_INSTALL_QT_DIR=/$(get_libdir)/qt4/plugins/${PN} + -DDESIRED_QT_VERSION=4 + -DQT_MOC_EXECUTABLE="${EPREFIX}/usr/bin/moc" + -DQT_UIC_EXECUTABLE="${EPREFIX}/usr/bin/uic" + -DQT_INCLUDE_DIR="${EPREFIX}/usr/include/qt4" + -DQT_QMAKE_EXECUTABLE="${EPREFIX}/usr/bin/qmake") + fi + + cmake-utils_src_configure + + cat >> "${BUILD_DIR}"/Utilities/MaterialLibrary/ProcessShader.sh <<- EOF + #!${EPREFIX}/bin/bash + + export LD_LIBRARY_PATH="${BUILD_DIR}"/lib + "${BUILD_DIR}"/bin/vtkProcessShader-${SPV} \$@ + EOF + chmod 750 "${BUILD_DIR}"/Utilities/MaterialLibrary/ProcessShader.sh || die +} + +src_install() { + # install docs + HTML_DOCS=( "${S}"/README.html ) + + cmake-utils_src_install + + # install Tcl docs + docinto vtk_tcl + dodoc "${S}"/Wrapping/Tcl/README + + # install examples + if use examples; then + insinto /usr/share/${PN} + mv -v Examples examples || die + doins -r examples + mv -v "${WORKDIR}"/{VTKDATA${PV},data} || die + doins -r "${WORKDIR}"/data + fi + + #install big docs + if use doc; then + 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 ./* + fi + + # environment + cat >> "${T}"/40${PN} <<- EOF + VTK_DATA_ROOT=${EPREFIX}/usr/share/${PN}/data + VTK_DIR=${EPREFIX}/usr/$(get_libdir)/${PN}-${SPV} + VTKHOME=${EPREFIX}/usr + EOF + doenvd "${T}"/40${PN} +} + +pkg_postinst() { + if use patented; then + ewarn "Using patented code in VTK may require a license." + ewarn "For more information, please read:" + ewarn "http://public.kitware.com/cgi-bin/vtkfaq?req=show&file=faq07.005.htp" + fi +} |