public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: sci-visualization/paraview/
@ 2012-09-20  1:56 Francois Bissey
  0 siblings, 0 replies; 8+ messages in thread
From: Francois Bissey @ 2012-09-20  1:56 UTC (permalink / raw
  To: gentoo-commits

commit:     f71592615d0557aeba1a5ec744384ee66ac8c7e5
Author:     François Bissey <francois.bissey <AT> canterbury <DOT> ac <DOT> nz>
AuthorDate: Thu Sep 20 01:55:33 2012 +0000
Commit:     Francois Bissey <f.r.bissey <AT> massey <DOT> ac <DOT> nz>
CommitDate: Thu Sep 20 01:55:33 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=f7159261

change one useflag name in paraview 3.14.1

---
 sci-visualization/paraview/ChangeLog               |    6 ++++++
 sci-visualization/paraview/metadata.xml            |    1 +
 ...-3.14.1-r3.ebuild => paraview-3.14.1-r4.ebuild} |    8 ++++----
 3 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/sci-visualization/paraview/ChangeLog b/sci-visualization/paraview/ChangeLog
index 7030301..f5ecfaf 100644
--- a/sci-visualization/paraview/ChangeLog
+++ b/sci-visualization/paraview/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*paraview-3.14.1-r4 (20 Sep 2012)
+
+  20 Sep 2012; François Bissey <francois.bissey@canterbury.ac.nz>
+  -paraview-3.14.1-r3.ebuild, +paraview-3.14.1-r4.ebuild, metadata.xml:
+  change postscript useflag to gl2ps as in opencascade
+
 *paraview-3.14.1-r3 (16 Sep 2012)
 
   16 Sep 2012; François Bissey <francois.bissey@canterbury.ac.nz>

diff --git a/sci-visualization/paraview/metadata.xml b/sci-visualization/paraview/metadata.xml
index c123608..5a805e3 100644
--- a/sci-visualization/paraview/metadata.xml
+++ b/sci-visualization/paraview/metadata.xml
@@ -16,6 +16,7 @@
 		<flag name='mysql'>Build support for MySQL data item in the XDMF format</flag>
 		<flag name='nvcontrol'>Add NVCONTROL support for OpenGL options</flag>
 		<flag name='webkit'>Built support for qt-webkit in vtk</flag>
+		<flag name='gl2ps'>Enables gl2ps PostScript printing library</flag>
 		<flag name='coprocessing'>Enable the coprocessing infrastructure which is mainly useful in the context of clusters</flag>
 	</use>
 </pkgmetadata>

diff --git a/sci-visualization/paraview/paraview-3.14.1-r3.ebuild b/sci-visualization/paraview/paraview-3.14.1-r4.ebuild
similarity index 97%
rename from sci-visualization/paraview/paraview-3.14.1-r3.ebuild
rename to sci-visualization/paraview/paraview-3.14.1-r4.ebuild
index 5eb288d..0f65b02 100644
--- a/sci-visualization/paraview/paraview-3.14.1-r3.ebuild
+++ b/sci-visualization/paraview/paraview-3.14.1-r4.ebuild
@@ -20,7 +20,7 @@ RESTRICT="mirror"
 LICENSE="paraview GPL-2"
 KEYWORDS="~x86 ~amd64"
 SLOT="0"
-IUSE="boost cg -coprocessing doc examples +gui mpi mysql postscript nvcontrol +plugins +python webkit ffmpeg theora"
+IUSE="boost cg -coprocessing doc examples +gui mpi mysql gl2ps nvcontrol +plugins +python webkit ffmpeg theora"
 
 RDEPEND="
 	~sci-libs/netcdf-4.1.3[cxx,hdf5]
@@ -45,7 +45,7 @@ RDEPEND="
 	)
 	ffmpeg? ( virtual/ffmpeg )
 	theora? ( media-libs/libtheora )
