summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-visualization/paraview/Manifest42
-rw-r--r--sci-visualization/paraview/paraview-3.10.1.ebuild214
-rw-r--r--sci-visualization/paraview/paraview-3.12.0.ebuild214
-rw-r--r--sci-visualization/paraview/paraview-3.6.2.ebuild266
4 files changed, 17 insertions, 719 deletions
diff --git a/sci-visualization/paraview/Manifest b/sci-visualization/paraview/Manifest
index 200fb5d..10bab10 100644
--- a/sci-visualization/paraview/Manifest
+++ b/sci-visualization/paraview/Manifest
@@ -1,25 +1,17 @@
-AUX paraview-3.10.1-gcc46.patch 513 RMD160 d9a1a8d7ce2746d376c645e020df0024fa4b266b SHA1 a8684f5e8c07726b903eec9441dfa211a6a01ed2 SHA256 23416471150decc89294dc4c24294d2204ef570c2d79466634079f14014ba1c8
-AUX paraview-3.12.0-gcc46.patch 222 RMD160 826d7ac0af6c1f77b8c07f874aa19eb3b27cd851 SHA1 60d34394713660991004cf82b8221e85a1192b18 SHA256 7ca50134a116dd8dd7d346558bce5f87fcc84c29914e35cdb3fd286f502d4054
-AUX paraview-3.12.0-protobuf.patch 2583 RMD160 8ee0d31234c0254cdee5f9efff5cfae8ee841604 SHA1 d5d8ccf3af2596ca9d11e0de2104be0f34ce0248 SHA256 2659289ba540fd4c2b80b25456b1e4fc15e606d2ac54c9aea57ec3cac4689cf6
-AUX paraview-3.14.0-xdmf-bc.patch 658 RMD160 4feff46704e633b0cd5bc614b3ecce83837cbaa6 SHA1 e51667cbafdbef63eec5c56f07fb13255c3149c5 SHA256 08abe3c15b0517f1ae85c12e6c05cc76f427e0313a845ffc3976a410cc7eaa92
-AUX paraview-3.14.0-xdmf-cstring.patch 353 RMD160 3866f7d3ea997099b566386956aa69bde0e649d7 SHA1 35ba74274fe5dda3f8d905d602bd14658fdb2e9d SHA256 293395de913fa0fe6540e47bf8ab8daa4917e2c1c1858790f1f50104acaaaa4d
-AUX paraview-3.8.0-h5part.patch 467 RMD160 bd34e8bf02a1855dcfeabdc77cac39bd78a41492 SHA1 8416ef8a782425624b04c28c379d383e8f924c44 SHA256 ea46a024d8cb398c93dabee22ac2bef66af3771477811551275bfa85a765cc3f
-AUX paraview-3.8.0-installpath.patch 1554 RMD160 c998ba929f32892191161a9ead0572e2afbef817 SHA1 41cc9dc5d83bc67290653997145fe9e1b45411c6 SHA256 b57a10a4a2e299385c581231173e4b2c67a0367cf7d8ce1ca618db4c370a9550
-AUX paraview-3.8.0-pointsprite-example-install.patch 400 RMD160 e7e027393025767748844b13f32499134afd3ef1 SHA1 0a78a35d6f51cefe885b79438a94e655eab562f4 SHA256 217b1f02199fef668201ccc78d2db3fce50730123946b992567f1a925ef764dd
-AUX paraview-3.8.0-pointsprite-example.patch 1161 RMD160 638e9e734828d42a3b6b5595054254582f0e00ce SHA1 9b985c9ded10b6e3bd6101e51a000176926eada5 SHA256 0da9a9a341b9001af792675bc09eb065fae5b99763306301c9904ba7d228e6fd
-AUX paraview-3.8.0-xdmf-bc.patch 654 RMD160 cc167eadad9e1fafa0495a8fdb231663127d2c42 SHA1 66aa212ef17dd897bf663e423b0eeff96919dab7 SHA256 7cd130d6a4d0dd9021b1004d100728c284e656897cf98a0373960c19470d6619
-AUX paraview-3.8.0-xdmf-cstring.patch 353 RMD160 3866f7d3ea997099b566386956aa69bde0e649d7 SHA1 35ba74274fe5dda3f8d905d602bd14658fdb2e9d SHA256 293395de913fa0fe6540e47bf8ab8daa4917e2c1c1858790f1f50104acaaaa4d
-AUX vtk-5.6.0-cg-path.patch 1106 RMD160 a6cb9f4855dfe417d83e7bba04a02da88af869a6 SHA1 fa5afd4b1a943f255e2f20fa35f440518f9d9d95 SHA256 7ad4eb9a82664a2e9c51d8763e594634027051b54ce48bb1c2fca6d1a42635c9
-AUX vtk-5.6.0-libpng14.patch 734 RMD160 d54626d332130fe242b3a5b1300a650e45763d29 SHA1 e6480b68a14345d7dfa78f6d37ff7301366d99d8 SHA256 81565709c8cfb4df3c28d69df8094d15923d824345330ab5ba101a9780e6e9f9
-DIST ParaView-3.10.1.tar.gz 40696006 RMD160 411087473102ee9d2daf7dd8b61390b4b120645e SHA1 2e56788c9d27f83b5400ffb3770024cf04fa0e4c SHA256 453deee23b6fa62ecb010d951adbc49e740dcb8875680725f93b8f76b9df5cfc
-DIST ParaView-3.12.0.tar.gz 37510144 SHA256 357a8cc27d4c8fb40ec9f508000edaa802e2a8528bfc61564e2d0bb033041658 SHA512 20f844b75e1a4f8581e213d24ddeefe2404676f86368506c6bf76f1d68cf4d757f137119c8ace16dd322d8411f3b4f8e2201857aee0ec5c483d369040ac896c0 WHIRLPOOL 70f2019fbbd588a2d344ee4ea7a62a69c1cf09f49b8a470c47c622b775c8b898ca7ffea48333c8f02c314ca9afaabf3bb316f86202c3f56a650d748932164d75
-DIST ParaView-3.14.0-Source.tar.gz 42748299 RMD160 b94ee39a23255f5ddcdd5b20f57b3195c37f9c2a SHA1 7f9361241fdbe2b1e534e10f6e79c35317a174b0 SHA256 bba70e982c11a18f5519da99be44698014bea6c59fac29d268ac5f62e6471b99
-DIST paraview-3.6.2-openfoam-gpl-r173.patch.bz2 3402 RMD160 2ceb036486b2757eeeed8eae36593be2a70a3a36 SHA1 ea2ac1f92b529973164469c5fc3fdbc0407f8ccd SHA256 3e8751f7747a0067b8532d399a4dc253c71ce50d39fc3b17d38e16060196fc99
-DIST paraview-3.6.2-openfoam-r173.patch.bz2 54275 RMD160 930785f07883a2fc952569a2908600d911627b24 SHA1 ca255ec222e9f8884f4e090df8e860946246b249 SHA256 87c62931de1484dd71fe2f1b36eafdb85eb27127cb42825819a67730118ae6ce
-DIST paraview-3.6.2.tar.gz 28323172 RMD160 0f14419100d6d7fd7cc0ca3d385da41397a96da8 SHA1 5a2fad2bd2eaa39dbcbd3f592edfaedb780f63ff SHA256 062f581a6f3fda5cead647fb32b0fab6d9bb3be38aace5e4080dab38a9eaea04
-EBUILD paraview-3.10.1.ebuild 6954 RMD160 eedabe8b1082ebb985000a34f37b8f6c73796cea SHA1 536a4802334341d35d976e6bcc7c33664b851950 SHA256 914d515c4b0d260ca146abe30db0a8dabcc97f30aac6da0db3ac56d1ec10d8d1
-EBUILD paraview-3.12.0.ebuild 7048 RMD160 626b95ad0b25c020ec5b854ed086a2b923e41425 SHA1 cce6c36a813a6cfa194bfb348561b94300913ad8 SHA256 5d9edc1ace302cf3c9b3aae34de0cf814cbef1c6bcde9e5e45cfb7233d28fda9
-EBUILD paraview-3.14.0.ebuild 7084 RMD160 148d9b5779f0a12f0c4cd41a4b18a0c866913ee2 SHA1 331dcf4467e2f263e9a69b4271d8df606b42ff96 SHA256 4b5e406e0949964d09ca69e9b6fd5441b1ce09fd1112e4493058425c8a76d05a
-EBUILD paraview-3.6.2.ebuild 9705 RMD160 8a610df24e4ad53811bdfe609f6f17c770baab47 SHA1 8e0d699ed19bf43efe4e23ee2d2d55ccf4bd5fb9 SHA256 515516233b347d86c5791aeb302d27358380b71a9f10d906050aa03c99fafb8e
-MISC ChangeLog 3877 RMD160 ea109e5345d913524c5578c0ea46f41ac5f340bf SHA1 a0c6693cff1afc3dd768fedddd46a2788707c1d3 SHA256 f2bb252221e4ca913fefe5190b8f55ce75af8ce7740b5b37909a195868f60d68
-MISC metadata.xml 950 RMD160 c31469cf0db7ca580755c14009f908d6565d51f4 SHA1 15cbb4baf359733798024dc0981b62bbdbb2f1d5 SHA256 53ae79f946aece3cecc1b960c933967abcc85190c48e7a2b66c43ec4db824fc6
+AUX paraview-3.10.1-gcc46.patch 513 SHA256 23416471150decc89294dc4c24294d2204ef570c2d79466634079f14014ba1c8 SHA512 810e98b29d76ce45d8071902a92623a96af35fec96934273bcc30348053b56686025230cb24a69b51a0b704c25f4e40ed15548c23c0414d692b8024290c97d07 WHIRLPOOL f9699d37e2fa5f8fb5b887f5d2dac19e5d35cbc9f6f379bb97c8f547aa5c07f174efc8d4ee396a89d9df94e58a7a26375e9e4e40dc97a5d1beb06294f79b5a1e
+AUX paraview-3.12.0-gcc46.patch 222 SHA256 7ca50134a116dd8dd7d346558bce5f87fcc84c29914e35cdb3fd286f502d4054 SHA512 4f3fef17377aeba8c09d180949978c40599e6f0e5655e87c7a4b1ba3a14cef188860fbe845fc406e44a6636416fb7738f860c944f114fc31fbfae19dd47b7a5c WHIRLPOOL bfe60b0eb48fd5d710d8e42f73d1a8d07e9b97abb748f49360aac005512eb904c054afc11e915f1fd3ff585a410634683a8bb2864b1c5c9304e61a29719df16c
+AUX paraview-3.12.0-protobuf.patch 2583 SHA256 2659289ba540fd4c2b80b25456b1e4fc15e606d2ac54c9aea57ec3cac4689cf6 SHA512 d28a62b93df55f1ac80d18ff6fe92a08c58f60dd9f649683876be477a4a72b2495d77c896d3785e976f37b381d9a7a13860138c63e59e44bfdee9e3d7ca64dc8 WHIRLPOOL 9a98bd3ab19891cfef0f16a4c2e9072b0232aaf94f17e99b688bd862183d8573c0622ced01b484cf9c186862e6114cb9d26266d7f9f211c67e66d2c389fdc98f
+AUX paraview-3.14.0-xdmf-bc.patch 658 SHA256 08abe3c15b0517f1ae85c12e6c05cc76f427e0313a845ffc3976a410cc7eaa92 SHA512 e5dc8c8462dbec3eaab9c446dda22cded46bf8e0338efe5ce698b6f93e15c235527f59fa2c2894bdcb99fbd2d7de0233566aca048c0237029bc6eb5424e9f122 WHIRLPOOL 4b3db95fa8432549be2ef96fa41e03f42365160774a01694dfabf7595bfd16464c55947219c12de26782d44d8072a95ae011dd88cae93def76bb77753b548aab
+AUX paraview-3.14.0-xdmf-cstring.patch 353 SHA256 293395de913fa0fe6540e47bf8ab8daa4917e2c1c1858790f1f50104acaaaa4d SHA512 36d673f3ef315aa3ade46f0b49a2a364ccf3611b46bae244aaf60eadb58655c7fc02c542fa3e1e5f6d8c9a6ac169a30ef9a93c6b069787b3be5ea6fc6f5b06ff WHIRLPOOL 7b289bb4ecc8144f9910f302a1b1f6b09c3869e2937f8d094c78e4b134c10aac743ded7b1c79a4eda4257283172afd16bd4713571ecaf8fe2085f39ddda9b2d5
+AUX paraview-3.8.0-h5part.patch 467 SHA256 ea46a024d8cb398c93dabee22ac2bef66af3771477811551275bfa85a765cc3f SHA512 7a1e4054926cafe6f4b0ec523f88fae8f9c0a8e24fffbae1941bf9ef2e73f3fc1a82716b545f61cb8d33f1b95b2fbd31d3d253b9df3edd1572a7139cf66d5ffe WHIRLPOOL c253fbd98ea13759d6567a3c43ae527029d0871ae0c9d207310f5a5092663f08ee9c7d5abda0d300de14157be0991ae918336f5aad9a3020e28ee61621d8d703
+AUX paraview-3.8.0-installpath.patch 1554 SHA256 b57a10a4a2e299385c581231173e4b2c67a0367cf7d8ce1ca618db4c370a9550 SHA512 b585d3c95175d7e1f4518141019daeb8510d0faa9d05c49965d6828a87f844c82f825e5e38971bd2a5becdd593f9f8cccb7a535ef66c9ae44f163438af533170 WHIRLPOOL 521bf403f03528d404b7ba128c2e41a64b30907af8cb936c88af80b8f5d278115352b950b17045a5340ebdae7b4b5c8ca3d5b6fbfc88ffdd8571508109b3a4c5
+AUX paraview-3.8.0-pointsprite-example-install.patch 400 SHA256 217b1f02199fef668201ccc78d2db3fce50730123946b992567f1a925ef764dd SHA512 dffb57ca332de41bbc15c95a26adaa8f05dc29a4f99bb27ca05eec906485f0c62e814eaff985d9270bf89fc18c2b2e73afb11c7adc4ef54ef7fe353c0577156c WHIRLPOOL ce65eda66bd8321a70d17266c71b3c381fd2f078fd09bc5dcfff78bbc7aebff33209bfd4f4c621d1485375a3dc7cacde40a5dab4a8f2f006879165ca6bb4de8a
+AUX paraview-3.8.0-pointsprite-example.patch 1161 SHA256 0da9a9a341b9001af792675bc09eb065fae5b99763306301c9904ba7d228e6fd SHA512 441caa60dbaed8181b43072bb0d68064362514eed15f4e52cfd1f5e3049e056e593d12baa896a47a00c495ede69fda278c15002fc76a1375aba211598e6e7681 WHIRLPOOL 46c35a2f4b3cc8d053db0431c01e4b0afda4fb7b426bb4bc359d473c16ec247cb677c328682ac84b179e54b2d6c8a63ecc21bdf12e541efd7aeab8907ef16c5d
+AUX paraview-3.8.0-xdmf-bc.patch 654 SHA256 7cd130d6a4d0dd9021b1004d100728c284e656897cf98a0373960c19470d6619 SHA512 eaf6602c33b7d72b8d7b82448b1ce06345f006b31b0253f652bb215ae4f9c38d93b860f8567100222ff624a79139365d1467daaac568de00ea672a4cfcaf6059 WHIRLPOOL 9755e17ef92a2b17f4a354f45b82005eda62e2214db8244b17b359d8cd3f18d074f771cfbb4dd60b8b8fdcd5abd51cc18d3abdea927226e4bd64bdc0555fd859
+AUX paraview-3.8.0-xdmf-cstring.patch 353 SHA256 293395de913fa0fe6540e47bf8ab8daa4917e2c1c1858790f1f50104acaaaa4d SHA512 36d673f3ef315aa3ade46f0b49a2a364ccf3611b46bae244aaf60eadb58655c7fc02c542fa3e1e5f6d8c9a6ac169a30ef9a93c6b069787b3be5ea6fc6f5b06ff WHIRLPOOL 7b289bb4ecc8144f9910f302a1b1f6b09c3869e2937f8d094c78e4b134c10aac743ded7b1c79a4eda4257283172afd16bd4713571ecaf8fe2085f39ddda9b2d5
+AUX vtk-5.6.0-cg-path.patch 1106 SHA256 7ad4eb9a82664a2e9c51d8763e594634027051b54ce48bb1c2fca6d1a42635c9 SHA512 373443b354559f6b9b4ed1c1167bdab42194a33c48240853d12b84deb7a8e51e96d6dddaaa60f2198c4344a9fb73e4c97a6e84f27cdb70807d49bb2370cfa485 WHIRLPOOL bd4c58e2e9ac8d3c542450eda64a20f5f213fce7e574ac0c4dd1c1b9671c1a9a3a3ff2a3fe7be6ff5a429dad43ef8093dc8c9480006babea73cf0a949d7dd734
+AUX vtk-5.6.0-libpng14.patch 734 SHA256 81565709c8cfb4df3c28d69df8094d15923d824345330ab5ba101a9780e6e9f9 SHA512 48e08260c22596f04e25e245021fb9e863e1422c3f32a1c78c971744d952b9561125c9a551b1c41dfd866c99b4bafab2df3bf3a9afabfe85c5fcab76ce9e629c WHIRLPOOL 5d9d8578e40dbebdbbecc260657e7028cc11c23bdbfe51918fa8efecbc9981c63e81b6b61839774c2e1fe5ea511a1663a3884f67aaef7c67c7b37a4d33cf70c2
+DIST ParaView-3.14.0-Source.tar.gz 42748299 SHA256 bba70e982c11a18f5519da99be44698014bea6c59fac29d268ac5f62e6471b99
+EBUILD paraview-3.14.0.ebuild 7084 SHA256 4b5e406e0949964d09ca69e9b6fd5441b1ce09fd1112e4493058425c8a76d05a SHA512 d1fb34a145d03042c7b90a6b60dc467cef0131e90b2c09ff8f8de17a38d02613a0a0d0dbbad544f45b7a193c2eaef26a168e2a7911bc05ad8236d66fc40d6b43 WHIRLPOOL 0553276b60d55c6785eb1c7756c32d4c46234238d8262350f0911a34e3bb1bc62dd49b6e984d9b325b4bfb216fd0df109f1e9b6c886b53be907dcbf2341d3f10
+MISC ChangeLog 3877 SHA256 f2bb252221e4ca913fefe5190b8f55ce75af8ce7740b5b37909a195868f60d68 SHA512 23492cf9490ee28a277f8e05543f402d141f93d1d67693b278479d30862ec0db850b3abed8392ddd57a00e4c4e0e98b6bb3882ffb9812236a7b888248ca72eb9 WHIRLPOOL 4e305627c624b101000055ad5d8850b62dc3cd68e30913a3d75c6565da061087eabe053f522231304e7b5e50fc7d0e7a248d4882516be4f77b94ccd931d5098e
+MISC metadata.xml 950 SHA256 53ae79f946aece3cecc1b960c933967abcc85190c48e7a2b66c43ec4db824fc6 SHA512 556e9e58c4d3122fcc16750af924151b15df68ab23c11571629ee1a7ca024cc852078d01a3ddab77177049fad720a0b0af37940811e373bb57b76b261de5e053 WHIRLPOOL db3244015d490549c34e20e2a6d2e82b5cb0d56a4fb2b3e8a07eb3fc5b0a1045d5670b3e4d36b4458b7411a9002f1d69c78a533b874f16f67710ee5a6f10ec0b
diff --git a/sci-visualization/paraview/paraview-3.10.1.ebuild b/sci-visualization/paraview/paraview-3.10.1.ebuild
deleted file mode 100644
index 4dd9f3a..0000000
--- a/sci-visualization/paraview/paraview-3.10.1.ebuild
+++ /dev/null
@@ -1,214 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=2
-
-PYTHON_DEPEND="python? 2:2.6"
-
-inherit cmake-utils eutils flag-o-matic multilib python qt4-r2 toolchain-funcs versionator
-
-MAIN_PV=$(get_major_version)
-MAJOR_PV=$(get_version_component_range 1-2)
-MY_P="ParaView-${PV}"
-
-DESCRIPTION="ParaView is a powerful scientific data visualization application"
-HOMEPAGE="http://www.paraview.org"
-SRC_URI="http://www.paraview.org/files/v${MAJOR_PV}/${MY_P}.tar.gz"
-RESTRICT="mirror"
-
-LICENSE="paraview GPL-2"
-KEYWORDS="~x86 ~amd64"
-SLOT="0"
-IUSE="adaptive cg -coprocessing doc examples +gui mpi mysql nvcontrol plugins +python streaming webkit"
-
-RDEPEND="
- sci-libs/hdf5[mpi=]
- mpi? ( virtual/mpi[cxx,romio] )
- gui? (
- x11-libs/qt-gui:4
- x11-libs/qt-qt3support:4
- x11-libs/qt-opengl:4
- || ( >=x11-libs/qt-assistant-4.7.0:4[compat] <x11-libs/qt-assistant-4.7.0:4 )
- x11-libs/qt-sql:4
- webkit? ( x11-libs/qt-webkit:4 ) )
- adaptive? (
- x11-libs/qt-gui:4
- x11-libs/qt-qt3support:4
- x11-libs/qt-opengl:4
- x11-libs/qt-assistant:4
- webkit? ( x11-libs/qt-webkit:4 ) )
- mysql? ( virtual/mysql )
- coprocessing? ( plugins? ( x11-libs/qt-gui:4 ) )
- python? (
- dev-python/sip
- dev-python/PyQt4
- )
- dev-libs/libxml2:2
- media-libs/libpng
- virtual/jpeg
- media-libs/tiff
- dev-libs/expat
- sys-libs/zlib
- media-libs/freetype
- >=app-admin/eselect-opengl-1.0.6-r1
- virtual/opengl
- sci-libs/netcdf
- x11-libs/libXmu"
-DEPEND="${RDEPEND}
- doc? ( app-doc/doxygen )
- >=dev-util/cmake-2.6.4"
-
-PVLIBDIR=$(get_libdir)/${PN}-${MAJOR_PV}
-S=${WORKDIR}/${MY_P}
-
-pkg_setup() {
- use python && python_set_active_version 2
-}
-
-src_prepare() {
- # gcc header fix
- epatch "${FILESDIR}"/${PN}-3.8.0-xdmf-cstring.patch
- # disable automatic byte compiling that act directly on the live system
- epatch "${FILESDIR}"/${PN}-3.8.0-xdmf-bc.patch
- # Install properly pointspritedemo without duplicate DESTDIR
- epatch "${FILESDIR}"/${PN}-3.8.0-pointsprite-example-install.patch
- # mpi + hdf5 fix
- #epatch "${FILESDIR}"/${PN}-3.8.0-h5part.patch
- # gcc fix for vtk
- epatch "${FILESDIR}"/${P}-gcc46.patch
-
- # lib64 fixes
- sed -i "s:/usr/lib:/usr/$(get_libdir):g" \
- Utilities/Xdmf2/libsrc/CMakeLists.txt || die
- sed -i "s:\/lib\/python:\/$(get_libdir)\/python:g" \
- Utilities/Xdmf2/CMake/setup_install_paths.py || die
-
- # Install internal vtk binaries inside /usr/${PVLIBDIR}
- sed -e 's:VTK_INSTALL_BIN_DIR \"/${PV_INSTALL_BIN_DIR}\":VTK_INSTALL_BIN_DIR \"/${PV_INSTALL_LIB_DIR}\":' \
- -i CMake/ParaViewCommon.cmake || die "failed to patch vtk install location"
-
- cd VTK
- epatch "${FILESDIR}"/vtk-5.6.0-cg-path.patch
-
- # help vtk to find PyQT4 sip if required
- sed -e 's:/usr/share/sip/PyQt4:/usr/share/sip:' \
- -i GUISupport/Qt/CMakeLists.txt
-}
-
-src_configure() {
- mycmakeargs=(
- -DPV_INSTALL_LIB_DIR="${PVLIBDIR}"
- -DCMAKE_INSTALL_PREFIX=/usr
- -DPV_INSTALL_DOC_DIR="/usr/share/doc/${PF}"
- -DEXPAT_INCLUDE_DIR=/usr/include
- -DEXPAT_LIBRARY=/usr/$(get_libdir)/libexpat.so
- -DOPENGL_gl_LIBRARY=/usr/$(get_libdir)/libGL.so
- -DOPENGL_glu_LIBRARY=/usr/$(get_libdir)/libGLU.so
- -DCMAKE_SKIP_RPATH=YES
- -DVTK_USE_RPATH=OFF
- -DBUILD_SHARED_LIBS=ON
- -DVTK_USE_SYSTEM_FREETYPE=ON
- -DVTK_USE_SYSTEM_JPEG=ON
- -DVTK_USE_SYSTEM_PNG=ON
- -DVTK_USE_SYSTEM_TIFF=ON
- -DVTK_USE_SYSTEM_ZLIB=ON
- -DVTK_USE_SYSTEM_EXPAT=ON
- -DPARAVIEW_USE_SYSTEM_HDF5=ON
- -DCMAKE_VERBOSE_MAKEFILE=ON
- -DCMAKE_COLOR_MAKEFILE=TRUE
- -DVTK_USE_SYSTEM_LIBXML2=ON
- -DVTK_USE_OFFSCREEN=TRUE
- -DCMAKE_USE_PTHREADS=ON
- -DBUILD_TESTING=OFF
- -DVTK_USE_FFMPEG_ENCODER=OFF
- -DPARAVIEW_INSTALL_THIRD_PARTY_LIBRARIES=OFF)
-
- # use flag triggered options
- mycmakeargs+=(
- $(cmake-utils_use gui PARAVIEW_BUILD_QT_GUI)
- $(cmake-utils_use gui VTK_USE_QVTK)
- $(cmake-utils_use gui VTK_USE_QVTK_QTOPENGL)
- $(cmake-utils_use mpi PARAVIEW_USE_MPI)
- $(cmake-utils_use mpi PARAVIEW_USE_MPI_SSEND)
- $(cmake-utils_use python PARAVIEW_ENABLE_PYTHON)
- $(cmake-utils_use python VTK_WRAP_PYTHON_SIP)
- $(cmake-utils_use python XDMF_WRAP_PYTHON)
- $(cmake-utils_use doc BUILD_DOCUMENTATION)
- $(cmake-utils_use examples BUILD_EXAMPLES)
- $(cmake-utils_use cg VTK_USE_CG_SHADERS)
- $(cmake-utils_use nvcontrol VTK_USE_NVCONTROL)
- $(cmake-utils_use adaptive PARAVIEW_BUILD_AdaptiveParaView)
- $(cmake-utils_use streaming PARAVIEW_BUILD_StreamingParaView)
- $(cmake-utils_use mysql XDMF_USE_MYSQL)
- $(cmake-utils_use coprocessing PARAVIEW_ENABLE_COPROCESSING))
-
- if ( use gui || use adaptive ); then
- mycmakeargs+=(-DVTK_INSTALL_QT_DIR=/${PVLIBDIR}/plugins/designer
- $(cmake-utils_use webkit VTK_QT_USE_WEBKIT))
- if use python ; then
- # paraview cannot guess sip directory right probably because a path is not propagated properly
- mycmakeargs+=(-DSIP_INCLUDE_DIR=$(python_get_includedir))
- fi
- fi
-
- # the rest of the plugins
- mycmakeargs+=(
- $(cmake-utils_use plugins PARAVIEW_INSTALL_DEVELOPMENT)
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_ClientChartView)
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_CosmoFilters)
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_H5PartReader)
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_Moments)
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_PointSprite)
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_Prism)
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_SLACTools)
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_AnalyzeNIfTIReaderWriter)
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_SurfaceLIC)
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_EyeDomeLighting)
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_ForceTime)
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_SierraPlotTools)
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_StreamingView)
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_VisTrailPlugin))
-
- if use python; then
- mycmakeargs+=($(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_pvblot))
- fi
-
- if use coprocessing; then
- mycmakeargs+=($(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_CoProcessingScriptGenerator))
- fi
-
- cmake-utils_src_configure
-}
-
-src_install() {
- cmake-utils_src_install
-
- # set up the environment
- echo "LDPATH=/usr/${PVLIBDIR}" >> "${T}"/40${PN}
- echo "PYTHONPATH=/usr/${PVLIBDIR}:/usr/${PVLIBDIR}/site-packages" >> "${T}"/40${PN}
- doenvd "${T}"/40${PN}
-
- # last but not least lets make a desktop entry
- newicon "${S}"/Applications/ParaView/pvIcon.png paraview.png \
- || die "Failed to create paraview icon."
- make_desktop_entry paraview "Paraview" paraview \
- || die "Failed to install Paraview desktop entry"
-
-}
-
-pkg_postinst() {
- # with Qt4.5 there seem to be issues reading data files
- # under certain locales. Setting LC_ALL=C should fix these.
- echo
- elog "If you experience data corruption during parsing of"
- elog "data files with paraview please try setting your"
- elog "locale to LC_ALL=C."
- echo
-}
-
-pkg_postrm() {
- if use python ; then
- python_mod_cleanup /usr/$(get_libdir)/"${PN}-${MAJOR_PV}"/site-packages
- fi
-}
diff --git a/sci-visualization/paraview/paraview-3.12.0.ebuild b/sci-visualization/paraview/paraview-3.12.0.ebuild
deleted file mode 100644
index 8f59eff..0000000
--- a/sci-visualization/paraview/paraview-3.12.0.ebuild
+++ /dev/null
@@ -1,214 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=3
-
-PYTHON_DEPEND="python? 2:2.6"
-
-inherit cmake-utils eutils flag-o-matic multilib python qt4-r2 toolchain-funcs versionator
-
-MAIN_PV=$(get_major_version)
-MAJOR_PV=$(get_version_component_range 1-2)
-MY_P="ParaView-${PV}"
-
-DESCRIPTION="ParaView is a powerful scientific data visualization application"
-HOMEPAGE="http://www.paraview.org"
-SRC_URI="http://www.paraview.org/files/v${MAJOR_PV}/${MY_P}.tar.gz"
-RESTRICT="mirror"
-
-LICENSE="paraview GPL-2"
-KEYWORDS="~x86 ~amd64"
-SLOT="0"
-IUSE="adaptive cg -coprocessing doc examples +gui mpi mysql nvcontrol plugins +python streaming webkit"
-
-RDEPEND="
- sci-libs/hdf5[mpi=]
- mpi? ( virtual/mpi[cxx,romio] )
- gui? (
- x11-libs/qt-gui:4
- x11-libs/qt-qt3support:4
- x11-libs/qt-opengl:4
- || ( >=x11-libs/qt-assistant-4.7.0:4[compat] <x11-libs/qt-assistant-4.7.0:4 )
- x11-libs/qt-sql:4
- webkit? ( x11-libs/qt-webkit:4 ) )
- adaptive? (
- x11-libs/qt-gui:4
- x11-libs/qt-qt3support:4
- x11-libs/qt-opengl:4
- x11-libs/qt-assistant:4
- webkit? ( x11-libs/qt-webkit:4 ) )
- mysql? ( virtual/mysql )
- coprocessing? ( plugins? ( x11-libs/qt-gui:4 ) )
- python? (
- dev-python/sip
- dev-python/PyQt4
- )
- dev-libs/libxml2:2
- media-libs/libpng
- virtual/jpeg
- media-libs/tiff
- dev-libs/expat
- sys-libs/zlib
- media-libs/freetype
- >=app-admin/eselect-opengl-1.0.6-r1
- virtual/opengl
- sci-libs/netcdf
- x11-libs/libXmu"
-DEPEND="${RDEPEND}
- doc? ( app-doc/doxygen )
- dev-libs/protobuf
- >=dev-util/cmake-2.6.4"
-
-PVLIBDIR=$(get_libdir)/${PN}-${MAJOR_PV}
-S=${WORKDIR}/${MY_P}
-
-pkg_setup() {
- use python && python_set_active_version 2
-}
-
-src_prepare() {
- # gcc header fix
- epatch "${FILESDIR}"/${PN}-3.8.0-xdmf-cstring.patch
- # disable automatic byte compiling that act directly on the live system
- epatch "${FILESDIR}"/${PN}-3.8.0-xdmf-bc.patch
- # mpi + hdf5 fix
- #epatch "${FILESDIR}"/${PN}-3.8.0-h5part.patch
- # gcc fix for vtk
- epatch "${FILESDIR}"/${P}-gcc46.patch
- # use system provided protobuf and avoid http://paraview.org/Bug/view.php?id=12852
- epatch "${FILESDIR}"/${P}-protobuf.patch
-
- # lib64 fixes
- sed -i "s:/usr/lib:${EPREFIX}/usr/$(get_libdir):g" \
- Utilities/Xdmf2/libsrc/CMakeLists.txt || die
- sed -i "s:\/lib\/python:\/$(get_libdir)\/python:g" \
- Utilities/Xdmf2/CMake/setup_install_paths.py || die
-
- # Install internal vtk binaries inside /usr/${PVLIBDIR}
- sed -e 's:VTK_INSTALL_BIN_DIR \"/${PV_INSTALL_BIN_DIR}\":VTK_INSTALL_BIN_DIR \"/${PV_INSTALL_LIB_DIR}\":' \
- -i CMake/ParaViewCommon.cmake || die "failed to patch vtk install location"
-
- cd VTK
- epatch "${FILESDIR}"/vtk-5.6.0-cg-path.patch
-}
-
-src_configure() {
- mycmakeargs=(
- -DPV_INSTALL_LIB_DIR="${PVLIBDIR}"
- -DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr
- -DPV_INSTALL_DOC_DIR="${EPREFIX}/usr/share/doc/${PF}"
- -DEXPAT_INCLUDE_DIR="${EPREFIX}"/usr/include
- -DEXPAT_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libexpat.so
- -DOPENGL_gl_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGL.so
- -DOPENGL_glu_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGLU.so
- -DCMAKE_SKIP_RPATH=YES
- -DVTK_USE_RPATH=OFF
- -DBUILD_SHARED_LIBS=ON
- -DVTK_USE_SYSTEM_FREETYPE=ON
- -DVTK_USE_SYSTEM_JPEG=ON
- -DVTK_USE_SYSTEM_PNG=ON
- -DVTK_USE_SYSTEM_TIFF=ON
- -DVTK_USE_SYSTEM_ZLIB=ON
- -DVTK_USE_SYSTEM_EXPAT=ON
- -DPARAVIEW_USE_SYSTEM_HDF5=ON
- -DCMAKE_VERBOSE_MAKEFILE=ON
- -DCMAKE_COLOR_MAKEFILE=TRUE
- -DVTK_USE_SYSTEM_LIBXML2=ON
- -DVTK_USE_OFFSCREEN=TRUE
- -DCMAKE_USE_PTHREADS=ON
- -DBUILD_TESTING=OFF
- -DVTK_USE_FFMPEG_ENCODER=OFF
- -DPARAVIEW_INSTALL_THIRD_PARTY_LIBRARIES=OFF
- -DSYSTEM_PB=$(which protoc))
-
- # use flag triggered options
- mycmakeargs+=(
- $(cmake-utils_use gui PARAVIEW_BUILD_QT_GUI)
- $(cmake-utils_use gui VTK_USE_QVTK)
- $(cmake-utils_use gui VTK_USE_QVTK_QTOPENGL)
- $(cmake-utils_use mpi PARAVIEW_USE_MPI)
- $(cmake-utils_use mpi PARAVIEW_USE_MPI_SSEND)
- $(cmake-utils_use python PARAVIEW_ENABLE_PYTHON)
- $(cmake-utils_use python VTK_WRAP_PYTHON_SIP)
- $(cmake-utils_use python XDMF_WRAP_PYTHON)
- $(cmake-utils_use doc BUILD_DOCUMENTATION)
- $(cmake-utils_use examples BUILD_EXAMPLES)
- $(cmake-utils_use cg VTK_USE_CG_SHADERS)
- $(cmake-utils_use nvcontrol VTK_USE_NVCONTROL)
- $(cmake-utils_use adaptive PARAVIEW_BUILD_AdaptiveParaView)
- $(cmake-utils_use streaming PARAVIEW_BUILD_StreamingParaView)
- $(cmake-utils_use mysql XDMF_USE_MYSQL)
- $(cmake-utils_use coprocessing PARAVIEW_ENABLE_COPROCESSING))
-
- if ( use gui || use adaptive ); then
- mycmakeargs+=(-DVTK_INSTALL_QT_DIR=/${PVLIBDIR}/plugins/designer
- $(cmake-utils_use webkit VTK_QT_USE_WEBKIT))
- if use python ; then
- # paraview cannot guess sip directory right probably because a path is not propagated properly
- mycmakeargs+=(
- -DSIP_PYQT_DIR="${EPREFIX}/usr/share/sip"
- -DSIP_INCLUDE_DIR="${EPREFIX}$(python_get_includedir)")
- fi
- fi
-
- # the rest of the plugins
- mycmakeargs+=(
- $(cmake-utils_use plugins PARAVIEW_INSTALL_DEVELOPMENT)
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_ClientChartView)
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_CosmoFilters)
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_H5PartReader)
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_Moments)
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_PointSprite)
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_Prism)
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_SLACTools)
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_AnalyzeNIfTIReaderWriter)
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_SurfaceLIC)
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_EyeDomeLighting)
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_ForceTime)
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_SierraPlotTools)
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_StreamingView)
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_VisTrailPlugin))
-
- if use python; then
- mycmakeargs+=($(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_pvblot))
- fi
-
- if use coprocessing; then
- mycmakeargs+=($(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_CoProcessingScriptGenerator))
- fi
-
- cmake-utils_src_configure
-}
-
-src_install() {
- cmake-utils_src_install
-
- # set up the environment
- echo "LDPATH=${EPREFIX}/usr/${PVLIBDIR}" >> "${T}"/40${PN}
- echo "PYTHONPATH="${EPREFIX}"/usr/${PVLIBDIR}:/usr/${PVLIBDIR}/site-packages" >> "${T}"/40${PN}
- doenvd "${T}"/40${PN}
-
- # last but not least lets make a desktop entry
- newicon "${S}"/Applications/ParaView/pvIcon.png paraview.png \
- || die "Failed to create paraview icon."
- make_desktop_entry paraview "Paraview" paraview \
- || die "Failed to install Paraview desktop entry"
-
-}
-
-pkg_postinst() {
- # with Qt4.5 there seem to be issues reading data files
- # under certain locales. Setting LC_ALL=C should fix these.
- echo
- elog "If you experience data corruption during parsing of"
- elog "data files with paraview please try setting your"
- elog "locale to LC_ALL=C."
- echo
-}
-
-pkg_postrm() {
- if use python ; then
- python_mod_cleanup "${EPREFIX}"/usr/$(get_libdir)/"${PN}-${MAJOR_PV}"/site-packages
- fi
-}
diff --git a/sci-visualization/paraview/paraview-3.6.2.ebuild b/sci-visualization/paraview/paraview-3.6.2.ebuild
deleted file mode 100644
index ddd2190..0000000
--- a/sci-visualization/paraview/paraview-3.6.2.ebuild
+++ /dev/null
@@ -1,266 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/paraview/paraview-3.6.2.ebuild,v 1.17 2011/10/17 18:12:36 ssuominen Exp $
-
-EAPI="3"
-
-PYTHON_DEPEND="python? 2:2.6"
-
-inherit eutils flag-o-matic toolchain-funcs versionator python qt4 cmake-utils
-
-MAIN_PV=$(get_major_version)
-MAJOR_PV=$(get_version_component_range 1-2)
-
-DESCRIPTION="ParaView is a powerful scientific data visualization application"
-HOMEPAGE="http://www.paraview.org"
-SRC_URI="mirror://gentoo/${P}.tar.gz
- mirror://gentoo/${P}-openfoam-gpl-r173.patch.bz2
- mirror://gentoo/${P}-openfoam-r173.patch.bz2"
-
-LICENSE="paraview GPL-2"
-KEYWORDS="~amd64 ~ppc ~x86"
-SLOT="0"
-IUSE="boost cg doc examples +gui mpi mysql plugins +python postgres streaming odbc overview"
-RDEPEND="sci-libs/hdf5[mpi=]
- mpi? ( || (
- sys-cluster/openmpi
- sys-cluster/mpich2[cxx] ) )
- gui? ( x11-libs/qt-gui:4
- x11-libs/qt-qt3support:4
- x11-libs/qt-opengl:4
- || ( >=x11-libs/qt-assistant-4.7.0:4[compat]
- <x11-libs/qt-assistant-4.7.0:4 ) )
- mysql? ( virtual/mysql )
- postgres? ( dev-db/postgresql-base )
- odbc? ( dev-db/unixODBC )
- dev-libs/libxml2:2
- media-libs/libpng
- virtual/jpeg
- media-libs/tiff
- virtual/ffmpeg
- dev-libs/expat
- sys-libs/zlib
- media-libs/freetype
- >=app-admin/eselect-opengl-1.0.6-r1
- virtual/opengl
- sci-libs/netcdf
- x11-libs/libXmu"
-
-DEPEND="${RDEPEND}
- boost? ( >=dev-libs/boost-1.40.0 )
- doc? ( app-doc/doxygen )
- >=dev-util/cmake-2.6.4"
-
-PVLIBDIR="$(get_libdir)/${PN}-${MAJOR_PV}"
-S="${WORKDIR}"/ParaView${MAIN_PV}
-
-pkg_setup() {
- if (use overview) && (! use gui); then
- die "the overview plugin requires the USE='gui'"
- fi
- use python && python_set_active_version 2
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-qt.patch
- epatch "${FILESDIR}"/${P}-findcg-cmake.patch
- epatch "${FILESDIR}"/${P}-assistant.patch
- epatch "${DISTDIR}"/${P}-openfoam-r173.patch.bz2
- epatch "${DISTDIR}"/${P}-openfoam-gpl-r173.patch.bz2
- epatch "${FILESDIR}"/${P}-no-doc-finder.patch
- epatch "${FILESDIR}"/${P}-pointsprite-disable.patch
- epatch "${FILESDIR}"/${P}-about.html.patch
- epatch "${FILESDIR}"/${P}-boost-property_map.patch
- epatch "${FILESDIR}"/${P}-odbc.patch
- epatch "${FILESDIR}"/${P}-h5part.patch
- epatch "${FILESDIR}"/${P}-libpng14.patch
- epatch "${FILESDIR}"/${P}-libpng15.patch
-
- if has_version '>=sci-libs/hdf5-1.8.0'; then
- epatch "${FILESDIR}"/${P}-hdf-1.8.3.patch
- fi
-
- # fix GL issues
- sed -e "s:DEPTH_STENCIL_EXT:DEPTH_COMPONENT24:" \
- -i VTK/Rendering/vtkOpenGLRenderWindow.cxx \
- || die "Failed to fix GL issues."
-
- # fix plugin install directory
- sed -e "s:\${PV_INSTALL_BIN_DIR}/plugins:/usr/${PVLIBDIR}/plugins:" \
- -i CMake/ParaViewPlugins.cmake \
- || die "Failed to fix plugin install directories"
-
- # bug 348151
- sed -e 's/CURRENT_VERSION 2.6/CURRENT_VERSION 2.7 2.6/' \
- -i VTK/CMake/FindPythonLibs.cmake || die
-}
-
-src_configure() {
- mycmakeargs=(
- -DPV_INSTALL_LIB_DIR="${PVLIBDIR}"
- -DCMAKE_INSTALL_PREFIX=/usr
- -DEXPAT_INCLUDE_DIR=/usr/include
- -DEXPAT_LIBRARY=/usr/$(get_libdir)/libexpat.so
- -DOPENGL_gl_LIBRARY=/usr/$(get_libdir)/libGL.so
- -DOPENGL_glu_LIBRARY=/usr/$(get_libdir)/libGLU.so
- -DCMAKE_SKIP_RPATH=YES
- -DVTK_USE_RPATH=OFF
- -DBUILD_SHARED_LIBS=ON
- -DVTK_USE_SYSTEM_FREETYPE=ON
- -DVTK_USE_SYSTEM_JPEG=ON
- -DVTK_USE_SYSTEM_PNG=ON
- -DVTK_USE_SYSTEM_TIFF=ON
- -DVTK_USE_SYSTEM_ZLIB=ON
- -DVTK_USE_SYSTEM_EXPAT=ON
- -DPARAVIEW_USE_SYSTEM_HDF5=ON
- -DCMAKE_VERBOSE_MAKEFILE=OFF
- -DCMAKE_COLOR_MAKEFILE=TRUE
- -DVTK_USE_SYSTEM_LIBXML2=ON
- -DVTK_USE_OFFSCREEN=TRUE
- -DCMAKE_USE_PTHREADS=ON
- -DBUILD_TESTING=OFF
- -DVTK_USE_FFMPEG_ENCODER=OFF)
-
- # use flag triggered options
- mycmakeargs+=(
- $(cmake-utils_use gui PARAVIEW_BUILD_QT_GUI)
- $(cmake-utils_use gui VTK_USE_QVTK)
- $(cmake-utils_use gui VTK_USE_QVTK_QTOPENGL)
- $(cmake-utils_use boost VTK_USE_BOOST)
- $(cmake-utils_use mpi PARAVIEW_USE_MPI)
- $(cmake-utils_use python PARAVIEW_ENABLE_PYTHON)
- $(cmake-utils_use doc BUILD_DOCUMENTATION)
- $(cmake-utils_use examples BUILD_EXAMPLES)
- $(cmake-utils_use cg VTK_USE_CG_SHADERS)
- $(cmake-utils_use streaming PARAVIEW_BUILD_StreamingParaView)
- $(cmake-utils_use odbc VTK_USE_ODBC)
- $(cmake-utils_use mysql VTK_USE_MYSQL)
- $(cmake-utils_use mysql XDMF_USE_MYSQL)
- $(cmake-utils_use postgres VTK_USE_POSTGRES))
-
- if use gui; then
- mycmakeargs+=(-DVTK_INSTALL_QT_DIR=/${PVLIBDIR}/plugins/designer)
- fi
-
- # all the logic needed for overview
- # we enable all plugins that are either required by overview
- # or require overview to work
- mycmakeargs+=(
- $(cmake-utils_use overview VTK_USE_N_WAY_ARRAYS)
- $(cmake-utils_use overview PARAVIEW_BUILD_OverView)
- $(cmake-utils_use overview PARAVIEW_BUILD_PLUGIN_ClientGraphView)
- $(cmake-utils_use overview PARAVIEW_BUILD_PLUGIN_ClientGraphViewFrame)
- $(cmake-utils_use overview PARAVIEW_BUILD_PLUGIN_ClientRecordView)
- $(cmake-utils_use overview PARAVIEW_BUILD_PLUGIN_ClientTableView)
- $(cmake-utils_use overview PARAVIEW_BUILD_PLUGIN_ClientTreeView)
- $(cmake-utils_use overview PARAVIEW_BUILD_PLUGIN_Infovis)
- $(cmake-utils_use overview PARAVIEW_BUILD_PLUGIN_SQLDatabaseGraphSourcePanel)
- $(cmake-utils_use overview PARAVIEW_BUILD_PLUGIN_SQLDatabaseTableSourcePanel)
- $(cmake-utils_use overview PARAVIEW_BUILD_PLUGIN_TableToGraphPanel)
- $(cmake-utils_use overview PARAVIEW_BUILD_PLUGIN_Array)
- $(cmake-utils_use overview PARAVIEW_BUILD_PLUGIN_ClientGeoView)
- $(cmake-utils_use overview PARAVIEW_BUILD_PLUGIN_ClientGeoView2D)
- $(cmake-utils_use overview PARAVIEW_BUILD_PLUGIN_ClientGraphViewFrame)
- $(cmake-utils_use overview PARAVIEW_BUILD_PLUGIN_ClientHierarchyView)
- $(cmake-utils_use overview PARAVIEW_BUILD_PLUGIN_CommonToolbar)
- $(cmake-utils_use overview PARAVIEW_BUILD_PLUGIN_GraphLayoutFilterPanel)
- $(cmake-utils_use overview PARAVIEW_BUILD_PLUGIN_SplitTableFieldPanel)
- $(cmake-utils_use overview PARAVIEW_BUILD_PLUGIN_StatisticsToolbar)
- $(cmake-utils_use overview PARAVIEW_BUILD_PLUGIN_TableToSparseArrayPanel)
- $(cmake-utils_use overview PARAVIEW_BUILD_PLUGIN_ThresholdTablePanel))
-
- # the rest of the plugins
- mycmakeargs+=(
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_ChartViewFrame)
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_ClientAttributeView)
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_ClientChartView)
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_CosmoFilters)
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_H5PartReader)
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_Moments)
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_PointSprite)
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_Prism)
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_SLACTools)
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_Streaming)
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_netCDFReaders))
-
- if use python; then
- mycmakeargs+=($(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_pvblot))
- fi
-
- # we also need to append -DH5Tget_array_dims_vers=1 to our CFLAGS
- # to make sure we can compile against >=hdf5-1.8.3
- append-flags -DH5_USE_16_API
-
- cmake-utils_src_configure
- # overview needs a second configure to pick things up
- use overview && cmake-utils_src_configure
-}
-
-src_install() {
- cmake-utils_src_install
-
- # rename the assistant wrapper
- if use gui; then
- mv "${D}"/usr/bin/assistant "${D}"/usr/bin/paraview-assistant \
- || die "Failed to rename assistant wrapper"
- chmod 0755 "${D}"/usr/${PVLIBDIR}/assistant-real \
- || die "Failed to change permissions on assistant wrapper"
- fi
-
- # since there is no install target for OverView we have to
- # do things manually
- if use overview; then
- exeinto /usr/"${PVLIBDIR}"
- newexe "${CMAKE_BUILD_DIR}"/bin/OverView OverView-real \
- || die "Failed to install OverView binary"
- dolib.so "${CMAKE_BUILD_DIR}"/bin/libOverViewCore.so \
- || die "Failed to install OverViewCore shared object"
-
- insinto /usr/"${PVLIBDIR}"/OverView-startup
- insopts -m0744
- doins "${CMAKE_BUILD_DIR}"/bin/OverView-startup/lib*.so \
- || die "Failed to install OverView libraries"
-
- dosym /usr/"${PVLIBDIR}"/OverView-real /usr/bin/OverView \
- || die "Failed to create OverView symlink"
-
- newicon "${S}"/Applications/OverView/Icon.png overview.png \
- || die "Failed to create OverView icon"
- make_desktop_entry OverView "OverView" overview \
- || die "Failed to install OverView desktop icon"
- fi
-
- # set up the environment
- echo "LDPATH=/usr/${PVLIBDIR}" >> "${T}"/40${PN}
- echo "PYTHONPATH=/usr/${PVLIBDIR}" >> "${T}"/40${PN}
- doenvd "${T}"/40${PN}
-
- # this binary does not work and probably should not be installed
- rm -f "${D}/usr/bin/vtkSMExtractDocumentation" \
- || die "Failed to remove vtkSMExtractDocumentation"
-
- # rename /usr/bin/lproj to /usr/bin/lproj_paraview to avoid
- # a file collision with vtk which installs the same file
- mv "${D}/usr/bin/lproj" "${D}/usr/bin/lproj_paraview" \
- || die "Failed to rename /usr/bin/lproj"
-
- # last but not least lets make a desktop entry
- newicon "${S}"/Applications/Client/ParaViewLogo.png paraview.png \
- || die "Failed to create paraview icon."
- make_desktop_entry paraview "Paraview" paraview \
- || die "Failed to install Paraview desktop entry"
-
-}
-
-pkg_postinst() {
- # with Qt4.5 there seem to be issues reading data files
- # under certain locales. Setting LC_ALL=C should fix these.
- echo
- elog "If you experience data corruption during parsing of"
- elog "data files with paraview please try setting your"
- elog "locale to LC_ALL=C."
- elog "The binary /usr/bin/lproj has been renamed to"
- elog "/usr/bin/lproj_paraview to avoid a file collision"
- elog "with vtk."
- echo
-}