summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2006-10-18 17:45:29 +0000
committerMarkus Dittrich <markusle@gentoo.org>2006-10-18 17:45:29 +0000
commita41d57dcf47b4486eda8313b3ba9e690090bdca3 (patch)
tree884c0d9d387912778ee575925a5223c5ba86e365 /sci-visualization
parentStable on sparc wrt #151835 (diff)
downloadhistorical-a41d57dcf47b4486eda8313b3ba9e690090bdca3.tar.gz
historical-a41d57dcf47b4486eda8313b3ba9e690090bdca3.tar.bz2
historical-a41d57dcf47b4486eda8313b3ba9e690090bdca3.zip
Initial import (fixes bug #118130).
Package-Manager: portage-2.1.2_pre3-r2
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/paraview/ChangeLog12
-rw-r--r--sci-visualization/paraview/Manifest24
-rw-r--r--sci-visualization/paraview/files/digest-paraview-2.4.43
-rw-r--r--sci-visualization/paraview/files/paraview-2.4.4-hdf5-zlib.patch15
-rw-r--r--sci-visualization/paraview/files/paraview-2.4.4-png.patch15
-rw-r--r--sci-visualization/paraview/metadata.xml9
-rw-r--r--sci-visualization/paraview/paraview-2.4.4.ebuild89
7 files changed, 167 insertions, 0 deletions
diff --git a/sci-visualization/paraview/ChangeLog b/sci-visualization/paraview/ChangeLog
new file mode 100644
index 000000000000..af22b5602f39
--- /dev/null
+++ b/sci-visualization/paraview/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for sci-visualization/paraview
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/paraview/ChangeLog,v 1.1 2006/10/18 17:45:29 markusle Exp $
+
+*paraview-2.4.4 (18 Oct 2006)
+
+ 18 Oct 2006; Markus Dittrich <markusle@gentoo.org>
+ +files/paraview-2.4.4-hdf5-zlib.patch, +files/paraview-2.4.4-png.patch,
+ +metadata.xml, +paraview-2.4.4.ebuild:
+ Initial import (fixes bug #118130). Many thanks to Daniel Tourde
+ <daniel.tourde@caelae.se> for his ebuild and testing.
+
diff --git a/sci-visualization/paraview/Manifest b/sci-visualization/paraview/Manifest
new file mode 100644
index 000000000000..0337e08c57ef
--- /dev/null
+++ b/sci-visualization/paraview/Manifest
@@ -0,0 +1,24 @@
+AUX paraview-2.4.4-hdf5-zlib.patch 631 RMD160 6902907978095c7b34850ab762bfdb18e1fe5543 SHA1 cb47273f958c00e67f13eb0ec1d8132c26a92bb5 SHA256 fd127e5db0d378985089dedc8cab44c065ad3bfcb1a0aed80c19794337a6a603
+MD5 022b62f66e9bf3fb089633c4e9f75aac files/paraview-2.4.4-hdf5-zlib.patch 631
+RMD160 6902907978095c7b34850ab762bfdb18e1fe5543 files/paraview-2.4.4-hdf5-zlib.patch 631
+SHA256 fd127e5db0d378985089dedc8cab44c065ad3bfcb1a0aed80c19794337a6a603 files/paraview-2.4.4-hdf5-zlib.patch 631
+AUX paraview-2.4.4-png.patch 539 RMD160 a48cfba537b2d541d3ef6826b9569e479cfc0b6b SHA1 0bfae92a2d997c36716f64ba692e168b010e238a SHA256 3f7a3375432d082eb838299f5021f1591137006ea9f96b4b641dd7fef7e23414
+MD5 6bf62cd113889c5cee8b1e3aa7043f70 files/paraview-2.4.4-png.patch 539
+RMD160 a48cfba537b2d541d3ef6826b9569e479cfc0b6b files/paraview-2.4.4-png.patch 539
+SHA256 3f7a3375432d082eb838299f5021f1591137006ea9f96b4b641dd7fef7e23414 files/paraview-2.4.4-png.patch 539
+DIST paraview-2.4.4.tar.gz 45431692 RMD160 21877872a56ffa44a5cc15232fe58bdcb4c94c2d SHA1 a5fa3263a8baf427ce0c1d587da1095e1cbb417e SHA256 2af388f046ceeff87fa6241ce91bfb55ac090c47f817486f130b7c8714aa8b1e
+EBUILD paraview-2.4.4.ebuild 2660 RMD160 a138a68a7c8b7ae68f1b7e0fbdb4307ee5a146b4 SHA1 46a8825cdf4520a03d4b0a1cc972bd7ff9326dac SHA256 52c63b89171194193051bc7916f6af79791b5a6e4790ffae6c46eec8c187f66a
+MD5 ad2068125bf20c12b51be38241cbd704 paraview-2.4.4.ebuild 2660
+RMD160 a138a68a7c8b7ae68f1b7e0fbdb4307ee5a146b4 paraview-2.4.4.ebuild 2660
+SHA256 52c63b89171194193051bc7916f6af79791b5a6e4790ffae6c46eec8c187f66a paraview-2.4.4.ebuild 2660
+MISC ChangeLog 550 RMD160 f24bf556f4343a3cc7580d90609c8c68162b1301 SHA1 03acd51f57d0f893b39d3148a5b9b4e6625e2098 SHA256 20bfcebad0019eedec9ba674167fd45082d678f48692d6308a440f6efd0004b6
+MD5 19d196c8795d213e0ef3ef52aa66a89d ChangeLog 550
+RMD160 f24bf556f4343a3cc7580d90609c8c68162b1301 ChangeLog 550
+SHA256 20bfcebad0019eedec9ba674167fd45082d678f48692d6308a440f6efd0004b6 ChangeLog 550
+MISC metadata.xml 254 RMD160 8e9562c9dd3bd05fdf2dd40bcc5b2ed3dbe9ab75 SHA1 53acb8f334765223c1030a8eb242d584ad376706 SHA256 131c089c8a699c3fb7e8b914f68af259e0b0ad341fba3a8f87827871fc7be701
+MD5 faca3b9ef12d38400a0b53e1818ce89d metadata.xml 254
+RMD160 8e9562c9dd3bd05fdf2dd40bcc5b2ed3dbe9ab75 metadata.xml 254
+SHA256 131c089c8a699c3fb7e8b914f68af259e0b0ad341fba3a8f87827871fc7be701 metadata.xml 254
+MD5 b309956e3e4dbeef4fe9ced4c207239c files/digest-paraview-2.4.4 250
+RMD160 329fce13819ea910f848e506834d67a5212e607e files/digest-paraview-2.4.4 250
+SHA256 8570b4f543e3efc6f150426f2963110622db9c4730e17cb98c492adc1a1171e8 files/digest-paraview-2.4.4 250
diff --git a/sci-visualization/paraview/files/digest-paraview-2.4.4 b/sci-visualization/paraview/files/digest-paraview-2.4.4
new file mode 100644
index 000000000000..e0f6e305ef4c
--- /dev/null
+++ b/sci-visualization/paraview/files/digest-paraview-2.4.4
@@ -0,0 +1,3 @@
+MD5 7f8e926542268546563e8e8c1d4ad852 paraview-2.4.4.tar.gz 45431692
+RMD160 21877872a56ffa44a5cc15232fe58bdcb4c94c2d paraview-2.4.4.tar.gz 45431692
+SHA256 2af388f046ceeff87fa6241ce91bfb55ac090c47f817486f130b7c8714aa8b1e paraview-2.4.4.tar.gz 45431692
diff --git a/sci-visualization/paraview/files/paraview-2.4.4-hdf5-zlib.patch b/sci-visualization/paraview/files/paraview-2.4.4-hdf5-zlib.patch
new file mode 100644
index 000000000000..a345e9e872c7
--- /dev/null
+++ b/sci-visualization/paraview/files/paraview-2.4.4-hdf5-zlib.patch
@@ -0,0 +1,15 @@
+--- paraview-2.4.4/CMakeLists.txt 2006-06-29 09:01:13.000000000 -0400
++++ paraview-2.4.4-new/CMakeLists.txt 2006-09-10 16:02:12.000000000 -0400
+@@ -382,7 +382,11 @@
+ SET(VTKHDF5_INSTALL_NO_RUNTIME ${PV_INSTALL_NO_RUNTIME})
+ SET(VTKHDF5_INSTALL_LIB_DIR ${PV_INSTALL_LIB_DIR})
+ SET(PARAVIEW_HDF5_LIBRARIES vtkhdf5)
+- SET(HDF5_ZLIB_HEADER "vtk_zlib.h")
++ IF(VTK_USE_SYSTEM_ZLIB)
++ SET(HDF5_ZLIB_HEADER "zlib.h")
++ ELSE(VTK_USE_SYSTEM_ZLIB)
++ SET(HDF5_ZLIB_HEADER "vtk_zlib.h")
++ ENDIF(VTK_USE_SYSTEM_ZLIB)
+ SET(HDF5_INCLUDE_DIR
+ ${ParaView_SOURCE_DIR}/Utilities/hdf5
+ ${ParaView_BINARY_DIR}/Utilities/hdf5)
diff --git a/sci-visualization/paraview/files/paraview-2.4.4-png.patch b/sci-visualization/paraview/files/paraview-2.4.4-png.patch
new file mode 100644
index 000000000000..ba456a6395db
--- /dev/null
+++ b/sci-visualization/paraview/files/paraview-2.4.4-png.patch
@@ -0,0 +1,15 @@
+--- paraview-2.4.4/GUI/Widgets/CMakeLists.txt 2005-10-20 10:32:11.000000000 -0400
++++ paraview-2.4.4-new/GUI/Widgets/CMakeLists.txt 2006-09-10 19:46:55.000000000 -0400
+@@ -397,7 +397,11 @@
+ TARGET_LINK_LIBRARIES (KWWidgets vtkParallel)
+ ENDIF(VTK_USE_PARALLEL OR VTK_USE_PARALLEL_ISSET)
+ ENDIF(VTK_WRAP_TCL)
+-TARGET_LINK_LIBRARIES (KWWidgets vtkpng)
++IF(VTK_USE_SYSTEM_PNG)
++ TARGET_LINK_LIBRARIES (KWWidgets png)
++ELSE(VTK_USE_SYSTEM_PNG)
++ TARGET_LINK_LIBRARIES (KWWidgets vtkpng)
++ENDIF(VTK_USE_SYSTEM_PNG)
+
+ # We need KWSys
+
diff --git a/sci-visualization/paraview/metadata.xml b/sci-visualization/paraview/metadata.xml
new file mode 100644
index 000000000000..22633b1360bc
--- /dev/null
+++ b/sci-visualization/paraview/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci</herd>
+ <maintainer>
+ <email>markusle@gentoo.org</email>
+ <name>Markus Dittrich</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/sci-visualization/paraview/paraview-2.4.4.ebuild b/sci-visualization/paraview/paraview-2.4.4.ebuild
new file mode 100644
index 000000000000..69ddc7d6bc19
--- /dev/null
+++ b/sci-visualization/paraview/paraview-2.4.4.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/paraview/paraview-2.4.4.ebuild,v 1.1 2006/10/18 17:45:29 markusle Exp $
+
+inherit distutils eutils flag-o-matic toolchain-funcs versionator python
+
+DESCRIPTION="ParaView is a powerful scientific data visualization application"
+HOMEPAGE="http://www.paraview.org"
+SRC_URI="http://www.${PN}.org/files/v2.4/${P}.tar.gz"
+
+LICENSE="BSD"
+KEYWORDS="~x86"
+SLOT="0"
+IUSE="mpi python hdf5 doc examples"
+RDEPEND="hdf5? ( sci-libs/hdf5 )
+ doc? ( app-doc/doxygen )
+ mpi? ( sys-cluster/mpich )
+ python? ( >=dev-lang/python-2.0 )
+ media-libs/libpng
+ media-libs/jpeg
+ media-libs/tiff
+ dev-libs/expat
+ sys-libs/zlib
+ media-libs/freetype
+ virtual/opengl
+ dev-lang/tcl
+ dev-lang/tk
+ || ( x11-libs/libXmu virtual/x11 )"
+
+DEPEND="${RDEPEND}
+ >=dev-util/cmake-2.4.3"
+
+
+BUILDDIR="${WORKDIR}/build"
+
+src_unpack() {
+ unpack ${A}
+ mkdir "${BUILDDIR}" || die "Failed to generate build directory"
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-hdf5-zlib.patch
+ epatch "${FILESDIR}"/${P}-png.patch
+}
+
+src_compile() {
+ cd "${BUILDDIR}"
+ local CMAKE_VARIABLES=""
+ CMAKE_VARIABLES="${CMAKE_VARIABLES} -DCMAKE_INSTALL_PREFIX:PATH=/usr"
+ CMAKE_VARIABLES="${CMAKE_VARIABLES} -DBUILD_SHARED_LIBS:BOOL=ON"
+ CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_SYSTEM_FREETYPE:BOOL=ON"
+ CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_SYSTEM_JPEG:BOOL=ON"
+ CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_SYSTEM_PNG:BOOL=ON"
+ CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_SYSTEM_TIFF:BOOL=ON"
+ CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_SYSTEM_ZLIB:BOOL=ON"
+ CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_SYSTEM_EXPAT:BOOL=ON"
+
+ if use hdf5; then
+ CMAKE_VARIABLES="${CMAKE_VARIABLES} -DPARAVIEW_USE_SYSTEM_HDF5:BOOL=ON"
+ fi
+
+ if use mpi; then
+ CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_MPI:BOOL=ON"
+ fi
+
+ if use python; then
+ python_version
+ CMAKE_VARIABLES="${CMAKE_VARIABLES} -DPARAVIEW_WRAP_PYTHON:BOOL=ON"
+ CMAKE_VARIABLES="${CMAKE_VARIABLES} -DPYTHON_INCLUDE_PATH:PATH=/usr/include/python${PYVER}"
+ CMAKE_VARIABLES="${CMAKE_VARIABLES} -DPYTHON_LIBRARY:PATH=/usr/$(get_libdir)/libpython${PYVER}.so"
+ fi
+
+ use doc && CMAKE_VARIABLES="${CMAKE_VARIABLES} -DBUILD_DOCUMENTATION:BOOL=ON"
+
+ if use examples; then
+ CMAKE_VARIABLES="${CMAKE_VARIABLES} -DBUILD_EXAMPLES:BOOL=ON"
+ else
+ CMAKE_VARIABLES="${CMAKE_VARIABLES} -DBUILD_EXAMPLES:BOOL=OFF"
+ fi
+
+ cmake ${CMAKE_VARIABLES} ${S} \
+ || die "cmake configuration failed"
+
+ emake || die "emake failed"
+
+}
+
+src_install() {
+ cd ${BUILDDIR}
+ make DESTDIR=${D} install || die "make install failed"
+}