-	postscript? ( x11-libs/gl2ps )
+	gl2ps? ( x11-libs/gl2ps )
 	dev-libs/libxml2:2
 	dev-db/sqlite:3
 	media-libs/libpng
@@ -161,8 +161,8 @@ src_configure() {
 		$(cmake-utils_use nvcontrol VTK_USE_NVCONTROL)
 		$(cmake-utils_use mysql XDMF_USE_MYSQL)
 		$(cmake-utils_use mysql VTK_USE_MYSQL)
-		$(cmake-utils_use postscript VTK_USE_GL2PS)
-		$(cmake-utils_use postscript VTK_USE_SYSTEM_GL2PS)
+		$(cmake-utils_use gl2ps VTK_USE_GL2PS)
+		$(cmake-utils_use gl2ps VTK_USE_SYSTEM_GL2PS)
 		$(cmake-utils_use coprocessing PARAVIEW_ENABLE_COPROCESSING)
 		$(cmake-utils_use ffmpeg VTK_USE_FFMPEG_ENCODER)
 		$(cmake-utils_use theora VTK_USE_THEORA_ENCODER)


^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-visualization/paraview/
@ 2012-12-17  7:55 Francois Bissey
  0 siblings, 0 replies; 8+ messages in thread
From: Francois Bissey @ 2012-12-17  7:55 UTC (permalink / raw
  To: gentoo-commits

commit:     e0b568f7df3167f0aac8408161132cc893a2f987
Author:     François Bissey <francois.bissey <AT> canterbury <DOT> ac <DOT> nz>
AuthorDate: Mon Dec 17 07:54:59 2012 +0000
Commit:     Francois Bissey <f.r.bissey <AT> massey <DOT> ac <DOT> nz>
CommitDate: Mon Dec 17 07:54:59 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=e0b568f7

Sort webkit dep in paraview 3.14

---
 sci-visualization/paraview/ChangeLog               |    4 ++++
 .../paraview/paraview-3.14.1-r4.ebuild             |    8 ++++----
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/sci-visualization/paraview/ChangeLog b/sci-visualization/paraview/ChangeLog
index f5ecfaf..3e1d906 100644
--- a/sci-visualization/paraview/ChangeLog
+++ b/sci-visualization/paraview/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  17 Dec 2012; François Bissey <francois.bissey@canterbury.ac.nz>
+  paraview-3.14.1-r4.ebuild:
+  sort webkit dependencies
+
 *paraview-3.14.1-r4 (20 Sep 2012)
 
   20 Sep 2012; François Bissey <francois.bissey@canterbury.ac.nz>

diff --git a/sci-visualization/paraview/paraview-3.14.1-r4.ebuild b/sci-visualization/paraview/paraview-3.14.1-r4.ebuild
index 0f65b02..77c2d5c 100644
--- a/sci-visualization/paraview/paraview-3.14.1-r4.ebuild
+++ b/sci-visualization/paraview/paraview-3.14.1-r4.ebuild
@@ -20,7 +20,7 @@ RESTRICT="mirror"
 LICENSE="paraview GPL-2"
 KEYWORDS="~x86 ~amd64"
 SLOT="0"
-IUSE="boost cg -coprocessing doc examples +gui mpi mysql gl2ps nvcontrol +plugins +python webkit ffmpeg theora"
+IUSE="boost cg -coprocessing doc examples +gui mpi mysql gl2ps nvcontrol +plugins +python ffmpeg theora"
 
 RDEPEND="
 	~sci-libs/netcdf-4.1.3[cxx,hdf5]
@@ -32,14 +32,14 @@ RDEPEND="
 		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 ) )
+		x11-libs/qt-webkit:4 )
 	mysql? ( virtual/mysql )
 	coprocessing? ( plugins? (
 			x11-libs/qt-gui:4
 			dev-python/PyQt4 ) )
 	python? (
 		dev-python/sip
-		gui? ( dev-python/PyQt4 )
+		gui? ( dev-python/PyQt4[opengl,webkit] )
 		dev-python/numpy
 		mpi? ( dev-python/mpi4py )
 	)
