summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlawek Lis <slis@gentoo.org>2014-07-25 12:24:19 +0000
committerSlawek Lis <slis@gentoo.org>2014-07-25 12:24:19 +0000
commita136c2f27e6b618ab225b78ccd06a423674febaa (patch)
tree292d1bf785dfba892a76eb8c2fccba6cdf6bc4ab /sci-visualization
parentadded visit package (diff)
downloadhistorical-a136c2f27e6b618ab225b78ccd06a423674febaa.tar.gz
historical-a136c2f27e6b618ab225b78ccd06a423674febaa.tar.bz2
historical-a136c2f27e6b618ab225b78ccd06a423674febaa.zip
added visit package
Package-Manager: portage-2.2.10/cvs/Linux x86_64 Manifest-Sign-Key: 0x55265D89
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/visit/Manifest17
-rw-r--r--sci-visualization/visit/files/visit-2.7.3-dont_symlink_visit_dir.patch18
-rw-r--r--sci-visualization/visit/files/visit-2.7.3-findpython.patch19
-rw-r--r--sci-visualization/visit/files/visit-2.7.3-findsilo.patch12
-rw-r--r--sci-visualization/visit/files/visit-2.7.3-findvtk.patch24
-rw-r--r--sci-visualization/visit/files/visit-2.7.3-vtklibs.patch142
-rw-r--r--sci-visualization/visit/metadata.xml20
-rw-r--r--sci-visualization/visit/visit-2.7.3.ebuild90
8 files changed, 341 insertions, 1 deletions
diff --git a/sci-visualization/visit/Manifest b/sci-visualization/visit/Manifest
index 82ac8dccc2d4..bcb52c6de2d7 100644
--- a/sci-visualization/visit/Manifest
+++ b/sci-visualization/visit/Manifest
@@ -1,8 +1,23 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX visit-2.7.3-dont_symlink_visit_dir.patch 743 SHA256 bab48080e92a83b339298ca10c45dc32bb0953476d90e9cc772db92da3d02a6d SHA512 c385a3e6fa6c5856223df8c5aea329ba01dd625980257c3cd7d2784eb9e1aca3640e50d2afb0af0e02553dc6f72bb23bec666f3dc726706690c7bd45c6cc5336 WHIRLPOOL bc7bc88200913a44144e45a64f35a2c07aa20bac17572a888ed0f3c71d833e2fb3f7c313930475d84b1fa08d9e67602b1317a25bb1d01153fa8f0a81b21e0791
AUX visit-2.7.3-findpython.patch 833 SHA256 eb134490d6519b3f8c1eab3bf3eb45471fcb367df47fe042ddce93b9bedcff50 SHA512 9b73e00e7884fed34e63ea51aa14483212227f05c83412a1638a31a56a0685bf7fdfdf511a1a53c9f1a55289ae8d4a0bac8ff92d3380d9c989502d2cb95e8679 WHIRLPOOL 4a6471dc5996e5db1f90f397c2d2de0f55caf50e526a0855972bae3e2428f0a36df22bf63a30f413095ccafdc40252dae27e10b00c756c4d088ae9642e31b4af
AUX visit-2.7.3-findsilo.patch 585 SHA256 bd97818df6eaaf5b160c982439f17223c5b0d7c35c830a551a7aeac380c3e29e SHA512 76bec5fd134318724d0d2ad59a345d78652867a9680abaca7504af11ddd818a678338afd10bdf9385295f672d265439a1341c1c71697c7a98aae6406abe4565d WHIRLPOOL ef5200ff51dd3d856c504d4ef54f78f8f507f8239834023de01654451f8fb34d63bede72b5883f0cbcf0e7616f843a62ef29ca7c6be136539adc13f24df0f674
AUX visit-2.7.3-findvtk.patch 1057 SHA256 fbcb6553998d435c43b6e5c6fb2c303fbd198edd933d7293e457d66be75d833a SHA512 db30b4ba7c5ce6924518af36c12466745c69fb2aa852832cf7db63a2a8bea732e0f66ddee6cfe2472d145ae619cc57a6b575cda4e3ee5fcd08172905583c153c WHIRLPOOL 1cde4bd95f2fc2016112b7d5631172352b1aa6fda88cd43d51124f6242d66353dbf4cd1852da4d9b8e313132a929efa49bc165d691c4b8ed481beb88aa0b186a
AUX visit-2.7.3-vtklibs.patch 5214 SHA256 b03fa486b17f64b8c975a65bc8a03de14d9e6afd83671c67f747da543dd41883 SHA512 ff2a8a6beff32a7a27ca96ad5660e0cca5c0f15b4dd9fdac85c738623be4910cee0387388ee1bbe82ebab3beb962896466998786a7e015deee75805d71cf9d5a WHIRLPOOL b32aa80e59da2c610f2231bfd4990f34895abae323da208ca91f9c1e82e47271aeb7fe193ec28ae6fbe6cd418650b7c36b7e13f5d2396532c28d7ebed3a99251
DIST visit2.7.3.tar.gz 82475238 SHA256 e4ed7b20c4c0fb5aac49181f8ddeae3d2d5a73b1662756ddcaa9d08776a7c39f SHA512 5eea2667482a9b70cf4794446da69595c1145839dfae0afdf961589a09b0f3ad41c44b607f96dbb3e4a3c1ba77161d77a1e0342d6a4e2df8bc73040110c7e8f1 WHIRLPOOL a1157d2424d93037e1ffd8dd10ebc47ae9f3d074a63a811bcadf6db5349dea348432e63d414d4a62a156c9423a1d5fdb240f34b2ec4262e8647def40d999759a
-EBUILD visit-2.7.3.ebuild 2300 SHA256 4fd528ede034b4d8fd66c1e471cf8c410585bfc12d31cbad109d9de0d1bc9113 SHA512 f4475851f1d29285c35311046009059db1883fb09b2bc5c27d5cce9cc604bc2571bbf90fd6cdcdb150994925241b29ab6eb0553f0962a8b6481b4c633423a0d3 WHIRLPOOL 97a190fa133b7f4259b6e4515138df5d5dfffeb27084fbee76a63edd9cad7ce45f3a7609e41dce1195cecb68576fa720a44f71e5880078db3288f9f0f94e924d
+EBUILD visit-2.7.3.ebuild 2402 SHA256 4d4610195742a68a847bb7ec4269b5d76721ef002e1c222627de13379401f490 SHA512 8a6d10d6d77de341e94e159c10d61d2d537c41213c2564a80d44fd0a2c3fbad2ab0b9b551c2af51ff34748292ae743d38483f49b0db6825dc6b249a8e776e00f WHIRLPOOL 67ea1401fe509d1f9fef08a1bbb0849ed2cf1645382aa36c44c022f06b1233fd7231f50c41372a3d4e02affa352d0bf35dc9417606527f705ae35fe5d5d26be7
+MISC ChangeLog 545 SHA256 a66e1253f426c416a2f6edbe934510bc4d47ca678c051742c8c0f3041ceee227 SHA512 95f0db305ce2e515b9fc3d0545813b700ddb534795e3b852478c45c52c5ec85b4a90751a53dc40a456fa3280162fd521f772c00754ba1d7a7184b1135dc8293a WHIRLPOOL e10ba126b04df07f01c11c4afcd43ae877d8b6f7b07133dfe7084f42e5108bcd637b2e97c518670528c68fd7667721554b76d21d65ed7dd6521ab278e538402e
MISC metadata.xml 651 SHA256 871077793d318b6f1eeeb050f03e0b837e83003d88f8e51c586843cd0b4a0adc SHA512 0dea2d275c25b59ec3040cfe62bd093f44e8fd0011a71ce233d04ea933147662a53493e61d424cfd0cb37be24eb2fddc5bb6b6ab134ae4aa11af0305eb02de0a WHIRLPOOL 68b806cebb5f18af212546d6f309efec5d85a6de74857bb923aa656d9907c4ddf8cf57a46236e2280927caefc399b18465b4402d9d14ab49d90d0cd22d9f4df1
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2
+
+iQEcBAEBCAAGBQJT0ks+AAoJEO1RxJ84ipLkuigH/3r7pDz3QnED0skd76CRNnbP
+eI4TkiAohVIWNGTbivQTcZFzG4YCb/KS0Az3LFNYwLGwiRz28de5FLePY999qt/i
+YcfvIUgJTy8Pz8cGHDGTbwIIETdltN/xDt33u+rdPISThgs1BVAVLt6Xnb3+udiG
+uSbwhlKFQFfrXaYcHtiBpPzipyBwobs4a+IfBkQm2iS6DgzcN69YFVBXg3hvM8Ir
+6IN1wEOuBRMeVfuWOow7U3H3li/ZYOMKQ8BZjEyDaOyGJtkjPkd/y/6tUbdhHzWs
+0XcAUz4tqijoI7ddM0WwQa6gekjRGy8SyYzQmuQEIzX4zDdaj6cnqQf+6lD1AZo=
+=fYMe
+-----END PGP SIGNATURE-----
diff --git a/sci-visualization/visit/files/visit-2.7.3-dont_symlink_visit_dir.patch b/sci-visualization/visit/files/visit-2.7.3-dont_symlink_visit_dir.patch
new file mode 100644
index 000000000000..0953e5b9e605
--- /dev/null
+++ b/sci-visualization/visit/files/visit-2.7.3-dont_symlink_visit_dir.patch
@@ -0,0 +1,18 @@
+diff -ru visit2.7.1.old2/src/CMakeLists.txt visit2.7.1/src/CMakeLists.txt
+--- visit2.7.1.old2/src/CMakeLists.txt 2014-01-27 22:10:06.520297262 +0100
++++ visit2.7.1/src/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.7.3-findpython.patch b/sci-visualization/visit/files/visit-2.7.3-findpython.patch
new file mode 100644
index 000000000000..180ffbf379ab
--- /dev/null
+++ b/sci-visualization/visit/files/visit-2.7.3-findpython.patch
@@ -0,0 +1,19 @@
+diff -ru visit2.7.1.old/src/CMake/FindVisItPython.cmake visit2.7.1.new/src/CMake/FindVisItPython.cmake
+--- visit2.7.1.old/src/CMake/FindVisItPython.cmake 2013-09-13 21:06:57.000000000 +0200
++++ visit2.7.1.new/src/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.7.3-findsilo.patch b/sci-visualization/visit/files/visit-2.7.3-findsilo.patch
new file mode 100644
index 000000000000..04d73c37fc16
--- /dev/null
+++ b/sci-visualization/visit/files/visit-2.7.3-findsilo.patch
@@ -0,0 +1,12 @@
+diff -ru visit2.7.1-old/src/CMake/FindSilo.cmake visit2.7.1-new/src/CMake/FindSilo.cmake
+--- visit2.7.1-old/src/CMake/FindSilo.cmake 2013-11-20 20:30:44.000000000 +0100
++++ visit2.7.1-new/src/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.7.3-findvtk.patch b/sci-visualization/visit/files/visit-2.7.3-findvtk.patch
new file mode 100644
index 000000000000..c241e139eaba
--- /dev/null
+++ b/sci-visualization/visit/files/visit-2.7.3-findvtk.patch
@@ -0,0 +1,24 @@
+diff -ru visit2.7.1.old/src/CMake/FindVisItVTK.cmake visit2.7.1.new/src/CMake/FindVisItVTK.cmake
+--- visit2.7.1.old/src/CMake/FindVisItVTK.cmake 2013-09-13 21:06:57.000000000 +0200
++++ visit2.7.1.new/src/CMake/FindVisItVTK.cmake 2014-01-25 20:30:06.948654123 +0100
+@@ -234,11 +234,17 @@
+
+ # 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)
+- FILE(GLOB VTK_PY_WRAPPERS_DIR ${VISIT_VTK_DIR}/lib)
++ FILE(GLOB VTK_PY_WRAPPERS_DIRECTORIES ${VISIT_VTK_DIR}/lib)
+ 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.7.3-vtklibs.patch b/sci-visualization/visit/files/visit-2.7.3-vtklibs.patch
new file mode 100644
index 000000000000..9f2416dba2a1
--- /dev/null
+++ b/sci-visualization/visit/files/visit-2.7.3-vtklibs.patch
@@ -0,0 +1,142 @@
+diff -ru visit2.7.1.old/src/engine/main/CMakeLists.txt visit2.7.1.new/src/engine/main/CMakeLists.txt
+--- visit2.7.1.old/src/engine/main/CMakeLists.txt 2013-09-13 21:13:13.000000000 +0200
++++ visit2.7.1.new/src/engine/main/CMakeLists.txt 2014-01-25 20:30:06.948654123 +0100
+@@ -184,8 +184,8 @@
+ ${engine_ser_exe_EPlot_ser}
+ engine_ser
+ visit_verdict
+- vtkjpeg
+- vtkpng
++ jpeg
++ png
+ ${VTKZLIB_LIB}
+ ${VTK_FREETYPE_LIBRARIES}
+ vtkftgl
+@@ -268,8 +268,8 @@
+ ${engine_par_exe_EPlot_par}
+ engine_par
+ visit_verdict
+- vtkjpeg
+- vtkpng
++ jpeg
++ png
+ ${VTKZLIB_LIB}
+ ${VTK_FREETYPE_LIBRARIES}
+ vtkftgl
+diff -ru visit2.7.1.old/src/mdserver/main/CMakeLists.txt visit2.7.1.new/src/mdserver/main/CMakeLists.txt
+--- visit2.7.1.old/src/mdserver/main/CMakeLists.txt 2013-09-13 21:07:04.000000000 +0200
++++ visit2.7.1.new/src/mdserver/main/CMakeLists.txt 2014-01-25 20:30:06.948654123 +0100
+@@ -118,10 +118,10 @@
+ visit_verdict
+ vtkCommonCore
+ vtkIOCore
+- vtktiff
++ tiff
+ ${VTKZLIB_LIB}
+- vtkpng
+- vtkjpeg
++ png
++ jpeg
+ ${ZLIB_LIB}
+ ${CMAKE_THREAD_LIBS}
+ ${DL_LIB}
+diff -ru visit2.7.1.old/src/svn_bin/static_simV2.py visit2.7.1.new/src/svn_bin/static_simV2.py
+--- visit2.7.1.old/src/svn_bin/static_simV2.py 2013-09-13 21:12:52.000000000 +0200
++++ visit2.7.1.new/src/svn_bin/static_simV2.py 2014-01-25 20:30:06.948654123 +0100
+@@ -176,7 +176,7 @@
+ #
+ # Print the link lines that we'd have to use to get the -l's
+ #
+-vtk_libs="-lvtkCommon -lvtkGraphics -lvtkHybrid -lvtkRendering -lvtkImaging -lvtkGenericFiltering -lvtkFiltering -lvtkIO -lvtksys -lvtkfreetype -lvtkftgl -lvtkjpeg -lvtktiff -lvtkpng -lvtkexpat -lvtklibxml2 -lvtkzlib "
++vtk_libs="-lvtkCommon -lvtkGraphics -lvtkHybrid -lvtkRendering -lvtkImaging -lvtkGenericFiltering -lvtkFiltering -lvtkIO -lvtksys -lvtkfreetype -lvtkftgl -ljpeg -ltiff -lpng -lexpat -lvtklibxml2 -lz "
+ frameworks = "-lGL "
+ if sys.platform == "darwin":
+ frameworks = "-framework OpenGL -framework AGL -framework SystemConfiguration -framework IOKit -framework Cocoa "
+diff -ru visit2.7.1.old/src/tools/convert/CMakeLists.txt visit2.7.1.new/src/tools/convert/CMakeLists.txt
+--- visit2.7.1.old/src/tools/convert/CMakeLists.txt 2013-10-09 22:15:21.000000000 +0200
++++ visit2.7.1.new/src/tools/convert/CMakeLists.txt 2014-01-25 20:30:06.948654123 +0100
+@@ -104,8 +104,8 @@
+ )
+
+ SET(VTK_EXTRA_LIBS
+-vtkjpeg
+-vtkpng
++jpeg
++png
+ ${VTKZLIB_LIB}
+ ${VTK_FREETYPE_LIBRARIES}
+ vtkftgl
+diff -ru visit2.7.1.old/src/tools/dataserver/CMakeLists.txt visit2.7.1.new/src/tools/dataserver/CMakeLists.txt
+--- visit2.7.1.old/src/tools/dataserver/CMakeLists.txt 2013-09-13 21:08:25.000000000 +0200
++++ visit2.7.1.new/src/tools/dataserver/CMakeLists.txt 2014-01-25 20:30:06.948654123 +0100
+@@ -69,9 +69,9 @@
+ )
+
+ SET(VTK_EXTRA_LIBS
+-vtktiff
+-vtkjpeg
+-vtkpng
++tiff
++jpeg
++png
+ ${VTKZLIB_LIB}
+ ${VTK_FREETYPE_LIBRARIES}
+ vtkftgl
+diff -ru visit2.7.1.old/src/tools/mcurvit/CMakeLists.txt visit2.7.1.new/src/tools/mcurvit/CMakeLists.txt
+--- visit2.7.1.old/src/tools/mcurvit/CMakeLists.txt 2013-09-13 21:08:15.000000000 +0200
++++ visit2.7.1.new/src/tools/mcurvit/CMakeLists.txt 2014-01-25 20:30:06.948654123 +0100
+@@ -104,9 +104,9 @@
+ )
+
+ SET(VTK_EXTRA_LIBS
+-vtktiff
+-vtkjpeg
+-vtkpng
++tiff
++jpeg
++png
+ ${VTKZLIB_LIB}
+ ${VTK_FREETYPE_LIBRARIES}
+ vtkftgl
+diff -ru visit2.7.1.old/src/tools/protocol/CMakeLists.txt visit2.7.1.new/src/tools/protocol/CMakeLists.txt
+--- visit2.7.1.old/src/tools/protocol/CMakeLists.txt 2013-09-13 21:08:16.000000000 +0200
++++ visit2.7.1.new/src/tools/protocol/CMakeLists.txt 2014-01-25 20:30:06.948654123 +0100
+@@ -75,9 +75,9 @@
+ )
+
+ SET(VTK_EXTRA_LIBS
+-vtktiff
+-vtkjpeg
+-vtkpng
++tiff
++jpeg
++png
+ ${VTKZLIB_LIB}
+ ${VTK_FREETYPE_LIBRARIES}
+ vtkftgl
+diff -ru visit2.7.1.old/src/viewer/main/CMakeLists.txt visit2.7.1.new/src/viewer/main/CMakeLists.txt
+--- visit2.7.1.old/src/viewer/main/CMakeLists.txt 2013-09-13 21:08:36.000000000 +0200
++++ visit2.7.1.new/src/viewer/main/CMakeLists.txt 2014-01-25 20:30:06.948654123 +0100
+@@ -272,8 +272,8 @@
+ ${viewer_exe_IPlot}
+ ${viewer_exe_VPlot}
+ viewer
+- vtkpng
+- vtkjpeg
++ png
++ jpeg
+ ${VTKZLIB_LIB}
+ ${VTK_FREETYPE_LIBRARIES}
+ vtkftgl
+diff -ru visit2.7.1.old/src/visit_vtk/full/CMakeLists.txt visit2.7.1.new/src/visit_vtk/full/CMakeLists.txt
+--- visit2.7.1.old/src/visit_vtk/full/CMakeLists.txt 2013-09-13 21:07:03.000000000 +0200
++++ visit2.7.1.new/src/visit_vtk/full/CMakeLists.txt 2014-01-25 20:30:06.948654123 +0100
+@@ -122,7 +122,7 @@
+ LINK_DIRECTORIES(${LIBRARY_OUTPUT_DIRECTORY} ${VTK_LIBRARY_DIRS})
+
+ ADD_LIBRARY(visit_vtk ${VISIT_VTK_SOURCES})
+-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 tiff)
+ # Add vtk definitions
+ ADD_TARGET_DEFINITIONS(visit_vtk "${VTK_DEFINITIONS}")
+
diff --git a/sci-visualization/visit/metadata.xml b/sci-visualization/visit/metadata.xml
new file mode 100644
index 000000000000..e21bd2fef7c5
--- /dev/null
+++ b/sci-visualization/visit/metadata.xml
@@ -0,0 +1,20 @@
+<?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>
+ <email>slis@gentoo.org</email>
+ </maintainer>
+ <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>
+ </use>
+</pkgmetadata>
diff --git a/sci-visualization/visit/visit-2.7.3.ebuild b/sci-visualization/visit/visit-2.7.3.ebuild
new file mode 100644
index 000000000000..394d9775c110
--- /dev/null
+++ b/sci-visualization/visit/visit-2.7.3.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/visit/visit-2.7.3.ebuild,v 1.1 2014/07/25 12:24:12 slis Exp $
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+
+inherit cmake-utils python-single-r1
+
+DESCRIPTION="A software that delivers parallel interactive visualizations"
+HOMEPAGE="https://wci.llnl.gov/codes/visit/home.html"
+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 netcdf silo tcmalloc threads"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ tcmalloc? ( dev-util/google-perftools )
+ cgns? ( sci-libs/cgnslib )
+ hdf5? ( sci-libs/hdf5 )
+ netcdf? ( sci-libs/netcdf )
+ silo? ( sci-libs/silo )
+ >=sci-libs/vtk-6.0.0[imaging,python,rendering,${PYTHON_USEDEP}]
+ sys-libs/zlib"
+DEPEND="${RDEPEND}"
+
+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"
+)
+
+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"
+ $(cmake-utils_use threads VISIT_THREAD)
+ )
+ 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
+
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ PACKAGES_DIR="${ROOT}opt/visit/${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/visit/bin
+ LDPATH=${EPREFIX}/opt/visit/${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"
+} \ No newline at end of file