diff options
author | Markus Dittrich <markusle@gentoo.org> | 2006-10-18 17:45:29 +0000 |
---|---|---|
committer | Markus Dittrich <markusle@gentoo.org> | 2006-10-18 17:45:29 +0000 |
commit | 4aeb4ce83808c6afb4720890ee4829889d79ddc2 (patch) | |
tree | c2e12f295586e5d74c685c4e28aa487b98c682b6 /sci-visualization | |
parent | Stable on sparc wrt #151835 (diff) | |
download | gentoo-2-4aeb4ce83808c6afb4720890ee4829889d79ddc2.tar.gz gentoo-2-4aeb4ce83808c6afb4720890ee4829889d79ddc2.tar.bz2 gentoo-2-4aeb4ce83808c6afb4720890ee4829889d79ddc2.zip |
Initial import (fixes bug #118130).
(Portage version: 2.1.2_pre3-r2)
Diffstat (limited to 'sci-visualization')
-rw-r--r-- | sci-visualization/paraview/ChangeLog | 12 | ||||
-rw-r--r-- | sci-visualization/paraview/Manifest | 24 | ||||
-rw-r--r-- | sci-visualization/paraview/files/digest-paraview-2.4.4 | 3 | ||||
-rw-r--r-- | sci-visualization/paraview/files/paraview-2.4.4-hdf5-zlib.patch | 15 | ||||
-rw-r--r-- | sci-visualization/paraview/files/paraview-2.4.4-png.patch | 15 | ||||
-rw-r--r-- | sci-visualization/paraview/metadata.xml | 9 | ||||
-rw-r--r-- | sci-visualization/paraview/paraview-2.4.4.ebuild | 89 |
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..00b162df616b --- /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 2548 RMD160 1711d097ae9d48872fc397aa2dca12e406b9a8bc SHA1 10625bc442ef248a527ace6effbf794e5f9b054f SHA256 1e022ac3a2a71ee8adab9f8265e8ddab84e2b264a5013c135679c40f3a6825bc +MD5 344d954b1fd3f6cc42ebf620c4b11e62 paraview-2.4.4.ebuild 2548 +RMD160 1711d097ae9d48872fc397aa2dca12e406b9a8bc paraview-2.4.4.ebuild 2548 +SHA256 1e022ac3a2a71ee8adab9f8265e8ddab84e2b264a5013c135679c40f3a6825bc paraview-2.4.4.ebuild 2548 +MISC ChangeLog 450 RMD160 b491035f969b242d0af49154ed343b7a914bcac1 SHA1 550052edee0199f744f7fa6fd1e8505c3f9e2ead SHA256 f8ebc7545b50f8b94c7864a3b9bfde71371e5c82586b55918387d8c1afbfff72 +MD5 10e196f95e40f6583db4319dd0decfc4 ChangeLog 450 +RMD160 b491035f969b242d0af49154ed343b7a914bcac1 ChangeLog 450 +SHA256 f8ebc7545b50f8b94c7864a3b9bfde71371e5c82586b55918387d8c1afbfff72 ChangeLog 450 +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" +} |