@@ -176,7 +176,7 @@ src_configure() {
 	if ( use gui ); then
 		mycmakeargs+=(
 			-DVTK_INSTALL_QT_DIR=/${PVLIBDIR}/plugins/designer
-			$(cmake-utils_use webkit VTK_QT_USE_WEBKIT))
+			-DVTK_QT_USE_WEBKIT=ON )
 		if use python ; then
 			# paraview cannot guess sip directory right probably because a path is not propagated properly
 			mycmakeargs+=(


^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-visualization/paraview/
@ 2012-09-16 10:48 Francois Bissey
  0 siblings, 0 replies; 8+ messages in thread
From: Francois Bissey @ 2012-09-16 10:48 UTC (permalink / raw
  To: gentoo-commits

commit:     d282084b4b7278f9201720d6703f3dab43ced470
Author:     François Bissey <francois.bissey <AT> canterbury <DOT> ac <DOT> nz>
AuthorDate: Sun Sep 16 10:46:37 2012 +0000
Commit:     Francois Bissey <f.r.bissey <AT> massey <DOT> ac <DOT> nz>
CommitDate: Sun Sep 16 10:47:34 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=d282084b

Enable postscript support in paraview 3.14.1 through gl2ps

---
 sci-visualization/paraview/ChangeLog               |    6 ++++++
 ...-3.14.1-r2.ebuild => paraview-3.14.1-r3.ebuild} |    5 ++++-
 2 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/sci-visualization/paraview/ChangeLog b/sci-visualization/paraview/ChangeLog
index 67889a1..7030301 100644
--- a/sci-visualization/paraview/ChangeLog
+++ b/sci-visualization/paraview/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*paraview-3.14.1-r3 (16 Sep 2012)
+
+  16 Sep 2012; François Bissey <francois.bissey@canterbury.ac.nz>
+  -paraview-3.14.1-r2.ebuild, +paraview-3.14.1-r3.ebuild:
+  add a ps useflags for gl2ps
+
 *paraview-3.14.1-r2 (31 Aug 2012)
 
   31 Aug 2012; François Bissey <francois.bissey@canterbury.ac.nz>

diff --git a/sci-visualization/paraview/paraview-3.14.1-r2.ebuild b/sci-visualization/paraview/paraview-3.14.1-r3.ebuild
similarity index 97%
rename from sci-visualization/paraview/paraview-3.14.1-r2.ebuild
rename to sci-visualization/paraview/paraview-3.14.1-r3.ebuild
index 30bbe33..5eb288d 100644
--- a/sci-visualization/paraview/paraview-3.14.1-r2.ebuild
+++ b/sci-visualization/paraview/paraview-3.14.1-r3.ebuild
@@ -20,7 +20,7 @@ RESTRICT="mirror"
 LICENSE="paraview GPL-2"
 KEYWORDS="~x86 ~amd64"
 SLOT="0"
-IUSE="boost cg -coprocessing doc examples +gui mpi mysql nvcontrol +plugins +python webkit ffmpeg theora"
+IUSE="boost cg -coprocessing doc examples +gui mpi mysql postscript nvcontrol +plugins +python webkit ffmpeg theora"
 
 RDEPEND="
 	~sci-libs/netcdf-4.1.3[cxx,hdf5]
@@ -45,6 +45,7 @@ RDEPEND="
 	)
 	ffmpeg? ( virtual/ffmpeg )
 	theora? ( media-libs/libtheora )
+	postscript? ( x11-libs/gl2ps )
 	dev-libs/libxml2:2
 	dev-db/sqlite:3
 	media-libs/libpng
