diff options
Diffstat (limited to 'sci-visualization')
11 files changed, 0 insertions, 422 deletions
diff --git a/sci-visualization/visit/Manifest b/sci-visualization/visit/Manifest deleted file mode 100644 index 44c0813d9689..000000000000 --- a/sci-visualization/visit/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST visit2.12.3.tar.gz 80491441 BLAKE2B b144dd2ef1ea6ea3213df16c0dbf37449d64d3be00c33f5bf0536abec0278189bfac7a4c399512742267aa4c5f6a46d519b9261e58b4f3eef91e98c7a9a4c36e SHA512 78e939657a556040fc593766855c06a5bef85c76d3c43cd6a941ea90517e49ad556f1b10aa5b984327260001d3b53c67b8cb4692ba04ffbad8b6fefac704e842 diff --git a/sci-visualization/visit/files/visit-2.12.3-cmakelist.patch b/sci-visualization/visit/files/visit-2.12.3-cmakelist.patch deleted file mode 100644 index f0f56f5a6d5d..000000000000 --- a/sci-visualization/visit/files/visit-2.12.3-cmakelist.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/CMakeLists.txt 2015-06-25 07:30:40.907149341 +0200 -+++ b/CMakeLists.txt 2015-06-25 07:30:57.537148929 +0200 -@@ -991,7 +991,6 @@ - DIRECTORY_PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE - GROUP_READ GROUP_WRITE GROUP_EXECUTE - WORLD_READ WORLD_EXECUTE -- CONFIGURATIONS "" None Debug Release RelWithDebInfo MinSizeRel - FILES_MATCHING PATTERN "*.h" - PATTERN "*.hpp" - PATTERN ".svn" EXCLUDE diff --git a/sci-visualization/visit/files/visit-2.12.3-dont_symlink_visit_dir.patch b/sci-visualization/visit/files/visit-2.12.3-dont_symlink_visit_dir.patch deleted file mode 100644 index 5ab4c7c995dd..000000000000 --- a/sci-visualization/visit/files/visit-2.12.3-dont_symlink_visit_dir.patch +++ /dev/null @@ -1,18 +0,0 @@ -diff -ru visit2.7.1.old2/src/CMakeLists.txt visit2.7.1/src/CMakeLists.txt ---- a/CMakeLists.txt 2014-01-27 22:10:06.520297262 +0100 -+++ b/CMakeLists.txt 2014-01-27 22:11:30.520298002 +0100 -@@ -807,14 +807,6 @@ - \"${VISIT_VERSION}\" - \"${CMAKE_INSTALL_PREFIX}/beta\") - ") -- ELSE(VISIT_INSTALL_AS_BETA) -- INSTALL(CODE " -- MESSAGE(\"Symlinking current to ${VISIT_VERSION}\") -- EXECUTE_PROCESS(WORKING_DIRECTORY \${CMAKE_INSTALL_PREFIX} -- COMMAND \${CMAKE_COMMAND} -E create_symlink -- \"${VISIT_VERSION}\" -- \"${CMAKE_INSTALL_PREFIX}/current\") -- ") - ENDIF(VISIT_INSTALL_AS_BETA) - ENDIF(WIN32) - MARK_AS_ADVANCED( diff --git a/sci-visualization/visit/files/visit-2.12.3-findpython.patch b/sci-visualization/visit/files/visit-2.12.3-findpython.patch deleted file mode 100644 index 4723c494de9b..000000000000 --- a/sci-visualization/visit/files/visit-2.12.3-findpython.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff -ru visit2.7.1.old/src/CMake/FindVisItPython.cmake visit2.7.1.new/src/CMake/FindVisItPython.cmake ---- a/CMake/FindVisItPython.cmake 2013-09-13 21:06:57.000000000 +0200 -+++ b/CMake/FindVisItPython.cmake 2014-01-25 20:30:06.948654123 +0100 -@@ -141,11 +141,12 @@ - FIND_LIBRARY(PYTHON_LIBRARY - NAMES python${_CURRENT_VERSION_NO_DOTS} python${_CURRENT_VERSION} - PATHS -- ${PYTHON_DIR}/lib -- ${PYTHON_DIR}/libs -- [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\${_CURRENT_VERSION}\\InstallPath]/libs -+ ${PYTHON_DIR}/lib -+ ${PYTHON_DIR}/lib64 -+ ${PYTHON_DIR}/libs -+ [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\${_CURRENT_VERSION}\\InstallPath]/libs - NO_DEFAULT_PATH - NO_CMAKE_ENVIRONMENT_PATH - NO_CMAKE_PATH - NO_SYSTEM_ENVIRONMENT_PATH) - diff --git a/sci-visualization/visit/files/visit-2.12.3-findsilo.patch b/sci-visualization/visit/files/visit-2.12.3-findsilo.patch deleted file mode 100644 index 987907c3a71d..000000000000 --- a/sci-visualization/visit/files/visit-2.12.3-findsilo.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -ru visit2.7.1-old/src/CMake/FindSilo.cmake visit2.7.1-new/src/CMake/FindSilo.cmake ---- a/CMake/FindSilo.cmake 2013-11-20 20:30:44.000000000 +0100 -+++ b/CMake/FindSilo.cmake 2014-02-01 02:22:29.410541850 +0100 -@@ -90,7 +90,7 @@ - NO_CMAKE_PATH - NO_SYSTEM_ENVIRONMENT_PATH) - IF(SILOH5_LIBRARY_EXISTS) -- SET_UP_THIRD_PARTY(SILO lib include siloh5) -+ SET_UP_THIRD_PARTY(SILO lib include siloh5 hdf5 z) - ELSE(SILOH5_LIBRARY_EXISTS) - SET_UP_THIRD_PARTY(SILO lib include silo) - ENDIF(SILOH5_LIBRARY_EXISTS) diff --git a/sci-visualization/visit/files/visit-2.12.3-findvtk.patch b/sci-visualization/visit/files/visit-2.12.3-findvtk.patch deleted file mode 100644 index 2b24e91d084f..000000000000 --- a/sci-visualization/visit/files/visit-2.12.3-findvtk.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- a/CMake/FindVisItVTK.cmake.orig 2015-01-09 12:18:54.467780216 +0100 -+++ b/CMake/FindVisItVTK.cmake 2015-01-09 12:19:59.737780932 +0100 -@@ -234,15 +234,22 @@ - - # check for python wrappers - IF (NOT WIN32) -- FILE(GLOB VTK_PY_WRAPPERS_DIR ${VTK_LIBRARY_DIRS}/python*/) -+ FILE(GLOB VTK_PY_WRAPPERS_DIRECTORIES ${VTK_LIBRARY_DIRS}/python*/) - ELSE (NOT WIN32) - IF(${VTK_VERSION} VERSION_LESS "6.1.0") -- FILE(GLOB VTK_PY_WRAPPERS_DIR ${VISIT_VTK_DIR}/lib) -+ FILE(GLOB VTK_PY_WRAPPERS_DIRECTORIES ${VISIT_VTK_DIR}/lib) - ELSE() -- FILE(GLOB VTK_PY_WRAPPERS_DIR ${VISIT_VTK_DIR}/lib/python*) -+ FILE(GLOB VTK_PY_WRAPPERS_DIRECTORIES ${VISIT_VTK_DIR}/lib/python*) - ENDIF() - ENDIF (NOT WIN32) --MESSAGE(STATUS " VTK_PY_WRAPPERS_DIR=${VTK_PY_WRAPPERS_DIR}") -+MESSAGE(STATUS " VTK_PY_WRAPPERS_DIRECTORIES=${VTK_PY_WRAPPERS_DIRECTORIES}") -+ -+FOREACH(X ${VTK_PY_WRAPPERS_DIRECTORIES}) -+ IF(EXISTS "${X}/site-packages/vtk") -+ SET(VTK_PY_WRAPPERS_DIR "${X}") -+ ENDIF() -+ENDFOREACH(X) -+ - - IF(EXISTS ${VTK_PY_WRAPPERS_DIR}/site-packages/vtk) - MESSAGE(STATUS "Found VTK Python Wrappers - ${VTK_PY_WRAPPERS_DIR}") diff --git a/sci-visualization/visit/files/visit-2.12.3-qwt.patch b/sci-visualization/visit/files/visit-2.12.3-qwt.patch deleted file mode 100644 index 4d0dbb19aac3..000000000000 --- a/sci-visualization/visit/files/visit-2.12.3-qwt.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- a/CMake/FindQwt.cmake.orig 2017-07-12 07:46:34.560120549 +0200 -+++ b/CMake/FindQwt.cmake 2017-07-12 07:46:58.120121063 +0200 -@@ -54,7 +54,10 @@ - SET(QWT_LIBRARY ${QWT_LIBRARY_DIR}/${QWT_LIB}/qwt) - ENDIF(VISIT_STATIC) - ELSE (WIN32) -- SET_UP_THIRD_PARTY(QWT lib include qwt) -+ SET(QWT_FOUND true CACHE BOOL "QWT library found" FORCE) -+ SET(QWT_INCLUDE_DIR "/usr/include/qwt6") -+ SET(QWT_LIBRARY_DIR "/usr/lib") -+ SET(QWT_LIB "/usr/lib/libqwt6-qt5.so") - SET(QWT_LIBRARY ${QWT_LIB} CACHE STRING "name of qwt library" FORCE) - ENDIF (WIN32) - diff --git a/sci-visualization/visit/files/visit-2.12.3-vtklibs.patch b/sci-visualization/visit/files/visit-2.12.3-vtklibs.patch deleted file mode 100644 index 8b8c88e59a33..000000000000 --- a/sci-visualization/visit/files/visit-2.12.3-vtklibs.patch +++ /dev/null @@ -1,133 +0,0 @@ -diff -ur visit2.8.2-old/src/engine/main/CMakeLists.txt visit2.8.2-new/src/engine/main/CMakeLists.txt ---- a/engine/main/CMakeLists.txt 2014-10-01 00:28:19.000000000 +0200 -+++ b/engine/main/CMakeLists.txt 2015-01-05 15:14:43.850783973 +0100 -@@ -188,8 +188,8 @@ - ${engine_ser_exe_EPlot_ser} - engine_ser - visit_verdict -- vtkjpeg -- vtkpng -+ jpeg -+ png - ${VTKZLIB_LIB} - ${VTK_FREETYPE_LIBRARIES} - vtkftgl -@@ -273,8 +273,8 @@ - ${engine_par_exe_EPlot_par} - engine_par - visit_verdict -- vtkjpeg -- vtkpng -+ jpeg -+ png - ${VTKZLIB_LIB} - ${VTK_FREETYPE_LIBRARIES} - vtkftgl -diff -ur visit2.8.2-old/src/mdserver/main/CMakeLists.txt visit2.8.2-new/src/mdserver/main/CMakeLists.txt ---- a/mdserver/main/CMakeLists.txt 2014-08-11 23:45:16.000000000 +0200 -+++ b/mdserver/main/CMakeLists.txt 2015-01-05 15:15:41.810784062 +0100 -@@ -119,10 +119,10 @@ - visit_verdict - vtkCommonCore - vtkIOCore -- vtktiff -+ tiff - ${VTKZLIB_LIB} -- vtkpng -- vtkjpeg -+ png -+ jpeg - ${ZLIB_LIB} - ${CMAKE_THREAD_LIBS} - ${DL_LIB} -diff -ur visit2.8.2-old/src/tools/convert/CMakeLists.txt visit2.8.2-new/src/tools/convert/CMakeLists.txt ---- a/tools/convert/CMakeLists.txt 2014-08-11 23:46:08.000000000 +0200 -+++ b/tools/convert/CMakeLists.txt 2015-01-05 15:14:28.880783951 +0100 -@@ -105,8 +105,8 @@ - ) - - SET(VTK_EXTRA_LIBS --vtkjpeg --vtkpng -+jpeg -+png - ${VTKZLIB_LIB} - ${VTK_FREETYPE_LIBRARIES} - vtkftgl -diff -ur visit2.8.2-old/src/tools/dataserver/CMakeLists.txt visit2.8.2-new/src/tools/dataserver/CMakeLists.txt ---- a/tools/dataserver/CMakeLists.txt 2014-08-11 23:46:12.000000000 +0200 -+++ b/tools/dataserver/CMakeLists.txt 2015-01-05 15:13:02.000783818 +0100 -@@ -70,9 +70,9 @@ - ) - - SET(VTK_EXTRA_LIBS --vtktiff --vtkjpeg --vtkpng -+tiff -+jpeg -+png - ${VTKZLIB_LIB} - ${VTK_FREETYPE_LIBRARIES} - vtkftgl -diff -ur visit2.8.2-old/src/tools/mcurvit/CMakeLists.txt visit2.8.2-new/src/tools/mcurvit/CMakeLists.txt ---- a/tools/mcurvit/CMakeLists.txt 2014-08-11 23:46:11.000000000 +0200 -+++ b/tools/mcurvit/CMakeLists.txt 2015-01-05 15:16:02.400784093 +0100 -@@ -104,9 +104,9 @@ - ) - - SET(VTK_EXTRA_LIBS --vtktiff --vtkjpeg --vtkpng -+tiff -+jpeg -+png - ${VTKZLIB_LIB} - ${VTK_FREETYPE_LIBRARIES} - vtkftgl -diff -ur visit2.8.2-old/src/tools/protocol/CMakeLists.txt visit2.8.2-new/src/tools/protocol/CMakeLists.txt ---- a/tools/protocol/CMakeLists.txt 2014-08-11 23:46:14.000000000 +0200 -+++ b/tools/protocol/CMakeLists.txt 2015-01-05 15:12:46.480783795 +0100 -@@ -76,9 +76,9 @@ - ) - - SET(VTK_EXTRA_LIBS --vtktiff --vtkjpeg --vtkpng -+tiff -+jpeg -+png - ${VTKZLIB_LIB} - ${VTK_FREETYPE_LIBRARIES} - vtkftgl -diff -ur visit2.8.2-old/src/viewer/main/CMakeLists.txt visit2.8.2-new/src/viewer/main/CMakeLists.txt ---- a/viewer/main/CMakeLists.txt 2014-08-11 23:46:26.000000000 +0200 -+++ b/viewer/main/CMakeLists.txt 2015-01-05 15:12:11.380783741 +0100 -@@ -279,8 +279,8 @@ - ${viewer_exe_IPlot} - ${viewer_exe_VPlot} - viewer -- vtkpng -- vtkjpeg -+ png -+ jpeg - ${VTKZLIB_LIB} - ${VTK_FREETYPE_LIBRARIES} - vtkftgl -diff -ur visit2.8.2-old/src/visit_vtk/full/CMakeLists.txt visit2.8.2-new/src/visit_vtk/full/CMakeLists.txt ---- a/visit_vtk/full/CMakeLists.txt 2014-08-11 23:45:14.000000000 +0200 -+++ b/visit_vtk/full/CMakeLists.txt 2015-01-05 15:11:17.680783659 +0100 -@@ -125,9 +125,9 @@ - ADD_LIBRARY(visit_vtk ${VISIT_VTK_SOURCES}) - - IF(HAVE_LIB_R) -- TARGET_LINK_LIBRARIES(visit_vtk lightweight_visit_vtk vtkFiltersExtraction vtkFiltersFlowPaths vtkImagingHybrid vtkRenderingOpenGL vtkRenderingFreeType vtkRenderingFreeTypeOpenGL vtkInteractionStyle vtktiff vtkFiltersStatisticsGnuR) -+ TARGET_LINK_LIBRARIES(visit_vtk lightweight_visit_vtk vtkFiltersExtraction vtkFiltersFlowPaths vtkImagingHybrid vtkRenderingOpenGL vtkRenderingFreeType vtkRenderingFreeTypeOpenGL vtkInteractionStyle vtkFiltersStatisticsGnuR) - ELSE(HAVE_LIB_R) -- TARGET_LINK_LIBRARIES(visit_vtk lightweight_visit_vtk vtkFiltersExtraction vtkFiltersFlowPaths vtkImagingHybrid vtkRenderingOpenGL vtkRenderingFreeType vtkRenderingFreeTypeOpenGL vtkInteractionStyle vtktiff) -+ TARGET_LINK_LIBRARIES(visit_vtk lightweight_visit_vtk vtkFiltersExtraction vtkFiltersFlowPaths vtkImagingHybrid vtkRenderingOpenGL vtkRenderingFreeType vtkRenderingFreeTypeOpenGL vtkInteractionStyle) - ENDIF(HAVE_LIB_R) - # Add vtk definitions - ADD_TARGET_DEFINITIONS(visit_vtk "${VTK_DEFINITIONS}") diff --git a/sci-visualization/visit/files/visit-2.12.3-vtkmpi.patch b/sci-visualization/visit/files/visit-2.12.3-vtkmpi.patch deleted file mode 100644 index 39dc85711730..000000000000 --- a/sci-visualization/visit/files/visit-2.12.3-vtkmpi.patch +++ /dev/null @@ -1,46 +0,0 @@ -diff -ru visit2.8.2-old/src/tools/annotations/CMakeLists.txt visit2.8.2-new/src/tools/annotations/CMakeLists.txt ---- a/tools/annotations/CMakeLists.txt 2014-08-11 23:46:11.000000000 +0200 -+++ b/tools/annotations/CMakeLists.txt 2015-01-07 08:19:35.000735956 +0100 -@@ -54,9 +54,9 @@ - # Specify the libraries to link against - TARGET_LINK_LIBRARIES(text2polys vtkIOLegacy) - IF(HAVE_LIB_R) --TARGET_LINK_LIBRARIES(time_annotation vtkRenderingOpenGL vtkRenderingFreeType vtkRenderingFreeTypeOpenGL vtkInteractionStyle vtkFiltersStatisticsGnuR vtksys vtkIOImage) -+TARGET_LINK_LIBRARIES(time_annotation vtkRenderingOpenGL vtkRenderingFreeType vtkRenderingFreeTypeOpenGL vtkInteractionStyle vtkFiltersStatisticsGnuR vtksys vtkIOMPIImage) - ELSE(HAVE_LIB_R) --TARGET_LINK_LIBRARIES(time_annotation vtkRenderingOpenGL vtkRenderingFreeType vtkRenderingFreeTypeOpenGL vtkInteractionStyle vtksys vtkIOImage) -+TARGET_LINK_LIBRARIES(time_annotation vtkRenderingOpenGL vtkRenderingFreeType vtkRenderingFreeTypeOpenGL vtkInteractionStyle vtksys vtkIOMPIImage) - ENDIF(HAVE_LIB_R) - # add vtk definitions - ADD_TARGET_DEFINITIONS(time_annotation "${VTK_DEFINITIONS}") -diff -ru visit2.8.2-old/src/vtkqt/CMakeLists.txt visit2.8.2-new/src/vtkqt/CMakeLists.txt ---- a/vtkqt/CMakeLists.txt 2014-08-11 23:46:46.000000000 +0200 -+++ b/vtkqt/CMakeLists.txt 2015-01-07 08:19:00.950735904 +0100 -@@ -64,9 +64,9 @@ - - # Specify the libraries to link against on Windows & Mac - IF(HAVE_LIB_R) -- TARGET_LINK_LIBRARIES(vtkqt vtkCommonCore vtkGUISupportQtOpenGL vtkIOImage vtkRenderingOpenGL vtkRenderingFreeTypeOpenGL ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTOPENGL_LIBRARY} ${OPENGL_gl_LIBRARY} vtkFiltersStatisticsGnuR) -+ TARGET_LINK_LIBRARIES(vtkqt vtkCommonCore vtkGUISupportQtOpenGL vtkIOMPIImage vtkRenderingOpenGL vtkRenderingFreeTypeOpenGL ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTOPENGL_LIBRARY} ${OPENGL_gl_LIBRARY} vtkFiltersStatisticsGnuR) - ELSE(HAVE_LIB_R) -- TARGET_LINK_LIBRARIES(vtkqt vtkCommonCore vtkGUISupportQtOpenGL vtkIOImage vtkRenderingOpenGL vtkRenderingFreeTypeOpenGL ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTOPENGL_LIBRARY} ${OPENGL_gl_LIBRARY}) -+ TARGET_LINK_LIBRARIES(vtkqt vtkCommonCore vtkGUISupportQtOpenGL vtkIOMPIImage vtkRenderingOpenGL vtkRenderingFreeTypeOpenGL ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTOPENGL_LIBRARY} ${OPENGL_gl_LIBRARY}) - ENDIF(HAVE_LIB_R) - # Add vtk definitions - ADD_TARGET_DEFINITIONS(vtkqt "${VTK_DEFINITIONS}") ---- a/visit_vtk/full/CMakeLists.txt 2015-01-14 13:08:53.249224731 +0100 -+++ b/visit_vtk/full/CMakeLists.txt 2015-01-14 13:08:28.569224460 +0100 -@@ -125,9 +125,11 @@ - ADD_LIBRARY(visit_vtk ${VISIT_VTK_SOURCES}) - - IF(HAVE_LIB_R) -- TARGET_LINK_LIBRARIES(visit_vtk lightweight_visit_vtk vtkFiltersExtraction vtkFiltersFlowPaths vtkImagingHybrid vtkRenderingOpenGL vtkRenderingFreeType vtkRenderingFreeTypeOpenGL vtkInteractionStyle vtkFiltersStatisticsGnuR) -+ TARGET_LINK_LIBRARIES(visit_vtk lightweight_visit_vtk vtkFiltersExtraction -+ vtkFiltersFlowPaths vtkIOMPIImage vtkImagingHybrid vtkRenderingOpenGL vtkRenderingFreeType vtkRenderingFreeTypeOpenGL vtkInteractionStyle vtkFiltersStatisticsGnuR) - ELSE(HAVE_LIB_R) -- TARGET_LINK_LIBRARIES(visit_vtk lightweight_visit_vtk vtkFiltersExtraction vtkFiltersFlowPaths vtkImagingHybrid vtkRenderingOpenGL vtkRenderingFreeType vtkRenderingFreeTypeOpenGL vtkInteractionStyle) -+ TARGET_LINK_LIBRARIES(visit_vtk lightweight_visit_vtk vtkFiltersExtraction -+ vtkFiltersFlowPaths vtkIOMPIImage vtkImagingHybrid vtkRenderingOpenGL vtkRenderingFreeType vtkRenderingFreeTypeOpenGL vtkInteractionStyle) - ENDIF(HAVE_LIB_R) - # Add vtk definitions - ADD_TARGET_DEFINITIONS(visit_vtk "${VTK_DEFINITIONS}") diff --git a/sci-visualization/visit/metadata.xml b/sci-visualization/visit/metadata.xml deleted file mode 100644 index ecde19ef8dcb..000000000000 --- a/sci-visualization/visit/metadata.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <longdescription> - VisIt is a free, open source, platform independent, distributed, - parallel, visualization tool for visualizing data defined on two- - and three-dimensional structured and unstructured meshes. - </longdescription> - <!-- maintainer-needed --> - <use> - <flag name="cgns"> - Builds the reader for the CFD General Notation System file format. - </flag> - <flag name="silo"> - Adds support for reading .silo files. - </flag> - <flag name="xdmf2"> - Support for xdmf2 formatted data. - </flag> - </use> -</pkgmetadata> diff --git a/sci-visualization/visit/visit-2.12.3-r1.ebuild b/sci-visualization/visit/visit-2.12.3-r1.ebuild deleted file mode 100644 index 14564343708f..000000000000 --- a/sci-visualization/visit/visit-2.12.3-r1.ebuild +++ /dev/null @@ -1,119 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 ) -inherit cmake-utils python-single-r1 qmake-utils - -DESCRIPTION="A software that delivers parallel interactive visualizations" -HOMEPAGE="https://wci.llnl.gov/simulation/computer-codes/visit" -SRC_URI="http://portal.nersc.gov/svn/visit/trunk/releases/${PV}/${PN}${PV}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="cgns debug hdf5 mpi netcdf silo tcmalloc threads xdmf2" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND="${PYTHON_DEPS} - dev-qt/designer:5 - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtnetwork:5 - dev-qt/qtopengl:5 - dev-qt/qtprintsupport:5 - dev-qt/qtwidgets:5 - dev-qt/qtxml:5 - dev-qt/qtx11extras:5 - =sci-libs/vtk-6.1.0*[imaging,mpi=,python,rendering,qt5,xdmf2?,${PYTHON_USEDEP}] - sys-libs/zlib - x11-libs/qwt:6[qt5(+)] - cgns? ( sci-libs/cgnslib ) - hdf5? ( sci-libs/hdf5 ) - netcdf? ( sci-libs/netcdf ) - silo? ( sci-libs/silo ) - tcmalloc? ( dev-util/google-perftools ) -" -DEPEND="${RDEPEND} - xdmf2? ( sci-libs/xdmf2 ) -" - -S="${WORKDIR}/${PN}${PV}/src" - -PATCHES=( - "${FILESDIR}/${P}-findpython.patch" - "${FILESDIR}/${P}-findsilo.patch" - "${FILESDIR}/${P}-findvtk.patch" - "${FILESDIR}/${P}-vtklibs.patch" - "${FILESDIR}/${P}-dont_symlink_visit_dir.patch" - "${FILESDIR}/${P}-cmakelist.patch" - "${FILESDIR}/${P}-qwt.patch" -) - -src_prepare() { - cmake-utils_src_prepare - use mpi && eapply "${FILESDIR}/${P}-vtkmpi.patch" - - sed -i 's/exec python $frontendlauncherpy $0 ${1+"$@"}/exec '${EPYTHON}' \ - $frontendlauncherpy $0 ${1+"$@"}/g' "bin/frontendlauncher" || die -} - -src_configure() { - local mycmakeargs=( - -DCMAKE_INSTALL_PREFIX=/opt/visit - -DPYTHON_INCLUDE_DIR="$(python_get_includedir)" - -DPYTHON_DIR="${EPREFIX}/usr" - -DVISIT_PYTHON_SKIP_INSTALL=true - -DVISIT_VTK_SKIP_INSTALL=true - -DQT_BIN="${EPREFIX}/usr/bin" - -DVISIT_ZLIB_DIR="${EPREFIX}/usr" - -DVISIT_HEADERS_SKIP_INSTALL=false - -DVISIT_QWT_DIR="${EPREFIX}/usr" - -DVISIT_QT5=true - -DVISIT_QT_DIR=$(qt5_get_libdir)/qt5/ - -DUSE_VISIT_THREAD=$(usex threads) - ) - if use hdf5; then - mycmakeargs+=( -DHDF5_DIR="${EPREFIX}/usr" ) - fi - if use tcmalloc; then - mycmakeargs+=( -DTCMALLOC_DIR="${EPREFIX}/usr" ) - fi - if use cgns; then - mycmakeargs+=( -DCGNS_DIR="${EPREFIX}/usr" ) - fi - if use silo; then - mycmakeargs+=( -DSILO_DIR="${EPREFIX}/usr" ) - fi - if use netcdf; then - mycmakeargs+=( -DNETCDF_DIR="${EPREFIX}/usr" ) - fi - if use xdmf2; then - mycmakeargs+=( -DOPT_VTK_MODS="vtklibxml2" -DVISIT_XDMF_DIR=/usr/ ) - fi - - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - - PACKAGES_DIR="${ROOT}opt/${PN}/${PV}/linux-$(arch)/lib/site-packages" - cd "${ED}${PACKAGES_DIR}" - for i in *; do - dosym "${PACKAGES_DIR}/${i}" "$(python_get_sitedir)/$i" - done - - cat > "${T}"/99visit <<- EOF - PATH=${EPREFIX}/opt/${PN}/bin - LDPATH=${EPREFIX}/opt/${PN}/${PV}/linux-$(arch)/lib/ - EOF - doenvd "${T}"/99visit -} - -pkg_postinst () { - ewarn "Remember to run " - ewarn "env-update && source /etc/profile" - ewarn "if you want to use visit in already opened session" -} |