@@ -160,6 +161,8 @@ src_configure() {
 		$(cmake-utils_use nvcontrol VTK_USE_NVCONTROL)
 		$(cmake-utils_use mysql XDMF_USE_MYSQL)
 		$(cmake-utils_use mysql VTK_USE_MYSQL)
+		$(cmake-utils_use postscript VTK_USE_GL2PS)
+		$(cmake-utils_use postscript VTK_USE_SYSTEM_GL2PS)
 		$(cmake-utils_use coprocessing PARAVIEW_ENABLE_COPROCESSING)
 		$(cmake-utils_use ffmpeg VTK_USE_FFMPEG_ENCODER)
 		$(cmake-utils_use theora VTK_USE_THEORA_ENCODER)


^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-visualization/paraview/
@ 2011-06-24 17:09 Justin Lecher
  0 siblings, 0 replies; 8+ messages in thread
From: Justin Lecher @ 2011-06-24 17:09 UTC (permalink / raw
  To: gentoo-commits

commit:     5d4b7cab4c4b981a6abd1081d68313bcbbfa8261
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 24 15:41:46 2011 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Jun 24 15:41:46 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=5d4b7cab

Sort inherit and/or USE

(Portage version: 2.2.0_alpha41/git/Linux x86_64, signed Manifest commit with key 70EB7916)

---
 sci-visualization/paraview/paraview-3.10.1.ebuild |    4 ++--
 sci-visualization/paraview/paraview-3.8.1.ebuild  |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sci-visualization/paraview/paraview-3.10.1.ebuild b/sci-visualization/paraview/paraview-3.10.1.ebuild
index 923a8c5..f17fcfc 100644
--- a/sci-visualization/paraview/paraview-3.10.1.ebuild
+++ b/sci-visualization/paraview/paraview-3.10.1.ebuild
@@ -6,7 +6,7 @@ EAPI=2
 
 PYTHON_DEPEND="python? 2:2.6"
 
-inherit eutils flag-o-matic toolchain-funcs versionator multilib python qt4-r2 cmake-utils
+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)
@@ -20,7 +20,7 @@ RESTRICT="mirror"
 LICENSE="paraview GPL-2"
 KEYWORDS="~x86 ~amd64"
 SLOT="0"
-IUSE="mpi +python doc examples +gui plugins adaptive streaming cg mysql nvcontrol webkit -coprocessing"
+IUSE="adaptive cg -coprocessing doc examples +gui mpi mysql nvcontrol plugins +python streaming webkit"
 
 RDEPEND="
 	sci-libs/hdf5[mpi=]

diff --git a/sci-visualization/paraview/paraview-3.8.1.ebuild b/sci-visualization/paraview/paraview-3.8.1.ebuild
index 1513fb1..5057b42 100644
--- a/sci-visualization/paraview/paraview-3.8.1.ebuild
+++ b/sci-visualization/paraview/paraview-3.8.1.ebuild
@@ -6,7 +6,7 @@ EAPI=2
 
 PYTHON_DEPEND="python? 2:2.6"
 
-inherit eutils flag-o-matic toolchain-funcs versionator multilib python qt4-r2 cmake-utils
+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)
@@ -20,7 +20,7 @@ RESTRICT="mirror"
 LICENSE="paraview GPL-2"
 KEYWORDS="~x86 ~amd64"
 SLOT="0"
-IUSE="mpi +python doc examples +gui plugins adaptive streaming cg mysql -coprocessing"
+IUSE="adaptive cg -coprocessing doc examples +gui mpi mysql plugins +python streaming"
 
 RDEPEND="
 	sci-libs/hdf5[mpi=]



^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-visualization/paraview/
@ 2011-06-16  2:21 Francois Bissey
  0 siblings, 0 replies; 8+ messages in thread
From: Francois Bissey @ 2011-06-16  2:21 UTC (permalink / raw
  To: gentoo-commits

commit:     4baec200431258c4b7cfaa5b9044f1a2d2168939
Author:     François Bissey <francois.bissey <AT> canterbury <DOT> ac <DOT> nz>
AuthorDate: Thu Jun 16 02:20:33 2011 +0000
Commit:     Francois Bissey <f.r.bissey <AT> massey <DOT> ac <DOT> nz>
CommitDate: Thu Jun 16 02:20:33 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=4baec200

new version of paraview (3.10.1)

(Portage version: 2.2.0_alpha41/git/Linux x86_64, unsigned Manifest commit)

---
 sci-visualization/paraview/ChangeLog              |    6 +
 sci-visualization/paraview/metadata.xml           |    2 +
 sci-visualization/paraview/paraview-3.10.1.ebuild |  209 +++++++++++++++++++++
 3 files changed, 217 insertions(+), 0 deletions(-)

diff --git a/sci-visualization/paraview/ChangeLog b/sci-visualization/paraview/ChangeLog
index c6ff099..43e3d2d 100644
--- a/sci-visualization/paraview/ChangeLog
+++ b/sci-visualization/paraview/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*paraview-3.10.1 (16 Jun 2011)
+
+  16 Jun 2011; François Bissey <francois.bissey@canterbury.ac.nz>
+  +paraview-3.10.1.ebuild, metadata.xml:
+  New paraview ebuild for 3.10.1
+
   13 Apr 2011; Justin Lecher <jlec@gentoo.org> paraview-3.8.1.ebuild:
   Fix for python ABI stuff
 

diff --git a/sci-visualization/paraview/metadata.xml b/sci-visualization/paraview/metadata.xml
index fc440a8..fbac1bb 100644
--- a/sci-visualization/paraview/metadata.xml
+++ b/sci-visualization/paraview/metadata.xml
@@ -13,6 +13,8 @@
 		<flag name='streaming'>Enable streaming paraview application</flag>
 		<flag name='adaptive'>Enable the adaptive paraview application</flag>
 		<flag name='mysql'>Build support for MySQL data item in the XDMF format</flag>
+		<flag name='nvcontrol'>Add NVCONTROL support for OpenGL options</flag>
+		<flag name='webkit'>Built support for qt-webkit in vtk</flag>
 		<flag name='coprocessing'>Enable the coprocessing infrastructure which is mainly useful in the context of clusters</flag>
 	</use>
 </pkgmetadata>

diff --git a/sci-visualization/paraview/paraview-3.10.1.ebuild b/sci-visualization/paraview/paraview-3.10.1.ebuild
new file mode 100644
index 0000000..923a8c5
--- /dev/null
+++ b/sci-visualization/paraview/paraview-3.10.1.ebuild
@@ -0,0 +1,209 @@
+# 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 eutils flag-o-matic toolchain-funcs versionator multilib python qt4-r2 cmake-utils
+
+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="mpi +python doc examples +gui plugins adaptive streaming cg mysql nvcontrol webkit -coprocessing"
+
+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-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
+
+	# lib64 fixes
+	sed -i "s:/usr/lib:/usr/$(get_libdir):g" \
+		Utilities/Xdmf2/libsrc/CMakeLists.txt || die "sed failed"
+	sed -i "s:\/lib\/python:\/$(get_libdir)\/python:g" \
+		Utilities/Xdmf2/CMake/setup_install_paths.py || die "sed failed"
+
+	# 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/${P}"
+		-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
+		-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
+}



^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-visualization/paraview/
@ 2011-04-13 17:26 Justin Lecher
  0 siblings, 0 replies; 8+ messages in thread
From: Justin Lecher @ 2011-04-13 17:26 UTC (permalink / raw
  To: gentoo-commits

commit:     9bb8096c952d79a22734508406107196b1f5c856
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 13 17:14:22 2011 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Apr 13 17:14:22 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=9bb8096c

Fix for python ABI stuff

(Portage version: 2.2.0_alpha29/git/Linux x86_64, signed Manifest commit with key 70EB7916)

---
 sci-visualization/paraview/ChangeLog             |    3 +++
 sci-visualization/paraview/paraview-3.8.1.ebuild |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/sci-visualization/paraview/ChangeLog b/sci-visualization/paraview/ChangeLog
index 036aaa8..c6ff099 100644
--- a/sci-visualization/paraview/ChangeLog
+++ b/sci-visualization/paraview/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  13 Apr 2011; Justin Lecher <jlec@gentoo.org> paraview-3.8.1.ebuild:
+  Fix for python ABI stuff
+
   09 Mar 2011; Oliver Borm (boroli) <oli.borm@web.de> paraview-3.8.1.ebuild:
   sci-visualization/paraview: removed OFF patch as this is now an external
   plugin

diff --git a/sci-visualization/paraview/paraview-3.8.1.ebuild b/sci-visualization/paraview/paraview-3.8.1.ebuild
index 655bac2..1513fb1 100644
--- a/sci-visualization/paraview/paraview-3.8.1.ebuild
+++ b/sci-visualization/paraview/paraview-3.8.1.ebuild
@@ -6,7 +6,7 @@ EAPI=2
 
 PYTHON_DEPEND="python? 2:2.6"
 
-inherit distutils eutils flag-o-matic toolchain-funcs versionator multilib python qt4-r2 cmake-utils
+inherit eutils flag-o-matic toolchain-funcs versionator multilib python qt4-r2 cmake-utils
 
 MAIN_PV=$(get_major_version)
 MAJOR_PV=$(get_version_component_range 1-2)



^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-visualization/paraview/
@ 2011-03-09 15:12 Oliver Borm
  0 siblings, 0 replies; 8+ messages in thread
From: Oliver Borm @ 2011-03-09 15:12 UTC (permalink / raw
  To: gentoo-commits

commit:     7636b359b630e874d7edcd6d69c10595dad34599
Author:     Oliver Borm (boroli) <oli.borm <AT> web <DOT> de>
AuthorDate: Wed Mar  9 15:12:07 2011 +0000
Commit:     Oliver Borm <oli.borm <AT> web <DOT> de>
CommitDate: Wed Mar  9 15:12:07 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=7636b359

sci-visualization/paraview: removed OFF patch as this is now an external plugin

---
 sci-visualization/paraview/ChangeLog             |    4 ++++
 sci-visualization/paraview/paraview-3.8.1.ebuild |   10 ++--------
 2 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/sci-visualization/paraview/ChangeLog b/sci-visualization/paraview/ChangeLog
index ffbd33e..036aaa8 100644
--- a/sci-visualization/paraview/ChangeLog
+++ b/sci-visualization/paraview/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  09 Mar 2011; Oliver Borm (boroli) <oli.borm@web.de> paraview-3.8.1.ebuild:
+  sci-visualization/paraview: removed OFF patch as this is now an external
+  plugin
+
   07 Mar 2011; Justin Lecher <jlec@gentoo.org> paraview-3.8.1.ebuild:
   Correct Slots for gtk 3 introduction to tree
 

diff --git a/sci-visualization/paraview/paraview-3.8.1.ebuild b/sci-visualization/paraview/paraview-3.8.1.ebuild
index d64bb43..655bac2 100644
--- a/sci-visualization/paraview/paraview-3.8.1.ebuild
+++ b/sci-visualization/paraview/paraview-3.8.1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI="2"
+EAPI=2
 
 PYTHON_DEPEND="python? 2:2.6"
 
@@ -14,8 +14,7 @@ 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/v3.8/${MY_P}.tar.gz
-	http://ompldr.org/vNmRiOQ/${P}-OFF.patch.bz2"
+SRC_URI="http://www.paraview.org/files/v3.8/${MY_P}.tar.gz"
 RESTRICT="mirror"
 
 LICENSE="paraview GPL-2"
@@ -77,8 +76,6 @@ src_prepare() {
 	sed -i "s:\/lib\/python:\/$(get_libdir)\/python:g" \
 		Utilities/Xdmf2/CMake/setup_install_paths.py || die "sed failed"
 
-	epatch "${WORKDIR}"/${P}-OFF.patch
-
 	# 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"
@@ -193,9 +190,6 @@ pkg_postinst() {
 	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
 }
 



^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-visualization/paraview/
@ 2011-03-07 12:01 Justin Lecher
  0 siblings, 0 replies; 8+ messages in thread
From: Justin Lecher @ 2011-03-07 12:01 UTC (permalink / raw
  To: gentoo-commits

commit:     458ab970b6be421b51a1db84659633e7aac540cb
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Mon Mar  7 11:45:58 2011 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Mar  7 11:45:58 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=458ab970

Correct Slots for gtk 3 introduction to tree

(Portage version: 2.2.0_alpha26/git/Linux x86_64, signed Manifest commit with key 70EB7916)

---
 sci-visualization/paraview/ChangeLog             |    3 ++
 sci-visualization/paraview/paraview-3.8.1.ebuild |   29 ++++++++++++----------
 2 files changed, 19 insertions(+), 13 deletions(-)

diff --git a/sci-visualization/paraview/ChangeLog b/sci-visualization/paraview/ChangeLog
index 2a2269a..ffbd33e 100644
--- a/sci-visualization/paraview/ChangeLog
+++ b/sci-visualization/paraview/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  07 Mar 2011; Justin Lecher <jlec@gentoo.org> paraview-3.8.1.ebuild:
+  Correct Slots for gtk 3 introduction to tree
+
   01 Feb 2011; François Bissey <francois.bissey@canterbury.ac.nz>
   paraview-3.8.1.ebuild:
   Resolve file collisions with vtk.

diff --git a/sci-visualization/paraview/paraview-3.8.1.ebuild b/sci-visualization/paraview/paraview-3.8.1.ebuild
old mode 100755
new mode 100644
index f4c03c5..d64bb43
--- a/sci-visualization/paraview/paraview-3.8.1.ebuild
+++ b/sci-visualization/paraview/paraview-3.8.1.ebuild
@@ -22,20 +22,24 @@ LICENSE="paraview GPL-2"
 KEYWORDS="~x86 ~amd64"
 SLOT="0"
 IUSE="mpi +python doc examples +gui plugins adaptive streaming cg mysql -coprocessing"
-RDEPEND="sci-libs/hdf5[mpi=]
+
+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 )
-	adaptive? ( x11-libs/qt-gui:4
-			x11-libs/qt-qt3support:4
-			x11-libs/qt-opengl:4
-			x11-libs/qt-assistant:4 )
+	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 )
+	adaptive? (
+		x11-libs/qt-gui:4
+		x11-libs/qt-qt3support:4
+		x11-libs/qt-opengl:4
+		x11-libs/qt-assistant:4 )
 	mysql? ( virtual/mysql )
 	coprocessing? ( plugins? ( x11-libs/qt-gui:4 ) )
-	dev-libs/libxml2
+	dev-libs/libxml2:2
 	media-libs/libpng
 	virtual/jpeg
 	media-libs/tiff
@@ -46,7 +50,6 @@ RDEPEND="sci-libs/hdf5[mpi=]
 	virtual/opengl
 	sci-libs/netcdf
 	x11-libs/libXmu"
-
 DEPEND="${RDEPEND}
 		doc? ( app-doc/doxygen )
 		>=dev-util/cmake-2.6.4"
@@ -200,4 +203,4 @@ pkg_postrm() {
 	if use python ; then
 		python_mod_cleanup /usr/$(get_libdir)/"${PN}-${MAJOR_PV}"/site-packages
 	fi
-}
\ No newline at end of file
+}



^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-12-17  7:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-20  1:56 [gentoo-commits] proj/sci:master commit in: sci-visualization/paraview/ Francois Bissey
  -- strict thread matches above, loose matches on Subject: below --
2012-12-17  7:55 Francois Bissey
2012-09-16 10:48 Francois Bissey
2011-06-24 17:09 Justin Lecher
2011-06-16  2:21 Francois Bissey
2011-04-13 17:26 Justin Lecher
2011-03-09 15:12 Oliver Borm
2011-03-07 12:01 Justin Lecher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox