public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2015-09-21 21:36 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2015-09-21 21:36 UTC (permalink / raw
  To: gentoo-commits

commit:     42b0f9c7e6dbd0b751f6728f226cd4c5ed946cc6
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 21 21:29:51 2015 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Mon Sep 21 21:35:54 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42b0f9c7

sci-visualization/paraview: Fix configuration issue with dev-db/mysql-6.1.6, bug #560916

dev-db/mysql-5.5.29 and older have left the tree two years ago. Remove
buggy compatibility code that identified version 6.1.6 being less than
5.5.29...

Gentoo-Bug: 560916

Package-Manager: portage-2.2.20.1

 sci-visualization/paraview/paraview-4.3.1.ebuild | 14 --------------
 sci-visualization/paraview/paraview-4.4.0.ebuild | 14 --------------
 2 files changed, 28 deletions(-)

diff --git a/sci-visualization/paraview/paraview-4.3.1.ebuild b/sci-visualization/paraview/paraview-4.3.1.ebuild
index c978762..c9a1b26 100644
--- a/sci-visualization/paraview/paraview-4.3.1.ebuild
+++ b/sci-visualization/paraview/paraview-4.3.1.ebuild
@@ -125,18 +125,6 @@ src_prepare() {
 }
 
 src_configure() {
-	local mysql_lib mysql_includedir
-
-	if use mysql ; then
-		if [[ $(mysql_config --version | sed 's/\.//g') -lt 5529 ]] ; then
-			mysql_lib="/usr/$(get_libdir)/mysql/libmysqlclient.so"
-			mysql_includedir="/usr/include/mysql"
-		else
-			mysql_lib="$(mysql_config --variable=pkglibdir)/libmysqlclient.so"
-			mysql_includedir="$(mysql_config --variable=pkgincludedir)"
-		fi
-	fi
-
 	# VTK_USE_SYSTEM_QTTESTING
 	# PARAVIEW_USE_SYSTEM_AUTOBAHN
 	local mycmakeargs=(
@@ -171,8 +159,6 @@ src_configure() {
 		-DVTK_USE_FFMPEG_ENCODER=OFF
 		-DPROTOC_LOCATION=$(type -P protoc)
 		-DVTK_Group_StandAlone=ON
-		-DMYSQL_INCLUDE_DIRECTORIES="$(usex mysql "${mysql_includedir}" "")"
-		-DMYSQL_LIBRARY="$(usex mysql "${mysql_lib}" "")"
 		# force this module due to incorrect build system deps
 		# wrt bug 460528
 		-DModule_vtkUtilitiesProcessXML=ON

diff --git a/sci-visualization/paraview/paraview-4.4.0.ebuild b/sci-visualization/paraview/paraview-4.4.0.ebuild
index 21ac4ab..89dd7f3 100644
--- a/sci-visualization/paraview/paraview-4.4.0.ebuild
+++ b/sci-visualization/paraview/paraview-4.4.0.ebuild
@@ -123,18 +123,6 @@ src_prepare() {
 }
 
 src_configure() {
-	local mysql_lib mysql_includedir
-
-	if use mysql ; then
-		if [[ $(mysql_config --version | sed 's/\.//g') -lt 5529 ]] ; then
-			mysql_lib="/usr/$(get_libdir)/mysql/libmysqlclient.so"
-			mysql_includedir="/usr/include/mysql"
-		else
-			mysql_lib="$(mysql_config --variable=pkglibdir)/libmysqlclient.so"
-			mysql_includedir="$(mysql_config --variable=pkgincludedir)"
-		fi
-	fi
-
 	# VTK_USE_SYSTEM_QTTESTING
 	# PARAVIEW_USE_SYSTEM_AUTOBAHN
 	local mycmakeargs=(
@@ -169,8 +157,6 @@ src_configure() {
 		-DVTK_USE_FFMPEG_ENCODER=OFF
 		-DPROTOC_LOCATION=$(type -P protoc)
 		-DVTK_Group_StandAlone=ON
-		-DMYSQL_INCLUDE_DIRECTORIES="$(usex mysql "${mysql_includedir}" "")"
-		-DMYSQL_LIBRARY="$(usex mysql "${mysql_lib}" "")"
 		# force this module due to incorrect build system deps
 		# wrt bug 460528
 		-DModule_vtkUtilitiesProcessXML=ON


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2016-07-09 18:57 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2016-07-09 18:57 UTC (permalink / raw
  To: gentoo-commits

commit:     b570aea62b8e30d9936dda1cdb805e223ffc18f9
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  9 18:10:40 2016 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Sat Jul  9 18:57:33 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b570aea6

sci-visualization/paraview: add a required use constraint, bug #586934

Apparently, configuring paraview with USE="python" requires an MPI
installation.

Package-Manager: portage-2.2.28

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

diff --git a/sci-visualization/paraview/paraview-4.4.0.ebuild b/sci-visualization/paraview/paraview-4.4.0.ebuild
index 89dd7f3..e583325 100644
--- a/sci-visualization/paraview/paraview-4.4.0.ebuild
+++ b/sci-visualization/paraview/paraview-4.4.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -22,7 +22,7 @@ SLOT="0"
 IUSE="boost cg coprocessing development doc examples ffmpeg mpi mysql nvcontrol plugins python qt4 sqlite tcl test tk"
 RESTRICT="test"
 
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )
+REQUIRED_USE="python? ( mpi ${PYTHON_REQUIRED_USE} )
 	mysql? ( sqlite )" # "vtksqlite, needed by vtkIOSQL" and "vtkIOSQL, needed by vtkIOMySQL"
 
 RDEPEND="

diff --git a/sci-visualization/paraview/paraview-5.1.0.ebuild b/sci-visualization/paraview/paraview-5.1.0.ebuild
index 3ce73ff..695baea 100644
--- a/sci-visualization/paraview/paraview-5.1.0.ebuild
+++ b/sci-visualization/paraview/paraview-5.1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -22,7 +22,7 @@ SLOT="0"
 IUSE="boost cg coprocessing development doc examples ffmpeg mpi mysql nvcontrol plugins python qt5 sqlite tcl test tk"
 RESTRICT="test"
 
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )
+REQUIRED_USE="python? ( mpi ${PYTHON_REQUIRED_USE} )
 	mysql? ( sqlite )" # "vtksqlite, needed by vtkIOSQL" and "vtkIOSQL, needed by vtkIOMySQL"
 
 RDEPEND="


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2016-07-09 18:57 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2016-07-09 18:57 UTC (permalink / raw
  To: gentoo-commits

commit:     faac24e82889b0321b8943efaef48181f61a5d42
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  9 17:53:43 2016 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Sat Jul  9 18:57:33 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faac24e8

sci-visualization/paraview: version bump to 5.1.0

Package-Manager: portage-2.2.28

 sci-visualization/paraview/Manifest              |   1 +
 sci-visualization/paraview/paraview-5.1.0.ebuild | 265 +++++++++++++++++++++++
 2 files changed, 266 insertions(+)

diff --git a/sci-visualization/paraview/Manifest b/sci-visualization/paraview/Manifest
index 3b515b6..8699b23 100644
--- a/sci-visualization/paraview/Manifest
+++ b/sci-visualization/paraview/Manifest
@@ -1 +1,2 @@
 DIST ParaView-v4.4.0-source.tar.gz 58397252 SHA256 c2dc334a89df24ce5233b81b74740fc9f10bc181cd604109fd13f6ad2381fc73 SHA512 092dee4ca75b9f4e3b4a53c85ebc89f406a91f6dd9ac9a3deb65de776189c2582d15c2b1f8f0393ff4d7a438333f8801de22d2cf916b314d8b85d93cc5f4671e WHIRLPOOL 722be36c45563066a2e91e7ea3e382d6928056a38c01920089f6e16a721259e1e8f99b26c982f136f9cfac8f1cb1d9f54ee0267cea79360ace4c00e81a47e61b
+DIST ParaView-v5.1.0.tar.gz 51613148 SHA256 1ce345e9c5533c2854ad7e89cf4f90992bafee23707ae9f85d12b38405169f2a SHA512 c9af27d8be03783c7353735718a41ee03732db0f2e4f6e2db5e1e72d3df01801bb77294713c2b96eaf17e75d1fd6a30e340b3c33f496f7e705d07badfa196e69 WHIRLPOOL 08cd669f02fd54b7fc4054f23f04a3dc274e4ba8ebdf54fb14caaa95bc0c9fb2e2e5551a9e74d88062f2230eb511b7e18d6cb75bb43f4291e19dbaa2ed53cd1f

diff --git a/sci-visualization/paraview/paraview-5.1.0.ebuild b/sci-visualization/paraview/paraview-5.1.0.ebuild
new file mode 100644
index 0000000..3ce73ff
--- /dev/null
+++ b/sci-visualization/paraview/paraview-5.1.0.ebuild
@@ -0,0 +1,265 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+inherit eutils multilib versionator python-single-r1 cmake-utils
+
+MAIN_PV=$(get_major_version)
+MAJOR_PV=$(get_version_component_range 1-2)
+MY_P="ParaView-v${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="~amd64 ~x86"
+SLOT="0"
+IUSE="boost cg coprocessing development doc examples ffmpeg mpi mysql nvcontrol plugins python qt5 sqlite tcl test tk"
+RESTRICT="test"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )
+	mysql? ( sqlite )" # "vtksqlite, needed by vtkIOSQL" and "vtkIOSQL, needed by vtkIOMySQL"
+
+RDEPEND="
+	dev-libs/expat
+	>=dev-libs/jsoncpp-0.10.1
+	dev-libs/libxml2:2
+	dev-libs/protobuf
+	media-libs/freetype
+	media-libs/libpng:0
+	media-libs/libtheora
+	media-libs/tiff:0=
+	sci-libs/hdf5[mpi=]
+	>=sci-libs/netcdf-4.2[hdf5]
+	>=sci-libs/netcdf-cxx-4.2:3
+	sys-libs/zlib
+	virtual/jpeg:0
+	virtual/opengl
+	>=x11-libs/gl2ps-1.3.8
+	x11-libs/libX11
+	x11-libs/libXext
+	x11-libs/libXmu
+	x11-libs/libXt
+	coprocessing? (
+		plugins? (
+			dev-python/PyQt5
+			dev-qt/qtgui:5
+		)
+	)
+	ffmpeg? ( virtual/ffmpeg )
+	mpi? ( virtual/mpi[cxx,romio] )
+	mysql? ( virtual/mysql )
+	python? (
+		${PYTHON_DEPS}
+		dev-python/matplotlib[${PYTHON_USEDEP}]
+		dev-python/numpy[${PYTHON_USEDEP}]
+		dev-python/sip[${PYTHON_USEDEP}]
+		dev-python/twisted-core
+		dev-python/zope-interface[${PYTHON_USEDEP}]
+		mpi? ( dev-python/mpi4py )
+		qt5? ( dev-python/PyQt5[opengl,webkit,${PYTHON_USEDEP}] )
+	)
+	qt5? (
+		dev-qt/designer:4
+		dev-qt/qtgui:4
+		dev-qt/qtopengl:4
+		dev-qt/qthelp:4[compat]
+		dev-qt/qtsql:4
+		dev-qt/qtwebkit:4
+	)
+	sqlite? ( dev-db/sqlite:3 )
+	tcl? ( dev-lang/tcl:0= )
+	tk? ( dev-lang/tk:0= )"
+DEPEND="${RDEPEND}
+	${PYTHON_DEPS}
+	boost? ( >=dev-libs/boost-1.40.0[mpi?,${PYTHON_USEDEP}] )
+	doc? ( app-doc/doxygen )"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+	python-single-r1_pkg_setup
+	PVLIBDIR=$(get_libdir)/${PN}-${MAJOR_PV}
+}
+
+src_prepare() {
+	# see patch headers for description
+	epatch "${FILESDIR}"/${PN}-4.0.1-xdmf-cstring.patch \
+		"${FILESDIR}"/${PN}-4.3.1-fix-development-install.patch \
+		"${FILESDIR}"/${PN}-4.4.0-removesqlite.patch
+
+	# lib64 fixes
+	sed -i \
+		-e "s:/usr/lib:${EPREFIX}/usr/$(get_libdir):g" \
+		 VTK/ThirdParty/xdmf2/vtkxdmf2/libsrc/CMakeLists.txt || die
+	sed -i \
+		-e "s:\/lib\/python:\/$(get_libdir)\/python:g" \
+		 VTK/ThirdParty/xdmf2/vtkxdmf2/CMake/setup_install_paths.py || die
+	sed -i \
+		-e "s:lib/paraview-:$(get_libdir)/paraview-:g" \
+		CMakeLists.txt \
+		Plugins/SciberQuestToolKit/CMakeLists.txt \
+		ParaViewConfig.cmake.in \
+		CoProcessing/PythonCatalyst/vtkCPPythonScriptPipeline.cxx \
+		ParaViewCore/ClientServerCore/Core/vtkProcessModuleInitializePython.h \
+		ParaViewCore/ClientServerCore/Core/vtkPVPluginTracker.cxx \
+		Plugins/SciberQuestToolKit/ParaViewPlugin/CMakeLists.txt \
+		Plugins/SciberQuestToolKit/SciberQuest/CMakeLists.txt || die
+
+	# no proper switch
+	use nvcontrol || {
+		sed -i \
+			-e '/VTK_USE_NVCONTROL/s#1#0#' \
+			VTK/Rendering/OpenGL/CMakeLists.txt || die
+	}
+}
+
+src_configure() {
+	# VTK_USE_SYSTEM_QTTESTING
+	# PARAVIEW_USE_SYSTEM_AUTOBAHN
+	local mycmakeargs=(
+		-DPV_INSTALL_LIB_DIR="${PVLIBDIR}"
+		-DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr
+		-DEXPAT_INCLUDE_DIR="${EPREFIX}"/usr/include
+		-DEXPAT_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libexpat.so
+		-DOPENGL_gl_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGL.so
+		-DOPENGL_glu_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGLU.so
+		-DBUILD_SHARED_LIBS=ON
+		-DVTK_USE_SYSTEM_EXPAT=ON
+		-DVTK_USE_SYSTEM_FREETYPE=ON
+		-DVTK_USE_SYSTEM_GL2PS=ON
+		-DVTK_USE_SYSTEM_HDF5=ON
+		-DVTK_USE_SYSTEM_JPEG=ON
+		-DVTK_USE_SYSTEM_JSONCPP=ON
+		-DVTK_USE_SYSTEM_LIBXML2=ON
+		-DVTK_USE_SYSTEM_NETCDF=ON
+		-DVTK_USE_SYSTEM_OGGTHEORA=ON
+		-DVTK_USE_SYSTEM_PNG=ON
+		-DVTK_USE_SYSTEM_PROTOBUF=ON
+		-DVTK_USE_SYSTEM_TIFF=ON
+		-DVTK_USE_SYSTEM_XDMF2=OFF
+		-DVTK_USE_SYSTEM_ZLIB=ON
+		-DPARAVIEW_USE_SYSTEM_MPI4PY=ON
+		-DVTK_USE_SYSTEM_ZOPE=ON
+		-DVTK_USE_SYSTEM_TWISTED=ON
+		-DCMAKE_VERBOSE_MAKEFILE=ON
+		-DCMAKE_COLOR_MAKEFILE=TRUE
+		-DVTK_USE_OFFSCREEN=TRUE
+		-DCMAKE_USE_PTHREADS=ON
+		-DVTK_USE_FFMPEG_ENCODER=OFF
+		-DPROTOC_LOCATION=$(type -P protoc)
+		-DVTK_Group_StandAlone=ON
+		# force this module due to incorrect build system deps
+		# wrt bug 460528
+		-DModule_vtkUtilitiesProcessXML=ON
+		)
+
+	# TODO: XDMF_USE_MYSQL?
+	# VTK_WRAP_JAVA
+	mycmakeargs+=(
+		$(cmake-utils_use development PARAVIEW_INSTALL_DEVELOPMENT_FILES)
+		$(cmake-utils_use qt5 PARAVIEW_BUILD_QT_GUI)
+		$(cmake-utils_use qt5 Module_vtkGUISupportQtOpenGL)
+		$(cmake-utils_use qt5 Module_vtkGUISupportQtSQL)
+		$(cmake-utils_use qt5 Module_vtkGUISupportQtWebkit)
+		$(cmake-utils_use qt5 Module_vtkRenderingQt)
+		$(cmake-utils_use qt5 Module_vtkViewsQt)
+		$(cmake-utils_use qt5 VTK_Group_ParaViewQt)
+		$(cmake-utils_use qt5 VTK_Group_Qt)
+		$(cmake-utils_use !qt5 PQWIDGETS_DISABLE_QTWEBKIT)
+		$(cmake-utils_use boost Module_vtkInfovisBoost)
+		$(cmake-utils_use boost Module_vtkInfovisBoostGraphAlg)
+		$(cmake-utils_use mpi PARAVIEW_USE_MPI)
+		$(cmake-utils_use mpi PARAVIEW_USE_MPI_SSEND)
+		$(cmake-utils_use mpi PARAVIEW_USE_ICE_T)
+		$(cmake-utils_use mpi VTK_Group_MPI)
+		$(cmake-utils_use mpi VTK_XDMF_USE_MPI)
+		$(cmake-utils_use mpi XDMF_BUILD_MPI)
+		$(cmake-utils_use python PARAVIEW_ENABLE_PYTHON)
+		$(cmake-utils_use python VTK_Group_ParaViewPython)
+		$(cmake-utils_use python XDMF_WRAP_PYTHON)
+		$(cmake-utils_use python Module_vtkPython)
+		$(cmake-utils_use python Module_pqPython)
+		$(cmake-utils_use python Module_vtkWrappingPythonCore)
+		$(cmake-utils_use python Module_vtkPVPythonSupport)
+		$(cmake-utils_use python Module_AutobahnPython)
+		$(cmake-utils_use python Module_Twisted)
+		$(cmake-utils_use python Module_ZopeInterface)
+		$(cmake-utils_use python Module_vtkmpi4py)
+		$(usex qt5 "$(cmake-utils_use python Module_pqPython)" "-DModule_pqPython=OFF")
+		$(cmake-utils_use doc BUILD_DOCUMENTATION)
+		$(cmake-utils_use doc PARAVIEW_BUILD_WEB_DOCUMENTATION)
+		$(cmake-utils_use examples BUILD_EXAMPLES)
+		$(cmake-utils_use cg VTK_USE_CG_SHADERS)
+		$(cmake-utils_use mysql Module_vtkIOMySQL)
+		$(cmake-utils_use sqlite Module_vtksqlite)
+		$(cmake-utils_use coprocessing PARAVIEW_ENABLE_CATALYST)
+		$(cmake-utils_use ffmpeg PARAVIEW_ENABLE_FFMPEG)
+		$(cmake-utils_use ffmpeg VTK_USE_FFMPEG_ENCODER)
+		$(cmake-utils_use ffmpeg Module_vtkIOFFMPEG)
+		$(cmake-utils_use tk VTK_Group_Tk)
+		$(cmake-utils_use tk VTK_USE_TK)
+		$(cmake-utils_use tk Module_vtkRenderingTk)
+		$(cmake-utils_use tcl Module_vtkTclTk)
+		$(cmake-utils_use tcl Module_vtkWrappingTcl)
+		$(cmake-utils_use test BUILD_TESTING)
+		)
+
+	if use qt5 ; then
+		mycmakeargs+=( -DVTK_INSTALL_QT_DIR=/${PVLIBDIR}/plugins/designer )
+		if use python ; then
+			# paraview cannot guess sip directory properly
+			mycmakeargs+=( -DSIP_INCLUDE_DIR="${EPREFIX}$(python_get_includedir)" )
+		fi
+	fi
+
+	# TODO: MantaView VaporPlugin VRPlugin
+	mycmakeargs+=(
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_AdiosReader)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_AnalyzeNIfTIIO)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_ArrowGlyph)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_EyeDomeLighting)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_ForceTime)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_GMVReader)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_H5PartReader)
+		$(cmake-utils_use plugins RAVIEW_BUILD_PLUGIN_MobileRemoteControl)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_Moments)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_NonOrthogonalSource)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_PacMan)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_PointSprite)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_PrismPlugin)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_QuadView)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_SLACTools)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_SciberQuestToolKit)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_SierraPlotTools)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_StreamingParticles)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_SurfaceLIC)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_UncertaintyRendering)
+		# these are always needed for plugins
+		$(cmake-utils_use plugins Module_vtkFiltersFlowPaths)
+		$(cmake-utils_use plugins Module_vtkPVServerManagerApplication)
+		)
+
+	cmake-utils_src_configure
+}
+
+src_compile() {
+	cmake-utils_src_compile
+}
+
+src_install() {
+	cmake-utils_src_install
+
+	# set up the environment
+	echo "LDPATH=${EPREFIX}/usr/${PVLIBDIR}" > "${T}"/40${PN}
+
+	newicon "${S}"/Applications/ParaView/pvIcon-32x32.png paraview.png
+	make_desktop_entry paraview "Paraview" paraview
+
+	use python && python_optimize "${D}"/usr/$(get_libdir)/${PN}-${MAJOR_PV}
+}


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2016-07-28  3:31 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2016-07-28  3:31 UTC (permalink / raw
  To: gentoo-commits

commit:     0dc77632be3bac8266cb7d6c1af12cb5045e89f2
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 28 03:30:06 2016 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Thu Jul 28 03:30:56 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dc77632

sci-visualization/paraview: fix dependencies on qt5, bug #582864

*ouch*

Thanks to timeraider for bug report and patch.

Package-Manager: portage-2.2.28

 sci-visualization/paraview/paraview-5.1.0.ebuild | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/sci-visualization/paraview/paraview-5.1.0.ebuild b/sci-visualization/paraview/paraview-5.1.0.ebuild
index 055d1c3..26b972f 100644
--- a/sci-visualization/paraview/paraview-5.1.0.ebuild
+++ b/sci-visualization/paraview/paraview-5.1.0.ebuild
@@ -65,12 +65,12 @@ RDEPEND="
 		qt5? ( dev-python/PyQt5[opengl,webkit,${PYTHON_USEDEP}] )
 	)
 	qt5? (
-		dev-qt/designer:4
-		dev-qt/qtgui:4
-		dev-qt/qtopengl:4
-		dev-qt/qthelp:4[compat]
-		dev-qt/qtsql:4
-		dev-qt/qtwebkit:4
+		dev-qt/designer:5
+		dev-qt/qtgui:5
+		dev-qt/qtopengl:5
+		dev-qt/qthelp:5
+		dev-qt/qtsql:5
+		dev-qt/qtwebkit:5
 	)
 	sqlite? ( dev-db/sqlite:3 )
 	tcl? ( dev-lang/tcl:0= )


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2016-08-02  2:22 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2016-08-02  2:22 UTC (permalink / raw
  To: gentoo-commits

commit:     cbf81c84f5ab42620b9e19fcb9ff1b0d19416354
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 28 04:10:09 2016 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Tue Aug  2 02:22:07 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbf81c84

sci-visualization/paraview: Acutally build 5.1.0 against qt5

Package-Manager: portage-2.2.28

 .../paraview/{paraview-5.1.0.ebuild => paraview-5.1.0-r1.ebuild}         | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sci-visualization/paraview/paraview-5.1.0.ebuild b/sci-visualization/paraview/paraview-5.1.0-r1.ebuild
similarity index 99%
rename from sci-visualization/paraview/paraview-5.1.0.ebuild
rename to sci-visualization/paraview/paraview-5.1.0-r1.ebuild
index 26b972f..aed06fb 100644
--- a/sci-visualization/paraview/paraview-5.1.0.ebuild
+++ b/sci-visualization/paraview/paraview-5.1.0-r1.ebuild
@@ -166,6 +166,7 @@ src_configure() {
 	mycmakeargs+=(
 		$(cmake-utils_use development PARAVIEW_INSTALL_DEVELOPMENT_FILES)
 		$(cmake-utils_use qt5 PARAVIEW_BUILD_QT_GUI)
+		$(usex qt5 "-DPARAVIEW_QT_VERSION=5" "")
 		$(cmake-utils_use qt5 Module_vtkGUISupportQtOpenGL)
 		$(cmake-utils_use qt5 Module_vtkGUISupportQtSQL)
 		$(cmake-utils_use qt5 Module_vtkGUISupportQtWebkit)


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2016-08-08  3:43 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2016-08-08  3:43 UTC (permalink / raw
  To: gentoo-commits

commit:     ac957e8a5644fd0122ed4d7c95d62de80ef1fd8a
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Mon Aug  8 03:43:20 2016 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Mon Aug  8 03:43:48 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac957e8a

sci-visualization/paraview: Fix dependency on dev-qt:qtx11extras:5

Thanks to Maciej Pawlik for reporting the bug.

Package-Manager: portage-2.2.28

 sci-visualization/paraview/paraview-5.1.0-r1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sci-visualization/paraview/paraview-5.1.0-r1.ebuild b/sci-visualization/paraview/paraview-5.1.0-r1.ebuild
index aed06fb..91959fc 100644
--- a/sci-visualization/paraview/paraview-5.1.0-r1.ebuild
+++ b/sci-visualization/paraview/paraview-5.1.0-r1.ebuild
@@ -67,10 +67,11 @@ RDEPEND="
 	qt5? (
 		dev-qt/designer:5
 		dev-qt/qtgui:5
-		dev-qt/qtopengl:5
 		dev-qt/qthelp:5
+		dev-qt/qtopengl:5
 		dev-qt/qtsql:5
 		dev-qt/qtwebkit:5
+		dev-qt/qtx11extras:5
 	)
 	sqlite? ( dev-db/sqlite:3 )
 	tcl? ( dev-lang/tcl:0= )


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2016-08-08  4:18 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2016-08-08  4:18 UTC (permalink / raw
  To: gentoo-commits

commit:     2d074daa9909e03c319504dedc088de7b874dd28
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Mon Aug  8 03:48:30 2016 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Mon Aug  8 04:17:37 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d074daa

sci-visualization/paraview: Set +qt5 as default use flag, bug #590288

Package-Manager: portage-2.2.28

 sci-visualization/paraview/paraview-5.1.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-visualization/paraview/paraview-5.1.0-r1.ebuild b/sci-visualization/paraview/paraview-5.1.0-r1.ebuild
index 91959fc..b493fce 100644
--- a/sci-visualization/paraview/paraview-5.1.0-r1.ebuild
+++ b/sci-visualization/paraview/paraview-5.1.0-r1.ebuild
@@ -19,7 +19,7 @@ RESTRICT="mirror"
 LICENSE="paraview GPL-2"
 KEYWORDS="~amd64 ~x86"
 SLOT="0"
-IUSE="boost cg coprocessing development doc examples ffmpeg mpi mysql nvcontrol plugins python qt5 sqlite tcl test tk"
+IUSE="boost cg coprocessing development doc examples ffmpeg mpi mysql nvcontrol plugins python +qt5 sqlite tcl test tk"
 RESTRICT="test"
 
 REQUIRED_USE="python? ( mpi ${PYTHON_REQUIRED_USE} )


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2016-08-08  4:18 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2016-08-08  4:18 UTC (permalink / raw
  To: gentoo-commits

commit:     1c9fd365a4bfa7f642a47ca4d876068c66567f60
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Mon Aug  8 04:11:59 2016 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Mon Aug  8 04:17:37 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c9fd365

sci-visualization/paraview: Let qtchooser select the correct qt version

Package-Manager: portage-2.2.28

 sci-visualization/paraview/paraview-5.1.0-r1.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sci-visualization/paraview/paraview-5.1.0-r1.ebuild b/sci-visualization/paraview/paraview-5.1.0-r1.ebuild
index b493fce..772bb85 100644
--- a/sci-visualization/paraview/paraview-5.1.0-r1.ebuild
+++ b/sci-visualization/paraview/paraview-5.1.0-r1.ebuild
@@ -123,6 +123,10 @@ src_prepare() {
 }
 
 src_configure() {
+	if use qt5; then
+		export QT_SELECT=qt5
+	fi
+
 	# VTK_USE_SYSTEM_QTTESTING
 	# PARAVIEW_USE_SYSTEM_AUTOBAHN
 	local mycmakeargs=(


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2016-08-19  4:17 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2016-08-19  4:17 UTC (permalink / raw
  To: gentoo-commits

commit:     d4d698ee89d2dd6931f726dd77a710daad36b33c
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 19 03:05:55 2016 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Fri Aug 19 04:17:03 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4d698ee

sci-visualization/paraview: ver bump, enable openmp support, bug #590746

- version bump to 5.1.0
- add USE=openmp to control openmp support
- switch to OpenGL2 rendering engine.

Package-Manager: portage-2.2.28

 sci-visualization/paraview/Manifest              |   1 +
 sci-visualization/paraview/paraview-5.1.2.ebuild | 285 +++++++++++++++++++++++
 2 files changed, 286 insertions(+)

diff --git a/sci-visualization/paraview/Manifest b/sci-visualization/paraview/Manifest
index 1e11e68..897fb95 100644
--- a/sci-visualization/paraview/Manifest
+++ b/sci-visualization/paraview/Manifest
@@ -1,3 +1,4 @@
 DIST ParaView-v4.1.0-source.tar.gz 50460304 SHA256 80ef898c158d7fd9ceb0bcd83be1f679eef06ce4f20514a2435330cc97a3fdf3 SHA512 da91f7332a91746d60968a9d6cc1fe4878a3710f8e4a3d675dc65c337d6844f39df4c3e307d424ee0d2a832fd3c0f3d0c4da6a8b0a2aa6902920988fb53b9f7f WHIRLPOOL c3572d12f05b8443eb21a342c140d55e3c41e2af383aa850491aaeec412e62a45a4ee44e6d772dc9b6f141028911cb96b22a7818c6f15bc80bb8553d37008d96
 DIST ParaView-v4.4.0-source.tar.gz 58397252 SHA256 c2dc334a89df24ce5233b81b74740fc9f10bc181cd604109fd13f6ad2381fc73 SHA512 092dee4ca75b9f4e3b4a53c85ebc89f406a91f6dd9ac9a3deb65de776189c2582d15c2b1f8f0393ff4d7a438333f8801de22d2cf916b314d8b85d93cc5f4671e WHIRLPOOL 722be36c45563066a2e91e7ea3e382d6928056a38c01920089f6e16a721259e1e8f99b26c982f136f9cfac8f1cb1d9f54ee0267cea79360ace4c00e81a47e61b
 DIST ParaView-v5.1.0.tar.gz 51613148 SHA256 1ce345e9c5533c2854ad7e89cf4f90992bafee23707ae9f85d12b38405169f2a SHA512 c9af27d8be03783c7353735718a41ee03732db0f2e4f6e2db5e1e72d3df01801bb77294713c2b96eaf17e75d1fd6a30e340b3c33f496f7e705d07badfa196e69 WHIRLPOOL 08cd669f02fd54b7fc4054f23f04a3dc274e4ba8ebdf54fb14caaa95bc0c9fb2e2e5551a9e74d88062f2230eb511b7e18d6cb75bb43f4291e19dbaa2ed53cd1f
+DIST ParaView-v5.1.2.tar.gz 51635420 SHA256 ff02b7307a256b7c6e8ad900dee5796297494df7f9a0804fe801eb2f66e6a187 SHA512 9204732ecbe5048c96536a2d63f37ec51f331416bab11c982797d07cd0233e1424193d1c8cac6dfe7e91696997f8aaf92c3a32d7b05674c0b176d93444672e40 WHIRLPOOL 1bbb95672279317304dde1f3123a51f3ca787f0f0b1a28ce09e53f0fbfdf685da89efeb2b13c0409982cbc5566e3984542eeeb519aa757bdd849186135c57a64

diff --git a/sci-visualization/paraview/paraview-5.1.2.ebuild b/sci-visualization/paraview/paraview-5.1.2.ebuild
new file mode 100644
index 0000000..38dc364
--- /dev/null
+++ b/sci-visualization/paraview/paraview-5.1.2.ebuild
@@ -0,0 +1,285 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+inherit eutils cmake-utils multilib python-single-r1 toolchain-funcs versionator
+
+MAIN_PV=$(get_major_version)
+MAJOR_PV=$(get_version_component_range 1-2)
+MY_P="ParaView-v${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="~amd64 ~x86"
+SLOT="0"
+IUSE="boost cg coprocessing development doc examples ffmpeg mpi mysql nvcontrol openmp plugins python +qt5 sqlite tcl test tk"
+RESTRICT="test"
+
+REQUIRED_USE="python? ( mpi ${PYTHON_REQUIRED_USE} )
+	mysql? ( sqlite )" # "vtksqlite, needed by vtkIOSQL" and "vtkIOSQL, needed by vtkIOMySQL"
+
+RDEPEND="
+	dev-libs/expat
+	>=dev-libs/jsoncpp-0.10.1
+	dev-libs/libxml2:2
+	dev-libs/protobuf
+	media-libs/freetype
+	media-libs/libpng:0
+	media-libs/libtheora
+	media-libs/tiff:0=
+	sci-libs/hdf5[mpi=]
+	>=sci-libs/netcdf-4.2[hdf5]
+	>=sci-libs/netcdf-cxx-4.2:3
+	sys-libs/zlib
+	virtual/jpeg:0
+	virtual/opengl
+	x11-libs/libX11
+	x11-libs/libXext
+	x11-libs/libXmu
+	x11-libs/libXt
+	coprocessing? (
+		plugins? (
+			dev-python/PyQt5
+			dev-qt/qtgui:5
+		)
+	)
+	ffmpeg? ( virtual/ffmpeg )
+	mpi? ( virtual/mpi[cxx,romio] )
+	mysql? ( virtual/mysql )
+	python? (
+		${PYTHON_DEPS}
+		dev-python/matplotlib[${PYTHON_USEDEP}]
+		dev-python/numpy[${PYTHON_USEDEP}]
+		dev-python/sip[${PYTHON_USEDEP}]
+		dev-python/twisted-core
+		dev-python/zope-interface[${PYTHON_USEDEP}]
+		mpi? ( dev-python/mpi4py )
+		qt5? ( dev-python/PyQt5[opengl,webkit,${PYTHON_USEDEP}] )
+	)
+	qt5? (
+		dev-qt/designer:5
+		dev-qt/qtgui:5
+		dev-qt/qthelp:5
+		dev-qt/qtopengl:5
+		dev-qt/qtsql:5
+		dev-qt/qttest:5
+		dev-qt/qtwebkit:5
+		dev-qt/qtx11extras:5
+	)
+	sqlite? ( dev-db/sqlite:3 )
+	tcl? ( dev-lang/tcl:0= )
+	tk? ( dev-lang/tk:0= )"
+DEPEND="${RDEPEND}
+	${PYTHON_DEPS}
+	>=dev-util/cmake-3.3.1
+	boost? ( >=dev-libs/boost-1.40.0[mpi?,${PYTHON_USEDEP}] )
+	doc? ( app-doc/doxygen )"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_pretend() {
+	if [[ ${MERGE_TYPE} != "binary" ]] && use openmp && [[ $(tc-getCC)$ == *gcc* ]] && ! tc-has-openmp; then
+		eerror "For USE=openmp a gcc with openmp support is required"
+		eerror
+		return 1
+	fi
+}
+
+pkg_setup() {
+	python-single-r1_pkg_setup
+	PVLIBDIR=$(get_libdir)/${PN}-${MAJOR_PV}
+}
+
+src_prepare() {
+	# see patch headers for description
+	epatch "${FILESDIR}"/${PN}-4.0.1-xdmf-cstring.patch \
+		"${FILESDIR}"/${PN}-4.3.1-fix-development-install.patch \
+		"${FILESDIR}"/${PN}-4.4.0-removesqlite.patch
+
+	# lib64 fixes
+	sed -i \
+		-e "s:/usr/lib:${EPREFIX}/usr/$(get_libdir):g" \
+		 VTK/ThirdParty/xdmf2/vtkxdmf2/libsrc/CMakeLists.txt || die
+	sed -i \
+		-e "s:\/lib\/python:\/$(get_libdir)\/python:g" \
+		 VTK/ThirdParty/xdmf2/vtkxdmf2/CMake/setup_install_paths.py || die
+	sed -i \
+		-e "s:lib/paraview-:$(get_libdir)/paraview-:g" \
+		CMakeLists.txt \
+		Plugins/SciberQuestToolKit/CMakeLists.txt \
+		ParaViewConfig.cmake.in \
+		CoProcessing/PythonCatalyst/vtkCPPythonScriptPipeline.cxx \
+		ParaViewCore/ClientServerCore/Core/vtkProcessModuleInitializePython.h \
+		ParaViewCore/ClientServerCore/Core/vtkPVPluginTracker.cxx \
+		Plugins/SciberQuestToolKit/ParaViewPlugin/CMakeLists.txt \
+		Plugins/SciberQuestToolKit/SciberQuest/CMakeLists.txt || die
+
+	# no proper switch
+	use nvcontrol || {
+		sed -i \
+			-e '/VTK_USE_NVCONTROL/s#1#0#' \
+			VTK/Rendering/OpenGL/CMakeLists.txt || die
+	}
+}
+
+src_configure() {
+	if use qt5; then
+		export QT_SELECT=qt5
+	fi
+
+	# VTK_USE_SYSTEM_QTTESTING
+	# PARAVIEW_USE_SYSTEM_AUTOBAHN
+	local mycmakeargs=(
+		-DPV_INSTALL_LIB_DIR="${PVLIBDIR}"
+		-DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr
+		-DEXPAT_INCLUDE_DIR="${EPREFIX}"/usr/include
+		-DEXPAT_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libexpat.so
+		-DOPENGL_gl_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGL.so
+		-DOPENGL_glu_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGLU.so
+		-DBUILD_SHARED_LIBS=ON
+		-DCMAKE_COLOR_MAKEFILE=TRUE
+		-DCMAKE_USE_PTHREADS=ON
+		-DCMAKE_VERBOSE_MAKEFILE=ON
+		-DPARAVIEW_USE_SYSTEM_MPI4PY=ON
+		-DPROTOC_LOCATION=$(type -P protoc)
+		-DVTK_Group_StandAlone=ON
+		-DVTK_RENDERING_BACKEND=OpenGL2
+		-DVTK_USE_FFMPEG_ENCODER=OFF
+		-DVTK_USE_OFFSCREEN=TRUE
+		-DVTK_USE_SYSTEM_EXPAT=ON
+		-DVTK_USE_SYSTEM_FREETYPE=ON
+		-DVTK_USE_SYSTEM_GL2PS=OFF
+		-DVTK_USE_SYSTEM_HDF5=ON
+		-DVTK_USE_SYSTEM_JPEG=ON
+		-DVTK_USE_SYSTEM_JSONCPP=ON
+		-DVTK_USE_SYSTEM_LIBXML2=ON
+		-DVTK_USE_SYSTEM_NETCDF=ON
+		-DVTK_USE_SYSTEM_OGGTHEORA=ON
+		-DVTK_USE_SYSTEM_PNG=ON
+		-DVTK_USE_SYSTEM_PROTOBUF=ON
+		-DVTK_USE_SYSTEM_TIFF=ON
+		-DVTK_USE_SYSTEM_TWISTED=ON
+		-DVTK_USE_SYSTEM_XDMF2=OFF
+		-DVTK_USE_SYSTEM_ZLIB=ON
+		-DVTK_USE_SYSTEM_ZOPE=ON
+		# force this module due to incorrect build system deps
+		# wrt bug 460528
+		-DModule_vtkUtilitiesProcessXML=ON
+		)
+
+	# TODO: XDMF_USE_MYSQL?
+	# VTK_WRAP_JAVA
+	mycmakeargs+=(
+		$(cmake-utils_use development PARAVIEW_INSTALL_DEVELOPMENT_FILES)
+		$(cmake-utils_use qt5 PARAVIEW_BUILD_QT_GUI)
+		$(usex qt5 "-DPARAVIEW_QT_VERSION=5" "")
+		$(cmake-utils_use qt5 Module_vtkGUISupportQtOpenGL)
+		$(cmake-utils_use qt5 Module_vtkGUISupportQtSQL)
+		$(cmake-utils_use qt5 Module_vtkGUISupportQtWebkit)
+		$(cmake-utils_use qt5 Module_vtkRenderingQt)
+		$(cmake-utils_use qt5 Module_vtkViewsQt)
+		$(cmake-utils_use qt5 VTK_Group_ParaViewQt)
+		$(cmake-utils_use qt5 VTK_Group_Qt)
+		$(cmake-utils_use !qt5 PQWIDGETS_DISABLE_QTWEBKIT)
+		$(cmake-utils_use boost Module_vtkInfovisBoost)
+		$(cmake-utils_use boost Module_vtkInfovisBoostGraphAlg)
+		$(cmake-utils_use mpi PARAVIEW_USE_MPI)
+		$(cmake-utils_use mpi PARAVIEW_USE_MPI_SSEND)
+		$(cmake-utils_use mpi PARAVIEW_USE_ICE_T)
+		$(cmake-utils_use mpi VTK_Group_MPI)
+		$(cmake-utils_use mpi VTK_XDMF_USE_MPI)
+		$(cmake-utils_use mpi XDMF_BUILD_MPI)
+		$(cmake-utils_use python PARAVIEW_ENABLE_PYTHON)
+		$(cmake-utils_use python VTK_Group_ParaViewPython)
+		$(cmake-utils_use python XDMF_WRAP_PYTHON)
+		$(cmake-utils_use python Module_vtkPython)
+		$(cmake-utils_use python Module_pqPython)
+		$(cmake-utils_use python Module_vtkWrappingPythonCore)
+		$(cmake-utils_use python Module_vtkPVPythonSupport)
+		$(cmake-utils_use python Module_AutobahnPython)
+		$(cmake-utils_use python Module_Twisted)
+		$(cmake-utils_use python Module_ZopeInterface)
+		$(cmake-utils_use python Module_vtkmpi4py)
+		$(usex qt5 "$(cmake-utils_use python Module_pqPython)" "-DModule_pqPython=OFF")
+		$(cmake-utils_use doc BUILD_DOCUMENTATION)
+		$(cmake-utils_use doc PARAVIEW_BUILD_WEB_DOCUMENTATION)
+		$(cmake-utils_use examples BUILD_EXAMPLES)
+		$(cmake-utils_use cg VTK_USE_CG_SHADERS)
+		$(cmake-utils_use mysql Module_vtkIOMySQL)
+		$(cmake-utils_use sqlite Module_vtksqlite)
+		$(cmake-utils_use coprocessing PARAVIEW_ENABLE_CATALYST)
+		$(cmake-utils_use ffmpeg PARAVIEW_ENABLE_FFMPEG)
+		$(cmake-utils_use ffmpeg VTK_USE_FFMPEG_ENCODER)
+		$(cmake-utils_use ffmpeg Module_vtkIOFFMPEG)
+		$(cmake-utils_use tk VTK_Group_Tk)
+		$(cmake-utils_use tk VTK_USE_TK)
+		$(cmake-utils_use tk Module_vtkRenderingTk)
+		$(cmake-utils_use tcl Module_vtkTclTk)
+		$(cmake-utils_use tcl Module_vtkWrappingTcl)
+		$(cmake-utils_use test BUILD_TESTING)
+		)
+
+	if use openmp; then
+		mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE=OpenMP )
+	fi
+
+	if use qt5 ; then
+		mycmakeargs+=( -DVTK_INSTALL_QT_DIR=/${PVLIBDIR}/plugins/designer )
+		if use python ; then
+			# paraview cannot guess sip directory properly
+			mycmakeargs+=( -DSIP_INCLUDE_DIR="${EPREFIX}$(python_get_includedir)" )
+		fi
+	fi
+
+	# TODO: MantaView VaporPlugin VRPlugin
+	mycmakeargs+=(
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_AdiosReader)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_AnalyzeNIfTIIO)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_ArrowGlyph)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_EyeDomeLighting)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_ForceTime)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_GMVReader)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_H5PartReader)
+		$(cmake-utils_use plugins RAVIEW_BUILD_PLUGIN_MobileRemoteControl)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_Moments)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_NonOrthogonalSource)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_PacMan)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_PointSprite)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_PrismPlugin)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_QuadView)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_SLACTools)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_SciberQuestToolKit)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_SierraPlotTools)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_StreamingParticles)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_SurfaceLIC)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_UncertaintyRendering)
+		# these are always needed for plugins
+		$(cmake-utils_use plugins Module_vtkFiltersFlowPaths)
+		$(cmake-utils_use plugins Module_vtkPVServerManagerApplication)
+		)
+
+	cmake-utils_src_configure
+}
+
+src_compile() {
+	cmake-utils_src_compile
+}
+
+src_install() {
+	cmake-utils_src_install
+
+	# set up the environment
+	echo "LDPATH=${EPREFIX}/usr/${PVLIBDIR}" > "${T}"/40${PN}
+
+	newicon "${S}"/Applications/ParaView/pvIcon-32x32.png paraview.png
+	make_desktop_entry paraview "Paraview" paraview
+
+	use python && python_optimize "${D}"/usr/$(get_libdir)/${PN}-${MAJOR_PV}
+}


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2016-08-19  4:17 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2016-08-19  4:17 UTC (permalink / raw
  To: gentoo-commits

commit:     10782c29927e4b46669a30df53784f25af6356f3
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 19 02:26:08 2016 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Fri Aug 19 04:17:03 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10782c29

sci-visualization/paraview: add missing dependency on dev-qt/qttest:5, bug #591228

Thanks to Thomas Haschka

Package-Manager: portage-2.2.28

 sci-visualization/paraview/paraview-5.1.0-r1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sci-visualization/paraview/paraview-5.1.0-r1.ebuild b/sci-visualization/paraview/paraview-5.1.0-r1.ebuild
index 772bb85..23fa295 100644
--- a/sci-visualization/paraview/paraview-5.1.0-r1.ebuild
+++ b/sci-visualization/paraview/paraview-5.1.0-r1.ebuild
@@ -70,6 +70,7 @@ RDEPEND="
 		dev-qt/qthelp:5
 		dev-qt/qtopengl:5
 		dev-qt/qtsql:5
+		dev-qt/qttest:5
 		dev-qt/qtwebkit:5
 		dev-qt/qtx11extras:5
 	)


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2016-09-22 12:47 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2016-09-22 12:47 UTC (permalink / raw
  To: gentoo-commits

commit:     1f096a957c31bac62716edbdba25df7b76c242ee
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 22 12:46:51 2016 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Thu Sep 22 12:47:01 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f096a95

sci-visualization/paraview: fix dependencies, bug #594142, bug #591692

Package-Manager: portage-2.2.28

 sci-visualization/paraview/paraview-5.1.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-visualization/paraview/paraview-5.1.2.ebuild b/sci-visualization/paraview/paraview-5.1.2.ebuild
index 38dc364..924f412 100644
--- a/sci-visualization/paraview/paraview-5.1.2.ebuild
+++ b/sci-visualization/paraview/paraview-5.1.2.ebuild
@@ -27,7 +27,7 @@ REQUIRED_USE="python? ( mpi ${PYTHON_REQUIRED_USE} )
 
 RDEPEND="
 	dev-libs/expat
-	>=dev-libs/jsoncpp-0.10.1
+	<dev-libs/jsoncpp-1.7.5
 	dev-libs/libxml2:2
 	dev-libs/protobuf
 	media-libs/freetype
@@ -78,7 +78,7 @@ RDEPEND="
 	tk? ( dev-lang/tk:0= )"
 DEPEND="${RDEPEND}
 	${PYTHON_DEPS}
-	>=dev-util/cmake-3.3.1
+	>=dev-util/cmake-3.4
 	boost? ( >=dev-libs/boost-1.40.0[mpi?,${PYTHON_USEDEP}] )
 	doc? ( app-doc/doxygen )"
 


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2017-01-26 19:06 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2017-01-26 19:06 UTC (permalink / raw
  To: gentoo-commits

commit:     c480a2000618f4533545388174b8686d5f7a7a28
Author:     Chris White <cwprogram <AT> live <DOT> com>
AuthorDate: Tue Dec  6 08:37:25 2016 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Thu Jan 26 19:06:12 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c480a200

sci-visualization/paraview: add glu depend

Paraview requires glu to compile one of the
VTK components. This satisfies the requirement
by adding a depend on virtual/glu.

Verified amd64 compliation
Verified lack of glu provider will cause it
to appear in the emerge pretend listing

 .../paraview/paraview-5.1.2-r1.ebuild              | 286 +++++++++++++++++++++
 1 file changed, 286 insertions(+)

diff --git a/sci-visualization/paraview/paraview-5.1.2-r1.ebuild b/sci-visualization/paraview/paraview-5.1.2-r1.ebuild
new file mode 100644
index 00000000..54d6d17
--- /dev/null
+++ b/sci-visualization/paraview/paraview-5.1.2-r1.ebuild
@@ -0,0 +1,286 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+inherit eutils cmake-utils multilib python-single-r1 toolchain-funcs versionator
+
+MAIN_PV=$(get_major_version)
+MAJOR_PV=$(get_version_component_range 1-2)
+MY_P="ParaView-v${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="~amd64 ~x86"
+SLOT="0"
+IUSE="boost cg coprocessing development doc examples ffmpeg mpi mysql nvcontrol openmp plugins python +qt5 sqlite tcl test tk"
+RESTRICT="test"
+
+REQUIRED_USE="python? ( mpi ${PYTHON_REQUIRED_USE} )
+	mysql? ( sqlite )" # "vtksqlite, needed by vtkIOSQL" and "vtkIOSQL, needed by vtkIOMySQL"
+
+RDEPEND="
+	dev-libs/expat
+	<dev-libs/jsoncpp-1.7.5
+	dev-libs/libxml2:2
+	dev-libs/protobuf
+	media-libs/freetype
+	media-libs/libpng:0
+	media-libs/libtheora
+	media-libs/tiff:0=
+	sci-libs/hdf5[mpi=]
+	>=sci-libs/netcdf-4.2[hdf5]
+	>=sci-libs/netcdf-cxx-4.2:3
+	sys-libs/zlib
+	virtual/jpeg:0
+	virtual/opengl
+	virtual/glu
+	x11-libs/libX11
+	x11-libs/libXext
+	x11-libs/libXmu
+	x11-libs/libXt
+	coprocessing? (
+		plugins? (
+			dev-python/PyQt5
+			dev-qt/qtgui:5
+		)
+	)
+	ffmpeg? ( virtual/ffmpeg )
+	mpi? ( virtual/mpi[cxx,romio] )
+	mysql? ( virtual/mysql )
+	python? (
+		${PYTHON_DEPS}
+		dev-python/matplotlib[${PYTHON_USEDEP}]
+		dev-python/numpy[${PYTHON_USEDEP}]
+		dev-python/sip[${PYTHON_USEDEP}]
+		dev-python/twisted-core
+		dev-python/zope-interface[${PYTHON_USEDEP}]
+		mpi? ( dev-python/mpi4py )
+		qt5? ( dev-python/PyQt5[opengl,webkit,${PYTHON_USEDEP}] )
+	)
+	qt5? (
+		dev-qt/designer:5
+		dev-qt/qtgui:5
+		dev-qt/qthelp:5
+		dev-qt/qtopengl:5
+		dev-qt/qtsql:5
+		dev-qt/qttest:5
+		dev-qt/qtwebkit:5
+		dev-qt/qtx11extras:5
+	)
+	sqlite? ( dev-db/sqlite:3 )
+	tcl? ( dev-lang/tcl:0= )
+	tk? ( dev-lang/tk:0= )"
+DEPEND="${RDEPEND}
+	${PYTHON_DEPS}
+	>=dev-util/cmake-3.4
+	boost? ( >=dev-libs/boost-1.40.0[mpi?,${PYTHON_USEDEP}] )
+	doc? ( app-doc/doxygen )"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_pretend() {
+	if [[ ${MERGE_TYPE} != "binary" ]] && use openmp && [[ $(tc-getCC)$ == *gcc* ]] && ! tc-has-openmp; then
+		eerror "For USE=openmp a gcc with openmp support is required"
+		eerror
+		return 1
+	fi
+}
+
+pkg_setup() {
+	python-single-r1_pkg_setup
+	PVLIBDIR=$(get_libdir)/${PN}-${MAJOR_PV}
+}
+
+src_prepare() {
+	# see patch headers for description
+	epatch "${FILESDIR}"/${PN}-4.0.1-xdmf-cstring.patch \
+		"${FILESDIR}"/${PN}-4.3.1-fix-development-install.patch \
+		"${FILESDIR}"/${PN}-4.4.0-removesqlite.patch
+
+	# lib64 fixes
+	sed -i \
+		-e "s:/usr/lib:${EPREFIX}/usr/$(get_libdir):g" \
+		 VTK/ThirdParty/xdmf2/vtkxdmf2/libsrc/CMakeLists.txt || die
+	sed -i \
+		-e "s:\/lib\/python:\/$(get_libdir)\/python:g" \
+		 VTK/ThirdParty/xdmf2/vtkxdmf2/CMake/setup_install_paths.py || die
+	sed -i \
+		-e "s:lib/paraview-:$(get_libdir)/paraview-:g" \
+		CMakeLists.txt \
+		Plugins/SciberQuestToolKit/CMakeLists.txt \
+		ParaViewConfig.cmake.in \
+		CoProcessing/PythonCatalyst/vtkCPPythonScriptPipeline.cxx \
+		ParaViewCore/ClientServerCore/Core/vtkProcessModuleInitializePython.h \
+		ParaViewCore/ClientServerCore/Core/vtkPVPluginTracker.cxx \
+		Plugins/SciberQuestToolKit/ParaViewPlugin/CMakeLists.txt \
+		Plugins/SciberQuestToolKit/SciberQuest/CMakeLists.txt || die
+
+	# no proper switch
+	use nvcontrol || {
+		sed -i \
+			-e '/VTK_USE_NVCONTROL/s#1#0#' \
+			VTK/Rendering/OpenGL/CMakeLists.txt || die
+	}
+}
+
+src_configure() {
+	if use qt5; then
+		export QT_SELECT=qt5
+	fi
+
+	# VTK_USE_SYSTEM_QTTESTING
+	# PARAVIEW_USE_SYSTEM_AUTOBAHN
+	local mycmakeargs=(
+		-DPV_INSTALL_LIB_DIR="${PVLIBDIR}"
+		-DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr
+		-DEXPAT_INCLUDE_DIR="${EPREFIX}"/usr/include
+		-DEXPAT_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libexpat.so
+		-DOPENGL_gl_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGL.so
+		-DOPENGL_glu_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGLU.so
+		-DBUILD_SHARED_LIBS=ON
+		-DCMAKE_COLOR_MAKEFILE=TRUE
+		-DCMAKE_USE_PTHREADS=ON
+		-DCMAKE_VERBOSE_MAKEFILE=ON
+		-DPARAVIEW_USE_SYSTEM_MPI4PY=ON
+		-DPROTOC_LOCATION=$(type -P protoc)
+		-DVTK_Group_StandAlone=ON
+		-DVTK_RENDERING_BACKEND=OpenGL2
+		-DVTK_USE_FFMPEG_ENCODER=OFF
+		-DVTK_USE_OFFSCREEN=TRUE
+		-DVTK_USE_SYSTEM_EXPAT=ON
+		-DVTK_USE_SYSTEM_FREETYPE=ON
+		-DVTK_USE_SYSTEM_GL2PS=OFF
+		-DVTK_USE_SYSTEM_HDF5=ON
+		-DVTK_USE_SYSTEM_JPEG=ON
+		-DVTK_USE_SYSTEM_JSONCPP=ON
+		-DVTK_USE_SYSTEM_LIBXML2=ON
+		-DVTK_USE_SYSTEM_NETCDF=ON
+		-DVTK_USE_SYSTEM_OGGTHEORA=ON
+		-DVTK_USE_SYSTEM_PNG=ON
+		-DVTK_USE_SYSTEM_PROTOBUF=ON
+		-DVTK_USE_SYSTEM_TIFF=ON
+		-DVTK_USE_SYSTEM_TWISTED=ON
+		-DVTK_USE_SYSTEM_XDMF2=OFF
+		-DVTK_USE_SYSTEM_ZLIB=ON
+		-DVTK_USE_SYSTEM_ZOPE=ON
+		# force this module due to incorrect build system deps
+		# wrt bug 460528
+		-DModule_vtkUtilitiesProcessXML=ON
+		)
+
+	# TODO: XDMF_USE_MYSQL?
+	# VTK_WRAP_JAVA
+	mycmakeargs+=(
+		$(cmake-utils_use development PARAVIEW_INSTALL_DEVELOPMENT_FILES)
+		$(cmake-utils_use qt5 PARAVIEW_BUILD_QT_GUI)
+		$(usex qt5 "-DPARAVIEW_QT_VERSION=5" "")
+		$(cmake-utils_use qt5 Module_vtkGUISupportQtOpenGL)
+		$(cmake-utils_use qt5 Module_vtkGUISupportQtSQL)
+		$(cmake-utils_use qt5 Module_vtkGUISupportQtWebkit)
+		$(cmake-utils_use qt5 Module_vtkRenderingQt)
+		$(cmake-utils_use qt5 Module_vtkViewsQt)
+		$(cmake-utils_use qt5 VTK_Group_ParaViewQt)
+		$(cmake-utils_use qt5 VTK_Group_Qt)
+		$(cmake-utils_use !qt5 PQWIDGETS_DISABLE_QTWEBKIT)
+		$(cmake-utils_use boost Module_vtkInfovisBoost)
+		$(cmake-utils_use boost Module_vtkInfovisBoostGraphAlg)
+		$(cmake-utils_use mpi PARAVIEW_USE_MPI)
+		$(cmake-utils_use mpi PARAVIEW_USE_MPI_SSEND)
+		$(cmake-utils_use mpi PARAVIEW_USE_ICE_T)
+		$(cmake-utils_use mpi VTK_Group_MPI)
+		$(cmake-utils_use mpi VTK_XDMF_USE_MPI)
+		$(cmake-utils_use mpi XDMF_BUILD_MPI)
+		$(cmake-utils_use python PARAVIEW_ENABLE_PYTHON)
+		$(cmake-utils_use python VTK_Group_ParaViewPython)
+		$(cmake-utils_use python XDMF_WRAP_PYTHON)
+		$(cmake-utils_use python Module_vtkPython)
+		$(cmake-utils_use python Module_pqPython)
+		$(cmake-utils_use python Module_vtkWrappingPythonCore)
+		$(cmake-utils_use python Module_vtkPVPythonSupport)
+		$(cmake-utils_use python Module_AutobahnPython)
+		$(cmake-utils_use python Module_Twisted)
+		$(cmake-utils_use python Module_ZopeInterface)
+		$(cmake-utils_use python Module_vtkmpi4py)
+		$(usex qt5 "$(cmake-utils_use python Module_pqPython)" "-DModule_pqPython=OFF")
+		$(cmake-utils_use doc BUILD_DOCUMENTATION)
+		$(cmake-utils_use doc PARAVIEW_BUILD_WEB_DOCUMENTATION)
+		$(cmake-utils_use examples BUILD_EXAMPLES)
+		$(cmake-utils_use cg VTK_USE_CG_SHADERS)
+		$(cmake-utils_use mysql Module_vtkIOMySQL)
+		$(cmake-utils_use sqlite Module_vtksqlite)
+		$(cmake-utils_use coprocessing PARAVIEW_ENABLE_CATALYST)
+		$(cmake-utils_use ffmpeg PARAVIEW_ENABLE_FFMPEG)
+		$(cmake-utils_use ffmpeg VTK_USE_FFMPEG_ENCODER)
+		$(cmake-utils_use ffmpeg Module_vtkIOFFMPEG)
+		$(cmake-utils_use tk VTK_Group_Tk)
+		$(cmake-utils_use tk VTK_USE_TK)
+		$(cmake-utils_use tk Module_vtkRenderingTk)
+		$(cmake-utils_use tcl Module_vtkTclTk)
+		$(cmake-utils_use tcl Module_vtkWrappingTcl)
+		$(cmake-utils_use test BUILD_TESTING)
+		)
+
+	if use openmp; then
+		mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE=OpenMP )
+	fi
+
+	if use qt5 ; then
+		mycmakeargs+=( -DVTK_INSTALL_QT_DIR=/${PVLIBDIR}/plugins/designer )
+		if use python ; then
+			# paraview cannot guess sip directory properly
+			mycmakeargs+=( -DSIP_INCLUDE_DIR="${EPREFIX}$(python_get_includedir)" )
+		fi
+	fi
+
+	# TODO: MantaView VaporPlugin VRPlugin
+	mycmakeargs+=(
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_AdiosReader)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_AnalyzeNIfTIIO)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_ArrowGlyph)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_EyeDomeLighting)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_ForceTime)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_GMVReader)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_H5PartReader)
+		$(cmake-utils_use plugins RAVIEW_BUILD_PLUGIN_MobileRemoteControl)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_Moments)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_NonOrthogonalSource)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_PacMan)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_PointSprite)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_PrismPlugin)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_QuadView)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_SLACTools)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_SciberQuestToolKit)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_SierraPlotTools)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_StreamingParticles)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_SurfaceLIC)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_UncertaintyRendering)
+		# these are always needed for plugins
+		$(cmake-utils_use plugins Module_vtkFiltersFlowPaths)
+		$(cmake-utils_use plugins Module_vtkPVServerManagerApplication)
+		)
+
+	cmake-utils_src_configure
+}
+
+src_compile() {
+	cmake-utils_src_compile
+}
+
+src_install() {
+	cmake-utils_src_install
+
+	# set up the environment
+	echo "LDPATH=${EPREFIX}/usr/${PVLIBDIR}" > "${T}"/40${PN}
+
+	newicon "${S}"/Applications/ParaView/pvIcon-32x32.png paraview.png
+	make_desktop_entry paraview "Paraview" paraview
+
+	use python && python_optimize "${D}"/usr/$(get_libdir)/${PN}-${MAJOR_PV}
+}


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2017-01-26 19:06 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2017-01-26 19:06 UTC (permalink / raw
  To: gentoo-commits

commit:     baa2918450ee90522af6d37bfd6aa6400da91735
Author:     Chris White <cwprogram <AT> live <DOT> com>
AuthorDate: Tue Dec  6 08:43:40 2016 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Thu Jan 26 19:06:12 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=baa29184

sci-visualization/paraview: add -gles2 USE depend

After some research on a compilation error with the
package maintainer it was determined that the
build errors caused by having qtgui and qtopengl
compiled with gles2 USE enabled were enough to
warrant forcing a negated USE dep on both packages
in the ebuild.

Verified amd64 compilation without gles2 enabled qt
packages
Verified complaints when attempting to emerge the
package with gles2 enabled qt packages

 sci-visualization/paraview/paraview-5.1.2-r1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sci-visualization/paraview/paraview-5.1.2-r1.ebuild b/sci-visualization/paraview/paraview-5.1.2-r1.ebuild
index 54d6d17..00a491d 100644
--- a/sci-visualization/paraview/paraview-5.1.2-r1.ebuild
+++ b/sci-visualization/paraview/paraview-5.1.2-r1.ebuild
@@ -48,7 +48,7 @@ RDEPEND="
 	coprocessing? (
 		plugins? (
 			dev-python/PyQt5
-			dev-qt/qtgui:5
+			dev-qt/qtgui:5[-gles2]
 		)
 	)
 	ffmpeg? ( virtual/ffmpeg )
@@ -66,9 +66,9 @@ RDEPEND="
 	)
 	qt5? (
 		dev-qt/designer:5
-		dev-qt/qtgui:5
+		dev-qt/qtgui:5[-gles2]
 		dev-qt/qthelp:5
-		dev-qt/qtopengl:5
+		dev-qt/qtopengl:5[-gles2]
 		dev-qt/qtsql:5
 		dev-qt/qttest:5
 		dev-qt/qtwebkit:5


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2017-01-26 19:48 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2017-01-26 19:48 UTC (permalink / raw
  To: gentoo-commits

commit:     4940c8805cec264d26d41da33f2f5b6edce6a088
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 26 19:41:04 2017 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Thu Jan 26 19:41:04 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4940c880

sci-visualization/paraview: drop old

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sci-visualization/paraview/paraview-5.1.2.ebuild | 285 -----------------------
 1 file changed, 285 deletions(-)

diff --git a/sci-visualization/paraview/paraview-5.1.2.ebuild b/sci-visualization/paraview/paraview-5.1.2.ebuild
deleted file mode 100644
index 924f412..00000000
--- a/sci-visualization/paraview/paraview-5.1.2.ebuild
+++ /dev/null
@@ -1,285 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-inherit eutils cmake-utils multilib python-single-r1 toolchain-funcs versionator
-
-MAIN_PV=$(get_major_version)
-MAJOR_PV=$(get_version_component_range 1-2)
-MY_P="ParaView-v${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="~amd64 ~x86"
-SLOT="0"
-IUSE="boost cg coprocessing development doc examples ffmpeg mpi mysql nvcontrol openmp plugins python +qt5 sqlite tcl test tk"
-RESTRICT="test"
-
-REQUIRED_USE="python? ( mpi ${PYTHON_REQUIRED_USE} )
-	mysql? ( sqlite )" # "vtksqlite, needed by vtkIOSQL" and "vtkIOSQL, needed by vtkIOMySQL"
-
-RDEPEND="
-	dev-libs/expat
-	<dev-libs/jsoncpp-1.7.5
-	dev-libs/libxml2:2
-	dev-libs/protobuf
-	media-libs/freetype
-	media-libs/libpng:0
-	media-libs/libtheora
-	media-libs/tiff:0=
-	sci-libs/hdf5[mpi=]
-	>=sci-libs/netcdf-4.2[hdf5]
-	>=sci-libs/netcdf-cxx-4.2:3
-	sys-libs/zlib
-	virtual/jpeg:0
-	virtual/opengl
-	x11-libs/libX11
-	x11-libs/libXext
-	x11-libs/libXmu
-	x11-libs/libXt
-	coprocessing? (
-		plugins? (
-			dev-python/PyQt5
-			dev-qt/qtgui:5
-		)
-	)
-	ffmpeg? ( virtual/ffmpeg )
-	mpi? ( virtual/mpi[cxx,romio] )
-	mysql? ( virtual/mysql )
-	python? (
-		${PYTHON_DEPS}
-		dev-python/matplotlib[${PYTHON_USEDEP}]
-		dev-python/numpy[${PYTHON_USEDEP}]
-		dev-python/sip[${PYTHON_USEDEP}]
-		dev-python/twisted-core
-		dev-python/zope-interface[${PYTHON_USEDEP}]
-		mpi? ( dev-python/mpi4py )
-		qt5? ( dev-python/PyQt5[opengl,webkit,${PYTHON_USEDEP}] )
-	)
-	qt5? (
-		dev-qt/designer:5
-		dev-qt/qtgui:5
-		dev-qt/qthelp:5
-		dev-qt/qtopengl:5
-		dev-qt/qtsql:5
-		dev-qt/qttest:5
-		dev-qt/qtwebkit:5
-		dev-qt/qtx11extras:5
-	)
-	sqlite? ( dev-db/sqlite:3 )
-	tcl? ( dev-lang/tcl:0= )
-	tk? ( dev-lang/tk:0= )"
-DEPEND="${RDEPEND}
-	${PYTHON_DEPS}
-	>=dev-util/cmake-3.4
-	boost? ( >=dev-libs/boost-1.40.0[mpi?,${PYTHON_USEDEP}] )
-	doc? ( app-doc/doxygen )"
-
-S="${WORKDIR}/${MY_P}"
-
-pkg_pretend() {
-	if [[ ${MERGE_TYPE} != "binary" ]] && use openmp && [[ $(tc-getCC)$ == *gcc* ]] && ! tc-has-openmp; then
-		eerror "For USE=openmp a gcc with openmp support is required"
-		eerror
-		return 1
-	fi
-}
-
-pkg_setup() {
-	python-single-r1_pkg_setup
-	PVLIBDIR=$(get_libdir)/${PN}-${MAJOR_PV}
-}
-
-src_prepare() {
-	# see patch headers for description
-	epatch "${FILESDIR}"/${PN}-4.0.1-xdmf-cstring.patch \
-		"${FILESDIR}"/${PN}-4.3.1-fix-development-install.patch \
-		"${FILESDIR}"/${PN}-4.4.0-removesqlite.patch
-
-	# lib64 fixes
-	sed -i \
-		-e "s:/usr/lib:${EPREFIX}/usr/$(get_libdir):g" \
-		 VTK/ThirdParty/xdmf2/vtkxdmf2/libsrc/CMakeLists.txt || die
-	sed -i \
-		-e "s:\/lib\/python:\/$(get_libdir)\/python:g" \
-		 VTK/ThirdParty/xdmf2/vtkxdmf2/CMake/setup_install_paths.py || die
-	sed -i \
-		-e "s:lib/paraview-:$(get_libdir)/paraview-:g" \
-		CMakeLists.txt \
-		Plugins/SciberQuestToolKit/CMakeLists.txt \
-		ParaViewConfig.cmake.in \
-		CoProcessing/PythonCatalyst/vtkCPPythonScriptPipeline.cxx \
-		ParaViewCore/ClientServerCore/Core/vtkProcessModuleInitializePython.h \
-		ParaViewCore/ClientServerCore/Core/vtkPVPluginTracker.cxx \
-		Plugins/SciberQuestToolKit/ParaViewPlugin/CMakeLists.txt \
-		Plugins/SciberQuestToolKit/SciberQuest/CMakeLists.txt || die
-
-	# no proper switch
-	use nvcontrol || {
-		sed -i \
-			-e '/VTK_USE_NVCONTROL/s#1#0#' \
-			VTK/Rendering/OpenGL/CMakeLists.txt || die
-	}
-}
-
-src_configure() {
-	if use qt5; then
-		export QT_SELECT=qt5
-	fi
-
-	# VTK_USE_SYSTEM_QTTESTING
-	# PARAVIEW_USE_SYSTEM_AUTOBAHN
-	local mycmakeargs=(
-		-DPV_INSTALL_LIB_DIR="${PVLIBDIR}"
-		-DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr
-		-DEXPAT_INCLUDE_DIR="${EPREFIX}"/usr/include
-		-DEXPAT_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libexpat.so
-		-DOPENGL_gl_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGL.so
-		-DOPENGL_glu_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGLU.so
-		-DBUILD_SHARED_LIBS=ON
-		-DCMAKE_COLOR_MAKEFILE=TRUE
-		-DCMAKE_USE_PTHREADS=ON
-		-DCMAKE_VERBOSE_MAKEFILE=ON
-		-DPARAVIEW_USE_SYSTEM_MPI4PY=ON
-		-DPROTOC_LOCATION=$(type -P protoc)
-		-DVTK_Group_StandAlone=ON
-		-DVTK_RENDERING_BACKEND=OpenGL2
-		-DVTK_USE_FFMPEG_ENCODER=OFF
-		-DVTK_USE_OFFSCREEN=TRUE
-		-DVTK_USE_SYSTEM_EXPAT=ON
-		-DVTK_USE_SYSTEM_FREETYPE=ON
-		-DVTK_USE_SYSTEM_GL2PS=OFF
-		-DVTK_USE_SYSTEM_HDF5=ON
-		-DVTK_USE_SYSTEM_JPEG=ON
-		-DVTK_USE_SYSTEM_JSONCPP=ON
-		-DVTK_USE_SYSTEM_LIBXML2=ON
-		-DVTK_USE_SYSTEM_NETCDF=ON
-		-DVTK_USE_SYSTEM_OGGTHEORA=ON
-		-DVTK_USE_SYSTEM_PNG=ON
-		-DVTK_USE_SYSTEM_PROTOBUF=ON
-		-DVTK_USE_SYSTEM_TIFF=ON
-		-DVTK_USE_SYSTEM_TWISTED=ON
-		-DVTK_USE_SYSTEM_XDMF2=OFF
-		-DVTK_USE_SYSTEM_ZLIB=ON
-		-DVTK_USE_SYSTEM_ZOPE=ON
-		# force this module due to incorrect build system deps
-		# wrt bug 460528
-		-DModule_vtkUtilitiesProcessXML=ON
-		)
-
-	# TODO: XDMF_USE_MYSQL?
-	# VTK_WRAP_JAVA
-	mycmakeargs+=(
-		$(cmake-utils_use development PARAVIEW_INSTALL_DEVELOPMENT_FILES)
-		$(cmake-utils_use qt5 PARAVIEW_BUILD_QT_GUI)
-		$(usex qt5 "-DPARAVIEW_QT_VERSION=5" "")
-		$(cmake-utils_use qt5 Module_vtkGUISupportQtOpenGL)
-		$(cmake-utils_use qt5 Module_vtkGUISupportQtSQL)
-		$(cmake-utils_use qt5 Module_vtkGUISupportQtWebkit)
-		$(cmake-utils_use qt5 Module_vtkRenderingQt)
-		$(cmake-utils_use qt5 Module_vtkViewsQt)
-		$(cmake-utils_use qt5 VTK_Group_ParaViewQt)
-		$(cmake-utils_use qt5 VTK_Group_Qt)
-		$(cmake-utils_use !qt5 PQWIDGETS_DISABLE_QTWEBKIT)
-		$(cmake-utils_use boost Module_vtkInfovisBoost)
-		$(cmake-utils_use boost Module_vtkInfovisBoostGraphAlg)
-		$(cmake-utils_use mpi PARAVIEW_USE_MPI)
-		$(cmake-utils_use mpi PARAVIEW_USE_MPI_SSEND)
-		$(cmake-utils_use mpi PARAVIEW_USE_ICE_T)
-		$(cmake-utils_use mpi VTK_Group_MPI)
-		$(cmake-utils_use mpi VTK_XDMF_USE_MPI)
-		$(cmake-utils_use mpi XDMF_BUILD_MPI)
-		$(cmake-utils_use python PARAVIEW_ENABLE_PYTHON)
-		$(cmake-utils_use python VTK_Group_ParaViewPython)
-		$(cmake-utils_use python XDMF_WRAP_PYTHON)
-		$(cmake-utils_use python Module_vtkPython)
-		$(cmake-utils_use python Module_pqPython)
-		$(cmake-utils_use python Module_vtkWrappingPythonCore)
-		$(cmake-utils_use python Module_vtkPVPythonSupport)
-		$(cmake-utils_use python Module_AutobahnPython)
-		$(cmake-utils_use python Module_Twisted)
-		$(cmake-utils_use python Module_ZopeInterface)
-		$(cmake-utils_use python Module_vtkmpi4py)
-		$(usex qt5 "$(cmake-utils_use python Module_pqPython)" "-DModule_pqPython=OFF")
-		$(cmake-utils_use doc BUILD_DOCUMENTATION)
-		$(cmake-utils_use doc PARAVIEW_BUILD_WEB_DOCUMENTATION)
-		$(cmake-utils_use examples BUILD_EXAMPLES)
-		$(cmake-utils_use cg VTK_USE_CG_SHADERS)
-		$(cmake-utils_use mysql Module_vtkIOMySQL)
-		$(cmake-utils_use sqlite Module_vtksqlite)
-		$(cmake-utils_use coprocessing PARAVIEW_ENABLE_CATALYST)
-		$(cmake-utils_use ffmpeg PARAVIEW_ENABLE_FFMPEG)
-		$(cmake-utils_use ffmpeg VTK_USE_FFMPEG_ENCODER)
-		$(cmake-utils_use ffmpeg Module_vtkIOFFMPEG)
-		$(cmake-utils_use tk VTK_Group_Tk)
-		$(cmake-utils_use tk VTK_USE_TK)
-		$(cmake-utils_use tk Module_vtkRenderingTk)
-		$(cmake-utils_use tcl Module_vtkTclTk)
-		$(cmake-utils_use tcl Module_vtkWrappingTcl)
-		$(cmake-utils_use test BUILD_TESTING)
-		)
-
-	if use openmp; then
-		mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE=OpenMP )
-	fi
-
-	if use qt5 ; then
-		mycmakeargs+=( -DVTK_INSTALL_QT_DIR=/${PVLIBDIR}/plugins/designer )
-		if use python ; then
-			# paraview cannot guess sip directory properly
-			mycmakeargs+=( -DSIP_INCLUDE_DIR="${EPREFIX}$(python_get_includedir)" )
-		fi
-	fi
-
-	# TODO: MantaView VaporPlugin VRPlugin
-	mycmakeargs+=(
-		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_AdiosReader)
-		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_AnalyzeNIfTIIO)
-		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_ArrowGlyph)
-		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_EyeDomeLighting)
-		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_ForceTime)
-		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_GMVReader)
-		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_H5PartReader)
-		$(cmake-utils_use plugins RAVIEW_BUILD_PLUGIN_MobileRemoteControl)
-		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_Moments)
-		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_NonOrthogonalSource)
-		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_PacMan)
-		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_PointSprite)
-		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_PrismPlugin)
-		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_QuadView)
-		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_SLACTools)
-		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_SciberQuestToolKit)
-		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_SierraPlotTools)
-		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_StreamingParticles)
-		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_SurfaceLIC)
-		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_UncertaintyRendering)
-		# these are always needed for plugins
-		$(cmake-utils_use plugins Module_vtkFiltersFlowPaths)
-		$(cmake-utils_use plugins Module_vtkPVServerManagerApplication)
-		)
-
-	cmake-utils_src_configure
-}
-
-src_compile() {
-	cmake-utils_src_compile
-}
-
-src_install() {
-	cmake-utils_src_install
-
-	# set up the environment
-	echo "LDPATH=${EPREFIX}/usr/${PVLIBDIR}" > "${T}"/40${PN}
-
-	newicon "${S}"/Applications/ParaView/pvIcon-32x32.png paraview.png
-	make_desktop_entry paraview "Paraview" paraview
-
-	use python && python_optimize "${D}"/usr/$(get_libdir)/${PN}-${MAJOR_PV}
-}


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2017-01-26 19:48 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2017-01-26 19:48 UTC (permalink / raw
  To: gentoo-commits

commit:     785c174c43aca57255c72d5a2ab3e04ac5a3b219
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 26 19:35:19 2017 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Thu Jan 26 19:35:19 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=785c174c

sci-visualization/paraview: version bump to 5.2.0

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sci-visualization/paraview/Manifest              |   1 +
 sci-visualization/paraview/paraview-5.2.0.ebuild | 289 +++++++++++++++++++++++
 2 files changed, 290 insertions(+)

diff --git a/sci-visualization/paraview/Manifest b/sci-visualization/paraview/Manifest
index e5892bf..59e0714 100644
--- a/sci-visualization/paraview/Manifest
+++ b/sci-visualization/paraview/Manifest
@@ -1,2 +1,3 @@
 DIST ParaView-v4.1.0-source.tar.gz 50460304 SHA256 80ef898c158d7fd9ceb0bcd83be1f679eef06ce4f20514a2435330cc97a3fdf3 SHA512 da91f7332a91746d60968a9d6cc1fe4878a3710f8e4a3d675dc65c337d6844f39df4c3e307d424ee0d2a832fd3c0f3d0c4da6a8b0a2aa6902920988fb53b9f7f WHIRLPOOL c3572d12f05b8443eb21a342c140d55e3c41e2af383aa850491aaeec412e62a45a4ee44e6d772dc9b6f141028911cb96b22a7818c6f15bc80bb8553d37008d96
 DIST ParaView-v5.1.2.tar.gz 51635420 SHA256 ff02b7307a256b7c6e8ad900dee5796297494df7f9a0804fe801eb2f66e6a187 SHA512 9204732ecbe5048c96536a2d63f37ec51f331416bab11c982797d07cd0233e1424193d1c8cac6dfe7e91696997f8aaf92c3a32d7b05674c0b176d93444672e40 WHIRLPOOL 1bbb95672279317304dde1f3123a51f3ca787f0f0b1a28ce09e53f0fbfdf685da89efeb2b13c0409982cbc5566e3984542eeeb519aa757bdd849186135c57a64
+DIST ParaView-v5.2.0.tar.gz 47087129 SHA256 894e42ef8475bb49e4e7e64f4ee2c37c714facd18bfbb1d6de7f69676b062c96 SHA512 d46b71a03717bde164fe2b6cdcc1c478384ad0d379e203e75e69e1532f8703b4ce12f8992d39e61d09e2ad7bbf1e249fc1f00c4cdd65aabef831e0dca83485f1 WHIRLPOOL bfc63e95d899e9d7be5432f5e6b6e7a68731726b199a7dd897a4bcbe242537fa5cf2210d20ef4c725ab8af92609b0fb875078ec537577a074672776771f4fd2f

diff --git a/sci-visualization/paraview/paraview-5.2.0.ebuild b/sci-visualization/paraview/paraview-5.2.0.ebuild
new file mode 100644
index 00000000..60c19d0
--- /dev/null
+++ b/sci-visualization/paraview/paraview-5.2.0.ebuild
@@ -0,0 +1,289 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+inherit eutils cmake-utils multilib python-single-r1 toolchain-funcs versionator
+
+MAIN_PV=$(get_major_version)
+MAJOR_PV=$(get_version_component_range 1-2)
+MY_P="ParaView-v${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="~amd64 ~x86"
+SLOT="0"
+IUSE="boost cg coprocessing development doc examples ffmpeg mpi mysql nvcontrol openmp plugins python +qt5 sqlite tcl test tk"
+RESTRICT="test"
+
+REQUIRED_USE="python? ( mpi ${PYTHON_REQUIRED_USE} )
+	mysql? ( sqlite )" # "vtksqlite, needed by vtkIOSQL" and "vtkIOSQL, needed by vtkIOMySQL"
+
+RDEPEND="
+	dev-libs/expat
+	<dev-libs/jsoncpp-1.7.5
+	dev-libs/libxml2:2
+	dev-libs/protobuf
+	media-libs/freetype
+	media-libs/libpng:0
+	media-libs/libtheora
+	media-libs/tiff:0=
+	sci-libs/hdf5[mpi=]
+	>=sci-libs/netcdf-4.2[hdf5]
+	>=sci-libs/netcdf-cxx-4.2:3
+	sys-libs/zlib
+	virtual/jpeg:0
+	virtual/opengl
+	virtual/glu
+	x11-libs/libX11
+	x11-libs/libXext
+	x11-libs/libXmu
+	x11-libs/libXt
+	coprocessing? (
+		plugins? (
+			dev-python/PyQt5
+			dev-qt/qtgui:5[-gles2]
+		)
+	)
+	ffmpeg? ( virtual/ffmpeg )
+	mpi? ( virtual/mpi[cxx,romio] )
+	mysql? ( virtual/mysql )
+	python? (
+		${PYTHON_DEPS}
+		dev-python/matplotlib[${PYTHON_USEDEP}]
+		dev-python/numpy[${PYTHON_USEDEP}]
+		dev-python/sip[${PYTHON_USEDEP}]
+		dev-python/twisted-core
+		dev-python/zope-interface[${PYTHON_USEDEP}]
+		mpi? ( dev-python/mpi4py )
+		qt5? ( dev-python/PyQt5[opengl,webkit,${PYTHON_USEDEP}] )
+	)
+	qt5? (
+		dev-qt/designer:5
+		dev-qt/qtgui:5[-gles2]
+		dev-qt/qthelp:5
+		dev-qt/qtopengl:5[-gles2]
+		dev-qt/qtsql:5
+		dev-qt/qttest:5
+		dev-qt/qtwebkit:5
+		dev-qt/qtx11extras:5
+	)
+	sqlite? ( dev-db/sqlite:3 )
+	tcl? ( dev-lang/tcl:0= )
+	tk? ( dev-lang/tk:0= )"
+DEPEND="${RDEPEND}
+	${PYTHON_DEPS}
+	>=dev-util/cmake-3.4
+	boost? ( >=dev-libs/boost-1.40.0[mpi?,${PYTHON_USEDEP}] )
+	doc? ( app-doc/doxygen )"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-4.0.1-xdmf-cstring.patch
+)
+
+pkg_pretend() {
+	if [[ ${MERGE_TYPE} != "binary" ]] && use openmp && [[ $(tc-getCC)$ == *gcc* ]] && ! tc-has-openmp; then
+		eerror "For USE=openmp a gcc with openmp support is required"
+		eerror
+		return 1
+	fi
+}
+
+pkg_setup() {
+	python-single-r1_pkg_setup
+	PVLIBDIR=$(get_libdir)/${PN}-${MAJOR_PV}
+}
+
+src_prepare() {
+
+	default
+	epatch "${PATCHES[@]}"
+
+	# lib64 fixes
+	sed -i \
+		-e "s:/usr/lib:${EPREFIX}/usr/$(get_libdir):g" \
+		 VTK/ThirdParty/xdmf2/vtkxdmf2/libsrc/CMakeLists.txt || die
+	sed -i \
+		-e "s:\/lib\/python:\/$(get_libdir)\/python:g" \
+		 VTK/ThirdParty/xdmf2/vtkxdmf2/CMake/setup_install_paths.py || die
+	sed -i \
+		-e "s:lib/paraview-:$(get_libdir)/paraview-:g" \
+		CMakeLists.txt \
+		Plugins/SciberQuestToolKit/CMakeLists.txt \
+		ParaViewConfig.cmake.in \
+		CoProcessing/PythonCatalyst/vtkCPPythonScriptPipeline.cxx \
+		ParaViewCore/ClientServerCore/Core/vtkProcessModuleInitializePython.h \
+		ParaViewCore/ClientServerCore/Core/vtkPVPluginTracker.cxx \
+		Plugins/SciberQuestToolKit/ParaViewPlugin/CMakeLists.txt \
+		Plugins/SciberQuestToolKit/SciberQuest/CMakeLists.txt || die
+
+	# no proper switch
+	use nvcontrol || {
+		sed -i \
+			-e '/VTK_USE_NVCONTROL/s#1#0#' \
+			VTK/Rendering/OpenGL/CMakeLists.txt || die
+	}
+}
+
+src_configure() {
+	if use qt5; then
+		export QT_SELECT=qt5
+	fi
+
+	# VTK_USE_SYSTEM_QTTESTING
+	# PARAVIEW_USE_SYSTEM_AUTOBAHN
+	local mycmakeargs=(
+		-DPV_INSTALL_LIB_DIR="${PVLIBDIR}"
+		-DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr
+		-DEXPAT_INCLUDE_DIR="${EPREFIX}"/usr/include
+		-DEXPAT_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libexpat.so
+		-DOPENGL_gl_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGL.so
+		-DOPENGL_glu_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGLU.so
+		-DBUILD_SHARED_LIBS=ON
+		-DCMAKE_COLOR_MAKEFILE=TRUE
+		-DCMAKE_USE_PTHREADS=ON
+		-DCMAKE_VERBOSE_MAKEFILE=ON
+		-DPARAVIEW_USE_SYSTEM_MPI4PY=ON
+		-DPROTOC_LOCATION=$(type -P protoc)
+		-DVTK_Group_StandAlone=ON
+		-DVTK_RENDERING_BACKEND=OpenGL2
+		-DVTK_USE_FFMPEG_ENCODER=OFF
+		-DVTK_USE_OFFSCREEN=TRUE
+		-DVTK_USE_SYSTEM_EXPAT=ON
+		-DVTK_USE_SYSTEM_FREETYPE=ON
+		-DVTK_USE_SYSTEM_GL2PS=OFF
+		-DVTK_USE_SYSTEM_HDF5=ON
+		-DVTK_USE_SYSTEM_JPEG=ON
+		-DVTK_USE_SYSTEM_JSONCPP=ON
+		-DVTK_USE_SYSTEM_LIBXML2=ON
+		-DVTK_USE_SYSTEM_NETCDF=ON
+		-DVTK_USE_SYSTEM_OGGTHEORA=ON
+		-DVTK_USE_SYSTEM_PNG=ON
+		-DVTK_USE_SYSTEM_PROTOBUF=ON
+		-DVTK_USE_SYSTEM_TIFF=ON
+		-DVTK_USE_SYSTEM_TWISTED=ON
+		-DVTK_USE_SYSTEM_XDMF2=OFF
+		-DVTK_USE_SYSTEM_ZLIB=ON
+		-DVTK_USE_SYSTEM_ZOPE=ON
+		# force this module due to incorrect build system deps
+		# wrt bug 460528
+		-DModule_vtkUtilitiesProcessXML=ON
+		)
+
+	# TODO: XDMF_USE_MYSQL?
+	# VTK_WRAP_JAVA
+	mycmakeargs+=(
+		$(cmake-utils_use development PARAVIEW_INSTALL_DEVELOPMENT_FILES)
+		$(cmake-utils_use qt5 PARAVIEW_BUILD_QT_GUI)
+		$(usex qt5 "-DPARAVIEW_QT_VERSION=5" "")
+		$(cmake-utils_use qt5 Module_vtkGUISupportQtOpenGL)
+		$(cmake-utils_use qt5 Module_vtkGUISupportQtSQL)
+		$(cmake-utils_use qt5 Module_vtkGUISupportQtWebkit)
+		$(cmake-utils_use qt5 Module_vtkRenderingQt)
+		$(cmake-utils_use qt5 Module_vtkViewsQt)
+		$(cmake-utils_use qt5 VTK_Group_ParaViewQt)
+		$(cmake-utils_use qt5 VTK_Group_Qt)
+		$(cmake-utils_use !qt5 PQWIDGETS_DISABLE_QTWEBKIT)
+		$(cmake-utils_use boost Module_vtkInfovisBoost)
+		$(cmake-utils_use boost Module_vtkInfovisBoostGraphAlg)
+		$(cmake-utils_use mpi PARAVIEW_USE_MPI)
+		$(cmake-utils_use mpi PARAVIEW_USE_MPI_SSEND)
+		$(cmake-utils_use mpi PARAVIEW_USE_ICE_T)
+		$(cmake-utils_use mpi VTK_Group_MPI)
+		$(cmake-utils_use mpi VTK_XDMF_USE_MPI)
+		$(cmake-utils_use mpi XDMF_BUILD_MPI)
+		$(cmake-utils_use python PARAVIEW_ENABLE_PYTHON)
+		$(cmake-utils_use python VTK_Group_ParaViewPython)
+		$(cmake-utils_use python XDMF_WRAP_PYTHON)
+		$(cmake-utils_use python Module_vtkPython)
+		$(cmake-utils_use python Module_pqPython)
+		$(cmake-utils_use python Module_vtkWrappingPythonCore)
+		$(cmake-utils_use python Module_vtkPVPythonSupport)
+		$(cmake-utils_use python Module_AutobahnPython)
+		$(cmake-utils_use python Module_Twisted)
+		$(cmake-utils_use python Module_ZopeInterface)
+		$(cmake-utils_use python Module_vtkmpi4py)
+		$(usex qt5 "$(cmake-utils_use python Module_pqPython)" "-DModule_pqPython=OFF")
+		$(cmake-utils_use doc BUILD_DOCUMENTATION)
+		$(cmake-utils_use doc PARAVIEW_BUILD_WEB_DOCUMENTATION)
+		$(cmake-utils_use examples BUILD_EXAMPLES)
+		$(cmake-utils_use cg VTK_USE_CG_SHADERS)
+		$(cmake-utils_use mysql Module_vtkIOMySQL)
+		$(cmake-utils_use sqlite Module_vtksqlite)
+		$(cmake-utils_use coprocessing PARAVIEW_ENABLE_CATALYST)
+		$(cmake-utils_use ffmpeg PARAVIEW_ENABLE_FFMPEG)
+		$(cmake-utils_use ffmpeg VTK_USE_FFMPEG_ENCODER)
+		$(cmake-utils_use ffmpeg Module_vtkIOFFMPEG)
+		$(cmake-utils_use tk VTK_Group_Tk)
+		$(cmake-utils_use tk VTK_USE_TK)
+		$(cmake-utils_use tk Module_vtkRenderingTk)
+		$(cmake-utils_use tcl Module_vtkTclTk)
+		$(cmake-utils_use tcl Module_vtkWrappingTcl)
+		$(cmake-utils_use test BUILD_TESTING)
+		)
+
+	if use openmp; then
+		mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE=OpenMP )
+	fi
+
+	if use qt5 ; then
+		mycmakeargs+=( -DVTK_INSTALL_QT_DIR=/${PVLIBDIR}/plugins/designer )
+		if use python ; then
+			# paraview cannot guess sip directory properly
+			mycmakeargs+=( -DSIP_INCLUDE_DIR="${EPREFIX}$(python_get_includedir)" )
+		fi
+	fi
+
+	# TODO: MantaView VaporPlugin VRPlugin
+	mycmakeargs+=(
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_AdiosReader)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_AnalyzeNIfTIIO)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_ArrowGlyph)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_EyeDomeLighting)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_ForceTime)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_GMVReader)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_H5PartReader)
+		$(cmake-utils_use plugins RAVIEW_BUILD_PLUGIN_MobileRemoteControl)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_Moments)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_NonOrthogonalSource)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_PacMan)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_PointSprite)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_PrismPlugin)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_QuadView)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_SLACTools)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_SciberQuestToolKit)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_SierraPlotTools)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_StreamingParticles)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_SurfaceLIC)
+		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_UncertaintyRendering)
+		# these are always needed for plugins
+		$(cmake-utils_use plugins Module_vtkFiltersFlowPaths)
+		$(cmake-utils_use plugins Module_vtkPVServerManagerApplication)
+		)
+
+	cmake-utils_src_configure
+}
+
+src_compile() {
+	cmake-utils_src_compile
+}
+
+src_install() {
+	cmake-utils_src_install
+
+	# set up the environment
+	echo "LDPATH=${EPREFIX}/usr/${PVLIBDIR}" > "${T}"/40${PN}
+
+	newicon "${S}"/Applications/ParaView/pvIcon-32x32.png paraview.png
+	make_desktop_entry paraview "Paraview" paraview
+
+	use python && python_optimize "${D}"/usr/$(get_libdir)/${PN}-${MAJOR_PV}
+}


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2017-05-31 21:14 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2017-05-31 21:14 UTC (permalink / raw
  To: gentoo-commits

commit:     be4bc1696afff38648b11836bef7f2912111cad6
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Wed May 31 21:05:54 2017 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Wed May 31 21:14:12 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be4bc169

sci-visualization/paraview: fix dependency on dev-libs/jsoncpp, bug #614618

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 sci-visualization/paraview/paraview-5.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-visualization/paraview/paraview-5.2.0.ebuild b/sci-visualization/paraview/paraview-5.2.0.ebuild
index b6c4eda15a8..e699e91e48c 100644
--- a/sci-visualization/paraview/paraview-5.2.0.ebuild
+++ b/sci-visualization/paraview/paraview-5.2.0.ebuild
@@ -26,7 +26,7 @@ REQUIRED_USE="python? ( mpi ${PYTHON_REQUIRED_USE} )
 
 RDEPEND="
 	dev-libs/expat
-	<dev-libs/jsoncpp-1.7.5
+	dev-libs/jsoncpp
 	dev-libs/libxml2:2
 	dev-libs/protobuf
 	media-libs/freetype


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2017-12-25 10:43 David Seifert
  0 siblings, 0 replies; 89+ messages in thread
From: David Seifert @ 2017-12-25 10:43 UTC (permalink / raw
  To: gentoo-commits

commit:     7a63ab2293f21dde90d1888b4a341f0d71215964
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 25 10:34:06 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Dec 25 10:43:09 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a63ab22

sci-visualization/paraview: [QA] Run cmake-utils_src_prepare

Closes: https://bugs.gentoo.org/639582
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sci-visualization/paraview/paraview-5.2.0.ebuild | 10 ++++------
 sci-visualization/paraview/paraview-5.3.0.ebuild | 10 ++++------
 2 files changed, 8 insertions(+), 12 deletions(-)

diff --git a/sci-visualization/paraview/paraview-5.2.0.ebuild b/sci-visualization/paraview/paraview-5.2.0.ebuild
index e699e91e48c..5abd820a733 100644
--- a/sci-visualization/paraview/paraview-5.2.0.ebuild
+++ b/sci-visualization/paraview/paraview-5.2.0.ebuild
@@ -102,9 +102,7 @@ pkg_setup() {
 }
 
 src_prepare() {
-
-	default
-	epatch "${PATCHES[@]}"
+	cmake-utils_src_prepare
 
 	# lib64 fixes
 	sed -i \
@@ -125,11 +123,11 @@ src_prepare() {
 		Plugins/SciberQuestToolKit/SciberQuest/CMakeLists.txt || die
 
 	# no proper switch
-	use nvcontrol || {
+	if ! use nvcontrol; then
 		sed -i \
 			-e '/VTK_USE_NVCONTROL/s#1#0#' \
 			VTK/Rendering/OpenGL/CMakeLists.txt || die
-	}
+	fi
 }
 
 src_configure() {
@@ -279,7 +277,7 @@ src_install() {
 	cmake-utils_src_install
 
 	# set up the environment
-	echo "LDPATH=${EPREFIX}/usr/${PVLIBDIR}" > "${T}"/40${PN}
+	echo "LDPATH=${EPREFIX}/usr/${PVLIBDIR}" > "${T}"/40${PN} || die
 
 	newicon "${S}"/Applications/ParaView/pvIcon-32x32.png paraview.png
 	make_desktop_entry paraview "Paraview" paraview

diff --git a/sci-visualization/paraview/paraview-5.3.0.ebuild b/sci-visualization/paraview/paraview-5.3.0.ebuild
index 221ba8da925..ea2160482ea 100644
--- a/sci-visualization/paraview/paraview-5.3.0.ebuild
+++ b/sci-visualization/paraview/paraview-5.3.0.ebuild
@@ -103,9 +103,7 @@ pkg_setup() {
 }
 
 src_prepare() {
-
-	default
-	epatch "${PATCHES[@]}"
+	cmake-utils_src_prepare
 
 	# lib64 fixes
 	sed -i \
@@ -123,11 +121,11 @@ src_prepare() {
 		ParaViewCore/ClientServerCore/Core/vtkPVPluginTracker.cxx || die
 
 	# no proper switch
-	use nvcontrol || {
+	if ! use nvcontrol; then
 		sed -i \
 			-e '/VTK_USE_NVCONTROL/s#1#0#' \
 			VTK/Rendering/OpenGL/CMakeLists.txt || die
-	}
+	fi
 }
 
 src_configure() {
@@ -277,7 +275,7 @@ src_install() {
 	cmake-utils_src_install
 
 	# set up the environment
-	echo "LDPATH=${EPREFIX}/usr/${PVLIBDIR}" > "${T}"/40${PN}
+	echo "LDPATH=${EPREFIX}/usr/${PVLIBDIR}" > "${T}"/40${PN} || die
 
 	newicon "${S}"/Applications/ParaView/pvIcon-32x32.png paraview.png
 	make_desktop_entry paraview "Paraview" paraview


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2018-04-08  5:03 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2018-04-08  5:03 UTC (permalink / raw
  To: gentoo-commits

commit:     4059eb3986e2813de01c7d18b8726911d84ffb82
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  8 05:02:40 2018 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Sun Apr  8 05:03:29 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4059eb39

sci-visualization/paraview: fix QA issues for 5.4.1

Closes: https://bugs.gentoo.org/652698
Package-Manager: Portage-2.3.28, Repoman-2.3.9

 sci-visualization/paraview/paraview-5.4.1.ebuild | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/sci-visualization/paraview/paraview-5.4.1.ebuild b/sci-visualization/paraview/paraview-5.4.1.ebuild
index ebd30586b09..acefd924bae 100644
--- a/sci-visualization/paraview/paraview-5.4.1.ebuild
+++ b/sci-visualization/paraview/paraview-5.4.1.ebuild
@@ -114,6 +114,7 @@ pkg_setup() {
 
 src_prepare() {
 	default
+	cmake-utils_src_prepare
 
 	# lib64 fixes
 	sed -i \
@@ -152,7 +153,6 @@ src_configure() {
 		-DOPENGL_glu_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGLU.so
 		-DBUILD_SHARED_LIBS=ON
 		-DCMAKE_COLOR_MAKEFILE=TRUE
-		-DCMAKE_USE_PTHREADS=ON
 		-DCMAKE_VERBOSE_MAKEFILE=ON
 		-DVTK_Group_StandAlone=ON
 		-DVTK_RENDERING_BACKEND=OpenGL2
@@ -161,7 +161,6 @@ src_configure() {
 		# -DVTK_USE_SYSTEM_AUTOBAHN once we transitioned to Python 3...
 		-DVTK_USE_SYSTEM_CGNS=ON
 		-DVTK_USE_SYSTEM_PUGIXML=ON
-		-DVTK_USE_SYSTEM_PYGMENTS=ON
 		-DVTK_USE_SYSTEM_EXPAT=ON
 		-DVTK_USE_SYSTEM_FREETYPE=ON
 		-DVTK_USE_SYSTEM_GL2PS=OFF # doesn't compile, requires modified sources
@@ -173,18 +172,14 @@ src_configure() {
 		-DVTK_USE_SYSTEM_LIBHARU=OFF # doesn't compile, requires modified sources
 		-DVTK_USE_SYSTEM_LIBXML2=ON
 		-DVTK_USE_SYSTEM_LZ4=ON
-		-DVTK_USE_SYSTEM_MPI4PY=ON
 		-DVTK_USE_SYSTEM_NETCDF=ON
 		-DVTK_USE_SYSTEM_OGGTHEORA=ON
 		-DVTK_USE_SYSTEM_PNG=ON
 		-DVTK_USE_SYSTEM_PROTOBUF=ON
-		-DVTK_USE_SYSTEM_SIX=ON
 		-DVTK_USE_SYSTEM_TIFF=ON
 		-DVTK_USE_SYSTEM_XDMF2=ON
-		-DVTK_USE_SYSTEM_TWISTED=ON
 		-DVTK_USE_SYSTEM_XDMF2=OFF
 		-DVTK_USE_SYSTEM_ZLIB=ON
-		-DVTK_USE_SYSTEM_ZOPE=ON
 		# force this module due to incorrect build system deps
 		# wrt bug 460528
 		-DModule_vtkUtilitiesProcessXML=ON


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2018-04-25  1:23 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2018-04-25  1:23 UTC (permalink / raw
  To: gentoo-commits

commit:     633f2636d5e53def4ef5e2ad80f657967f446654
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 25 01:22:53 2018 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Wed Apr 25 01:23:36 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=633f2636

sci-visualization/paraview: do not call default

Closes: https://bugs.gentoo.org/653206
Package-Manager: Portage-2.3.31, Repoman-2.3.9

 sci-visualization/paraview/paraview-5.4.1.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sci-visualization/paraview/paraview-5.4.1.ebuild b/sci-visualization/paraview/paraview-5.4.1.ebuild
index acefd924bae..f1b68b99b8a 100644
--- a/sci-visualization/paraview/paraview-5.4.1.ebuild
+++ b/sci-visualization/paraview/paraview-5.4.1.ebuild
@@ -113,7 +113,6 @@ pkg_setup() {
 }
 
 src_prepare() {
-	default
 	cmake-utils_src_prepare
 
 	# lib64 fixes


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2018-06-01  0:01 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2018-06-01  0:01 UTC (permalink / raw
  To: gentoo-commits

commit:     be0b141592059913d1826c3bd390622ddc57488e
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Thu May 31 23:54:43 2018 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Fri Jun  1 00:01:16 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be0b1415

sci-visualization/paraview: fix a silly mistake

Bug: https://bugs.gentoo.org/656320

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 sci-visualization/paraview/paraview-5.5.0.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/sci-visualization/paraview/paraview-5.5.0.ebuild b/sci-visualization/paraview/paraview-5.5.0.ebuild
index 580afbbb19f..82c2a17ce24 100644
--- a/sci-visualization/paraview/paraview-5.5.0.ebuild
+++ b/sci-visualization/paraview/paraview-5.5.0.ebuild
@@ -260,8 +260,10 @@ src_install() {
 	cmake-utils_src_install
 
 	# remove wrapper binaries and put the actual executable in place
-	for i in "${ED}"/usr/bin/*; do
-		mv "${ED}"/usr/lib/"$(basename $i)" "$i" || die
+	for i in {paraview-config,pvserver,pvdataserver,pvrenderserver,pvbatch,pvpython,paraview}; do
+		if [ -f "${ED}"/usr/lib/"$i" ]; then
+			mv "${ED}"/usr/lib/"$i" "${ED}"/usr/bin/"$i" || die
+		fi
 	done
 
 	# install libraries into correct directory respecting get_libdir:


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2018-06-11 20:52 Andreas Sturmlechner
  0 siblings, 0 replies; 89+ messages in thread
From: Andreas Sturmlechner @ 2018-06-11 20:52 UTC (permalink / raw
  To: gentoo-commits

commit:     5bc713b633f2e67fffdcb1546395badcc0249f88
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jun  3 12:29:28 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Jun 11 20:51:53 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bc713b6

sci-visualization/paraview: Drop old

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 sci-visualization/paraview/Manifest              |   1 -
 sci-visualization/paraview/paraview-5.3.0.ebuild | 284 -----------------------
 2 files changed, 285 deletions(-)

diff --git a/sci-visualization/paraview/Manifest b/sci-visualization/paraview/Manifest
index 90a7a061616..d5bfb74ff34 100644
--- a/sci-visualization/paraview/Manifest
+++ b/sci-visualization/paraview/Manifest
@@ -1,3 +1,2 @@
-DIST ParaView-v5.3.0.tar.gz 45173528 BLAKE2B 878e8dae0b5de4bee5d72a4a272a5048fa587fac8e949d39c8e040b9fe3553b787e53f183ae98d20f24755db7e355280b85a9f572037764c53740de2eb4a9e30 SHA512 3dc3c2a1c27a0f0dc82fc04ce84477a26aacb329d6ea42c276c4204e39d11bc78adbc1807e1e7168aade31aa48b6d628775841b8b94b5122084eac46e358a23f
 DIST ParaView-v5.4.1.tar.gz 43783720 BLAKE2B 2197d7f390b7192eb58ad67b88c84119da35fc4229547a42ef12a600874304addb410d0a53684a785855f617011762bf6a819231821f0bff8ee226111df8e577 SHA512 6a720f9ed9e03b7b97f0e84bb6d67b2a28c4ffc5079427d544e9522ce313264eed273c9b7ae13b11e34ab4de903132a22bacc337452d1e9da9876416449520f5
 DIST ParaView-v5.5.0.tar.gz 51414419 BLAKE2B 832a01701d21f463c07186912501796756c2477063803fa3b2b67dbb9ac2c9db28a45a8b3d22077085255adf16eb429c3289093848b3712ebab46c0ae4c17956 SHA512 0915eac75a710736334fa9d436369a14546e2f90a1b55f9a0f7a96fedb94ced043d27576d2a179f275478be17e326cd3bee76f06266a776d586f6510722f3172

diff --git a/sci-visualization/paraview/paraview-5.3.0.ebuild b/sci-visualization/paraview/paraview-5.3.0.ebuild
deleted file mode 100644
index ea2160482ea..00000000000
--- a/sci-visualization/paraview/paraview-5.3.0.ebuild
+++ /dev/null
@@ -1,284 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-inherit eutils cmake-utils multilib python-single-r1 toolchain-funcs versionator
-
-MAIN_PV=$(get_major_version)
-MAJOR_PV=$(get_version_component_range 1-2)
-MY_P="ParaView-v${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="~amd64 ~x86"
-SLOT="0"
-IUSE="boost cg coprocessing development doc examples ffmpeg mpi mysql nvcontrol openmp plugins python +qt5 sqlite tcl test tk"
-RESTRICT="test"
-
-REQUIRED_USE="python? ( mpi ${PYTHON_REQUIRED_USE} )
-	mysql? ( sqlite )" # "vtksqlite, needed by vtkIOSQL" and "vtkIOSQL, needed by vtkIOMySQL"
-
-RDEPEND="
-	dev-libs/expat
-	dev-libs/jsoncpp
-	dev-libs/libxml2:2
-	dev-libs/protobuf
-	media-libs/freetype
-	media-libs/libpng:0
-	media-libs/libtheora
-	media-libs/tiff:0=
-	sci-libs/hdf5[mpi=]
-	>=sci-libs/netcdf-4.2[hdf5]
-	>=sci-libs/netcdf-cxx-4.2:3
-	sys-libs/zlib
-	virtual/jpeg:0
-	virtual/opengl
-	virtual/glu
-	x11-libs/libX11
-	x11-libs/libXext
-	x11-libs/libXmu
-	x11-libs/libXt
-	coprocessing? (
-		plugins? (
-			dev-python/PyQt5
-			dev-qt/qtgui:5[-gles2]
-		)
-	)
-	ffmpeg? ( virtual/ffmpeg )
-	mpi? ( virtual/mpi[cxx,romio] )
-	mysql? ( virtual/mysql )
-	python? (
-		${PYTHON_DEPS}
-		dev-python/matplotlib[${PYTHON_USEDEP}]
-		dev-python/numpy[${PYTHON_USEDEP}]
-		dev-python/sip[${PYTHON_USEDEP}]
-		dev-python/twisted-core
-		dev-python/zope-interface[${PYTHON_USEDEP}]
-		mpi? ( dev-python/mpi4py )
-		qt5? ( dev-python/PyQt5[opengl,webkit,${PYTHON_USEDEP}] )
-	)
-	qt5? (
-		dev-qt/designer:5
-		dev-qt/qtgui:5[-gles2]
-		dev-qt/qthelp:5
-		dev-qt/qtopengl:5[-gles2]
-		dev-qt/qtsql:5
-		dev-qt/qttest:5
-		dev-qt/qtwebkit:5
-		dev-qt/qtx11extras:5
-	)
-	sqlite? ( dev-db/sqlite:3 )
-	tcl? ( dev-lang/tcl:0= )
-	tk? ( dev-lang/tk:0= )"
-DEPEND="${RDEPEND}
-	${PYTHON_DEPS}
-	>=dev-util/cmake-3.4
-	boost? ( >=dev-libs/boost-1.40.0[mpi?,${PYTHON_USEDEP}] )
-	doc? ( app-doc/doxygen )"
-
-S="${WORKDIR}/${MY_P}"
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-4.0.1-xdmf-cstring.patch
-	"${FILESDIR}"/${PN}-5.3.0-fix_buildsystem.patch
-)
-
-pkg_pretend() {
-	if [[ ${MERGE_TYPE} != "binary" ]] && use openmp && [[ $(tc-getCC)$ == *gcc* ]] && ! tc-has-openmp; then
-		eerror "For USE=openmp a gcc with openmp support is required"
-		eerror
-		return 1
-	fi
-}
-
-pkg_setup() {
-	python-single-r1_pkg_setup
-	PVLIBDIR=$(get_libdir)/${PN}-${MAJOR_PV}
-}
-
-src_prepare() {
-	cmake-utils_src_prepare
-
-	# lib64 fixes
-	sed -i \
-		-e "s:/usr/lib:${EPREFIX}/usr/$(get_libdir):g" \
-		 VTK/ThirdParty/xdmf2/vtkxdmf2/libsrc/CMakeLists.txt || die
-	sed -i \
-		-e "s:\/lib\/python:\/$(get_libdir)\/python:g" \
-		 VTK/ThirdParty/xdmf2/vtkxdmf2/CMake/setup_install_paths.py || die
-	sed -i \
-		-e "s:lib/paraview-:$(get_libdir)/paraview-:g" \
-		CMakeLists.txt \
-		ParaViewConfig.cmake.in \
-		CoProcessing/PythonCatalyst/vtkCPPythonScriptPipeline.cxx \
-		ParaViewCore/ClientServerCore/Core/vtkProcessModuleInitializePython.h \
-		ParaViewCore/ClientServerCore/Core/vtkPVPluginTracker.cxx || die
-
-	# no proper switch
-	if ! use nvcontrol; then
-		sed -i \
-			-e '/VTK_USE_NVCONTROL/s#1#0#' \
-			VTK/Rendering/OpenGL/CMakeLists.txt || die
-	fi
-}
-
-src_configure() {
-	if use qt5; then
-		export QT_SELECT=qt5
-	fi
-
-	# VTK_USE_SYSTEM_QTTESTING
-	# PARAVIEW_USE_SYSTEM_AUTOBAHN
-	local mycmakeargs=(
-		-DPV_INSTALL_LIB_DIR="${PVLIBDIR}"
-		-DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr
-		-DEXPAT_INCLUDE_DIR="${EPREFIX}"/usr/include
-		-DEXPAT_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libexpat.so
-		-DOPENGL_gl_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGL.so
-		-DOPENGL_glu_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGLU.so
-		-DBUILD_SHARED_LIBS=ON
-		-DCMAKE_COLOR_MAKEFILE=TRUE
-		-DCMAKE_USE_PTHREADS=ON
-		-DCMAKE_VERBOSE_MAKEFILE=ON
-		-DPARAVIEW_USE_SYSTEM_MPI4PY=ON
-		-DPROTOC_LOCATION=$(type -P protoc)
-		-DVTK_Group_StandAlone=ON
-		-DVTK_RENDERING_BACKEND=OpenGL2
-		-DVTK_USE_FFMPEG_ENCODER=OFF
-		-DVTK_USE_OFFSCREEN=TRUE
-		-DVTK_USE_SYSTEM_EXPAT=ON
-		-DVTK_USE_SYSTEM_FREETYPE=ON
-		-DVTK_USE_SYSTEM_GL2PS=OFF
-		-DVTK_USE_SYSTEM_HDF5=ON
-		-DVTK_USE_SYSTEM_JPEG=ON
-		-DVTK_USE_SYSTEM_JSONCPP=ON
-		-DVTK_USE_SYSTEM_LIBXML2=ON
-		-DVTK_USE_SYSTEM_NETCDF=ON
-		-DVTK_USE_SYSTEM_OGGTHEORA=ON
-		-DVTK_USE_SYSTEM_PNG=ON
-		-DVTK_USE_SYSTEM_PROTOBUF=ON
-		-DVTK_USE_SYSTEM_TIFF=ON
-		-DVTK_USE_SYSTEM_TWISTED=ON
-		-DVTK_USE_SYSTEM_XDMF2=OFF
-		-DVTK_USE_SYSTEM_ZLIB=ON
-		-DVTK_USE_SYSTEM_ZOPE=ON
-		# force this module due to incorrect build system deps
-		# wrt bug 460528
-		-DModule_vtkUtilitiesProcessXML=ON
-		)
-
-	# TODO: XDMF_USE_MYSQL?
-	# VTK_WRAP_JAVA
-	mycmakeargs+=(
-		$(cmake-utils_use development PARAVIEW_INSTALL_DEVELOPMENT_FILES)
-		$(cmake-utils_use qt5 PARAVIEW_BUILD_QT_GUI)
-		$(usex qt5 "-DPARAVIEW_QT_VERSION=5" "")
-		$(cmake-utils_use qt5 Module_vtkGUISupportQtOpenGL)
-		$(cmake-utils_use qt5 Module_vtkGUISupportQtSQL)
-		$(cmake-utils_use qt5 Module_vtkGUISupportQtWebkit)
-		$(cmake-utils_use qt5 Module_vtkRenderingQt)
-		$(cmake-utils_use qt5 Module_vtkViewsQt)
-		$(cmake-utils_use qt5 VTK_Group_ParaViewQt)
-		$(cmake-utils_use qt5 VTK_Group_Qt)
-		$(cmake-utils_use !qt5 PQWIDGETS_DISABLE_QTWEBKIT)
-		$(cmake-utils_use boost Module_vtkInfovisBoost)
-		$(cmake-utils_use boost Module_vtkInfovisBoostGraphAlg)
-		$(cmake-utils_use mpi PARAVIEW_USE_MPI)
-		$(cmake-utils_use mpi PARAVIEW_USE_MPI_SSEND)
-		$(cmake-utils_use mpi PARAVIEW_USE_ICE_T)
-		$(cmake-utils_use mpi VTK_Group_MPI)
-		$(cmake-utils_use mpi VTK_XDMF_USE_MPI)
-		$(cmake-utils_use mpi XDMF_BUILD_MPI)
-		$(cmake-utils_use python PARAVIEW_ENABLE_PYTHON)
-		$(cmake-utils_use python VTK_Group_ParaViewPython)
-		$(cmake-utils_use python XDMF_WRAP_PYTHON)
-		$(cmake-utils_use python Module_vtkPython)
-		$(cmake-utils_use python Module_pqPython)
-		$(cmake-utils_use python Module_vtkWrappingPythonCore)
-		$(cmake-utils_use python Module_vtkPVPythonSupport)
-		$(cmake-utils_use python Module_AutobahnPython)
-		$(cmake-utils_use python Module_Twisted)
-		$(cmake-utils_use python Module_ZopeInterface)
-		$(cmake-utils_use python Module_vtkmpi4py)
-		$(usex qt5 "$(cmake-utils_use python Module_pqPython)" "-DModule_pqPython=OFF")
-		$(cmake-utils_use doc BUILD_DOCUMENTATION)
-		$(cmake-utils_use doc PARAVIEW_BUILD_WEB_DOCUMENTATION)
-		$(cmake-utils_use examples BUILD_EXAMPLES)
-		$(cmake-utils_use cg VTK_USE_CG_SHADERS)
-		$(cmake-utils_use mysql Module_vtkIOMySQL)
-		$(cmake-utils_use sqlite Module_vtksqlite)
-		$(cmake-utils_use coprocessing PARAVIEW_ENABLE_CATALYST)
-		$(cmake-utils_use ffmpeg PARAVIEW_ENABLE_FFMPEG)
-		$(cmake-utils_use ffmpeg VTK_USE_FFMPEG_ENCODER)
-		$(cmake-utils_use ffmpeg Module_vtkIOFFMPEG)
-		$(cmake-utils_use tk VTK_Group_Tk)
-		$(cmake-utils_use tk VTK_USE_TK)
-		$(cmake-utils_use tk Module_vtkRenderingTk)
-		$(cmake-utils_use tcl Module_vtkTclTk)
-		$(cmake-utils_use tcl Module_vtkWrappingTcl)
-		$(cmake-utils_use test BUILD_TESTING)
-		)
-
-	if use openmp; then
-		mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE=OpenMP )
-	fi
-
-	if use qt5 ; then
-		mycmakeargs+=( -DVTK_INSTALL_QT_DIR=/${PVLIBDIR}/plugins/designer )
-		if use python ; then
-			# paraview cannot guess sip directory properly
-			mycmakeargs+=( -DSIP_INCLUDE_DIR="${EPREFIX}$(python_get_includedir)" )
-		fi
-	fi
-
-	# TODO: MantaView VaporPlugin VRPlugin
-	mycmakeargs+=(
-		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_AdiosReader)
-		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_AnalyzeNIfTIIO)
-		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_ArrowGlyph)
-		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_EyeDomeLighting)
-		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_ForceTime)
-		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_GMVReader)
-		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_H5PartReader)
-		$(cmake-utils_use plugins RAVIEW_BUILD_PLUGIN_MobileRemoteControl)
-		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_Moments)
-		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_NonOrthogonalSource)
-		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_PacMan)
-		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_PointSprite)
-		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_PrismPlugin)
-		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_QuadView)
-		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_SLACTools)
-		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_SciberQuestToolKit)
-		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_SierraPlotTools)
-		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_StreamingParticles)
-		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_SurfaceLIC)
-		$(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_UncertaintyRendering)
-		# these are always needed for plugins
-		$(cmake-utils_use plugins Module_vtkFiltersFlowPaths)
-		$(cmake-utils_use plugins Module_vtkPVServerManagerApplication)
-		)
-
-	cmake-utils_src_configure
-}
-
-src_compile() {
-	cmake-utils_src_compile
-}
-
-src_install() {
-	cmake-utils_src_install
-
-	# set up the environment
-	echo "LDPATH=${EPREFIX}/usr/${PVLIBDIR}" > "${T}"/40${PN} || die
-
-	newicon "${S}"/Applications/ParaView/pvIcon-32x32.png paraview.png
-	make_desktop_entry paraview "Paraview" paraview
-
-	use python && python_optimize "${D}"/usr/$(get_libdir)/${PN}-${MAJOR_PV}
-}


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2018-07-08  2:57 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2018-07-08  2:57 UTC (permalink / raw
  To: gentoo-commits

commit:     15eb4cf25a85decaa16162b1e328a42e59916874
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Sun Jul  8 02:24:09 2018 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Sun Jul  8 02:24:39 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15eb4cf2

sci-visualization/paraview: version bump; update twisted dependency

Bug: https://bugs.gentoo.org/660654
Package-Manager: Portage-2.3.41, Repoman-2.3.9

 sci-visualization/paraview/Manifest                                   | 2 +-
 .../paraview/{paraview-5.5.0.ebuild => paraview-5.5.2.ebuild}         | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/sci-visualization/paraview/Manifest b/sci-visualization/paraview/Manifest
index d5bfb74ff34..7c9055385da 100644
--- a/sci-visualization/paraview/Manifest
+++ b/sci-visualization/paraview/Manifest
@@ -1,2 +1,2 @@
 DIST ParaView-v5.4.1.tar.gz 43783720 BLAKE2B 2197d7f390b7192eb58ad67b88c84119da35fc4229547a42ef12a600874304addb410d0a53684a785855f617011762bf6a819231821f0bff8ee226111df8e577 SHA512 6a720f9ed9e03b7b97f0e84bb6d67b2a28c4ffc5079427d544e9522ce313264eed273c9b7ae13b11e34ab4de903132a22bacc337452d1e9da9876416449520f5
-DIST ParaView-v5.5.0.tar.gz 51414419 BLAKE2B 832a01701d21f463c07186912501796756c2477063803fa3b2b67dbb9ac2c9db28a45a8b3d22077085255adf16eb429c3289093848b3712ebab46c0ae4c17956 SHA512 0915eac75a710736334fa9d436369a14546e2f90a1b55f9a0f7a96fedb94ced043d27576d2a179f275478be17e326cd3bee76f06266a776d586f6510722f3172
+DIST ParaView-v5.5.2.tar.gz 51418473 BLAKE2B 3300ccbd3fdb522889e9689bd3ad3b37602168658332438d1403f0fcd235722b1751e5acdf01536e4398d759ad26abc4d87f98902f09f64e067a1025e4dcd7a3 SHA512 3150d01cdeaf04aba449b7ffdc22d425d4bace8f17923b56aaf9393695e61fc96406ca49a9ca33ff57f1a2b94a3111b080d4fce5763cce5d082cfbc5c68ea94a

diff --git a/sci-visualization/paraview/paraview-5.5.0.ebuild b/sci-visualization/paraview/paraview-5.5.2.ebuild
similarity index 98%
rename from sci-visualization/paraview/paraview-5.5.0.ebuild
rename to sci-visualization/paraview/paraview-5.5.2.ebuild
index 82c2a17ce24..b34d4ec9805 100644
--- a/sci-visualization/paraview/paraview-5.5.0.ebuild
+++ b/sci-visualization/paraview/paraview-5.5.2.ebuild
@@ -67,7 +67,9 @@ RDEPEND="
 		dev-python/pygments[${PYTHON_USEDEP}]
 		dev-python/sip[${PYTHON_USEDEP}]
 		dev-python/six[${PYTHON_USEDEP}]
-		dev-python/twisted-core[${PYTHON_USEDEP}]
+		|| ( dev-python/twisted[${PYTHON_USEDEP}]
+			dev-python/twisted-core[${PYTHON_USEDEP}]
+		)
 		dev-python/zope-interface[${PYTHON_USEDEP}]
 		mpi? ( dev-python/mpi4py )
 		qt5? ( dev-python/PyQt5[opengl,webkit,${PYTHON_USEDEP}] )


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2018-07-15 16:09 Andreas Sturmlechner
  0 siblings, 0 replies; 89+ messages in thread
From: Andreas Sturmlechner @ 2018-07-15 16:09 UTC (permalink / raw
  To: gentoo-commits

commit:     f35c542e2e94f95db6b8d5f7d2168209f23952d3
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 15 08:55:34 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Jul 15 16:08:54 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f35c542e

sci-visualization/paraview: Drop obsolete multilib eclass

Package-Manager: Portage-2.3.41, Repoman-2.3.9

 sci-visualization/paraview/paraview-5.5.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-visualization/paraview/paraview-5.5.2.ebuild b/sci-visualization/paraview/paraview-5.5.2.ebuild
index 01c949e0ed1..6c2ee9ebc6d 100644
--- a/sci-visualization/paraview/paraview-5.5.2.ebuild
+++ b/sci-visualization/paraview/paraview-5.5.2.ebuild
@@ -4,7 +4,7 @@
 EAPI=6
 
 PYTHON_COMPAT=( python2_7 )
-inherit eutils cmake-utils multilib python-single-r1 toolchain-funcs versionator
+inherit eutils cmake-utils python-single-r1 toolchain-funcs versionator
 
 MAIN_PV=$(get_major_version)
 MAJOR_PV=$(get_version_component_range 1-2)


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2018-07-15 16:09 Andreas Sturmlechner
  0 siblings, 0 replies; 89+ messages in thread
From: Andreas Sturmlechner @ 2018-07-15 16:09 UTC (permalink / raw
  To: gentoo-commits

commit:     5887390026d2e160397aba30cc72f27f4ee13250
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 15 09:17:54 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Jul 15 16:08:57 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58873900

sci-visualization/paraview: eutils -> desktop

Package-Manager: Portage-2.3.41, Repoman-2.3.9

 sci-visualization/paraview/paraview-5.5.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-visualization/paraview/paraview-5.5.2.ebuild b/sci-visualization/paraview/paraview-5.5.2.ebuild
index b34c26b0330..695110e22ac 100644
--- a/sci-visualization/paraview/paraview-5.5.2.ebuild
+++ b/sci-visualization/paraview/paraview-5.5.2.ebuild
@@ -4,7 +4,7 @@
 EAPI=6
 
 PYTHON_COMPAT=( python2_7 )
-inherit eutils cmake-utils python-single-r1 toolchain-funcs versionator
+inherit cmake-utils desktop python-single-r1 toolchain-funcs versionator
 
 MAIN_PV=$(get_major_version)
 MAJOR_PV=$(get_version_component_range 1-2)


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2018-07-15 16:09 Andreas Sturmlechner
  0 siblings, 0 replies; 89+ messages in thread
From: Andreas Sturmlechner @ 2018-07-15 16:09 UTC (permalink / raw
  To: gentoo-commits

commit:     67c596dbee2c2301baac5f44f53fd3a855a1b5f9
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 15 09:15:04 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Jul 15 16:08:56 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67c596db

sci-visualization/paraview: Description

Package-Manager: Portage-2.3.41, Repoman-2.3.9

 sci-visualization/paraview/paraview-5.5.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-visualization/paraview/paraview-5.5.2.ebuild b/sci-visualization/paraview/paraview-5.5.2.ebuild
index 56256a00cc7..d81a6b0c584 100644
--- a/sci-visualization/paraview/paraview-5.5.2.ebuild
+++ b/sci-visualization/paraview/paraview-5.5.2.ebuild
@@ -10,7 +10,7 @@ MAIN_PV=$(get_major_version)
 MAJOR_PV=$(get_version_component_range 1-2)
 MY_P="ParaView-v${PV}"
 
-DESCRIPTION="ParaView is a powerful scientific data visualization application"
+DESCRIPTION="Powerful scientific data visualization application"
 HOMEPAGE="https://www.paraview.org"
 SRC_URI="https://www.paraview.org/files/v${MAJOR_PV}/${MY_P}.tar.gz"
 RESTRICT="mirror"


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2018-07-15 16:09 Andreas Sturmlechner
  0 siblings, 0 replies; 89+ messages in thread
From: Andreas Sturmlechner @ 2018-07-15 16:09 UTC (permalink / raw
  To: gentoo-commits

commit:     fa06a4dda0514226d55adcd38c88642eb6a1ddfc
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 15 09:16:47 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Jul 15 16:08:56 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa06a4dd

sci-visualization/paraview: Superfluous src_compile

Package-Manager: Portage-2.3.41, Repoman-2.3.9

 sci-visualization/paraview/paraview-5.5.2.ebuild | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/sci-visualization/paraview/paraview-5.5.2.ebuild b/sci-visualization/paraview/paraview-5.5.2.ebuild
index d81a6b0c584..b34c26b0330 100644
--- a/sci-visualization/paraview/paraview-5.5.2.ebuild
+++ b/sci-visualization/paraview/paraview-5.5.2.ebuild
@@ -247,10 +247,6 @@ src_configure() {
 	cmake-utils_src_configure
 }
 
-src_compile() {
-	cmake-utils_src_compile
-}
-
 src_install() {
 	cmake-utils_src_install
 


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2018-07-15 16:09 Andreas Sturmlechner
  0 siblings, 0 replies; 89+ messages in thread
From: Andreas Sturmlechner @ 2018-07-15 16:09 UTC (permalink / raw
  To: gentoo-commits

commit:     de1ab68d95d3a14c98c5c04d09f81d5a4aa560b9
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 15 08:57:37 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Jul 15 16:08:55 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de1ab68d

sci-visualization/paraview: Use tc-check-openmp

Package-Manager: Portage-2.3.41, Repoman-2.3.9

 sci-visualization/paraview/paraview-5.5.2.ebuild | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/sci-visualization/paraview/paraview-5.5.2.ebuild b/sci-visualization/paraview/paraview-5.5.2.ebuild
index 6c2ee9ebc6d..629e0f2e785 100644
--- a/sci-visualization/paraview/paraview-5.5.2.ebuild
+++ b/sci-visualization/paraview/paraview-5.5.2.ebuild
@@ -102,15 +102,8 @@ PATCHES=(
 	"${FILESDIR}"/${P}-qt-5.11.patch
 )
 
-pkg_pretend() {
-	if [[ ${MERGE_TYPE} != "binary" ]] && use openmp && [[ $(tc-getCC)$ == *gcc* ]] && ! tc-has-openmp; then
-		eerror "For USE=openmp a gcc with openmp support is required"
-		eerror
-		return 1
-	fi
-}
-
 pkg_setup() {
+	[[ ${MERGE_TYPE} != "binary" ]] && use openmp && tc-check-openmp
 	python-single-r1_pkg_setup
 	PVLIBDIR=$(get_libdir)/${PN}-${MAJOR_PV}
 }


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2018-07-15 16:09 Andreas Sturmlechner
  0 siblings, 0 replies; 89+ messages in thread
From: Andreas Sturmlechner @ 2018-07-15 16:09 UTC (permalink / raw
  To: gentoo-commits

commit:     4e00d5ad2a77bb2a89aa85f8dee1b7b22a976f41
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 15 16:08:27 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Jul 15 16:08:58 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e00d5ad

sci-visualization/paraview: Merge RESTRICTs

Second RESTRICT was cancelling out the first one.

Package-Manager: Portage-2.3.42, Repoman-2.3.9

 sci-visualization/paraview/paraview-5.5.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-visualization/paraview/paraview-5.5.2.ebuild b/sci-visualization/paraview/paraview-5.5.2.ebuild
index 801dd7dea96..0c54acaaf60 100644
--- a/sci-visualization/paraview/paraview-5.5.2.ebuild
+++ b/sci-visualization/paraview/paraview-5.5.2.ebuild
@@ -13,13 +13,13 @@ MY_P="ParaView-v${PV}"
 DESCRIPTION="Powerful scientific data visualization application"
 HOMEPAGE="https://www.paraview.org"
 SRC_URI="https://www.paraview.org/files/v${MAJOR_PV}/${MY_P}.tar.gz"
-RESTRICT="mirror"
 
 LICENSE="paraview GPL-2"
 KEYWORDS="~amd64 ~x86"
 SLOT="0"
 IUSE="boost cg coprocessing development doc examples ffmpeg mpi mysql nvcontrol openmp plugins python +qt5 sqlite tcl test tk"
-RESTRICT="test"
+
+RESTRICT="mirror test"
 
 REQUIRED_USE="python? ( mpi ${PYTHON_REQUIRED_USE} )
 	mysql? ( sqlite )" # "vtksqlite, needed by vtkIOSQL" and "vtkIOSQL, needed by vtkIOMySQL"


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2018-07-15 16:09 Andreas Sturmlechner
  0 siblings, 0 replies; 89+ messages in thread
From: Andreas Sturmlechner @ 2018-07-15 16:09 UTC (permalink / raw
  To: gentoo-commits

commit:     b87bea9c02dcd06a2ae341ed1a3af1eff56d36f7
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 15 09:12:47 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Jul 15 16:08:56 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b87bea9c

sci-visualization/paraview: https

Package-Manager: Portage-2.3.41, Repoman-2.3.9

 sci-visualization/paraview/paraview-5.5.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-visualization/paraview/paraview-5.5.2.ebuild b/sci-visualization/paraview/paraview-5.5.2.ebuild
index a5517a7828a..56256a00cc7 100644
--- a/sci-visualization/paraview/paraview-5.5.2.ebuild
+++ b/sci-visualization/paraview/paraview-5.5.2.ebuild
@@ -11,8 +11,8 @@ MAJOR_PV=$(get_version_component_range 1-2)
 MY_P="ParaView-v${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"
+HOMEPAGE="https://www.paraview.org"
+SRC_URI="https://www.paraview.org/files/v${MAJOR_PV}/${MY_P}.tar.gz"
 RESTRICT="mirror"
 
 LICENSE="paraview GPL-2"


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2018-07-15 16:09 Andreas Sturmlechner
  0 siblings, 0 replies; 89+ messages in thread
From: Andreas Sturmlechner @ 2018-07-15 16:09 UTC (permalink / raw
  To: gentoo-commits

commit:     de72078c0cd18d583f798d91968d33ca3201c9b6
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 15 09:36:11 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Jul 15 16:08:58 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de72078c

sci-visualization/paraview: Update GTK+ icon cache

Package-Manager: Portage-2.3.41, Repoman-2.3.9

 sci-visualization/paraview/paraview-5.5.2.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/sci-visualization/paraview/paraview-5.5.2.ebuild b/sci-visualization/paraview/paraview-5.5.2.ebuild
index 8f9a79d3dae..801dd7dea96 100644
--- a/sci-visualization/paraview/paraview-5.5.2.ebuild
+++ b/sci-visualization/paraview/paraview-5.5.2.ebuild
@@ -4,7 +4,7 @@
 EAPI=6
 
 PYTHON_COMPAT=( python2_7 )
-inherit cmake-utils desktop eapi7-ver python-single-r1 toolchain-funcs
+inherit cmake-utils desktop eapi7-ver gnome2-utils python-single-r1 toolchain-funcs
 
 MAIN_PV=$(ver_cut 0-1)
 MAJOR_PV=$(ver_cut 1-2)
@@ -271,3 +271,11 @@ src_install() {
 
 	use python && python_optimize "${D}"/usr/$(get_libdir)/${PN}-${MAJOR_PV}
 }
+
+pkg_postinst() {
+	gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+	gnome2_icon_cache_update
+}


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2018-07-15 16:09 Andreas Sturmlechner
  0 siblings, 0 replies; 89+ messages in thread
From: Andreas Sturmlechner @ 2018-07-15 16:09 UTC (permalink / raw
  To: gentoo-commits

commit:     d9044d03d8265ee9f890c2316131549fc37a649d
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 15 09:28:38 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Jul 15 16:08:57 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9044d03

sci-visualization/paraview: Duplicate cmake option

Package-Manager: Portage-2.3.41, Repoman-2.3.9

 sci-visualization/paraview/paraview-5.5.2.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sci-visualization/paraview/paraview-5.5.2.ebuild b/sci-visualization/paraview/paraview-5.5.2.ebuild
index 695110e22ac..ca4f0e25f4b 100644
--- a/sci-visualization/paraview/paraview-5.5.2.ebuild
+++ b/sci-visualization/paraview/paraview-5.5.2.ebuild
@@ -157,8 +157,7 @@ src_configure() {
 		-DVTK_USE_SYSTEM_PNG=ON
 		-DVTK_USE_SYSTEM_PROTOBUF=ON
 		-DVTK_USE_SYSTEM_TIFF=ON
-		-DVTK_USE_SYSTEM_XDMF2=ON
-		-DVTK_USE_SYSTEM_XDMF2=OFF
+		-DVTK_USE_SYSTEM_XDMF2=OFF # does not compile with sci-libs/xdmf2-1.0_p141226
 		-DVTK_USE_SYSTEM_ZLIB=ON
 		# force this module due to incorrect build system deps
 		# wrt bug 460528


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2018-07-15 16:09 Andreas Sturmlechner
  0 siblings, 0 replies; 89+ messages in thread
From: Andreas Sturmlechner @ 2018-07-15 16:09 UTC (permalink / raw
  To: gentoo-commits

commit:     4e5e54248e8971e09381d97edcba29c0b32e0da1
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 15 09:30:34 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Jul 15 16:08:58 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e5e5424

sci-visualization/paraview: Switch to eapi7-ver

Package-Manager: Portage-2.3.41, Repoman-2.3.9

 sci-visualization/paraview/paraview-5.5.2.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sci-visualization/paraview/paraview-5.5.2.ebuild b/sci-visualization/paraview/paraview-5.5.2.ebuild
index ca4f0e25f4b..8f9a79d3dae 100644
--- a/sci-visualization/paraview/paraview-5.5.2.ebuild
+++ b/sci-visualization/paraview/paraview-5.5.2.ebuild
@@ -4,10 +4,10 @@
 EAPI=6
 
 PYTHON_COMPAT=( python2_7 )
-inherit cmake-utils desktop python-single-r1 toolchain-funcs versionator
+inherit cmake-utils desktop eapi7-ver python-single-r1 toolchain-funcs
 
-MAIN_PV=$(get_major_version)
-MAJOR_PV=$(get_version_component_range 1-2)
+MAIN_PV=$(ver_cut 0-1)
+MAJOR_PV=$(ver_cut 1-2)
 MY_P="ParaView-v${PV}"
 
 DESCRIPTION="Powerful scientific data visualization application"


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2018-07-15 16:09 Andreas Sturmlechner
  0 siblings, 0 replies; 89+ messages in thread
From: Andreas Sturmlechner @ 2018-07-15 16:09 UTC (permalink / raw
  To: gentoo-commits

commit:     2571fc6d765a8187425251ccc9868aa61627fab7
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 15 09:04:12 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Jul 15 16:08:55 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2571fc6d

sci-visualization/paraview: Drop obsolete min DEPENDs

Package-Manager: Portage-2.3.41, Repoman-2.3.9

 sci-visualization/paraview/paraview-5.5.2.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sci-visualization/paraview/paraview-5.5.2.ebuild b/sci-visualization/paraview/paraview-5.5.2.ebuild
index 629e0f2e785..a5517a7828a 100644
--- a/sci-visualization/paraview/paraview-5.5.2.ebuild
+++ b/sci-visualization/paraview/paraview-5.5.2.ebuild
@@ -89,8 +89,7 @@ RDEPEND="
 	tk? ( dev-lang/tk:0= )"
 DEPEND="${RDEPEND}
 	${PYTHON_DEPS}
-	>=dev-util/cmake-3.4
-	boost? ( >=dev-libs/boost-1.40.0[mpi?,${PYTHON_USEDEP}] )
+	boost? ( dev-libs/boost[mpi?,${PYTHON_USEDEP}] )
 	doc? ( app-doc/doxygen )"
 
 S="${WORKDIR}/${MY_P}"


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2018-10-31 15:08 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2018-10-31 15:08 UTC (permalink / raw
  To: gentoo-commits

commit:     ff20e8395256fcb55b2c371cd0a5b17ac355d122
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 31 15:07:51 2018 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Wed Oct 31 15:07:51 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff20e839

sci-visualization/paraview: work around missing directory

Closes: https://bugs.gentoo.org/661812
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 sci-visualization/paraview/paraview-5.5.2.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/sci-visualization/paraview/paraview-5.5.2.ebuild b/sci-visualization/paraview/paraview-5.5.2.ebuild
index 0c54acaaf60..d94cca7ce1b 100644
--- a/sci-visualization/paraview/paraview-5.5.2.ebuild
+++ b/sci-visualization/paraview/paraview-5.5.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -108,6 +108,10 @@ pkg_setup() {
 }
 
 src_prepare() {
+
+	# Bug #661812
+	mkdir -p Plugins/StreamLinesRepresentation/doc || die
+
 	cmake-utils_src_prepare
 
 	# lib64 fixes


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2018-10-31 15:13 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2018-10-31 15:13 UTC (permalink / raw
  To: gentoo-commits

commit:     a0385ac39a05265591c7f3af314ca4cede4a0f6d
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 31 15:12:18 2018 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Wed Oct 31 15:12:18 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0385ac3

sci-visualization/paraview: update dependency

Closes: https://bugs.gentoo.org/666064
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 sci-visualization/paraview/paraview-5.5.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-visualization/paraview/paraview-5.5.2.ebuild b/sci-visualization/paraview/paraview-5.5.2.ebuild
index d94cca7ce1b..9aa40c78c76 100644
--- a/sci-visualization/paraview/paraview-5.5.2.ebuild
+++ b/sci-visualization/paraview/paraview-5.5.2.ebuild
@@ -57,7 +57,7 @@ RDEPEND="
 	)
 	ffmpeg? ( virtual/ffmpeg )
 	mpi? ( virtual/mpi[cxx,romio] )
-	mysql? ( virtual/mysql )
+	mysql? ( dev-db/mysql-connector-c )
 	python? (
 		${PYTHON_DEPS}
 		dev-python/constantly[${PYTHON_USEDEP}]


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2019-04-01 18:44 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2019-04-01 18:44 UTC (permalink / raw
  To: gentoo-commits

commit:     8e29d4936fdafa63de8481e86acc79ae59a9e044
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Mon Apr  1 14:43:29 2019 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Mon Apr  1 18:44:02 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e29d493

sci-visualization/paraview: version bump to 5.6.0

Closes: https://bugs.gentoo.org/675268
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 sci-visualization/paraview/Manifest              |   1 +
 sci-visualization/paraview/paraview-5.6.0.ebuild | 284 +++++++++++++++++++++++
 2 files changed, 285 insertions(+)

diff --git a/sci-visualization/paraview/Manifest b/sci-visualization/paraview/Manifest
index 93c27c17c6e..9b7d008bf85 100644
--- a/sci-visualization/paraview/Manifest
+++ b/sci-visualization/paraview/Manifest
@@ -1 +1,2 @@
 DIST ParaView-v5.5.2.tar.gz 51418473 BLAKE2B 3300ccbd3fdb522889e9689bd3ad3b37602168658332438d1403f0fcd235722b1751e5acdf01536e4398d759ad26abc4d87f98902f09f64e067a1025e4dcd7a3 SHA512 3150d01cdeaf04aba449b7ffdc22d425d4bace8f17923b56aaf9393695e61fc96406ca49a9ca33ff57f1a2b94a3111b080d4fce5763cce5d082cfbc5c68ea94a
+DIST ParaView-v5.6.0.tar.gz 54085457 BLAKE2B a99a320f87af19ad4d39336e148f4ab1989225111299341ff3ebb095c652f1392362e42ce90dab8fe7390c44f9200637e76c1076e07d61c7e6cd4aad93df3a83 SHA512 4d7c1b9f5781411cdd290a0ef105221deca1af28bb29b8e6e6c077f3377b110e7c86637c11514559d2d826d36f189d5b5c1caa9e5f9c53820cf35c3ade1ae1f6

diff --git a/sci-visualization/paraview/paraview-5.6.0.ebuild b/sci-visualization/paraview/paraview-5.6.0.ebuild
new file mode 100644
index 00000000000..7375640e59d
--- /dev/null
+++ b/sci-visualization/paraview/paraview-5.6.0.ebuild
@@ -0,0 +1,284 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+inherit cmake-utils desktop eapi7-ver gnome2-utils python-single-r1 toolchain-funcs
+
+MAIN_PV=$(ver_cut 0-1)
+MAJOR_PV=$(ver_cut 1-2)
+MY_P="ParaView-v${PV}"
+
+DESCRIPTION="Powerful scientific data visualization application"
+HOMEPAGE="https://www.paraview.org"
+SRC_URI="https://www.paraview.org/files/v${MAJOR_PV}/${MY_P}.tar.gz"
+
+LICENSE="paraview GPL-2"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="boost cg coprocessing development doc examples ffmpeg mpi mysql nvcontrol openmp plugins python +qt5 sqlite tcl test tk"
+
+RESTRICT="mirror test"
+
+REQUIRED_USE="python? ( mpi ${PYTHON_REQUIRED_USE} )
+	mysql? ( sqlite )" # "vtksqlite, needed by vtkIOSQL" and "vtkIOSQL, needed by vtkIOMySQL"
+
+RDEPEND="
+	app-arch/lz4
+	dev-libs/expat
+	dev-libs/jsoncpp
+	dev-libs/libxml2:2
+	dev-libs/protobuf
+	dev-libs/pugixml
+	media-libs/freetype
+	media-libs/glew:0
+	media-libs/libpng:0
+	media-libs/libtheora
+	media-libs/tiff:0=
+	sci-libs/cgnslib
+	sci-libs/hdf5[mpi=]
+	>=sci-libs/netcdf-4.2[hdf5]
+	>=sci-libs/netcdf-cxx-4.2:3
+	sci-libs/xdmf2
+	sys-libs/zlib
+	virtual/glu
+	virtual/jpeg:0
+	virtual/opengl
+	x11-libs/libX11
+	x11-libs/libXext
+	x11-libs/libXmu
+	x11-libs/libXt
+	coprocessing? (
+		plugins? (
+			dev-python/PyQt5
+			dev-qt/qtgui:5[-gles2]
+		)
+	)
+	ffmpeg? ( virtual/ffmpeg )
+	mpi? ( virtual/mpi[cxx,romio] )
+	mysql? ( dev-db/mysql-connector-c )
+	python? (
+		${PYTHON_DEPS}
+		dev-python/constantly[${PYTHON_USEDEP}]
+		dev-python/incremental[${PYTHON_USEDEP}]
+		dev-python/matplotlib[${PYTHON_USEDEP}]
+		dev-python/numpy[${PYTHON_USEDEP}]
+		dev-python/pygments[${PYTHON_USEDEP}]
+		dev-python/sip[${PYTHON_USEDEP}]
+		dev-python/six[${PYTHON_USEDEP}]
+		|| ( dev-python/twisted[${PYTHON_USEDEP}]
+			dev-python/twisted-core[${PYTHON_USEDEP}]
+		)
+		dev-python/zope-interface[${PYTHON_USEDEP}]
+		mpi? ( dev-python/mpi4py )
+		qt5? ( dev-python/PyQt5[opengl,webkit,${PYTHON_USEDEP}] )
+	)
+	qt5? (
+		dev-qt/designer:5
+		dev-qt/qtgui:5[-gles2]
+		dev-qt/qthelp:5
+		dev-qt/qtopengl:5[-gles2]
+		dev-qt/qtsql:5
+		dev-qt/qttest:5
+		dev-qt/qtwebkit:5
+		dev-qt/qtx11extras:5
+	)
+	sqlite? ( dev-db/sqlite:3 )
+	tcl? ( dev-lang/tcl:0= )
+	tk? ( dev-lang/tk:0= )"
+DEPEND="${RDEPEND}
+	${PYTHON_DEPS}
+	boost? ( dev-libs/boost[mpi?,${PYTHON_USEDEP}] )
+	doc? ( app-doc/doxygen )"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-4.0.1-xdmf-cstring.patch
+	"${FILESDIR}"/${PN}-5.3.0-fix_buildsystem.patch
+	"${FILESDIR}"/${PN}-5.5.0-allow_custom_build_type.patch
+)
+
+pkg_setup() {
+	[[ ${MERGE_TYPE} != "binary" ]] && use openmp && tc-check-openmp
+	python-single-r1_pkg_setup
+	PVLIBDIR=$(get_libdir)/${PN}-${MAJOR_PV}
+}
+
+src_prepare() {
+
+	# Bug #661812
+	mkdir -p Plugins/StreamLinesRepresentation/doc || die
+
+	cmake-utils_src_prepare
+
+	# lib64 fixes
+	sed -i \
+		-e "s:/lib/python:/$(get_libdir)/python:g" \
+		VTK/ThirdParty/xdmf3/vtkxdmf3/CMakeLists.txt || die
+	sed -i \
+		-e "s:lib/paraview-:$(get_libdir)/paraview-:g" \
+		ParaViewCore/ServerManager/SMApplication/vtkInitializationHelper.cxx || die
+}
+
+src_configure() {
+	if use qt5; then
+		export QT_SELECT=qt5
+	fi
+
+	local mycmakeargs=(
+		-DCMAKE_INSTALL_LIBDIR="${PVLIBDIR}"
+		-DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr
+		-DEXPAT_INCLUDE_DIR="${EPREFIX}"/usr/include
+		-DEXPAT_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libexpat.so
+		-DOPENGL_gl_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGL.so
+		-DOPENGL_glu_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGLU.so
+		-DBUILD_SHARED_LIBS=ON
+		-DCMAKE_COLOR_MAKEFILE=TRUE
+		-DCMAKE_VERBOSE_MAKEFILE=ON
+		-DVTK_Group_StandAlone=ON
+		-DVTK_RENDERING_BACKEND=OpenGL2
+		-DVTK_USE_FFMPEG_ENCODER=OFF
+		-DVTK_USE_OFFSCREEN=TRUE
+		# -DVTK_USE_SYSTEM_AUTOBAHN once we transitioned to Python 3...
+		-DVTK_USE_SYSTEM_CGNS=ON
+		-DVTK_USE_SYSTEM_PUGIXML=ON
+		-DVTK_USE_SYSTEM_EXPAT=ON
+		-DVTK_USE_SYSTEM_FREETYPE=ON
+		-DVTK_USE_SYSTEM_GL2PS=OFF # doesn't compile, requires modified sources
+		-DVTK_USE_SYSTEM_GLEW=ON
+		-DVTK_USE_SYSTEM_HDF5=ON
+		-DVTK_USE_SYSTEM_INCREMENTAL=ON
+		-DVTK_USE_SYSTEM_JPEG=ON
+		-DVTK_USE_SYSTEM_JSONCPP=ON
+		-DVTK_USE_SYSTEM_LIBHARU=OFF # doesn't compile, requires modified sources
+		-DVTK_USE_SYSTEM_LIBXML2=ON
+		-DVTK_USE_SYSTEM_LZ4=ON
+		-DVTK_USE_SYSTEM_NETCDF=ON
+		-DVTK_USE_SYSTEM_OGGTHEORA=ON
+		-DVTK_USE_SYSTEM_PNG=ON
+		-DVTK_USE_SYSTEM_PROTOBUF=ON
+		-DVTK_USE_SYSTEM_TIFF=ON
+		-DVTK_USE_SYSTEM_XDMF2=OFF # does not compile with sci-libs/xdmf2-1.0_p141226
+		-DVTK_USE_SYSTEM_ZLIB=ON
+		# force this module due to incorrect build system deps
+		# wrt bug 460528
+		-DModule_vtkUtilitiesProcessXML=ON
+		)
+
+	mycmakeargs+=(
+		-DPARAVIEW_INSTALL_DEVELOPMENT_FILES="$(usex development)"
+
+		-DModule_vtkGUISupportQtOpenGL="$(usex qt5)"
+		-DModule_vtkGUISupportQtSQL="$(usex qt5)"
+		-DModule_vtkGUISupportQtWebkit="$(usex qt5)"
+		-DModule_vtkRenderingQt="$(usex qt5)"
+		-DModule_vtkViewsQt="$(usex qt5)"
+		-DPARAVIEW_BUILD_QT_GUI="$(usex qt5)"
+		-DVTK_Group_ParaViewQt="$(usex qt5)"
+		-DVTK_Group_Qt="$(usex qt5)"
+		-DModule_pqPython="$(usex qt5 "$(usex python)" "off")"
+		$(usex qt5 "-DPARAVIEW_QT_VERSION=5" "")
+		-DVTK_USE_NVCONTROL="$(usex nvcontrol)"
+
+		-DModule_vtkInfovisBoost="$(usex boost)"
+
+		-DPARAVIEW_USE_ICE_T="$(usex mpi)"
+		-DPARAVIEW_USE_MPI_SSEND="$(usex mpi)"
+		-DPARAVIEW_USE_MPI="$(usex mpi)"
+		-DVTK_Group_MPI="$(usex mpi)"
+		-DVTK_XDMF_USE_MPI="$(usex mpi)"
+		-DXDMF_BUILD_MPI="$(usex mpi)"
+
+		-DModule_AutobahnPython="$(usex python)"
+		-DModule_pqPython="$(usex python)"
+		-DModule_Twisted="$(usex python)"
+		-DModule_vtkmpi4py="$(usex python)"
+		-DModule_vtkPython="$(usex python)"
+		-DModule_vtkWrappingPythonCore="$(usex python)"
+		-DModule_ZopeInterface="$(usex python)"
+		-DPARAVIEW_ENABLE_PYTHON="$(usex python)"
+		-DXDMF_WRAP_PYTHON="$(usex python)"
+
+		-DBUILD_DOCUMENTATION="$(usex doc)"
+
+		-DBUILD_EXAMPLES="$(usex examples)"
+
+		-DModule_vtkIOMySQL="$(usex mysql)"
+
+		-DModule_vtksqlite="$(usex sqlite)"
+
+		-DPARAVIEW_ENABLE_CATALYST="$(usex coprocessing)"
+
+		-DPARAVIEW_ENABLE_FFMPEG="$(usex ffmpeg)"
+		-DVTK_USE_FFMPEG_ENCODER="$(usex ffmpeg)"
+		-DModule_vtkIOFFMPEG="$(usex ffmpeg)"
+
+		-DVTK_Group_Tk="$(usex tk)"
+		-DVTK_USE_TK="$(usex tk)"
+		-DModule_vtkRenderingTk="$(usex tk)"
+		-DModule_vtkTclTk="$(usex tcl)"
+		-DModule_vtkWrappingTcl="$(usex tcl)"
+		-DBUILD_TESTING="$(usex test)"
+		)
+
+	if use openmp; then
+		mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE=OpenMP )
+	fi
+
+	# TODO: MantaView VaporPlugin VRPlugin
+	mycmakeargs+=(
+		-DPARAVIEW_BUILD_PLUGIN_AdiosReader="$(usex plugins)"
+		-DPARAVIEW_BUILD_PLUGIN_AnalyzeNIfTIIO="$(usex plugins)"
+		-DPARAVIEW_BUILD_PLUGIN_ArrowGlyph="$(usex plugins)"
+		-DPARAVIEW_BUILD_PLUGIN_EyeDomeLighting="$(usex plugins)"
+		-DPARAVIEW_BUILD_PLUGIN_GMVReader="$(usex plugins)"
+		-DPARAVIEW_BUILD_PLUGIN_Moments="$(usex plugins)"
+		-DPARAVIEW_BUILD_PLUGIN_NonOrthogonalSource="$(usex plugins)"
+		-DPARAVIEW_BUILD_PLUGIN_PacMan="$(usex plugins)"
+		-DPARAVIEW_BUILD_PLUGIN_SierraPlotTools="$(usex plugins)"
+		-DPARAVIEW_BUILD_PLUGIN_SLACTools="$(usex plugins)"
+		-DPARAVIEW_BUILD_PLUGIN_StreamingParticles="$(usex plugins)"
+		-DPARAVIEW_BUILD_PLUGIN_SurfaceLIC="$(usex plugins)"
+		# these are always needed for plugins
+		-DModule_vtkFiltersFlowPaths="$(usex plugins)"
+		-DModule_vtkPVServerManagerApplication="$(usex plugins)"
+		)
+
+	cmake-utils_src_configure
+}
+
+src_install() {
+	cmake-utils_src_install
+
+	# remove wrapper binaries and put the actual executable in place
+	for i in {paraview-config,pvserver,pvdataserver,pvrenderserver,pvbatch,pvpython,paraview}; do
+		if [ -f "${ED}"/usr/lib/"$i" ]; then
+			mv "${ED}"/usr/lib/"$i" "${ED}"/usr/bin/"$i" || die
+		fi
+	done
+
+	# install libraries into correct directory respecting get_libdir:
+	mv "${ED}"/usr/lib "${ED}"/usr/lib_tmp || die
+	mkdir -p "${ED}"/usr/"${PVLIBDIR}" || die
+	mv "${ED}"/usr/lib_tmp/* "${ED}"/usr/"${PVLIBDIR}" || die
+	rmdir "${ED}"/usr/lib_tmp || die
+
+	# set up the environment
+	echo "LDPATH=${EPREFIX}/usr/${PVLIBDIR}" > "${T}"/40${PN} || die
+	doenvd "${T}"/40${PN}
+
+	newicon "${S}"/Applications/ParaView/pvIcon-32x32.png paraview.png
+	make_desktop_entry paraview "Paraview" paraview
+
+	use python && python_optimize "${D}"/usr/$(get_libdir)/${PN}-${MAJOR_PV}
+}
+
+pkg_postinst() {
+	gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+	gnome2_icon_cache_update
+}


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2019-04-25 22:11 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2019-04-25 22:11 UTC (permalink / raw
  To: gentoo-commits

commit:     b33b3e60d21c49c0fe9ebb58e607c3a5436a9a1a
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 25 18:14:10 2019 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Thu Apr 25 22:11:15 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b33b3e60

sci-visualization/paraview: add USE=offscreen, reorganize configuration, QA

 - Add USE=offscreen

 - Fix QA warnings about unused configuration variables

 - Reorganize configuration variables

 - Add Python 3 support

Closes: https://bugs.gentoo.org/574072
Closes: https://bugs.gentoo.org/659602
Package-Manager: Portage-2.3.64, Repoman-2.3.12
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 sci-visualization/paraview/metadata.xml            |   5 +-
 .../paraview/paraview-5.6.0-r1.ebuild              | 311 +++++++++++++++++++++
 2 files changed, 314 insertions(+), 2 deletions(-)

diff --git a/sci-visualization/paraview/metadata.xml b/sci-visualization/paraview/metadata.xml
index d2593b87682..f5e4c3c6676 100644
--- a/sci-visualization/paraview/metadata.xml
+++ b/sci-visualization/paraview/metadata.xml
@@ -7,10 +7,11 @@
   </maintainer>
   <use>
     <flag name="boost">Enable the usage of dev-libs/boost</flag>
-    <flag name="coprocessing">Enable the coprocessing infrastructure which is mainly useful in the context of clusters</flag>
     <flag name="cg">Add support for nvidia's cg shaders</flag>
+    <flag name="coprocessing">Enable the coprocessing infrastructure which is mainly useful in the context of clusters</flag>
+    <flag name="development">Install development files including headers</flag>
     <flag name="nvcontrol">Add NVCONTROL support for OpenGL options</flag>
+    <flag name="offscreen">Offscreen rendering through OSMesa</flag>
     <flag name="plugins">Build and install additional plugins</flag>
-    <flag name="development">Install development files including headers</flag>
   </use>
 </pkgmetadata>

diff --git a/sci-visualization/paraview/paraview-5.6.0-r1.ebuild b/sci-visualization/paraview/paraview-5.6.0-r1.ebuild
new file mode 100644
index 00000000000..dfb0e41082a
--- /dev/null
+++ b/sci-visualization/paraview/paraview-5.6.0-r1.ebuild
@@ -0,0 +1,311 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{2_7,3_5,3_6} )
+inherit cmake-utils desktop gnome2-utils python-single-r1 toolchain-funcs
+
+MAIN_PV=$(ver_cut 0-1)
+MAJOR_PV=$(ver_cut 1-2)
+MY_P="ParaView-v${PV}"
+
+DESCRIPTION="Powerful scientific data visualization application"
+HOMEPAGE="https://www.paraview.org"
+SRC_URI="https://www.paraview.org/files/v${MAJOR_PV}/${MY_P}.tar.gz"
+
+LICENSE="paraview GPL-2"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="boost cg coprocessing development doc examples ffmpeg mpi mysql nvcontrol openmp offscreen plugins python +qt5 sqlite tcl test tk"
+
+RESTRICT="mirror test"
+
+# "vtksqlite, needed by vtkIOSQL" and "vtkIOSQL, needed by vtkIOMySQL"
+REQUIRED_USE="python? ( mpi ${PYTHON_REQUIRED_USE} )
+	mysql? ( sqlite )
+	?? ( offscreen qt5 )"
+
+RDEPEND="
+	app-arch/lz4
+	dev-libs/expat
+	dev-libs/jsoncpp
+	dev-libs/libxml2:2
+	dev-libs/protobuf
+	dev-libs/pugixml
+	media-libs/freetype
+	media-libs/glew:0
+	media-libs/libpng:0
+	media-libs/libtheora
+	media-libs/tiff:0=
+	sci-libs/cgnslib
+	sci-libs/hdf5[mpi=]
+	>=sci-libs/netcdf-4.2[hdf5]
+	>=sci-libs/netcdf-cxx-4.2:3
+	sci-libs/xdmf2
+	sys-libs/zlib
+	virtual/glu
+	virtual/jpeg:0
+	x11-libs/libX11
+	x11-libs/libXext
+	x11-libs/libXmu
+	x11-libs/libXt
+	coprocessing? (
+		plugins? (
+			dev-python/PyQt5
+			dev-qt/qtgui:5[-gles2]
+		)
+	)
+	ffmpeg? ( virtual/ffmpeg )
+	mpi? ( virtual/mpi[cxx,romio] )
+	mysql? ( dev-db/mysql-connector-c )
+	offscreen? ( >=media-libs/mesa-18.3.6[osmesa] )
+	!offscreen? ( virtual/opengl )
+	python? (
+		${PYTHON_DEPS}
+		dev-python/constantly[${PYTHON_USEDEP}]
+		dev-python/incremental[${PYTHON_USEDEP}]
+		dev-python/matplotlib[${PYTHON_USEDEP}]
+		dev-python/numpy[${PYTHON_USEDEP}]
+		dev-python/pygments[${PYTHON_USEDEP}]
+		dev-python/sip[${PYTHON_USEDEP}]
+		dev-python/six[${PYTHON_USEDEP}]
+		|| ( dev-python/twisted[${PYTHON_USEDEP}]
+			dev-python/twisted-core[${PYTHON_USEDEP}]
+		)
+		dev-python/zope-interface[${PYTHON_USEDEP}]
+		mpi? ( dev-python/mpi4py )
+		qt5? ( dev-python/PyQt5[opengl,webkit,${PYTHON_USEDEP}] )
+	)
+	qt5? (
+		dev-qt/designer:5
+		dev-qt/qtgui:5[-gles2]
+		dev-qt/qthelp:5
+		dev-qt/qtopengl:5[-gles2]
+		dev-qt/qtsql:5
+		dev-qt/qttest:5
+		dev-qt/qtwebkit:5
+		dev-qt/qtx11extras:5
+	)
+	sqlite? ( dev-db/sqlite:3 )
+	tcl? ( dev-lang/tcl:0= )
+	tk? ( dev-lang/tk:0= )"
+DEPEND="${RDEPEND}
+	${PYTHON_DEPS}
+	boost? ( dev-libs/boost[mpi?,${PYTHON_USEDEP}] )
+	doc? ( app-doc/doxygen )"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-4.0.1-xdmf-cstring.patch
+	"${FILESDIR}"/${PN}-5.3.0-fix_buildsystem.patch
+	"${FILESDIR}"/${PN}-5.5.0-allow_custom_build_type.patch
+)
+
+pkg_setup() {
+	[[ ${MERGE_TYPE} != "binary" ]] && use openmp && tc-check-openmp
+	python-single-r1_pkg_setup
+	PVLIBDIR=$(get_libdir)/${PN}-${MAJOR_PV}
+}
+
+src_prepare() {
+
+	# Bug #661812
+	mkdir -p Plugins/StreamLinesRepresentation/doc || die
+
+	cmake-utils_src_prepare
+
+	# lib64 fixes
+	sed -i \
+		-e "s:/lib/python:/$(get_libdir)/python:g" \
+		VTK/ThirdParty/xdmf3/vtkxdmf3/CMakeLists.txt || die
+	sed -i \
+		-e "s:lib/paraview-:$(get_libdir)/paraview-:g" \
+		ParaViewCore/ServerManager/SMApplication/vtkInitializationHelper.cxx || die
+}
+
+src_configure() {
+	if use qt5; then
+		export QT_SELECT=qt5
+	fi
+
+	local mycmakeargs=(
+		-DCMAKE_INSTALL_LIBDIR="${PVLIBDIR}"
+		-DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr
+		-DEXPAT_INCLUDE_DIR="${EPREFIX}"/usr/include
+		-DEXPAT_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libexpat.so
+		-DBUILD_SHARED_LIBS=ON
+		-DCMAKE_COLOR_MAKEFILE=TRUE
+		-DCMAKE_VERBOSE_MAKEFILE=ON
+
+		-DVTK_Group_StandAlone=ON
+		-DVTK_DEFAULT_RENDER_WINDOW_OFFSCREEN=TRUE
+
+		-DVTK_USE_OGGTHEORA_ENCODER=TRUE
+		-DVTK_USE_SYSTEM_CGNS=ON
+		-DVTK_USE_SYSTEM_PUGIXML=ON
+		-DVTK_USE_SYSTEM_EXPAT=ON
+		-DVTK_USE_SYSTEM_FREETYPE=ON
+		-DVTK_USE_SYSTEM_GL2PS=OFF # doesn't compile, requires modified sources
+		-DVTK_USE_SYSTEM_GLEW=ON
+		-DVTK_USE_SYSTEM_HDF5=ON
+		-DVTK_USE_SYSTEM_JPEG=ON
+		-DVTK_USE_SYSTEM_JSONCPP=ON
+		-DVTK_USE_SYSTEM_LIBXML2=ON
+		-DVTK_USE_SYSTEM_LZ4=ON
+		-DVTK_USE_SYSTEM_NETCDF=ON
+		-DVTK_USE_SYSTEM_PNG=ON
+		-DVTK_USE_SYSTEM_PROTOBUF=ON
+		-DVTK_USE_SYSTEM_TIFF=ON
+		-DVTK_USE_SYSTEM_XDMF2=OFF # does not compile with sci-libs/xdmf2-1.0_p141226
+		-DVTK_USE_SYSTEM_ZLIB=ON
+
+		# boost
+		-DModule_vtkInfovisBoost="$(usex boost)"
+
+		# coprocessing
+		-DPARAVIEW_ENABLE_CATALYST="$(usex coprocessing)"
+
+		# doc
+		-DBUILD_DOCUMENTATION="$(usex doc)"
+
+		# examples
+		-DBUILD_EXAMPLES="$(usex examples)"
+
+		# ffmpeg
+		-DPARAVIEW_ENABLE_FFMPEG="$(usex ffmpeg)"
+		-DVTK_USE_FFMPEG_ENCODER="$(usex ffmpeg)"
+		-DModule_vtkIOFFMPEG="$(usex ffmpeg)"
+
+		# mpi
+		-DPARAVIEW_USE_ICE_T="$(usex mpi)"
+		-DPARAVIEW_USE_MPI_SSEND="$(usex mpi)"
+		-DPARAVIEW_USE_MPI="$(usex mpi)"
+		-DVTK_Group_MPI="$(usex mpi)"
+		-DVTK_XDMF_USE_MPI="$(usex mpi)"
+		-DXDMF_BUILD_MPI="$(usex mpi)"
+
+		# mysql
+		-DModule_vtkIOMySQL="$(usex mysql)"
+
+		# offscreen
+		-DVTK_USE_X=$(usex !offscreen)
+		-DVTK_OPENGL_HAS_OSMESA=$(usex offscreen)
+		-DVTK_OPENGL_HAS_OSMESA=$(usex offscreen)
+
+		# plugins
+		-DPARAVIEW_BUILD_PLUGIN_AdiosReader="$(usex plugins)"
+		-DPARAVIEW_BUILD_PLUGIN_AnalyzeNIfTIIO="$(usex plugins)"
+		-DPARAVIEW_BUILD_PLUGIN_ArrowGlyph="$(usex plugins)"
+		-DPARAVIEW_BUILD_PLUGIN_EyeDomeLighting="$(usex plugins)"
+		-DPARAVIEW_BUILD_PLUGIN_GMVReader="$(usex plugins)"
+		-DPARAVIEW_BUILD_PLUGIN_Moments="$(usex plugins)"
+		-DPARAVIEW_BUILD_PLUGIN_NonOrthogonalSource="$(usex plugins)"
+		-DPARAVIEW_BUILD_PLUGIN_PacMan="$(usex plugins)"
+		-DPARAVIEW_BUILD_PLUGIN_SierraPlotTools="$(usex plugins)"
+		-DPARAVIEW_BUILD_PLUGIN_SLACTools="$(usex plugins)"
+		-DPARAVIEW_BUILD_PLUGIN_StreamingParticles="$(usex plugins)"
+		-DPARAVIEW_BUILD_PLUGIN_SurfaceLIC="$(usex plugins)"
+		# these are always needed for plugins
+		-DModule_vtkFiltersFlowPaths="$(usex plugins)"
+		-DModule_vtkPVServerManagerApplication="$(usex plugins)"
+		# force this module due to incorrect build system deps wrt bug 460528
+		-DModule_vtkUtilitiesProcessXML=ON
+
+		# python
+		-DModule_pqPython="$(usex python)"
+		-DModule_vtkmpi4py="$(usex python)"
+		-DModule_vtkPython="$(usex python)"
+		-DModule_vtkWrappingPythonCore="$(usex python)"
+		-DPARAVIEW_ENABLE_PYTHON="$(usex python)"
+		-DXDMF_WRAP_PYTHON="$(usex python)"
+
+		# qt5
+		-DPARAVIEW_INSTALL_DEVELOPMENT_FILES="$(usex development)"
+		-DModule_vtkGUISupportQtSQL="$(usex qt5)"
+		-DModule_vtkRenderingQt="$(usex qt5)"
+		-DModule_vtkViewsQt="$(usex qt5)"
+		-DPARAVIEW_BUILD_QT_GUI="$(usex qt5)"
+		-DVTK_Group_ParaViewQt="$(usex qt5)"
+		-DVTK_Group_Qt="$(usex qt5)"
+		-DModule_pqPython="$(usex qt5 "$(usex python)" "off")"
+		$(usex qt5 "-DPARAVIEW_QT_VERSION=5" "")
+		-DVTK_USE_NVCONTROL="$(usex nvcontrol)"
+
+		# sqlite
+		-DModule_vtksqlite="$(usex sqlite)"
+
+		# tcl
+		-DModule_vtkTclTk="$(usex tcl)"
+
+		# test
+		-DBUILD_TESTING="$(usex test)"
+
+		# tk
+		-DVTK_Group_Tk="$(usex tk)"
+		-DVTK_USE_TK="$(usex tk)"
+		-DModule_vtkRenderingTk="$(usex tk)"
+	)
+
+	if use openmp; then
+		mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE=OpenMP )
+	fi
+
+	if use python; then
+		mycmakeargs+=(
+			-DVTK_USE_SYSTEM_TWISTED=ON
+			-DVTK_USE_SYSTEM_AUTOBAHN=ON
+			-DVTK_USE_SYSTEM_ZOPE=ON
+		)
+	fi
+
+	if use qt5; then
+		mycmakeargs+=(
+			-DVTK_USE_QVTK=ON
+			-DOPENGL_gl_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGL.so
+			-DOPENGL_glu_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGLU.so
+			-DVTK_QT_VERSION=5
+			-DQT_MOC_EXECUTABLE="$(qt5_get_bindir)/moc"
+			-DQT_UIC_EXECUTABLE="$(qt5_get_bindir)/uic"
+			-DQT_QMAKE_EXECUTABLE="$(qt5_get_bindir)/qmake"
+			-DVTK_Group_Qt:BOOL=ON
+		)
+	fi
+
+	cmake-utils_src_configure
+}
+
+src_install() {
+	cmake-utils_src_install
+
+	# remove wrapper binaries and put the actual executable in place
+	for i in {paraview-config,pvserver,pvdataserver,pvrenderserver,pvbatch,pvpython,paraview}; do
+		if [ -f "${ED}"/usr/lib/"$i" ]; then
+			mv "${ED}"/usr/lib/"$i" "${ED}"/usr/bin/"$i" || die
+		fi
+	done
+
+	# install libraries into correct directory respecting get_libdir:
+	mv "${ED}"/usr/lib "${ED}"/usr/lib_tmp || die
+	mkdir -p "${ED}"/usr/"${PVLIBDIR}" || die
+	mv "${ED}"/usr/lib_tmp/* "${ED}"/usr/"${PVLIBDIR}" || die
+	rmdir "${ED}"/usr/lib_tmp || die
+
+	# set up the environment
+	echo "LDPATH=${EPREFIX}/usr/${PVLIBDIR}" > "${T}"/40${PN} || die
+	doenvd "${T}"/40${PN}
+
+	newicon "${S}"/Applications/ParaView/pvIcon-32x32.png paraview.png
+	make_desktop_entry paraview "Paraview" paraview
+
+	use python && python_optimize "${D}"/usr/$(get_libdir)/${PN}-${MAJOR_PV}
+}
+
+pkg_postinst() {
+	gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+	gnome2_icon_cache_update
+}


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2019-04-26 14:54 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2019-04-26 14:54 UTC (permalink / raw
  To: gentoo-commits

commit:     3f7f62ebef202b8f348a4ca34a56733c43c33fae
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 26 14:53:58 2019 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Fri Apr 26 14:54:15 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f7f62eb

sci-visualization/paraview: Remove variable

Closes: https://bugs.gentoo.org/684416
Package-Manager: Portage-2.3.64, Repoman-2.3.12
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 sci-visualization/paraview/paraview-5.6.0-r1.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sci-visualization/paraview/paraview-5.6.0-r1.ebuild b/sci-visualization/paraview/paraview-5.6.0-r1.ebuild
index dfb0e41082a..600d7d5c79d 100644
--- a/sci-visualization/paraview/paraview-5.6.0-r1.ebuild
+++ b/sci-visualization/paraview/paraview-5.6.0-r1.ebuild
@@ -136,7 +136,6 @@ src_configure() {
 		-DEXPAT_INCLUDE_DIR="${EPREFIX}"/usr/include
 		-DEXPAT_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libexpat.so
 		-DBUILD_SHARED_LIBS=ON
-		-DCMAKE_COLOR_MAKEFILE=TRUE
 		-DCMAKE_VERBOSE_MAKEFILE=ON
 
 		-DVTK_Group_StandAlone=ON


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2019-06-30 18:20 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2019-06-30 18:20 UTC (permalink / raw
  To: gentoo-commits

commit:     086a58b425b93d9fb2e7da133f38a279eac310e0
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 30 14:32:03 2019 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Sun Jun 30 18:19:04 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=086a58b4

sci-visualization/paraview: drop old

Package-Manager: Portage-2.3.67, Repoman-2.3.16
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 .../paraview/paraview-5.6.0-r1.ebuild              |  60 ++---
 sci-visualization/paraview/paraview-5.6.0.ebuild   | 284 ---------------------
 2 files changed, 30 insertions(+), 314 deletions(-)

diff --git a/sci-visualization/paraview/paraview-5.6.0-r1.ebuild b/sci-visualization/paraview/paraview-5.6.0-r1.ebuild
index 600d7d5c79d..6f1c6c8e57f 100644
--- a/sci-visualization/paraview/paraview-5.6.0-r1.ebuild
+++ b/sci-visualization/paraview/paraview-5.6.0-r1.ebuild
@@ -278,33 +278,33 @@ src_configure() {
 src_install() {
 	cmake-utils_src_install
 
-	# remove wrapper binaries and put the actual executable in place
-	for i in {paraview-config,pvserver,pvdataserver,pvrenderserver,pvbatch,pvpython,paraview}; do
-		if [ -f "${ED}"/usr/lib/"$i" ]; then
-			mv "${ED}"/usr/lib/"$i" "${ED}"/usr/bin/"$i" || die
-		fi
-	done
-
-	# install libraries into correct directory respecting get_libdir:
-	mv "${ED}"/usr/lib "${ED}"/usr/lib_tmp || die
-	mkdir -p "${ED}"/usr/"${PVLIBDIR}" || die
-	mv "${ED}"/usr/lib_tmp/* "${ED}"/usr/"${PVLIBDIR}" || die
-	rmdir "${ED}"/usr/lib_tmp || die
-
-	# set up the environment
-	echo "LDPATH=${EPREFIX}/usr/${PVLIBDIR}" > "${T}"/40${PN} || die
-	doenvd "${T}"/40${PN}
-
-	newicon "${S}"/Applications/ParaView/pvIcon-32x32.png paraview.png
-	make_desktop_entry paraview "Paraview" paraview
-
-	use python && python_optimize "${D}"/usr/$(get_libdir)/${PN}-${MAJOR_PV}
-}
-
-pkg_postinst() {
-	gnome2_icon_cache_update
-}
-
-pkg_postrm() {
-	gnome2_icon_cache_update
-}
+		# remove wrapper binaries and put the actual executable in place
+		for i in {paraview-config,pvserver,pvdataserver,pvrenderserver,pvbatch,pvpython,paraview}; do
+			if [ -f "${ED}"/usr/lib/"$i" ]; then
+				mv "${ED}"/usr/lib/"$i" "${ED}"/usr/bin/"$i" || die
+			fi
+		done
+
+		# install libraries into correct directory respecting get_libdir:
+		mv "${ED}"/usr/lib "${ED}"/usr/lib_tmp || die
+		mkdir -p "${ED}"/usr/"${PVLIBDIR}" || die
+		mv "${ED}"/usr/lib_tmp/* "${ED}"/usr/"${PVLIBDIR}" || die
+		rmdir "${ED}"/usr/lib_tmp || die
+
+		# set up the environment
+		echo "LDPATH=${EPREFIX}/usr/${PVLIBDIR}" > "${T}"/40${PN} || die
+		doenvd "${T}"/40${PN}
+
+		newicon "${S}"/Applications/ParaView/pvIcon-32x32.png paraview.png
+		make_desktop_entry paraview "Paraview" paraview
+
+		use python && python_optimize "${D}"/usr/$(get_libdir)/${PN}-${MAJOR_PV}
+	}
+
+	pkg_postinst() {
+		gnome2_icon_cache_update
+	}
+
+	pkg_postrm() {
+		gnome2_icon_cache_update
+	}

diff --git a/sci-visualization/paraview/paraview-5.6.0.ebuild b/sci-visualization/paraview/paraview-5.6.0.ebuild
deleted file mode 100644
index 7375640e59d..00000000000
--- a/sci-visualization/paraview/paraview-5.6.0.ebuild
+++ /dev/null
@@ -1,284 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-inherit cmake-utils desktop eapi7-ver gnome2-utils python-single-r1 toolchain-funcs
-
-MAIN_PV=$(ver_cut 0-1)
-MAJOR_PV=$(ver_cut 1-2)
-MY_P="ParaView-v${PV}"
-
-DESCRIPTION="Powerful scientific data visualization application"
-HOMEPAGE="https://www.paraview.org"
-SRC_URI="https://www.paraview.org/files/v${MAJOR_PV}/${MY_P}.tar.gz"
-
-LICENSE="paraview GPL-2"
-KEYWORDS="~amd64 ~x86"
-SLOT="0"
-IUSE="boost cg coprocessing development doc examples ffmpeg mpi mysql nvcontrol openmp plugins python +qt5 sqlite tcl test tk"
-
-RESTRICT="mirror test"
-
-REQUIRED_USE="python? ( mpi ${PYTHON_REQUIRED_USE} )
-	mysql? ( sqlite )" # "vtksqlite, needed by vtkIOSQL" and "vtkIOSQL, needed by vtkIOMySQL"
-
-RDEPEND="
-	app-arch/lz4
-	dev-libs/expat
-	dev-libs/jsoncpp
-	dev-libs/libxml2:2
-	dev-libs/protobuf
-	dev-libs/pugixml
-	media-libs/freetype
-	media-libs/glew:0
-	media-libs/libpng:0
-	media-libs/libtheora
-	media-libs/tiff:0=
-	sci-libs/cgnslib
-	sci-libs/hdf5[mpi=]
-	>=sci-libs/netcdf-4.2[hdf5]
-	>=sci-libs/netcdf-cxx-4.2:3
-	sci-libs/xdmf2
-	sys-libs/zlib
-	virtual/glu
-	virtual/jpeg:0
-	virtual/opengl
-	x11-libs/libX11
-	x11-libs/libXext
-	x11-libs/libXmu
-	x11-libs/libXt
-	coprocessing? (
-		plugins? (
-			dev-python/PyQt5
-			dev-qt/qtgui:5[-gles2]
-		)
-	)
-	ffmpeg? ( virtual/ffmpeg )
-	mpi? ( virtual/mpi[cxx,romio] )
-	mysql? ( dev-db/mysql-connector-c )
-	python? (
-		${PYTHON_DEPS}
-		dev-python/constantly[${PYTHON_USEDEP}]
-		dev-python/incremental[${PYTHON_USEDEP}]
-		dev-python/matplotlib[${PYTHON_USEDEP}]
-		dev-python/numpy[${PYTHON_USEDEP}]
-		dev-python/pygments[${PYTHON_USEDEP}]
-		dev-python/sip[${PYTHON_USEDEP}]
-		dev-python/six[${PYTHON_USEDEP}]
-		|| ( dev-python/twisted[${PYTHON_USEDEP}]
-			dev-python/twisted-core[${PYTHON_USEDEP}]
-		)
-		dev-python/zope-interface[${PYTHON_USEDEP}]
-		mpi? ( dev-python/mpi4py )
-		qt5? ( dev-python/PyQt5[opengl,webkit,${PYTHON_USEDEP}] )
-	)
-	qt5? (
-		dev-qt/designer:5
-		dev-qt/qtgui:5[-gles2]
-		dev-qt/qthelp:5
-		dev-qt/qtopengl:5[-gles2]
-		dev-qt/qtsql:5
-		dev-qt/qttest:5
-		dev-qt/qtwebkit:5
-		dev-qt/qtx11extras:5
-	)
-	sqlite? ( dev-db/sqlite:3 )
-	tcl? ( dev-lang/tcl:0= )
-	tk? ( dev-lang/tk:0= )"
-DEPEND="${RDEPEND}
-	${PYTHON_DEPS}
-	boost? ( dev-libs/boost[mpi?,${PYTHON_USEDEP}] )
-	doc? ( app-doc/doxygen )"
-
-S="${WORKDIR}/${MY_P}"
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-4.0.1-xdmf-cstring.patch
-	"${FILESDIR}"/${PN}-5.3.0-fix_buildsystem.patch
-	"${FILESDIR}"/${PN}-5.5.0-allow_custom_build_type.patch
-)
-
-pkg_setup() {
-	[[ ${MERGE_TYPE} != "binary" ]] && use openmp && tc-check-openmp
-	python-single-r1_pkg_setup
-	PVLIBDIR=$(get_libdir)/${PN}-${MAJOR_PV}
-}
-
-src_prepare() {
-
-	# Bug #661812
-	mkdir -p Plugins/StreamLinesRepresentation/doc || die
-
-	cmake-utils_src_prepare
-
-	# lib64 fixes
-	sed -i \
-		-e "s:/lib/python:/$(get_libdir)/python:g" \
-		VTK/ThirdParty/xdmf3/vtkxdmf3/CMakeLists.txt || die
-	sed -i \
-		-e "s:lib/paraview-:$(get_libdir)/paraview-:g" \
-		ParaViewCore/ServerManager/SMApplication/vtkInitializationHelper.cxx || die
-}
-
-src_configure() {
-	if use qt5; then
-		export QT_SELECT=qt5
-	fi
-
-	local mycmakeargs=(
-		-DCMAKE_INSTALL_LIBDIR="${PVLIBDIR}"
-		-DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr
-		-DEXPAT_INCLUDE_DIR="${EPREFIX}"/usr/include
-		-DEXPAT_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libexpat.so
-		-DOPENGL_gl_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGL.so
-		-DOPENGL_glu_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGLU.so
-		-DBUILD_SHARED_LIBS=ON
-		-DCMAKE_COLOR_MAKEFILE=TRUE
-		-DCMAKE_VERBOSE_MAKEFILE=ON
-		-DVTK_Group_StandAlone=ON
-		-DVTK_RENDERING_BACKEND=OpenGL2
-		-DVTK_USE_FFMPEG_ENCODER=OFF
-		-DVTK_USE_OFFSCREEN=TRUE
-		# -DVTK_USE_SYSTEM_AUTOBAHN once we transitioned to Python 3...
-		-DVTK_USE_SYSTEM_CGNS=ON
-		-DVTK_USE_SYSTEM_PUGIXML=ON
-		-DVTK_USE_SYSTEM_EXPAT=ON
-		-DVTK_USE_SYSTEM_FREETYPE=ON
-		-DVTK_USE_SYSTEM_GL2PS=OFF # doesn't compile, requires modified sources
-		-DVTK_USE_SYSTEM_GLEW=ON
-		-DVTK_USE_SYSTEM_HDF5=ON
-		-DVTK_USE_SYSTEM_INCREMENTAL=ON
-		-DVTK_USE_SYSTEM_JPEG=ON
-		-DVTK_USE_SYSTEM_JSONCPP=ON
-		-DVTK_USE_SYSTEM_LIBHARU=OFF # doesn't compile, requires modified sources
-		-DVTK_USE_SYSTEM_LIBXML2=ON
-		-DVTK_USE_SYSTEM_LZ4=ON
-		-DVTK_USE_SYSTEM_NETCDF=ON
-		-DVTK_USE_SYSTEM_OGGTHEORA=ON
-		-DVTK_USE_SYSTEM_PNG=ON
-		-DVTK_USE_SYSTEM_PROTOBUF=ON
-		-DVTK_USE_SYSTEM_TIFF=ON
-		-DVTK_USE_SYSTEM_XDMF2=OFF # does not compile with sci-libs/xdmf2-1.0_p141226
-		-DVTK_USE_SYSTEM_ZLIB=ON
-		# force this module due to incorrect build system deps
-		# wrt bug 460528
-		-DModule_vtkUtilitiesProcessXML=ON
-		)
-
-	mycmakeargs+=(
-		-DPARAVIEW_INSTALL_DEVELOPMENT_FILES="$(usex development)"
-
-		-DModule_vtkGUISupportQtOpenGL="$(usex qt5)"
-		-DModule_vtkGUISupportQtSQL="$(usex qt5)"
-		-DModule_vtkGUISupportQtWebkit="$(usex qt5)"
-		-DModule_vtkRenderingQt="$(usex qt5)"
-		-DModule_vtkViewsQt="$(usex qt5)"
-		-DPARAVIEW_BUILD_QT_GUI="$(usex qt5)"
-		-DVTK_Group_ParaViewQt="$(usex qt5)"
-		-DVTK_Group_Qt="$(usex qt5)"
-		-DModule_pqPython="$(usex qt5 "$(usex python)" "off")"
-		$(usex qt5 "-DPARAVIEW_QT_VERSION=5" "")
-		-DVTK_USE_NVCONTROL="$(usex nvcontrol)"
-
-		-DModule_vtkInfovisBoost="$(usex boost)"
-
-		-DPARAVIEW_USE_ICE_T="$(usex mpi)"
-		-DPARAVIEW_USE_MPI_SSEND="$(usex mpi)"
-		-DPARAVIEW_USE_MPI="$(usex mpi)"
-		-DVTK_Group_MPI="$(usex mpi)"
-		-DVTK_XDMF_USE_MPI="$(usex mpi)"
-		-DXDMF_BUILD_MPI="$(usex mpi)"
-
-		-DModule_AutobahnPython="$(usex python)"
-		-DModule_pqPython="$(usex python)"
-		-DModule_Twisted="$(usex python)"
-		-DModule_vtkmpi4py="$(usex python)"
-		-DModule_vtkPython="$(usex python)"
-		-DModule_vtkWrappingPythonCore="$(usex python)"
-		-DModule_ZopeInterface="$(usex python)"
-		-DPARAVIEW_ENABLE_PYTHON="$(usex python)"
-		-DXDMF_WRAP_PYTHON="$(usex python)"
-
-		-DBUILD_DOCUMENTATION="$(usex doc)"
-
-		-DBUILD_EXAMPLES="$(usex examples)"
-
-		-DModule_vtkIOMySQL="$(usex mysql)"
-
-		-DModule_vtksqlite="$(usex sqlite)"
-
-		-DPARAVIEW_ENABLE_CATALYST="$(usex coprocessing)"
-
-		-DPARAVIEW_ENABLE_FFMPEG="$(usex ffmpeg)"
-		-DVTK_USE_FFMPEG_ENCODER="$(usex ffmpeg)"
-		-DModule_vtkIOFFMPEG="$(usex ffmpeg)"
-
-		-DVTK_Group_Tk="$(usex tk)"
-		-DVTK_USE_TK="$(usex tk)"
-		-DModule_vtkRenderingTk="$(usex tk)"
-		-DModule_vtkTclTk="$(usex tcl)"
-		-DModule_vtkWrappingTcl="$(usex tcl)"
-		-DBUILD_TESTING="$(usex test)"
-		)
-
-	if use openmp; then
-		mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE=OpenMP )
-	fi
-
-	# TODO: MantaView VaporPlugin VRPlugin
-	mycmakeargs+=(
-		-DPARAVIEW_BUILD_PLUGIN_AdiosReader="$(usex plugins)"
-		-DPARAVIEW_BUILD_PLUGIN_AnalyzeNIfTIIO="$(usex plugins)"
-		-DPARAVIEW_BUILD_PLUGIN_ArrowGlyph="$(usex plugins)"
-		-DPARAVIEW_BUILD_PLUGIN_EyeDomeLighting="$(usex plugins)"
-		-DPARAVIEW_BUILD_PLUGIN_GMVReader="$(usex plugins)"
-		-DPARAVIEW_BUILD_PLUGIN_Moments="$(usex plugins)"
-		-DPARAVIEW_BUILD_PLUGIN_NonOrthogonalSource="$(usex plugins)"
-		-DPARAVIEW_BUILD_PLUGIN_PacMan="$(usex plugins)"
-		-DPARAVIEW_BUILD_PLUGIN_SierraPlotTools="$(usex plugins)"
-		-DPARAVIEW_BUILD_PLUGIN_SLACTools="$(usex plugins)"
-		-DPARAVIEW_BUILD_PLUGIN_StreamingParticles="$(usex plugins)"
-		-DPARAVIEW_BUILD_PLUGIN_SurfaceLIC="$(usex plugins)"
-		# these are always needed for plugins
-		-DModule_vtkFiltersFlowPaths="$(usex plugins)"
-		-DModule_vtkPVServerManagerApplication="$(usex plugins)"
-		)
-
-	cmake-utils_src_configure
-}
-
-src_install() {
-	cmake-utils_src_install
-
-	# remove wrapper binaries and put the actual executable in place
-	for i in {paraview-config,pvserver,pvdataserver,pvrenderserver,pvbatch,pvpython,paraview}; do
-		if [ -f "${ED}"/usr/lib/"$i" ]; then
-			mv "${ED}"/usr/lib/"$i" "${ED}"/usr/bin/"$i" || die
-		fi
-	done
-
-	# install libraries into correct directory respecting get_libdir:
-	mv "${ED}"/usr/lib "${ED}"/usr/lib_tmp || die
-	mkdir -p "${ED}"/usr/"${PVLIBDIR}" || die
-	mv "${ED}"/usr/lib_tmp/* "${ED}"/usr/"${PVLIBDIR}" || die
-	rmdir "${ED}"/usr/lib_tmp || die
-
-	# set up the environment
-	echo "LDPATH=${EPREFIX}/usr/${PVLIBDIR}" > "${T}"/40${PN} || die
-	doenvd "${T}"/40${PN}
-
-	newicon "${S}"/Applications/ParaView/pvIcon-32x32.png paraview.png
-	make_desktop_entry paraview "Paraview" paraview
-
-	use python && python_optimize "${D}"/usr/$(get_libdir)/${PN}-${MAJOR_PV}
-}
-
-pkg_postinst() {
-	gnome2_icon_cache_update
-}
-
-pkg_postrm() {
-	gnome2_icon_cache_update
-}


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2019-06-30 19:15 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2019-06-30 19:15 UTC (permalink / raw
  To: gentoo-commits

commit:     2bc4d6717f91ee89bc6860ee3f5974e4170d467e
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 30 19:14:32 2019 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Sun Jun 30 19:14:53 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bc4d671

sci-visualization/paraview: use xdg-utils instead of gnome2-utils

Package-Manager: Portage-2.3.67, Repoman-2.3.16
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 sci-visualization/paraview/paraview-5.6.1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sci-visualization/paraview/paraview-5.6.1.ebuild b/sci-visualization/paraview/paraview-5.6.1.ebuild
index a1cc1d76516..9a1a2b03d21 100644
--- a/sci-visualization/paraview/paraview-5.6.1.ebuild
+++ b/sci-visualization/paraview/paraview-5.6.1.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 PYTHON_COMPAT=( python{2_7,3_5,3_6} )
-inherit cmake-utils desktop gnome2-utils python-single-r1 toolchain-funcs
+inherit cmake-utils desktop python-single-r1 toolchain-funcs xdg-utils
 
 MAIN_PV=$(ver_cut 0-1)
 MAJOR_PV=$(ver_cut 1-2)
@@ -304,9 +304,9 @@ src_install() {
 	}
 
 	pkg_postinst() {
-		gnome2_icon_cache_update
+		xdg_icon_cache_update
 	}
 
 	pkg_postrm() {
-		gnome2_icon_cache_update
+		xdg_icon_cache_update
 	}


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2019-08-04 21:00 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2019-08-04 21:00 UTC (permalink / raw
  To: gentoo-commits

commit:     4d8cfcc3f0e5925bb40fc55ed9fb4dadb89b3c3f
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  4 20:58:34 2019 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Sun Aug  4 20:58:34 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d8cfcc3

sci-visualization/paraview: correctly inherit qmake-utils

Closes: https://bugs.gentoo.org/690058
Package-Manager: Portage-2.3.70, Repoman-2.3.16
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 sci-visualization/paraview/paraview-5.6.0-r1.ebuild | 2 +-
 sci-visualization/paraview/paraview-5.6.1.ebuild    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-visualization/paraview/paraview-5.6.0-r1.ebuild b/sci-visualization/paraview/paraview-5.6.0-r1.ebuild
index 5b5131d2dd0..e566a2b7630 100644
--- a/sci-visualization/paraview/paraview-5.6.0-r1.ebuild
+++ b/sci-visualization/paraview/paraview-5.6.0-r1.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 PYTHON_COMPAT=( python{2_7,3_5,3_6} )
-inherit cmake-utils desktop gnome2-utils python-single-r1 toolchain-funcs
+inherit cmake-utils desktop gnome2-utils python-single-r1 qmake-utils toolchain-funcs
 
 MAIN_PV=$(ver_cut 0-1)
 MAJOR_PV=$(ver_cut 1-2)

diff --git a/sci-visualization/paraview/paraview-5.6.1.ebuild b/sci-visualization/paraview/paraview-5.6.1.ebuild
index 94204c245a2..81228ed1c1a 100644
--- a/sci-visualization/paraview/paraview-5.6.1.ebuild
+++ b/sci-visualization/paraview/paraview-5.6.1.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 PYTHON_COMPAT=( python{2_7,3_5,3_6} )
-inherit cmake-utils desktop python-single-r1 toolchain-funcs xdg-utils
+inherit cmake-utils desktop gnome2-utils python-single-r1 qmake-utils toolchain-funcs
 
 MAIN_PV=$(ver_cut 0-1)
 MAJOR_PV=$(ver_cut 1-2)


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2019-08-04 21:00 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2019-08-04 21:00 UTC (permalink / raw
  To: gentoo-commits

commit:     4cc7a3ab1628b015c16603bc0f0ffc975b0e2e10
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  4 20:57:19 2019 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Sun Aug  4 20:57:19 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cc7a3ab

sci-visualization/paraview: fix dependency

Closes: https://bugs.gentoo.org/689232
Package-Manager: Portage-2.3.70, Repoman-2.3.16
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 sci-visualization/paraview/paraview-5.6.0-r1.ebuild | 2 +-
 sci-visualization/paraview/paraview-5.6.1.ebuild    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-visualization/paraview/paraview-5.6.0-r1.ebuild b/sci-visualization/paraview/paraview-5.6.0-r1.ebuild
index dd551a71a82..5b5131d2dd0 100644
--- a/sci-visualization/paraview/paraview-5.6.0-r1.ebuild
+++ b/sci-visualization/paraview/paraview-5.6.0-r1.ebuild
@@ -83,7 +83,7 @@ RDEPEND="
 		dev-qt/qtopengl:5[-gles2]
 		dev-qt/qtsql:5
 		dev-qt/qttest:5
-		dev-qt/qtwebkit:5
+		dev-qt/qtwebengine:5[widgets]
 		dev-qt/qtx11extras:5
 	)
 	sqlite? ( dev-db/sqlite:3 )

diff --git a/sci-visualization/paraview/paraview-5.6.1.ebuild b/sci-visualization/paraview/paraview-5.6.1.ebuild
index 9a1a2b03d21..94204c245a2 100644
--- a/sci-visualization/paraview/paraview-5.6.1.ebuild
+++ b/sci-visualization/paraview/paraview-5.6.1.ebuild
@@ -83,7 +83,7 @@ RDEPEND="
 		dev-qt/qtopengl:5[-gles2]
 		dev-qt/qtsql:5
 		dev-qt/qttest:5
-		dev-qt/qtwebkit:5
+		dev-qt/qtwebengine:5[widgets]
 		dev-qt/qtx11extras:5
 	)
 	sqlite? ( dev-db/sqlite:3 )


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2019-08-04 21:00 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2019-08-04 21:00 UTC (permalink / raw
  To: gentoo-commits

commit:     0ead82735cfb7daae5ef9dcde9a9777bd0281d09
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  4 20:54:34 2019 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Sun Aug  4 20:54:34 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ead8273

sci-visualization/paraview: remove obsolete dep

Closes: https://bugs.gentoo.org/688224
Package-Manager: Portage-2.3.70, Repoman-2.3.16
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 sci-visualization/paraview/paraview-5.5.2.ebuild    | 3 +--
 sci-visualization/paraview/paraview-5.6.0-r1.ebuild | 1 -
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/sci-visualization/paraview/paraview-5.5.2.ebuild b/sci-visualization/paraview/paraview-5.5.2.ebuild
index 9aa40c78c76..533032935e8 100644
--- a/sci-visualization/paraview/paraview-5.5.2.ebuild
+++ b/sci-visualization/paraview/paraview-5.5.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -40,7 +40,6 @@ RDEPEND="
 	sci-libs/hdf5[mpi=]
 	>=sci-libs/netcdf-4.2[hdf5]
 	>=sci-libs/netcdf-cxx-4.2:3
-	sci-libs/xdmf2
 	sys-libs/zlib
 	virtual/glu
 	virtual/jpeg:0

diff --git a/sci-visualization/paraview/paraview-5.6.0-r1.ebuild b/sci-visualization/paraview/paraview-5.6.0-r1.ebuild
index 6f1c6c8e57f..dd551a71a82 100644
--- a/sci-visualization/paraview/paraview-5.6.0-r1.ebuild
+++ b/sci-visualization/paraview/paraview-5.6.0-r1.ebuild
@@ -42,7 +42,6 @@ RDEPEND="
 	sci-libs/hdf5[mpi=]
 	>=sci-libs/netcdf-4.2[hdf5]
 	>=sci-libs/netcdf-cxx-4.2:3
-	sci-libs/xdmf2
 	sys-libs/zlib
 	virtual/glu
 	virtual/jpeg:0


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2019-11-30 15:59 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2019-11-30 15:59 UTC (permalink / raw
  To: gentoo-commits

commit:     22f37a98903d3cc5b22be2b1621e3dd8981258ed
Author:     Bernd Waibel <waebbl <AT> gmail <DOT> com>
AuthorDate: Fri Aug  2 11:02:01 2019 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Sat Nov 30 15:59:35 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22f37a98

sci-visualization/paraview: fix subslot operator

The patch adds a missing subslot operator on dev-libs/jsoncpp.

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Bernd Waibel <waebbl <AT> gmail.com>
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 sci-visualization/paraview/paraview-5.6.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-visualization/paraview/paraview-5.6.1.ebuild b/sci-visualization/paraview/paraview-5.6.1.ebuild
index 81228ed1c1a..51c649c9b1b 100644
--- a/sci-visualization/paraview/paraview-5.6.1.ebuild
+++ b/sci-visualization/paraview/paraview-5.6.1.ebuild
@@ -29,7 +29,7 @@ REQUIRED_USE="python? ( mpi ${PYTHON_REQUIRED_USE} )
 RDEPEND="
 	app-arch/lz4
 	dev-libs/expat
-	dev-libs/jsoncpp
+	dev-libs/jsoncpp:=
 	dev-libs/libxml2:2
 	dev-libs/protobuf:=
 	dev-libs/pugixml


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2020-01-16  7:11 Michał Górny
  0 siblings, 0 replies; 89+ messages in thread
From: Michał Górny @ 2020-01-16  7:11 UTC (permalink / raw
  To: gentoo-commits

commit:     518e107a9a654dbcc5fc91d6e1dc17c8fc4d1eef
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 16 07:04:58 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jan 16 07:04:58 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=518e107a

sci-visualization/paraview: Remove Python 2

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 sci-visualization/paraview/paraview-5.6.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-visualization/paraview/paraview-5.6.1.ebuild b/sci-visualization/paraview/paraview-5.6.1.ebuild
index abbfa00a4e9..52e09353c23 100644
--- a/sci-visualization/paraview/paraview-5.6.1.ebuild
+++ b/sci-visualization/paraview/paraview-5.6.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python{2_7,3_6} )
+PYTHON_COMPAT=( python3_6 )
 inherit cmake-utils desktop gnome2-utils python-single-r1 qmake-utils toolchain-funcs
 
 MAIN_PV=$(ver_cut 0-1)


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2020-02-08 17:06 David Seifert
  0 siblings, 0 replies; 89+ messages in thread
From: David Seifert @ 2020-02-08 17:06 UTC (permalink / raw
  To: gentoo-commits

commit:     e9e841b3caeb952c1dc9f9313c02cb7beb1201e5
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  8 17:05:54 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Feb  8 17:05:54 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9e841b3

sci-visualization/paraview: [QA] Remove unnecessary -DCMAKE_INSTALL_PREFIX arguments

Closes: https://github.com/gentoo/gentoo/pull/14596
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sci-visualization/paraview/paraview-5.6.1.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sci-visualization/paraview/paraview-5.6.1.ebuild b/sci-visualization/paraview/paraview-5.6.1.ebuild
index 52e09353c23..71b503e37a9 100644
--- a/sci-visualization/paraview/paraview-5.6.1.ebuild
+++ b/sci-visualization/paraview/paraview-5.6.1.ebuild
@@ -134,7 +134,6 @@ src_configure() {
 
 	local mycmakeargs=(
 		-DCMAKE_INSTALL_LIBDIR="${PVLIBDIR}"
-		-DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr
 		-DEXPAT_INCLUDE_DIR="${EPREFIX}"/usr/include
 		-DEXPAT_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libexpat.so
 		-DBUILD_SHARED_LIBS=ON


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2020-02-09 16:36 Michał Górny
  0 siblings, 0 replies; 89+ messages in thread
From: Michał Górny @ 2020-02-09 16:36 UTC (permalink / raw
  To: gentoo-commits

commit:     1c052fae8943550cb8ea43e90e3020ff4768fff4
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  7 19:11:53 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb  9 16:35:39 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c052fae

sci-visualization/paraview: Switch to PYTHON_MULTI_USEDEP API

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 ...aview-5.6.1.ebuild => paraview-5.6.1-r1.ebuild} | 34 +++++++++++++---------
 1 file changed, 20 insertions(+), 14 deletions(-)

diff --git a/sci-visualization/paraview/paraview-5.6.1.ebuild b/sci-visualization/paraview/paraview-5.6.1-r1.ebuild
similarity index 91%
rename from sci-visualization/paraview/paraview-5.6.1.ebuild
rename to sci-visualization/paraview/paraview-5.6.1-r1.ebuild
index 71b503e37a9..6233e8195c6 100644
--- a/sci-visualization/paraview/paraview-5.6.1.ebuild
+++ b/sci-visualization/paraview/paraview-5.6.1-r1.ebuild
@@ -62,19 +62,21 @@ RDEPEND="
 	!offscreen? ( virtual/opengl )
 	python? (
 		${PYTHON_DEPS}
-		dev-python/constantly[${PYTHON_USEDEP}]
-		dev-python/incremental[${PYTHON_USEDEP}]
-		dev-python/matplotlib[${PYTHON_USEDEP}]
-		dev-python/numpy[${PYTHON_USEDEP}]
-		dev-python/pygments[${PYTHON_USEDEP}]
-		dev-python/sip[${PYTHON_USEDEP}]
-		dev-python/six[${PYTHON_USEDEP}]
-		|| ( dev-python/twisted[${PYTHON_USEDEP}]
-			dev-python/twisted-core[${PYTHON_USEDEP}]
-		)
-		dev-python/zope-interface[${PYTHON_USEDEP}]
-		mpi? ( dev-python/mpi4py )
-		qt5? ( dev-python/PyQt5[opengl,webkit,${PYTHON_USEDEP}] )
+		$(python_gen_cond_dep '
+			dev-python/constantly[${PYTHON_MULTI_USEDEP}]
+			dev-python/incremental[${PYTHON_MULTI_USEDEP}]
+			dev-python/matplotlib[${PYTHON_MULTI_USEDEP}]
+			dev-python/numpy[${PYTHON_MULTI_USEDEP}]
+			dev-python/pygments[${PYTHON_MULTI_USEDEP}]
+			dev-python/sip[${PYTHON_MULTI_USEDEP}]
+			dev-python/six[${PYTHON_MULTI_USEDEP}]
+			|| ( dev-python/twisted[${PYTHON_MULTI_USEDEP}]
+				dev-python/twisted-core[${PYTHON_MULTI_USEDEP}]
+			)
+			dev-python/zope-interface[${PYTHON_MULTI_USEDEP}]
+			mpi? ( dev-python/mpi4py )
+			qt5? ( dev-python/PyQt5[opengl,webkit,${PYTHON_MULTI_USEDEP}] )
+		')
 	)
 	qt5? (
 		dev-qt/designer:5
@@ -91,7 +93,11 @@ RDEPEND="
 	tk? ( dev-lang/tk:0= )"
 DEPEND="${RDEPEND}
 	${PYTHON_DEPS}
-	boost? ( dev-libs/boost[mpi?,${PYTHON_USEDEP}] )
+	boost? (
+		$(python_gen_cond_dep '
+			dev-libs/boost[mpi?,${PYTHON_MULTI_USEDEP}]
+		')
+	)
 	doc? ( app-doc/doxygen )"
 
 S="${WORKDIR}/${MY_P}"


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2020-03-09  1:13 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2020-03-09  1:13 UTC (permalink / raw
  To: gentoo-commits

commit:     8454181c542c4073e4c6f2d57980c3d150987e72
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Mon Mar  9 00:04:24 2020 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Mon Mar  9 01:12:59 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8454181c

sci-visualization/paraview: version bump to 5.8.0

 - update dependencies on webengine as suggested in bug #709860

Bug: https://bugs.gentoo.org/709860
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 sci-visualization/paraview/Manifest              |   1 +
 sci-visualization/paraview/metadata.xml          |  27 +-
 sci-visualization/paraview/paraview-5.8.0.ebuild | 314 +++++++++++++++++++++++
 3 files changed, 329 insertions(+), 13 deletions(-)

diff --git a/sci-visualization/paraview/Manifest b/sci-visualization/paraview/Manifest
index c8a70e548ba..1b17968014f 100644
--- a/sci-visualization/paraview/Manifest
+++ b/sci-visualization/paraview/Manifest
@@ -1 +1,2 @@
 DIST ParaView-v5.6.1.tar.xz 38756076 BLAKE2B 65515a61493e5b9518c42b8b255c59086629bc863de9bfd5651b06ea96dce108ce93f559192d76411bfacaa93660add8ee181e68c46e36ba26b65d32dc141534 SHA512 33ca0b29d4dae8f2ecdad3148c30b5cecb4dc64a4fc898206f5f855cacbc18e554c86d6e259b39fb2f56d190cf76cdefe103009b233ce04ad2573caa34b9ca45
+DIST ParaView-v5.8.0.tar.xz 49789116 BLAKE2B 25689220f506221731bb5a56c647c249df0de8654a4b3347a7c09067bb5755818597bd7cfff88c2d129f448189b107079995c93599d482f7bf8b4cc6c7430e72 SHA512 43304d62c3f55bc390e68c033fb4c7dc2c0789d0dadbb98ef734b7d9de0419af4c240ce94f36e2b52c939ac950fba1d70dbd9fc3a1e6da37c7ef847b5c8682a2

diff --git a/sci-visualization/paraview/metadata.xml b/sci-visualization/paraview/metadata.xml
index f5e4c3c6676..8b232e108f4 100644
--- a/sci-visualization/paraview/metadata.xml
+++ b/sci-visualization/paraview/metadata.xml
@@ -1,17 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-  <maintainer type="person">
-    <email>tamiko@gentoo.org</email>
-    <name>Matthias Maier</name>
-  </maintainer>
-  <use>
-    <flag name="boost">Enable the usage of dev-libs/boost</flag>
-    <flag name="cg">Add support for nvidia's cg shaders</flag>
-    <flag name="coprocessing">Enable the coprocessing infrastructure which is mainly useful in the context of clusters</flag>
-    <flag name="development">Install development files including headers</flag>
-    <flag name="nvcontrol">Add NVCONTROL support for OpenGL options</flag>
-    <flag name="offscreen">Offscreen rendering through OSMesa</flag>
-    <flag name="plugins">Build and install additional plugins</flag>
-  </use>
+	<maintainer type="person">
+		<email>tamiko@gentoo.org</email>
+		<name>Matthias Maier</name>
+	</maintainer>
+	<use>
+		<flag name="boost">Enable the usage of dev-libs/boost</flag>
+		<flag name="cg">Add support for nvidia's cg shaders</flag>
+		<flag name="coprocessing">Enable the coprocessing infrastructure which is mainly useful in the context of clusters</flag>
+		<flag name="development">Install development files including headers</flag>
+		<flag name="nvcontrol">Add NVCONTROL support for OpenGL options</flag>
+		<flag name="offscreen">Offscreen rendering through OSMesa</flag>
+		<flag name="plugins">Build and install additional plugins</flag>
+		<flag name="webengine">Add support for <pkg>dev-qt/qtwebengine</pkg></flag>
+	</use>
 </pkgmetadata>

diff --git a/sci-visualization/paraview/paraview-5.8.0.ebuild b/sci-visualization/paraview/paraview-5.8.0.ebuild
new file mode 100644
index 00000000000..2574d8d2f97
--- /dev/null
+++ b/sci-visualization/paraview/paraview-5.8.0.ebuild
@@ -0,0 +1,314 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_6 )
+inherit cmake-utils desktop gnome2-utils python-single-r1 qmake-utils toolchain-funcs
+
+MAIN_PV=$(ver_cut 0-1)
+MAJOR_PV=$(ver_cut 1-2)
+MY_P="ParaView-v${PV}"
+
+DESCRIPTION="Powerful scientific data visualization application"
+HOMEPAGE="https://www.paraview.org"
+SRC_URI="https://www.paraview.org/files/v${MAJOR_PV}/${MY_P}.tar.xz"
+
+LICENSE="paraview GPL-2"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="boost cg coprocessing development doc examples ffmpeg mpi mysql nvcontrol openmp offscreen plugins python +qt5 sqlite tcl test tk +webengine"
+
+RESTRICT="mirror test"
+
+# "vtksqlite, needed by vtkIOSQL" and "vtkIOSQL, needed by vtkIOMySQL"
+REQUIRED_USE="python? ( mpi ${PYTHON_REQUIRED_USE} )
+	mysql? ( sqlite )
+	webengine? ( qt5 )
+	?? ( offscreen qt5 )"
+
+RDEPEND="
+	app-arch/lz4
+	dev-libs/expat
+	dev-libs/jsoncpp:=
+	dev-libs/libxml2:2
+	dev-libs/protobuf:=
+	dev-libs/pugixml
+	media-libs/freetype
+	media-libs/glew:0
+	media-libs/libpng:0
+	media-libs/libtheora
+	media-libs/tiff:0=
+	sci-libs/cgnslib
+	sci-libs/hdf5:=[mpi=]
+	>=sci-libs/netcdf-4.2[hdf5]
+	>=sci-libs/netcdf-cxx-4.2:3
+	sys-libs/zlib
+	virtual/glu
+	virtual/jpeg:0
+	x11-libs/libX11
+	x11-libs/libXext
+	x11-libs/libXmu
+	x11-libs/libXt
+	coprocessing? (
+		plugins? (
+			dev-python/PyQt5
+			dev-qt/qtgui:5[-gles2]
+		)
+	)
+	ffmpeg? ( virtual/ffmpeg )
+	mpi? ( virtual/mpi[cxx,romio] )
+	mysql? ( dev-db/mysql-connector-c )
+	offscreen? ( >=media-libs/mesa-18.3.6[osmesa] )
+	!offscreen? ( virtual/opengl )
+	python? (
+		${PYTHON_DEPS}
+		$(python_gen_cond_dep '
+			dev-python/constantly[${PYTHON_MULTI_USEDEP}]
+			dev-python/incremental[${PYTHON_MULTI_USEDEP}]
+			dev-python/matplotlib[${PYTHON_MULTI_USEDEP}]
+			dev-python/numpy[${PYTHON_MULTI_USEDEP}]
+			dev-python/pygments[${PYTHON_MULTI_USEDEP}]
+			dev-python/sip[${PYTHON_MULTI_USEDEP}]
+			dev-python/six[${PYTHON_MULTI_USEDEP}]
+			|| ( dev-python/twisted[${PYTHON_MULTI_USEDEP}]
+				dev-python/twisted-core[${PYTHON_MULTI_USEDEP}]
+			)
+			dev-python/zope-interface[${PYTHON_MULTI_USEDEP}]
+			mpi? ( dev-python/mpi4py )
+			qt5? ( dev-python/PyQt5[opengl,${PYTHON_MULTI_USEDEP}] )
+		')
+	)
+	qt5? (
+		dev-qt/designer:5
+		dev-qt/qtgui:5[-gles2]
+		dev-qt/qthelp:5
+		dev-qt/qtopengl:5[-gles2]
+		dev-qt/qtsql:5
+		dev-qt/qttest:5
+		dev-qt/qtx11extras:5
+	)
+	sqlite? ( dev-db/sqlite:3 )
+	tcl? ( dev-lang/tcl:0= )
+	tk? ( dev-lang/tk:0= )
+	webengine? ( dev-qt/qtwebengine:5[widgets] )"
+DEPEND="${RDEPEND}
+	${PYTHON_DEPS}
+	boost? (
+		$(python_gen_cond_dep '
+			dev-libs/boost[mpi?,${PYTHON_MULTI_USEDEP}]
+		')
+	)
+	doc? ( app-doc/doxygen )"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-4.0.1-xdmf-cstring.patch
+	"${FILESDIR}"/${PN}-5.3.0-fix_buildsystem.patch
+	"${FILESDIR}"/${PN}-5.5.0-allow_custom_build_type.patch
+)
+
+CMAKE_MAKEFILE_GENERATOR="emake" #579474
+
+pkg_setup() {
+	[[ ${MERGE_TYPE} != "binary" ]] && use openmp && tc-check-openmp
+	python-single-r1_pkg_setup
+	PVLIBDIR=$(get_libdir)/${PN}-${MAJOR_PV}
+}
+
+src_prepare() {
+
+	# Bug #661812
+	mkdir -p Plugins/StreamLinesRepresentation/doc || die
+
+	cmake-utils_src_prepare
+
+	# lib64 fixes
+	sed -i \
+		-e "s:/lib/python:/$(get_libdir)/python:g" \
+		VTK/ThirdParty/xdmf3/vtkxdmf3/CMakeLists.txt || die
+	sed -i \
+		-e "s:lib/paraview-:$(get_libdir)/paraview-:g" \
+		Remoting/Application/vtkInitializationHelper.cxx || die
+}
+
+src_configure() {
+	if use qt5; then
+		export QT_SELECT=qt5
+	fi
+
+	local mycmakeargs=(
+		-DCMAKE_INSTALL_LIBDIR="${PVLIBDIR}"
+		-DEXPAT_INCLUDE_DIR="${EPREFIX}"/usr/include
+		-DEXPAT_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libexpat.so
+		-DBUILD_SHARED_LIBS=ON
+		-DCMAKE_VERBOSE_MAKEFILE=ON
+
+		-DVTK_Group_StandAlone=ON
+		-DVTK_DEFAULT_RENDER_WINDOW_OFFSCREEN=TRUE
+
+		-DVTK_USE_OGGTHEORA_ENCODER=TRUE
+		-DVTK_USE_SYSTEM_CGNS=ON
+		-DVTK_USE_SYSTEM_PUGIXML=ON
+		-DVTK_USE_SYSTEM_EXPAT=ON
+		-DVTK_USE_SYSTEM_FREETYPE=ON
+		-DVTK_USE_SYSTEM_GL2PS=OFF # doesn't compile, requires modified sources
+		-DVTK_USE_SYSTEM_GLEW=ON
+		-DVTK_USE_SYSTEM_HDF5=ON
+		-DVTK_USE_SYSTEM_JPEG=ON
+		-DVTK_USE_SYSTEM_JSONCPP=ON
+		-DVTK_USE_SYSTEM_LIBXML2=ON
+		-DVTK_USE_SYSTEM_LZ4=ON
+		-DVTK_USE_SYSTEM_NETCDF=ON
+		-DVTK_USE_SYSTEM_PNG=ON
+		-DVTK_USE_SYSTEM_PROTOBUF=ON
+		-DVTK_USE_SYSTEM_TIFF=ON
+		-DVTK_USE_SYSTEM_XDMF2=OFF # does not compile with sci-libs/xdmf2-1.0_p141226
+		-DVTK_USE_SYSTEM_ZLIB=ON
+
+		# boost
+		-DModule_vtkInfovisBoost="$(usex boost)"
+
+		# coprocessing
+		-DPARAVIEW_ENABLE_CATALYST="$(usex coprocessing)"
+
+		# doc
+		-DBUILD_DOCUMENTATION="$(usex doc)"
+
+		# examples
+		-DBUILD_EXAMPLES="$(usex examples)"
+
+		# ffmpeg
+		-DPARAVIEW_ENABLE_FFMPEG="$(usex ffmpeg)"
+		-DVTK_USE_FFMPEG_ENCODER="$(usex ffmpeg)"
+		-DModule_vtkIOFFMPEG="$(usex ffmpeg)"
+
+		# mpi
+		-DPARAVIEW_USE_ICE_T="$(usex mpi)"
+		-DPARAVIEW_USE_MPI_SSEND="$(usex mpi)"
+		-DPARAVIEW_USE_MPI="$(usex mpi)"
+		-DVTK_Group_MPI="$(usex mpi)"
+		-DVTK_XDMF_USE_MPI="$(usex mpi)"
+		-DXDMF_BUILD_MPI="$(usex mpi)"
+
+		# mysql
+		-DModule_vtkIOMySQL="$(usex mysql)"
+
+		# offscreen
+		-DVTK_USE_X=$(usex !offscreen)
+		-DVTK_OPENGL_HAS_OSMESA=$(usex offscreen)
+		-DVTK_OPENGL_HAS_OSMESA=$(usex offscreen)
+
+		# plugins
+		-DPARAVIEW_BUILD_PLUGIN_AdiosReader="$(usex plugins)"
+		-DPARAVIEW_BUILD_PLUGIN_AnalyzeNIfTIIO="$(usex plugins)"
+		-DPARAVIEW_BUILD_PLUGIN_ArrowGlyph="$(usex plugins)"
+		-DPARAVIEW_BUILD_PLUGIN_EyeDomeLighting="$(usex plugins)"
+		-DPARAVIEW_BUILD_PLUGIN_GMVReader="$(usex plugins)"
+		-DPARAVIEW_BUILD_PLUGIN_Moments="$(usex plugins)"
+		-DPARAVIEW_BUILD_PLUGIN_NonOrthogonalSource="$(usex plugins)"
+		-DPARAVIEW_BUILD_PLUGIN_PacMan="$(usex plugins)"
+		-DPARAVIEW_BUILD_PLUGIN_SierraPlotTools="$(usex plugins)"
+		-DPARAVIEW_BUILD_PLUGIN_SLACTools="$(usex plugins)"
+		-DPARAVIEW_BUILD_PLUGIN_StreamingParticles="$(usex plugins)"
+		-DPARAVIEW_BUILD_PLUGIN_SurfaceLIC="$(usex plugins)"
+		# these are always needed for plugins
+		-DModule_vtkFiltersFlowPaths="$(usex plugins)"
+		-DModule_vtkPVServerManagerApplication="$(usex plugins)"
+		# force this module due to incorrect build system deps wrt bug 460528
+		-DModule_vtkUtilitiesProcessXML=ON
+
+		# python
+		-DModule_pqPython="$(usex python)"
+		-DModule_vtkmpi4py="$(usex python)"
+		-DModule_vtkPython="$(usex python)"
+		-DModule_vtkWrappingPythonCore="$(usex python)"
+		-DPARAVIEW_ENABLE_PYTHON="$(usex python)"
+		-DXDMF_WRAP_PYTHON="$(usex python)"
+
+		# qt5
+		-DPARAVIEW_INSTALL_DEVELOPMENT_FILES="$(usex development)"
+		-DModule_vtkGUISupportQtSQL="$(usex qt5)"
+		-DModule_vtkRenderingQt="$(usex qt5)"
+		-DModule_vtkViewsQt="$(usex qt5)"
+		-DPARAVIEW_BUILD_QT_GUI="$(usex qt5)"
+		-DVTK_Group_ParaViewQt="$(usex qt5)"
+		-DVTK_Group_Qt="$(usex qt5)"
+		-DModule_pqPython="$(usex qt5 "$(usex python)" "off")"
+		$(usex qt5 "-DPARAVIEW_QT_VERSION=5" "")
+		-DVTK_USE_NVCONTROL="$(usex nvcontrol)"
+
+		# sqlite
+		-DModule_vtksqlite="$(usex sqlite)"
+
+		# tcl
+		-DModule_vtkTclTk="$(usex tcl)"
+
+		# test
+		-DBUILD_TESTING="$(usex test)"
+
+		# tk
+		-DVTK_Group_Tk="$(usex tk)"
+		-DVTK_USE_TK="$(usex tk)"
+		-DModule_vtkRenderingTk="$(usex tk)"
+
+		# webengine
+		-DPARAVIEW_USE_QTWEBENGINE="$(usex webengine)"
+	)
+
+	if use openmp; then
+		mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE=OpenMP )
+	fi
+
+	if use python; then
+		mycmakeargs+=(
+			-DVTK_USE_SYSTEM_TWISTED=ON
+			-DVTK_USE_SYSTEM_AUTOBAHN=ON
+			-DVTK_USE_SYSTEM_ZOPE=ON
+		)
+	fi
+
+	if use qt5; then
+		mycmakeargs+=(
+			-DVTK_USE_QVTK=ON
+			-DOPENGL_gl_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGL.so
+			-DOPENGL_glu_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGLU.so
+			-DVTK_QT_VERSION=5
+			-DQT_MOC_EXECUTABLE="$(qt5_get_bindir)/moc"
+			-DQT_UIC_EXECUTABLE="$(qt5_get_bindir)/uic"
+			-DQT_QMAKE_EXECUTABLE="$(qt5_get_bindir)/qmake"
+			-DVTK_Group_Qt:BOOL=ON
+		)
+	fi
+
+	cmake-utils_src_configure
+}
+
+src_install() {
+	cmake-utils_src_install
+
+		# remove wrapper binaries and put the actual executable in place
+		for i in {paraview-config,pvserver,pvdataserver,pvrenderserver,pvbatch,pvpython,paraview}; do
+			if [ -f "${ED}"/usr/lib/"$i" ]; then
+				mv "${ED}"/usr/lib/"$i" "${ED}"/usr/bin/"$i" || die
+			fi
+		done
+
+		# set up the environment
+		echo "LDPATH=${EPREFIX}/usr/${PVLIBDIR}" > "${T}"/40${PN} || die
+		doenvd "${T}"/40${PN}
+
+		newicon "${S}"/Clients/ParaView/pvIcon-96x96.png paraview.png
+		make_desktop_entry paraview "Paraview" paraview
+
+		use python && python_optimize "${D}"/usr/$(get_libdir)/${PN}-${MAJOR_PV}
+	}
+
+	pkg_postinst() {
+		xdg_icon_cache_update
+	}
+
+	pkg_postrm() {
+		xdg_icon_cache_update
+	}


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2020-03-09  1:13 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2020-03-09  1:13 UTC (permalink / raw
  To: gentoo-commits

commit:     a91db5d76eadd56bff9d73f0ee72821999d311c9
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Mon Mar  9 00:05:39 2020 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Mon Mar  9 01:13:03 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a91db5d7

sci-visualization/paraview: update dependencies

Closes: https://bugs.gentoo.org/709860
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 sci-visualization/paraview/paraview-5.6.1-r1.ebuild | 6 ++----
 sci-visualization/paraview/paraview-5.8.0.ebuild    | 4 +---
 2 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/sci-visualization/paraview/paraview-5.6.1-r1.ebuild b/sci-visualization/paraview/paraview-5.6.1-r1.ebuild
index 6233e8195c6..5a52eb5730f 100644
--- a/sci-visualization/paraview/paraview-5.6.1-r1.ebuild
+++ b/sci-visualization/paraview/paraview-5.6.1-r1.ebuild
@@ -70,12 +70,10 @@ RDEPEND="
 			dev-python/pygments[${PYTHON_MULTI_USEDEP}]
 			dev-python/sip[${PYTHON_MULTI_USEDEP}]
 			dev-python/six[${PYTHON_MULTI_USEDEP}]
-			|| ( dev-python/twisted[${PYTHON_MULTI_USEDEP}]
-				dev-python/twisted-core[${PYTHON_MULTI_USEDEP}]
-			)
+			dev-python/twisted[${PYTHON_MULTI_USEDEP}]
 			dev-python/zope-interface[${PYTHON_MULTI_USEDEP}]
 			mpi? ( dev-python/mpi4py )
-			qt5? ( dev-python/PyQt5[opengl,webkit,${PYTHON_MULTI_USEDEP}] )
+			qt5? ( dev-python/PyQt5[opengl,${PYTHON_MULTI_USEDEP}] )
 		')
 	)
 	qt5? (

diff --git a/sci-visualization/paraview/paraview-5.8.0.ebuild b/sci-visualization/paraview/paraview-5.8.0.ebuild
index 2574d8d2f97..a5da9f72574 100644
--- a/sci-visualization/paraview/paraview-5.8.0.ebuild
+++ b/sci-visualization/paraview/paraview-5.8.0.ebuild
@@ -71,9 +71,7 @@ RDEPEND="
 			dev-python/pygments[${PYTHON_MULTI_USEDEP}]
 			dev-python/sip[${PYTHON_MULTI_USEDEP}]
 			dev-python/six[${PYTHON_MULTI_USEDEP}]
-			|| ( dev-python/twisted[${PYTHON_MULTI_USEDEP}]
-				dev-python/twisted-core[${PYTHON_MULTI_USEDEP}]
-			)
+			dev-python/twisted[${PYTHON_MULTI_USEDEP}]
 			dev-python/zope-interface[${PYTHON_MULTI_USEDEP}]
 			mpi? ( dev-python/mpi4py )
 			qt5? ( dev-python/PyQt5[opengl,${PYTHON_MULTI_USEDEP}] )


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2020-04-03  2:49 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2020-04-03  2:49 UTC (permalink / raw
  To: gentoo-commits

commit:     57a777e88eabc480ca0a3650fba300c5f8eec6d6
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Fri Apr  3 02:44:36 2020 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Fri Apr  3 02:48:37 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57a777e8

sci-visualization/paraview: try to fix configure, fix deps

Seems that a massive amount of changes are necessary to restore our old
configure behavior.

Closes: https://bugs.gentoo.org/703244
Closes: https://bugs.gentoo.org/701776
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 .../paraview/paraview-5.8.0-r1.ebuild              | 253 +++++++++++++++++++++
 1 file changed, 253 insertions(+)

diff --git a/sci-visualization/paraview/paraview-5.8.0-r1.ebuild b/sci-visualization/paraview/paraview-5.8.0-r1.ebuild
new file mode 100644
index 00000000000..3df46bd3939
--- /dev/null
+++ b/sci-visualization/paraview/paraview-5.8.0-r1.ebuild
@@ -0,0 +1,253 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_6 )
+inherit cmake-utils desktop gnome2-utils python-single-r1 qmake-utils toolchain-funcs
+
+MAIN_PV=$(ver_cut 0-1)
+MAJOR_PV=$(ver_cut 1-2)
+MY_P="ParaView-v${PV}"
+
+DESCRIPTION="Powerful scientific data visualization application"
+HOMEPAGE="https://www.paraview.org"
+SRC_URI="https://www.paraview.org/files/v${MAJOR_PV}/${MY_P}.tar.xz"
+
+LICENSE="paraview GPL-2"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="boost cg coprocessing development doc examples ffmpeg mpi mysql nvcontrol openmp offscreen plugins python +qt5 +sqlite test tk +webengine"
+
+RESTRICT="mirror test"
+
+# "vtksqlite, needed by vtkIOSQL" and "vtkIOSQL, needed by vtkIOMySQL"
+REQUIRED_USE="
+	python? ( mpi ${PYTHON_REQUIRED_USE} )
+	mysql? ( sqlite )
+	webengine? ( qt5 )
+	qt5? ( sqlite )
+	?? ( offscreen qt5 )"
+
+RDEPEND="
+	app-arch/lz4
+	dev-libs/expat
+	dev-libs/jsoncpp:=
+	dev-libs/libxml2:2
+	dev-libs/protobuf:=
+	dev-libs/pugixml
+	media-libs/freetype
+	media-libs/glew:0
+	media-libs/libpng:0
+	media-libs/libtheora
+	media-libs/tiff:0=
+	sci-libs/cgnslib
+	sci-libs/hdf5:=[mpi=]
+	>=sci-libs/netcdf-4.2[hdf5]
+	>=sci-libs/netcdf-cxx-4.2:3
+	sys-libs/zlib
+	virtual/glu
+	virtual/jpeg:0
+	x11-libs/libX11
+	x11-libs/libXext
+	x11-libs/libXmu
+	x11-libs/libXt
+	coprocessing? (
+		dev-python/PyQt5
+		dev-qt/qtgui:5[-gles2]
+	)
+	ffmpeg? ( virtual/ffmpeg )
+	mpi? ( virtual/mpi[cxx,romio] )
+	mysql? ( dev-db/mysql-connector-c )
+	offscreen? ( >=media-libs/mesa-18.3.6[osmesa] )
+	!offscreen? ( virtual/opengl )
+	python? (
+		${PYTHON_DEPS}
+		$(python_gen_cond_dep '
+			dev-python/constantly[${PYTHON_MULTI_USEDEP}]
+			dev-python/incremental[${PYTHON_MULTI_USEDEP}]
+			dev-python/matplotlib[${PYTHON_MULTI_USEDEP}]
+			dev-python/numpy[${PYTHON_MULTI_USEDEP}]
+			dev-python/pygments[${PYTHON_MULTI_USEDEP}]
+			dev-python/sip[${PYTHON_MULTI_USEDEP}]
+			dev-python/six[${PYTHON_MULTI_USEDEP}]
+			dev-python/twisted[${PYTHON_MULTI_USEDEP}]
+			dev-python/zope-interface[${PYTHON_MULTI_USEDEP}]
+			mpi? ( dev-python/mpi4py )
+			qt5? ( dev-python/PyQt5[opengl,${PYTHON_MULTI_USEDEP}] )
+		')
+	)
+	qt5? (
+		dev-qt/designer:5
+		dev-qt/qtgui:5[-gles2]
+		dev-qt/qthelp:5
+		dev-qt/qtopengl:5[-gles2]
+		dev-qt/qtsql:5
+		dev-qt/qttest:5
+		dev-qt/qtx11extras:5
+		dev-qt/qtxmlpatterns:5
+	)
+	sqlite? ( dev-db/sqlite:3 )
+	tk? ( dev-lang/tk:0= )
+	webengine? ( dev-qt/qtwebengine:5[widgets] )"
+DEPEND="${RDEPEND}
+	${PYTHON_DEPS}
+	boost? (
+		$(python_gen_cond_dep '
+			dev-libs/boost[mpi?,${PYTHON_MULTI_USEDEP}]
+		')
+	)
+	doc? ( app-doc/doxygen )"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-4.0.1-xdmf-cstring.patch
+	"${FILESDIR}"/${PN}-5.3.0-fix_buildsystem.patch
+	"${FILESDIR}"/${PN}-5.5.0-allow_custom_build_type.patch
+)
+
+CMAKE_MAKEFILE_GENERATOR="emake" #579474
+
+pkg_setup() {
+	[[ ${MERGE_TYPE} != "binary" ]] && use openmp && tc-check-openmp
+	use python && python-single-r1_pkg_setup
+	PVLIBDIR=$(get_libdir)/${PN}-${MAJOR_PV}
+}
+
+src_prepare() {
+
+	# Bug #661812
+	mkdir -p Plugins/StreamLinesRepresentation/doc || die
+
+	cmake-utils_src_prepare
+
+	# lib64 fixes
+	sed -i \
+		-e "s:/lib/python:/$(get_libdir)/python:g" \
+		VTK/ThirdParty/xdmf3/vtkxdmf3/CMakeLists.txt || die
+	sed -i \
+		-e "s:lib/paraview-:$(get_libdir)/paraview-:g" \
+		Remoting/Application/vtkInitializationHelper.cxx || die
+}
+
+src_configure() {
+	if use qt5; then
+		export QT_SELECT=qt5
+	fi
+
+	local mycmakeargs=(
+		-DCMAKE_INSTALL_LIBDIR="${PVLIBDIR}"
+		-UBUILD_SHARED_LIBS
+		-DPARAVIEW_BUILD_SHARED_LIBS=ON
+		-DCMAKE_VERBOSE_MAKEFILE=ON
+
+		-DVTK_DEFAULT_RENDER_WINDOW_OFFSCREEN=TRUE
+
+		-DVTK_USE_OGGTHEORA_ENCODER=TRUE
+
+		-DVTK_GROUP_ENABLE_Imaging=YES
+		-DVTK_GROUP_ENABLE_Rendering=YES
+		-DVTK_GROUP_ENABLE_StandAlone=YES
+		-DVTK_GROUP_ENABLE_Views=YES
+
+		# boost
+		-DVTK_MODULE_ENABLE_VTK_IOInfovis="$(usex boost YES NO)"
+
+		# coprocessing
+#         -DVTK_MODULE_ENABLE_ParaView_Catalyst="$(usex coprocessing YES NO)"
+
+		# doc
+		-DPARAVIEW_BUILD_DEVELOPER_DOCUMENTATION="$(usex doc)"
+
+		# examples
+		-DBUILD_EXAMPLES="$(usex examples)"
+
+		# ffmpeg
+		-DPARAVIEW_ENABLE_FFMPEG="$(usex ffmpeg)"
+		-DVTK_USE_FFMPEG_ENCODER="$(usex ffmpeg)"
+
+		# mpi
+		-DPARAVIEW_USE_MPI="$(usex mpi)"
+		-DXDMF_BUILD_MPI="$(usex mpi)"
+		-DVTK_GROUP_ENABLE_MPI="$(usex mpi YES NO)"
+
+		# mysql
+		-DVTK_MODULE_ENABLE_VTK_IOMySQL="$(usex mysql YES NO)"
+
+		# offscreen
+		-DVTK_USE_X="$(usex !offscreen)"
+		-DVTK_OPENGL_HAS_OSMESA="$(usex offscreen)"
+		-DVTK_OPENGL_HAS_OSMESA="$(usex offscreen)"
+
+		# plugins
+		-DPARAVIEW_PLUGINS_DEFAULT="$(usex plugins)"
+
+		# python
+		-DModule_pqPython="$(usex python)"
+		-DPARAVIEW_USE_PYTHON="$(usex python)"
+
+		# qt5
+		-DPARAVIEW_INSTALL_DEVELOPMENT_FILES="$(usex development)"
+		-DPARAVIEW_USE_QT="$(usex qt5)"
+		-DModule_pqPython="$(usex qt5 "$(usex python)" "off")"
+		-DVTK_USE_NVCONTROL="$(usex nvcontrol)"
+		-DVTK_GROUP_ENABLE_Qt="$(usex qt5 YES NO)"
+
+		# sqlite
+		-DVTK_MODULE_ENABLE_VTK_sqlite="$(usex sqlite YES NO)"
+
+		# test
+		-DBUILD_TESTING="$(usex test)"
+
+		# tk
+		-DVTK_USE_TK="$(usex tk)"
+		-DVTK_GROUP_ENABLE_Tk="$(usex tk YES NO)"
+
+		# webengine
+		-DPARAVIEW_USE_QTWEBENGINE="$(usex webengine)"
+		-DVTK_GROUP_ENABLE_Web="$(usex webengine YES NO)"
+	)
+
+	if use openmp; then
+		mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE=OpenMP )
+	fi
+
+	if use qt5; then
+		mycmakeargs+=(
+			-DOPENGL_gl_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGL.so
+			-DOPENGL_glu_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGLU.so
+			-DQT_MOC_EXECUTABLE="$(qt5_get_bindir)/moc"
+		)
+	fi
+
+	cmake-utils_src_configure
+}
+
+src_install() {
+	cmake-utils_src_install
+
+		# remove wrapper binaries and put the actual executable in place
+		for i in {paraview-config,pvserver,pvdataserver,pvrenderserver,pvbatch,pvpython,paraview}; do
+			if [ -f "${ED}"/usr/lib/"$i" ]; then
+				mv "${ED}"/usr/lib/"$i" "${ED}"/usr/bin/"$i" || die
+			fi
+		done
+
+		# set up the environment
+		echo "LDPATH=${EPREFIX}/usr/${PVLIBDIR}" > "${T}"/40${PN} || die
+		doenvd "${T}"/40${PN}
+
+		newicon "${S}"/Clients/ParaView/pvIcon-96x96.png paraview.png
+		make_desktop_entry paraview "Paraview" paraview
+
+		use python && python_optimize "${D}"/usr/$(get_libdir)/${PN}-${MAJOR_PV}
+	}
+
+	pkg_postinst() {
+		xdg_icon_cache_update
+	}
+
+	pkg_postrm() {
+		xdg_icon_cache_update
+	}


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2020-04-03  2:49 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2020-04-03  2:49 UTC (permalink / raw
  To: gentoo-commits

commit:     d0d06b0b0a7d826ef9a537e46bd1cd5712b1a584
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Fri Apr  3 01:26:58 2020 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Fri Apr  3 02:48:33 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0d06b0b

sci-visualization/paraview: add dependency on qtxmlpatterns

Closes: https://github.com/gentoo/gentoo/pull/14963
Closes: https://bugs.gentoo.org/712306
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 sci-visualization/paraview/paraview-5.8.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sci-visualization/paraview/paraview-5.8.0.ebuild b/sci-visualization/paraview/paraview-5.8.0.ebuild
index a5da9f72574..1da2c032743 100644
--- a/sci-visualization/paraview/paraview-5.8.0.ebuild
+++ b/sci-visualization/paraview/paraview-5.8.0.ebuild
@@ -85,6 +85,7 @@ RDEPEND="
 		dev-qt/qtsql:5
 		dev-qt/qttest:5
 		dev-qt/qtx11extras:5
+		dev-qt/qtxmlpatterns:5
 	)
 	sqlite? ( dev-db/sqlite:3 )
 	tcl? ( dev-lang/tcl:0= )


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2020-04-03 20:07 Andreas Sturmlechner
  0 siblings, 0 replies; 89+ messages in thread
From: Andreas Sturmlechner @ 2020-04-03 20:07 UTC (permalink / raw
  To: gentoo-commits

commit:     2d968f120a15e83e0f4e41865e263e5e99f528ee
Author:     Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Fri Mar 27 03:43:28 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Apr  3 20:06:31 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d968f12

sci-visualization/paraview: dev-qt/*[-gles2 => -gles2-only]

Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../paraview/{paraview-5.8.0.ebuild => paraview-5.8.0-r1.ebuild}    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sci-visualization/paraview/paraview-5.8.0.ebuild b/sci-visualization/paraview/paraview-5.8.0-r1.ebuild
similarity index 98%
rename from sci-visualization/paraview/paraview-5.8.0.ebuild
rename to sci-visualization/paraview/paraview-5.8.0-r1.ebuild
index 1da2c032743..6a16cfae922 100644
--- a/sci-visualization/paraview/paraview-5.8.0.ebuild
+++ b/sci-visualization/paraview/paraview-5.8.0-r1.ebuild
@@ -53,7 +53,7 @@ RDEPEND="
 	coprocessing? (
 		plugins? (
 			dev-python/PyQt5
-			dev-qt/qtgui:5[-gles2]
+			dev-qt/qtgui:5[-gles2-only]
 		)
 	)
 	ffmpeg? ( virtual/ffmpeg )
@@ -79,9 +79,9 @@ RDEPEND="
 	)
 	qt5? (
 		dev-qt/designer:5
-		dev-qt/qtgui:5[-gles2]
+		dev-qt/qtgui:5[-gles2-only]
 		dev-qt/qthelp:5
-		dev-qt/qtopengl:5[-gles2]
+		dev-qt/qtopengl:5[-gles2-only]
 		dev-qt/qtsql:5
 		dev-qt/qttest:5
 		dev-qt/qtx11extras:5


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2020-04-03 20:07 Andreas Sturmlechner
  0 siblings, 0 replies; 89+ messages in thread
From: Andreas Sturmlechner @ 2020-04-03 20:07 UTC (permalink / raw
  To: gentoo-commits

commit:     13374dc2a2853ae8bcfe14fb04e319667a7dfd28
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Apr  3 19:21:25 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Apr  3 20:06:30 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13374dc2

sci-visualization/paraview: dev-qt/*[-gles2 => -gles2-only]

Package-Manager: Portage-2.3.96, Repoman-2.3.22
RepoMan-Options: --force
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../paraview/{paraview-5.8.0-r1.ebuild => paraview-5.8.0-r2.ebuild} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sci-visualization/paraview/paraview-5.8.0-r1.ebuild b/sci-visualization/paraview/paraview-5.8.0-r2.ebuild
similarity index 98%
rename from sci-visualization/paraview/paraview-5.8.0-r1.ebuild
rename to sci-visualization/paraview/paraview-5.8.0-r2.ebuild
index 3df46bd3939..0de4586ea31 100644
--- a/sci-visualization/paraview/paraview-5.8.0-r1.ebuild
+++ b/sci-visualization/paraview/paraview-5.8.0-r2.ebuild
@@ -54,7 +54,7 @@ RDEPEND="
 	x11-libs/libXt
 	coprocessing? (
 		dev-python/PyQt5
-		dev-qt/qtgui:5[-gles2]
+		dev-qt/qtgui:5[-gles2-only]
 	)
 	ffmpeg? ( virtual/ffmpeg )
 	mpi? ( virtual/mpi[cxx,romio] )
@@ -79,9 +79,9 @@ RDEPEND="
 	)
 	qt5? (
 		dev-qt/designer:5
-		dev-qt/qtgui:5[-gles2]
+		dev-qt/qtgui:5[-gles2-only]
 		dev-qt/qthelp:5
-		dev-qt/qtopengl:5[-gles2]
+		dev-qt/qtopengl:5[-gles2-only]
 		dev-qt/qtsql:5
 		dev-qt/qttest:5
 		dev-qt/qtx11extras:5


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2020-04-04  2:40 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2020-04-04  2:40 UTC (permalink / raw
  To: gentoo-commits

commit:     90acdeac59cff0cfbe20be726455877ea167f648
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Sat Apr  4 02:40:17 2020 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Sat Apr  4 02:40:17 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90acdeac

sci-visualization/paraview: remove r1

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 .../paraview/paraview-5.8.0-r1.ebuild              | 313 ---------------------
 1 file changed, 313 deletions(-)

diff --git a/sci-visualization/paraview/paraview-5.8.0-r1.ebuild b/sci-visualization/paraview/paraview-5.8.0-r1.ebuild
deleted file mode 100644
index 6a16cfae922..00000000000
--- a/sci-visualization/paraview/paraview-5.8.0-r1.ebuild
+++ /dev/null
@@ -1,313 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_6 )
-inherit cmake-utils desktop gnome2-utils python-single-r1 qmake-utils toolchain-funcs
-
-MAIN_PV=$(ver_cut 0-1)
-MAJOR_PV=$(ver_cut 1-2)
-MY_P="ParaView-v${PV}"
-
-DESCRIPTION="Powerful scientific data visualization application"
-HOMEPAGE="https://www.paraview.org"
-SRC_URI="https://www.paraview.org/files/v${MAJOR_PV}/${MY_P}.tar.xz"
-
-LICENSE="paraview GPL-2"
-KEYWORDS="~amd64 ~x86"
-SLOT="0"
-IUSE="boost cg coprocessing development doc examples ffmpeg mpi mysql nvcontrol openmp offscreen plugins python +qt5 sqlite tcl test tk +webengine"
-
-RESTRICT="mirror test"
-
-# "vtksqlite, needed by vtkIOSQL" and "vtkIOSQL, needed by vtkIOMySQL"
-REQUIRED_USE="python? ( mpi ${PYTHON_REQUIRED_USE} )
-	mysql? ( sqlite )
-	webengine? ( qt5 )
-	?? ( offscreen qt5 )"
-
-RDEPEND="
-	app-arch/lz4
-	dev-libs/expat
-	dev-libs/jsoncpp:=
-	dev-libs/libxml2:2
-	dev-libs/protobuf:=
-	dev-libs/pugixml
-	media-libs/freetype
-	media-libs/glew:0
-	media-libs/libpng:0
-	media-libs/libtheora
-	media-libs/tiff:0=
-	sci-libs/cgnslib
-	sci-libs/hdf5:=[mpi=]
-	>=sci-libs/netcdf-4.2[hdf5]
-	>=sci-libs/netcdf-cxx-4.2:3
-	sys-libs/zlib
-	virtual/glu
-	virtual/jpeg:0
-	x11-libs/libX11
-	x11-libs/libXext
-	x11-libs/libXmu
-	x11-libs/libXt
-	coprocessing? (
-		plugins? (
-			dev-python/PyQt5
-			dev-qt/qtgui:5[-gles2-only]
-		)
-	)
-	ffmpeg? ( virtual/ffmpeg )
-	mpi? ( virtual/mpi[cxx,romio] )
-	mysql? ( dev-db/mysql-connector-c )
-	offscreen? ( >=media-libs/mesa-18.3.6[osmesa] )
-	!offscreen? ( virtual/opengl )
-	python? (
-		${PYTHON_DEPS}
-		$(python_gen_cond_dep '
-			dev-python/constantly[${PYTHON_MULTI_USEDEP}]
-			dev-python/incremental[${PYTHON_MULTI_USEDEP}]
-			dev-python/matplotlib[${PYTHON_MULTI_USEDEP}]
-			dev-python/numpy[${PYTHON_MULTI_USEDEP}]
-			dev-python/pygments[${PYTHON_MULTI_USEDEP}]
-			dev-python/sip[${PYTHON_MULTI_USEDEP}]
-			dev-python/six[${PYTHON_MULTI_USEDEP}]
-			dev-python/twisted[${PYTHON_MULTI_USEDEP}]
-			dev-python/zope-interface[${PYTHON_MULTI_USEDEP}]
-			mpi? ( dev-python/mpi4py )
-			qt5? ( dev-python/PyQt5[opengl,${PYTHON_MULTI_USEDEP}] )
-		')
-	)
-	qt5? (
-		dev-qt/designer:5
-		dev-qt/qtgui:5[-gles2-only]
-		dev-qt/qthelp:5
-		dev-qt/qtopengl:5[-gles2-only]
-		dev-qt/qtsql:5
-		dev-qt/qttest:5
-		dev-qt/qtx11extras:5
-		dev-qt/qtxmlpatterns:5
-	)
-	sqlite? ( dev-db/sqlite:3 )
-	tcl? ( dev-lang/tcl:0= )
-	tk? ( dev-lang/tk:0= )
-	webengine? ( dev-qt/qtwebengine:5[widgets] )"
-DEPEND="${RDEPEND}
-	${PYTHON_DEPS}
-	boost? (
-		$(python_gen_cond_dep '
-			dev-libs/boost[mpi?,${PYTHON_MULTI_USEDEP}]
-		')
-	)
-	doc? ( app-doc/doxygen )"
-
-S="${WORKDIR}/${MY_P}"
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-4.0.1-xdmf-cstring.patch
-	"${FILESDIR}"/${PN}-5.3.0-fix_buildsystem.patch
-	"${FILESDIR}"/${PN}-5.5.0-allow_custom_build_type.patch
-)
-
-CMAKE_MAKEFILE_GENERATOR="emake" #579474
-
-pkg_setup() {
-	[[ ${MERGE_TYPE} != "binary" ]] && use openmp && tc-check-openmp
-	python-single-r1_pkg_setup
-	PVLIBDIR=$(get_libdir)/${PN}-${MAJOR_PV}
-}
-
-src_prepare() {
-
-	# Bug #661812
-	mkdir -p Plugins/StreamLinesRepresentation/doc || die
-
-	cmake-utils_src_prepare
-
-	# lib64 fixes
-	sed -i \
-		-e "s:/lib/python:/$(get_libdir)/python:g" \
-		VTK/ThirdParty/xdmf3/vtkxdmf3/CMakeLists.txt || die
-	sed -i \
-		-e "s:lib/paraview-:$(get_libdir)/paraview-:g" \
-		Remoting/Application/vtkInitializationHelper.cxx || die
-}
-
-src_configure() {
-	if use qt5; then
-		export QT_SELECT=qt5
-	fi
-
-	local mycmakeargs=(
-		-DCMAKE_INSTALL_LIBDIR="${PVLIBDIR}"
-		-DEXPAT_INCLUDE_DIR="${EPREFIX}"/usr/include
-		-DEXPAT_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libexpat.so
-		-DBUILD_SHARED_LIBS=ON
-		-DCMAKE_VERBOSE_MAKEFILE=ON
-
-		-DVTK_Group_StandAlone=ON
-		-DVTK_DEFAULT_RENDER_WINDOW_OFFSCREEN=TRUE
-
-		-DVTK_USE_OGGTHEORA_ENCODER=TRUE
-		-DVTK_USE_SYSTEM_CGNS=ON
-		-DVTK_USE_SYSTEM_PUGIXML=ON
-		-DVTK_USE_SYSTEM_EXPAT=ON
-		-DVTK_USE_SYSTEM_FREETYPE=ON
-		-DVTK_USE_SYSTEM_GL2PS=OFF # doesn't compile, requires modified sources
-		-DVTK_USE_SYSTEM_GLEW=ON
-		-DVTK_USE_SYSTEM_HDF5=ON
-		-DVTK_USE_SYSTEM_JPEG=ON
-		-DVTK_USE_SYSTEM_JSONCPP=ON
-		-DVTK_USE_SYSTEM_LIBXML2=ON
-		-DVTK_USE_SYSTEM_LZ4=ON
-		-DVTK_USE_SYSTEM_NETCDF=ON
-		-DVTK_USE_SYSTEM_PNG=ON
-		-DVTK_USE_SYSTEM_PROTOBUF=ON
-		-DVTK_USE_SYSTEM_TIFF=ON
-		-DVTK_USE_SYSTEM_XDMF2=OFF # does not compile with sci-libs/xdmf2-1.0_p141226
-		-DVTK_USE_SYSTEM_ZLIB=ON
-
-		# boost
-		-DModule_vtkInfovisBoost="$(usex boost)"
-
-		# coprocessing
-		-DPARAVIEW_ENABLE_CATALYST="$(usex coprocessing)"
-
-		# doc
-		-DBUILD_DOCUMENTATION="$(usex doc)"
-
-		# examples
-		-DBUILD_EXAMPLES="$(usex examples)"
-
-		# ffmpeg
-		-DPARAVIEW_ENABLE_FFMPEG="$(usex ffmpeg)"
-		-DVTK_USE_FFMPEG_ENCODER="$(usex ffmpeg)"
-		-DModule_vtkIOFFMPEG="$(usex ffmpeg)"
-
-		# mpi
-		-DPARAVIEW_USE_ICE_T="$(usex mpi)"
-		-DPARAVIEW_USE_MPI_SSEND="$(usex mpi)"
-		-DPARAVIEW_USE_MPI="$(usex mpi)"
-		-DVTK_Group_MPI="$(usex mpi)"
-		-DVTK_XDMF_USE_MPI="$(usex mpi)"
-		-DXDMF_BUILD_MPI="$(usex mpi)"
-
-		# mysql
-		-DModule_vtkIOMySQL="$(usex mysql)"
-
-		# offscreen
-		-DVTK_USE_X=$(usex !offscreen)
-		-DVTK_OPENGL_HAS_OSMESA=$(usex offscreen)
-		-DVTK_OPENGL_HAS_OSMESA=$(usex offscreen)
-
-		# plugins
-		-DPARAVIEW_BUILD_PLUGIN_AdiosReader="$(usex plugins)"
-		-DPARAVIEW_BUILD_PLUGIN_AnalyzeNIfTIIO="$(usex plugins)"
-		-DPARAVIEW_BUILD_PLUGIN_ArrowGlyph="$(usex plugins)"
-		-DPARAVIEW_BUILD_PLUGIN_EyeDomeLighting="$(usex plugins)"
-		-DPARAVIEW_BUILD_PLUGIN_GMVReader="$(usex plugins)"
-		-DPARAVIEW_BUILD_PLUGIN_Moments="$(usex plugins)"
-		-DPARAVIEW_BUILD_PLUGIN_NonOrthogonalSource="$(usex plugins)"
-		-DPARAVIEW_BUILD_PLUGIN_PacMan="$(usex plugins)"
-		-DPARAVIEW_BUILD_PLUGIN_SierraPlotTools="$(usex plugins)"
-		-DPARAVIEW_BUILD_PLUGIN_SLACTools="$(usex plugins)"
-		-DPARAVIEW_BUILD_PLUGIN_StreamingParticles="$(usex plugins)"
-		-DPARAVIEW_BUILD_PLUGIN_SurfaceLIC="$(usex plugins)"
-		# these are always needed for plugins
-		-DModule_vtkFiltersFlowPaths="$(usex plugins)"
-		-DModule_vtkPVServerManagerApplication="$(usex plugins)"
-		# force this module due to incorrect build system deps wrt bug 460528
-		-DModule_vtkUtilitiesProcessXML=ON
-
-		# python
-		-DModule_pqPython="$(usex python)"
-		-DModule_vtkmpi4py="$(usex python)"
-		-DModule_vtkPython="$(usex python)"
-		-DModule_vtkWrappingPythonCore="$(usex python)"
-		-DPARAVIEW_ENABLE_PYTHON="$(usex python)"
-		-DXDMF_WRAP_PYTHON="$(usex python)"
-
-		# qt5
-		-DPARAVIEW_INSTALL_DEVELOPMENT_FILES="$(usex development)"
-		-DModule_vtkGUISupportQtSQL="$(usex qt5)"
-		-DModule_vtkRenderingQt="$(usex qt5)"
-		-DModule_vtkViewsQt="$(usex qt5)"
-		-DPARAVIEW_BUILD_QT_GUI="$(usex qt5)"
-		-DVTK_Group_ParaViewQt="$(usex qt5)"
-		-DVTK_Group_Qt="$(usex qt5)"
-		-DModule_pqPython="$(usex qt5 "$(usex python)" "off")"
-		$(usex qt5 "-DPARAVIEW_QT_VERSION=5" "")
-		-DVTK_USE_NVCONTROL="$(usex nvcontrol)"
-
-		# sqlite
-		-DModule_vtksqlite="$(usex sqlite)"
-
-		# tcl
-		-DModule_vtkTclTk="$(usex tcl)"
-
-		# test
-		-DBUILD_TESTING="$(usex test)"
-
-		# tk
-		-DVTK_Group_Tk="$(usex tk)"
-		-DVTK_USE_TK="$(usex tk)"
-		-DModule_vtkRenderingTk="$(usex tk)"
-
-		# webengine
-		-DPARAVIEW_USE_QTWEBENGINE="$(usex webengine)"
-	)
-
-	if use openmp; then
-		mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE=OpenMP )
-	fi
-
-	if use python; then
-		mycmakeargs+=(
-			-DVTK_USE_SYSTEM_TWISTED=ON
-			-DVTK_USE_SYSTEM_AUTOBAHN=ON
-			-DVTK_USE_SYSTEM_ZOPE=ON
-		)
-	fi
-
-	if use qt5; then
-		mycmakeargs+=(
-			-DVTK_USE_QVTK=ON
-			-DOPENGL_gl_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGL.so
-			-DOPENGL_glu_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGLU.so
-			-DVTK_QT_VERSION=5
-			-DQT_MOC_EXECUTABLE="$(qt5_get_bindir)/moc"
-			-DQT_UIC_EXECUTABLE="$(qt5_get_bindir)/uic"
-			-DQT_QMAKE_EXECUTABLE="$(qt5_get_bindir)/qmake"
-			-DVTK_Group_Qt:BOOL=ON
-		)
-	fi
-
-	cmake-utils_src_configure
-}
-
-src_install() {
-	cmake-utils_src_install
-
-		# remove wrapper binaries and put the actual executable in place
-		for i in {paraview-config,pvserver,pvdataserver,pvrenderserver,pvbatch,pvpython,paraview}; do
-			if [ -f "${ED}"/usr/lib/"$i" ]; then
-				mv "${ED}"/usr/lib/"$i" "${ED}"/usr/bin/"$i" || die
-			fi
-		done
-
-		# set up the environment
-		echo "LDPATH=${EPREFIX}/usr/${PVLIBDIR}" > "${T}"/40${PN} || die
-		doenvd "${T}"/40${PN}
-
-		newicon "${S}"/Clients/ParaView/pvIcon-96x96.png paraview.png
-		make_desktop_entry paraview "Paraview" paraview
-
-		use python && python_optimize "${D}"/usr/$(get_libdir)/${PN}-${MAJOR_PV}
-	}
-
-	pkg_postinst() {
-		xdg_icon_cache_update
-	}
-
-	pkg_postrm() {
-		xdg_icon_cache_update
-	}


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2020-04-26 11:00 David Seifert
  0 siblings, 0 replies; 89+ messages in thread
From: David Seifert @ 2020-04-26 11:00 UTC (permalink / raw
  To: gentoo-commits

commit:     b7cdd625574844d9be52f6e1605916695c752354
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 26 10:59:18 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Apr 26 10:59:18 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7cdd625

sci-visualization/paraview: Replace virtual/ffmpeg

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 .../paraview/{paraview-5.8.0-r2.ebuild => paraview-5.8.0-r3.ebuild}     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-visualization/paraview/paraview-5.8.0-r2.ebuild b/sci-visualization/paraview/paraview-5.8.0-r3.ebuild
similarity index 99%
rename from sci-visualization/paraview/paraview-5.8.0-r2.ebuild
rename to sci-visualization/paraview/paraview-5.8.0-r3.ebuild
index 0de4586ea31..fc460ddd847 100644
--- a/sci-visualization/paraview/paraview-5.8.0-r2.ebuild
+++ b/sci-visualization/paraview/paraview-5.8.0-r3.ebuild
@@ -56,7 +56,7 @@ RDEPEND="
 		dev-python/PyQt5
 		dev-qt/qtgui:5[-gles2-only]
 	)
-	ffmpeg? ( virtual/ffmpeg )
+	ffmpeg? ( media-video/ffmpeg )
 	mpi? ( virtual/mpi[cxx,romio] )
 	mysql? ( dev-db/mysql-connector-c )
 	offscreen? ( >=media-libs/mesa-18.3.6[osmesa] )


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2020-05-12  5:41 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2020-05-12  5:41 UTC (permalink / raw
  To: gentoo-commits

commit:     33e617f9f89caaeb97d9fbcf7cdd2cc964190451
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Tue May 12 05:33:50 2020 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Tue May 12 05:40:40 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33e617f9

sci-visualization/paraview: add python compat versions

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 sci-visualization/paraview/paraview-5.8.0-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-visualization/paraview/paraview-5.8.0-r3.ebuild b/sci-visualization/paraview/paraview-5.8.0-r3.ebuild
index fc460ddd847..fad68f534bd 100644
--- a/sci-visualization/paraview/paraview-5.8.0-r3.ebuild
+++ b/sci-visualization/paraview/paraview-5.8.0-r3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{6,7,8} )
 inherit cmake-utils desktop gnome2-utils python-single-r1 qmake-utils toolchain-funcs
 
 MAIN_PV=$(ver_cut 0-1)


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2020-09-11 14:52 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2020-09-11 14:52 UTC (permalink / raw
  To: gentoo-commits

commit:     1e30e00dafb6aa0f173106f1790b874ce8a4311c
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 11 14:08:41 2020 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Fri Sep 11 14:50:36 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e30e00d

sci-visualization/paraview: version bump to 5.8.1

Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 sci-visualization/paraview/Manifest              |   1 +
 sci-visualization/paraview/paraview-5.8.1.ebuild | 254 +++++++++++++++++++++++
 2 files changed, 255 insertions(+)

diff --git a/sci-visualization/paraview/Manifest b/sci-visualization/paraview/Manifest
index 3173c63282b..b26081a4c46 100644
--- a/sci-visualization/paraview/Manifest
+++ b/sci-visualization/paraview/Manifest
@@ -1 +1,2 @@
 DIST ParaView-v5.8.0.tar.xz 49789116 BLAKE2B 25689220f506221731bb5a56c647c249df0de8654a4b3347a7c09067bb5755818597bd7cfff88c2d129f448189b107079995c93599d482f7bf8b4cc6c7430e72 SHA512 43304d62c3f55bc390e68c033fb4c7dc2c0789d0dadbb98ef734b7d9de0419af4c240ce94f36e2b52c939ac950fba1d70dbd9fc3a1e6da37c7ef847b5c8682a2
+DIST ParaView-v5.8.1.tar.xz 49822084 BLAKE2B 1b99392a85c19fdc02f8f9f0f055fb7efd8a0b17eedfd84005d1af9b170c34ec4eedb25700f91c3a2241ee80e271fe1e744e3a729b7726deb8f9c7a9fd2e4191 SHA512 94861c01da2f98c47e7453d072a4de34a7f52f5df280a8745b44d58d8d6a1dba42a15d0bac31895bbe25f23d993d4d356e5af1f8415137e289afd60570070248

diff --git a/sci-visualization/paraview/paraview-5.8.1.ebuild b/sci-visualization/paraview/paraview-5.8.1.ebuild
new file mode 100644
index 00000000000..fec2161a4d1
--- /dev/null
+++ b/sci-visualization/paraview/paraview-5.8.1.ebuild
@@ -0,0 +1,254 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+inherit cmake-utils desktop gnome2-utils python-single-r1 qmake-utils toolchain-funcs
+
+MAIN_PV=$(ver_cut 0-1)
+MAJOR_PV=$(ver_cut 1-2)
+MY_P="ParaView-v${PV}"
+
+DESCRIPTION="Powerful scientific data visualization application"
+HOMEPAGE="https://www.paraview.org"
+SRC_URI="https://www.paraview.org/files/v${MAJOR_PV}/${MY_P}.tar.xz"
+
+LICENSE="paraview GPL-2"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="boost cg coprocessing development doc examples ffmpeg mpi mysql nvcontrol openmp offscreen plugins python +qt5 +sqlite test tk +webengine"
+
+RESTRICT="mirror test"
+
+# "vtksqlite, needed by vtkIOSQL" and "vtkIOSQL, needed by vtkIOMySQL"
+REQUIRED_USE="
+	python? ( mpi ${PYTHON_REQUIRED_USE} )
+	mysql? ( sqlite )
+	webengine? ( qt5 )
+	qt5? ( sqlite )
+	?? ( offscreen qt5 )"
+
+RDEPEND="
+	app-arch/lz4
+	dev-libs/expat
+	dev-libs/jsoncpp:=
+	dev-libs/libxml2:2
+	dev-libs/protobuf:=
+	dev-libs/pugixml
+	media-libs/freetype
+	media-libs/glew:0
+	media-libs/libpng:0
+	media-libs/libtheora
+	media-libs/tiff:0=
+	sci-libs/cgnslib
+	sci-libs/hdf5:=[mpi=]
+	>=sci-libs/netcdf-4.2[hdf5]
+	>=sci-libs/netcdf-cxx-4.2:3
+	sys-libs/zlib
+	virtual/glu
+	virtual/jpeg:0
+	x11-libs/libX11
+	x11-libs/libXext
+	x11-libs/libXmu
+	x11-libs/libXt
+	coprocessing? (
+		dev-python/PyQt5
+		dev-qt/qtgui:5[-gles2-only]
+	)
+	ffmpeg? ( media-video/ffmpeg )
+	mpi? ( virtual/mpi[cxx,romio] )
+	mysql? ( dev-db/mysql-connector-c )
+	offscreen? ( >=media-libs/mesa-18.3.6[osmesa] )
+	!offscreen? ( virtual/opengl )
+	python? (
+		${PYTHON_DEPS}
+		$(python_gen_cond_dep '
+			dev-python/constantly[${PYTHON_MULTI_USEDEP}]
+			dev-python/incremental[${PYTHON_MULTI_USEDEP}]
+			dev-python/matplotlib[${PYTHON_MULTI_USEDEP}]
+			dev-python/numpy[${PYTHON_MULTI_USEDEP}]
+			dev-python/pygments[${PYTHON_MULTI_USEDEP}]
+			dev-python/sip[${PYTHON_MULTI_USEDEP}]
+			dev-python/six[${PYTHON_MULTI_USEDEP}]
+			dev-python/twisted[${PYTHON_MULTI_USEDEP}]
+			dev-python/zope-interface[${PYTHON_MULTI_USEDEP}]
+			mpi? ( dev-python/mpi4py )
+			qt5? ( dev-python/PyQt5[opengl,${PYTHON_MULTI_USEDEP}] )
+		')
+	)
+	qt5? (
+		dev-qt/designer:5
+		dev-qt/qtgui:5[-gles2-only]
+		dev-qt/qthelp:5
+		dev-qt/qtopengl:5[-gles2-only]
+		dev-qt/qtsql:5
+		dev-qt/qtsvg:5
+		dev-qt/qttest:5
+		dev-qt/qtx11extras:5
+		dev-qt/qtxmlpatterns:5
+	)
+	sqlite? ( dev-db/sqlite:3 )
+	tk? ( dev-lang/tk:0= )
+	webengine? ( dev-qt/qtwebengine:5[widgets] )"
+DEPEND="${RDEPEND}
+	${PYTHON_DEPS}
+	boost? (
+		$(python_gen_cond_dep '
+			dev-libs/boost[mpi?,${PYTHON_MULTI_USEDEP}]
+		')
+	)
+	doc? ( app-doc/doxygen )"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-4.0.1-xdmf-cstring.patch
+	"${FILESDIR}"/${PN}-5.3.0-fix_buildsystem.patch
+	"${FILESDIR}"/${PN}-5.5.0-allow_custom_build_type.patch
+)
+
+CMAKE_MAKEFILE_GENERATOR="emake" #579474
+
+pkg_setup() {
+	[[ ${MERGE_TYPE} != "binary" ]] && use openmp && tc-check-openmp
+	use python && python-single-r1_pkg_setup
+	PVLIBDIR=$(get_libdir)/${PN}-${MAJOR_PV}
+}
+
+src_prepare() {
+
+	# Bug #661812
+	mkdir -p Plugins/StreamLinesRepresentation/doc || die
+
+	cmake-utils_src_prepare
+
+	# lib64 fixes
+	sed -i \
+		-e "s:/lib/python:/$(get_libdir)/python:g" \
+		VTK/ThirdParty/xdmf3/vtkxdmf3/CMakeLists.txt || die
+	sed -i \
+		-e "s:lib/paraview-:$(get_libdir)/paraview-:g" \
+		Remoting/Application/vtkInitializationHelper.cxx || die
+}
+
+src_configure() {
+	if use qt5; then
+		export QT_SELECT=qt5
+	fi
+
+	local mycmakeargs=(
+		-DCMAKE_INSTALL_LIBDIR="${PVLIBDIR}"
+		-UBUILD_SHARED_LIBS
+		-DPARAVIEW_BUILD_SHARED_LIBS=ON
+		-DCMAKE_VERBOSE_MAKEFILE=ON
+
+		-DVTK_DEFAULT_RENDER_WINDOW_OFFSCREEN=TRUE
+
+		-DVTK_USE_OGGTHEORA_ENCODER=TRUE
+
+		-DVTK_GROUP_ENABLE_Imaging=YES
+		-DVTK_GROUP_ENABLE_Rendering=YES
+		-DVTK_GROUP_ENABLE_StandAlone=YES
+		-DVTK_GROUP_ENABLE_Views=YES
+
+		# boost
+		-DVTK_MODULE_ENABLE_VTK_IOInfovis="$(usex boost YES NO)"
+
+		# coprocessing
+#         -DVTK_MODULE_ENABLE_ParaView_Catalyst="$(usex coprocessing YES NO)"
+
+		# doc
+		-DPARAVIEW_BUILD_DEVELOPER_DOCUMENTATION="$(usex doc)"
+
+		# examples
+		-DBUILD_EXAMPLES="$(usex examples)"
+
+		# ffmpeg
+		-DPARAVIEW_ENABLE_FFMPEG="$(usex ffmpeg)"
+		-DVTK_USE_FFMPEG_ENCODER="$(usex ffmpeg)"
+
+		# mpi
+		-DPARAVIEW_USE_MPI="$(usex mpi)"
+		-DXDMF_BUILD_MPI="$(usex mpi)"
+		-DVTK_GROUP_ENABLE_MPI="$(usex mpi YES NO)"
+
+		# mysql
+		-DVTK_MODULE_ENABLE_VTK_IOMySQL="$(usex mysql YES NO)"
+
+		# offscreen
+		-DVTK_USE_X="$(usex !offscreen)"
+		-DVTK_OPENGL_HAS_OSMESA="$(usex offscreen)"
+		-DVTK_OPENGL_HAS_OSMESA="$(usex offscreen)"
+
+		# plugins
+		-DPARAVIEW_PLUGINS_DEFAULT="$(usex plugins)"
+
+		# python
+		-DModule_pqPython="$(usex python)"
+		-DPARAVIEW_USE_PYTHON="$(usex python)"
+
+		# qt5
+		-DPARAVIEW_INSTALL_DEVELOPMENT_FILES="$(usex development)"
+		-DPARAVIEW_USE_QT="$(usex qt5)"
+		-DModule_pqPython="$(usex qt5 "$(usex python)" "off")"
+		-DVTK_USE_NVCONTROL="$(usex nvcontrol)"
+		-DVTK_GROUP_ENABLE_Qt="$(usex qt5 YES NO)"
+
+		# sqlite
+		-DVTK_MODULE_ENABLE_VTK_sqlite="$(usex sqlite YES NO)"
+
+		# test
+		-DBUILD_TESTING="$(usex test)"
+
+		# tk
+		-DVTK_USE_TK="$(usex tk)"
+		-DVTK_GROUP_ENABLE_Tk="$(usex tk YES NO)"
+
+		# webengine
+		-DPARAVIEW_USE_QTWEBENGINE="$(usex webengine)"
+		-DVTK_GROUP_ENABLE_Web="$(usex webengine YES NO)"
+	)
+
+	if use openmp; then
+		mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE=OpenMP )
+	fi
+
+	if use qt5; then
+		mycmakeargs+=(
+			-DOPENGL_gl_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGL.so
+			-DOPENGL_glu_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGLU.so
+			-DQT_MOC_EXECUTABLE="$(qt5_get_bindir)/moc"
+		)
+	fi
+
+	cmake-utils_src_configure
+}
+
+src_install() {
+	cmake-utils_src_install
+
+		# remove wrapper binaries and put the actual executable in place
+		for i in {paraview-config,pvserver,pvdataserver,pvrenderserver,pvbatch,pvpython,paraview}; do
+			if [ -f "${ED}"/usr/lib/"$i" ]; then
+				mv "${ED}"/usr/lib/"$i" "${ED}"/usr/bin/"$i" || die
+			fi
+		done
+
+		# set up the environment
+		echo "LDPATH=${EPREFIX}/usr/${PVLIBDIR}" > "${T}"/40${PN} || die
+		doenvd "${T}"/40${PN}
+
+		newicon "${S}"/Clients/ParaView/pvIcon-96x96.png paraview.png
+		make_desktop_entry paraview "Paraview" paraview
+
+		use python && python_optimize "${D}"/usr/$(get_libdir)/${PN}-${MAJOR_PV}
+	}
+
+	pkg_postinst() {
+		xdg_icon_cache_update
+	}
+
+	pkg_postrm() {
+		xdg_icon_cache_update
+	}


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2020-09-11 14:52 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2020-09-11 14:52 UTC (permalink / raw
  To: gentoo-commits

commit:     12f1123e54d373c3ecd091c609a347fe4a5b5aa9
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 11 14:07:56 2020 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Fri Sep 11 14:50:32 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12f1123e

sci-visualization/paraview: add missing dependency

Closes: https://bugs.gentoo.org/717964
Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 sci-visualization/paraview/paraview-5.8.0-r3.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sci-visualization/paraview/paraview-5.8.0-r3.ebuild b/sci-visualization/paraview/paraview-5.8.0-r3.ebuild
index ed78dca4764..c0ed9ef07d4 100644
--- a/sci-visualization/paraview/paraview-5.8.0-r3.ebuild
+++ b/sci-visualization/paraview/paraview-5.8.0-r3.ebuild
@@ -83,6 +83,7 @@ RDEPEND="
 		dev-qt/qthelp:5
 		dev-qt/qtopengl:5[-gles2-only]
 		dev-qt/qtsql:5
+		dev-qt/qtsvg:5
 		dev-qt/qttest:5
 		dev-qt/qtx11extras:5
 		dev-qt/qtxmlpatterns:5


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2020-11-25 14:50 Andreas Sturmlechner
  0 siblings, 0 replies; 89+ messages in thread
From: Andreas Sturmlechner @ 2020-11-25 14:50 UTC (permalink / raw
  To: gentoo-commits

commit:     54969ccfb580383e86b62f13fc9b1e4b27d24663
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 25 14:48:07 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Nov 25 14:48:55 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54969ccf

sci-visualization/paraview: Re-apply fix build with Qt 5.15 to 5.8.1

Closes: https://bugs.gentoo.org/729348
Tested-by: Olivier Huber <oli.huber <AT> gmail.com>
Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sci-visualization/paraview/paraview-5.8.1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sci-visualization/paraview/paraview-5.8.1.ebuild b/sci-visualization/paraview/paraview-5.8.1.ebuild
index fec2161a4d1..ac96e633bf9 100644
--- a/sci-visualization/paraview/paraview-5.8.1.ebuild
+++ b/sci-visualization/paraview/paraview-5.8.1.ebuild
@@ -106,6 +106,7 @@ PATCHES=(
 	"${FILESDIR}"/${PN}-4.0.1-xdmf-cstring.patch
 	"${FILESDIR}"/${PN}-5.3.0-fix_buildsystem.patch
 	"${FILESDIR}"/${PN}-5.5.0-allow_custom_build_type.patch
+	"${FILESDIR}"/${PN}-5.8.0-w-vtk-8.2.0-qt-5.15.patch # bug 729348
 )
 
 CMAKE_MAKEFILE_GENERATOR="emake" #579474


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2020-11-25 15:10 Andreas Sturmlechner
  0 siblings, 0 replies; 89+ messages in thread
From: Andreas Sturmlechner @ 2020-11-25 15:10 UTC (permalink / raw
  To: gentoo-commits

commit:     e699f4564d0e6276fc8446410fcbacf9ad9f1ced
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 25 15:09:02 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Nov 25 15:10:14 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e699f456

sci-visualization/paraview: Redo gnome2-utils -> xdg-utils eclass use

Change was lost in commit 4d8cfcc3f0e5925bb40fc55ed9fb4dadb89b3c3f

Bug: https://bugs.gentoo.org/729348
Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sci-visualization/paraview/paraview-5.8.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-visualization/paraview/paraview-5.8.1.ebuild b/sci-visualization/paraview/paraview-5.8.1.ebuild
index ac96e633bf9..27691bf13aa 100644
--- a/sci-visualization/paraview/paraview-5.8.1.ebuild
+++ b/sci-visualization/paraview/paraview-5.8.1.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 PYTHON_COMPAT=( python3_{6,7,8} )
-inherit cmake-utils desktop gnome2-utils python-single-r1 qmake-utils toolchain-funcs
+inherit cmake-utils desktop python-single-r1 qmake-utils toolchain-funcs xdg-utils
 
 MAIN_PV=$(ver_cut 0-1)
 MAJOR_PV=$(ver_cut 1-2)
@@ -15,8 +15,8 @@ HOMEPAGE="https://www.paraview.org"
 SRC_URI="https://www.paraview.org/files/v${MAJOR_PV}/${MY_P}.tar.xz"
 
 LICENSE="paraview GPL-2"
-KEYWORDS="~amd64 ~x86"
 SLOT="0"
+KEYWORDS="~amd64 ~x86"
 IUSE="boost cg coprocessing development doc examples ffmpeg mpi mysql nvcontrol openmp offscreen plugins python +qt5 +sqlite test tk +webengine"
 
 RESTRICT="mirror test"


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2020-11-25 16:10 Andreas Sturmlechner
  0 siblings, 0 replies; 89+ messages in thread
From: Andreas Sturmlechner @ 2020-11-25 16:10 UTC (permalink / raw
  To: gentoo-commits

commit:     ce16b0c7816dd71057e0e3e54977fcf4ad0a0b17
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 25 15:14:32 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Nov 25 16:10:40 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce16b0c7

sci-visualization/paraview: Fix indendation

Bug: https://bugs.gentoo.org/729348
Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sci-visualization/paraview/paraview-5.8.1.ebuild | 39 ++++++++++++------------
 1 file changed, 19 insertions(+), 20 deletions(-)

diff --git a/sci-visualization/paraview/paraview-5.8.1.ebuild b/sci-visualization/paraview/paraview-5.8.1.ebuild
index 3d887b2c0f0..0c330c28fba 100644
--- a/sci-visualization/paraview/paraview-5.8.1.ebuild
+++ b/sci-visualization/paraview/paraview-5.8.1.ebuild
@@ -118,7 +118,6 @@ pkg_setup() {
 }
 
 src_prepare() {
-
 	# Bug #661812
 	mkdir -p Plugins/StreamLinesRepresentation/doc || die
 
@@ -229,27 +228,27 @@ src_configure() {
 src_install() {
 	cmake_src_install
 
-		# remove wrapper binaries and put the actual executable in place
-		for i in {paraview-config,pvserver,pvdataserver,pvrenderserver,pvbatch,pvpython,paraview}; do
-			if [ -f "${ED}"/usr/lib/"$i" ]; then
-				mv "${ED}"/usr/lib/"$i" "${ED}"/usr/bin/"$i" || die
-			fi
-		done
+	# remove wrapper binaries and put the actual executable in place
+	for i in {paraview-config,pvserver,pvdataserver,pvrenderserver,pvbatch,pvpython,paraview}; do
+		if [ -f "${ED}"/usr/lib/"$i" ]; then
+			mv "${ED}"/usr/lib/"$i" "${ED}"/usr/bin/"$i" || die
+		fi
+	done
 
-		# set up the environment
-		echo "LDPATH=${EPREFIX}/usr/${PVLIBDIR}" > "${T}"/40${PN} || die
-		doenvd "${T}"/40${PN}
+	# set up the environment
+	echo "LDPATH=${EPREFIX}/usr/${PVLIBDIR}" > "${T}"/40${PN} || die
+	doenvd "${T}"/40${PN}
 
-		newicon "${S}"/Clients/ParaView/pvIcon-96x96.png paraview.png
-		make_desktop_entry paraview "Paraview" paraview
+	newicon "${S}"/Clients/ParaView/pvIcon-96x96.png paraview.png
+	make_desktop_entry paraview "Paraview" paraview
 
-		use python && python_optimize "${D}"/usr/$(get_libdir)/${PN}-${MAJOR_PV}
-	}
+	use python && python_optimize "${D}"/usr/$(get_libdir)/${PN}-${MAJOR_PV}
+}
 
-	pkg_postinst() {
-		xdg_icon_cache_update
-	}
+pkg_postinst() {
+	xdg_icon_cache_update
+}
 
-	pkg_postrm() {
-		xdg_icon_cache_update
-	}
+pkg_postrm() {
+	xdg_icon_cache_update
+}


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2020-11-25 16:10 Andreas Sturmlechner
  0 siblings, 0 replies; 89+ messages in thread
From: Andreas Sturmlechner @ 2020-11-25 16:10 UTC (permalink / raw
  To: gentoo-commits

commit:     88bbc8742bad4fa0f77a3c1de555a72ca24ceaca
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 25 15:21:20 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Nov 25 16:10:40 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88bbc874

sci-visualization/paraview: Drop CMAKE_MAKEFILE_GENERATOR="emake"

Package built fine and bug reference did not make sense.

Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sci-visualization/paraview/paraview-5.8.1.ebuild | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sci-visualization/paraview/paraview-5.8.1.ebuild b/sci-visualization/paraview/paraview-5.8.1.ebuild
index 0c330c28fba..7592f9d169a 100644
--- a/sci-visualization/paraview/paraview-5.8.1.ebuild
+++ b/sci-visualization/paraview/paraview-5.8.1.ebuild
@@ -109,8 +109,6 @@ PATCHES=(
 	"${FILESDIR}"/${PN}-5.8.0-w-vtk-8.2.0-qt-5.15.patch # bug 729348
 )
 
-CMAKE_MAKEFILE_GENERATOR="emake" #579474
-
 pkg_setup() {
 	[[ ${MERGE_TYPE} != "binary" ]] && use openmp && tc-check-openmp
 	use python && python-single-r1_pkg_setup


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2020-11-25 16:10 Andreas Sturmlechner
  0 siblings, 0 replies; 89+ messages in thread
From: Andreas Sturmlechner @ 2020-11-25 16:10 UTC (permalink / raw
  To: gentoo-commits

commit:     4a62383a86fb539d35f0227d78239169ad3d5972
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 25 15:13:49 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Nov 25 16:10:40 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a62383a

sci-visualization/paraview: cmake-utils -> cmake

Bug: https://bugs.gentoo.org/729348
Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sci-visualization/paraview/paraview-5.8.1.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sci-visualization/paraview/paraview-5.8.1.ebuild b/sci-visualization/paraview/paraview-5.8.1.ebuild
index 27691bf13aa..3d887b2c0f0 100644
--- a/sci-visualization/paraview/paraview-5.8.1.ebuild
+++ b/sci-visualization/paraview/paraview-5.8.1.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 PYTHON_COMPAT=( python3_{6,7,8} )
-inherit cmake-utils desktop python-single-r1 qmake-utils toolchain-funcs xdg-utils
+inherit cmake desktop python-single-r1 qmake-utils toolchain-funcs xdg-utils
 
 MAIN_PV=$(ver_cut 0-1)
 MAJOR_PV=$(ver_cut 1-2)
@@ -122,7 +122,7 @@ src_prepare() {
 	# Bug #661812
 	mkdir -p Plugins/StreamLinesRepresentation/doc || die
 
-	cmake-utils_src_prepare
+	cmake_src_prepare
 
 	# lib64 fixes
 	sed -i \
@@ -223,11 +223,11 @@ src_configure() {
 		)
 	fi
 
-	cmake-utils_src_configure
+	cmake_src_configure
 }
 
 src_install() {
-	cmake-utils_src_install
+	cmake_src_install
 
 		# remove wrapper binaries and put the actual executable in place
 		for i in {paraview-config,pvserver,pvdataserver,pvrenderserver,pvbatch,pvpython,paraview}; do


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2020-11-25 16:24 Andreas Sturmlechner
  0 siblings, 0 replies; 89+ messages in thread
From: Andreas Sturmlechner @ 2020-11-25 16:24 UTC (permalink / raw
  To: gentoo-commits

commit:     ea0422d2924f06264e4e69e7df0c5e4fe266bd4e
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 25 16:12:07 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Nov 25 16:24:11 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea0422d2

sci-visualization/paraview: Really drop QT_SELECT this time

Closes: https://bugs.gentoo.org/755977
Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sci-visualization/paraview/paraview-5.8.1.ebuild | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/sci-visualization/paraview/paraview-5.8.1.ebuild b/sci-visualization/paraview/paraview-5.8.1.ebuild
index d647fcf19ce..21cee95dc06 100644
--- a/sci-visualization/paraview/paraview-5.8.1.ebuild
+++ b/sci-visualization/paraview/paraview-5.8.1.ebuild
@@ -132,10 +132,6 @@ src_prepare() {
 }
 
 src_configure() {
-	if use qt5; then
-		export QT_SELECT=qt5
-	fi
-
 	local mycmakeargs=(
 		-DCMAKE_INSTALL_LIBDIR="${PVLIBDIR}"
 		-UBUILD_SHARED_LIBS


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2021-01-20 10:16 David Seifert
  0 siblings, 0 replies; 89+ messages in thread
From: David Seifert @ 2021-01-20 10:16 UTC (permalink / raw
  To: gentoo-commits

commit:     c4d86b17d04fbad9f826c186a6a4075081ca82dd
Author:     Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Wed Jan 20 10:16:22 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Wed Jan 20 10:16:22 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4d86b17

sci-visualization/paraview: Remove old

Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sci-visualization/paraview/Manifest                |   1 -
 .../paraview/paraview-5.8.0-r3.ebuild              | 255 ---------------------
 2 files changed, 256 deletions(-)

diff --git a/sci-visualization/paraview/Manifest b/sci-visualization/paraview/Manifest
index b26081a4c46..121ce2a8317 100644
--- a/sci-visualization/paraview/Manifest
+++ b/sci-visualization/paraview/Manifest
@@ -1,2 +1 @@
-DIST ParaView-v5.8.0.tar.xz 49789116 BLAKE2B 25689220f506221731bb5a56c647c249df0de8654a4b3347a7c09067bb5755818597bd7cfff88c2d129f448189b107079995c93599d482f7bf8b4cc6c7430e72 SHA512 43304d62c3f55bc390e68c033fb4c7dc2c0789d0dadbb98ef734b7d9de0419af4c240ce94f36e2b52c939ac950fba1d70dbd9fc3a1e6da37c7ef847b5c8682a2
 DIST ParaView-v5.8.1.tar.xz 49822084 BLAKE2B 1b99392a85c19fdc02f8f9f0f055fb7efd8a0b17eedfd84005d1af9b170c34ec4eedb25700f91c3a2241ee80e271fe1e744e3a729b7726deb8f9c7a9fd2e4191 SHA512 94861c01da2f98c47e7453d072a4de34a7f52f5df280a8745b44d58d8d6a1dba42a15d0bac31895bbe25f23d993d4d356e5af1f8415137e289afd60570070248

diff --git a/sci-visualization/paraview/paraview-5.8.0-r3.ebuild b/sci-visualization/paraview/paraview-5.8.0-r3.ebuild
deleted file mode 100644
index c0ed9ef07d4..00000000000
--- a/sci-visualization/paraview/paraview-5.8.0-r3.ebuild
+++ /dev/null
@@ -1,255 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7,8} )
-inherit cmake-utils desktop gnome2-utils python-single-r1 qmake-utils toolchain-funcs
-
-MAIN_PV=$(ver_cut 0-1)
-MAJOR_PV=$(ver_cut 1-2)
-MY_P="ParaView-v${PV}"
-
-DESCRIPTION="Powerful scientific data visualization application"
-HOMEPAGE="https://www.paraview.org"
-SRC_URI="https://www.paraview.org/files/v${MAJOR_PV}/${MY_P}.tar.xz"
-
-LICENSE="paraview GPL-2"
-KEYWORDS="~amd64 ~x86"
-SLOT="0"
-IUSE="boost cg coprocessing development doc examples ffmpeg mpi mysql nvcontrol openmp offscreen plugins python +qt5 +sqlite test tk +webengine"
-
-RESTRICT="mirror test"
-
-# "vtksqlite, needed by vtkIOSQL" and "vtkIOSQL, needed by vtkIOMySQL"
-REQUIRED_USE="
-	python? ( mpi ${PYTHON_REQUIRED_USE} )
-	mysql? ( sqlite )
-	webengine? ( qt5 )
-	qt5? ( sqlite )
-	?? ( offscreen qt5 )"
-
-RDEPEND="
-	app-arch/lz4
-	dev-libs/expat
-	dev-libs/jsoncpp:=
-	dev-libs/libxml2:2
-	dev-libs/protobuf:=
-	dev-libs/pugixml
-	media-libs/freetype
-	media-libs/glew:0
-	media-libs/libpng:0
-	media-libs/libtheora
-	media-libs/tiff:0=
-	sci-libs/cgnslib
-	sci-libs/hdf5:=[mpi=]
-	>=sci-libs/netcdf-4.2[hdf5]
-	>=sci-libs/netcdf-cxx-4.2:3
-	sys-libs/zlib
-	virtual/glu
-	virtual/jpeg:0
-	x11-libs/libX11
-	x11-libs/libXext
-	x11-libs/libXmu
-	x11-libs/libXt
-	coprocessing? (
-		dev-python/PyQt5
-		dev-qt/qtgui:5[-gles2-only]
-	)
-	ffmpeg? ( media-video/ffmpeg )
-	mpi? ( virtual/mpi[cxx,romio] )
-	mysql? ( dev-db/mysql-connector-c )
-	offscreen? ( >=media-libs/mesa-18.3.6[osmesa] )
-	!offscreen? ( virtual/opengl )
-	python? (
-		${PYTHON_DEPS}
-		$(python_gen_cond_dep '
-			dev-python/constantly[${PYTHON_MULTI_USEDEP}]
-			dev-python/incremental[${PYTHON_MULTI_USEDEP}]
-			dev-python/matplotlib[${PYTHON_MULTI_USEDEP}]
-			dev-python/numpy[${PYTHON_MULTI_USEDEP}]
-			dev-python/pygments[${PYTHON_MULTI_USEDEP}]
-			dev-python/sip[${PYTHON_MULTI_USEDEP}]
-			dev-python/six[${PYTHON_MULTI_USEDEP}]
-			dev-python/twisted[${PYTHON_MULTI_USEDEP}]
-			dev-python/zope-interface[${PYTHON_MULTI_USEDEP}]
-			mpi? ( dev-python/mpi4py )
-			qt5? ( dev-python/PyQt5[opengl,${PYTHON_MULTI_USEDEP}] )
-		')
-	)
-	qt5? (
-		dev-qt/designer:5
-		dev-qt/qtgui:5[-gles2-only]
-		dev-qt/qthelp:5
-		dev-qt/qtopengl:5[-gles2-only]
-		dev-qt/qtsql:5
-		dev-qt/qtsvg:5
-		dev-qt/qttest:5
-		dev-qt/qtx11extras:5
-		dev-qt/qtxmlpatterns:5
-	)
-	sqlite? ( dev-db/sqlite:3 )
-	tk? ( dev-lang/tk:0= )
-	webengine? ( dev-qt/qtwebengine:5[widgets] )"
-DEPEND="${RDEPEND}
-	${PYTHON_DEPS}
-	boost? (
-		$(python_gen_cond_dep '
-			dev-libs/boost[mpi?,${PYTHON_MULTI_USEDEP}]
-		')
-	)
-	doc? ( app-doc/doxygen )"
-
-S="${WORKDIR}/${MY_P}"
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-4.0.1-xdmf-cstring.patch
-	"${FILESDIR}"/${PN}-5.3.0-fix_buildsystem.patch
-	"${FILESDIR}"/${PN}-5.5.0-allow_custom_build_type.patch
-	"${FILESDIR}"/${P}-w-vtk-8.2.0-qt-5.15.patch
-)
-
-CMAKE_MAKEFILE_GENERATOR="emake" #579474
-
-pkg_setup() {
-	[[ ${MERGE_TYPE} != "binary" ]] && use openmp && tc-check-openmp
-	use python && python-single-r1_pkg_setup
-	PVLIBDIR=$(get_libdir)/${PN}-${MAJOR_PV}
-}
-
-src_prepare() {
-
-	# Bug #661812
-	mkdir -p Plugins/StreamLinesRepresentation/doc || die
-
-	cmake-utils_src_prepare
-
-	# lib64 fixes
-	sed -i \
-		-e "s:/lib/python:/$(get_libdir)/python:g" \
-		VTK/ThirdParty/xdmf3/vtkxdmf3/CMakeLists.txt || die
-	sed -i \
-		-e "s:lib/paraview-:$(get_libdir)/paraview-:g" \
-		Remoting/Application/vtkInitializationHelper.cxx || die
-}
-
-src_configure() {
-	if use qt5; then
-		export QT_SELECT=qt5
-	fi
-
-	local mycmakeargs=(
-		-DCMAKE_INSTALL_LIBDIR="${PVLIBDIR}"
-		-UBUILD_SHARED_LIBS
-		-DPARAVIEW_BUILD_SHARED_LIBS=ON
-		-DCMAKE_VERBOSE_MAKEFILE=ON
-
-		-DVTK_DEFAULT_RENDER_WINDOW_OFFSCREEN=TRUE
-
-		-DVTK_USE_OGGTHEORA_ENCODER=TRUE
-
-		-DVTK_GROUP_ENABLE_Imaging=YES
-		-DVTK_GROUP_ENABLE_Rendering=YES
-		-DVTK_GROUP_ENABLE_StandAlone=YES
-		-DVTK_GROUP_ENABLE_Views=YES
-
-		# boost
-		-DVTK_MODULE_ENABLE_VTK_IOInfovis="$(usex boost YES NO)"
-
-		# coprocessing
-#         -DVTK_MODULE_ENABLE_ParaView_Catalyst="$(usex coprocessing YES NO)"
-
-		# doc
-		-DPARAVIEW_BUILD_DEVELOPER_DOCUMENTATION="$(usex doc)"
-
-		# examples
-		-DBUILD_EXAMPLES="$(usex examples)"
-
-		# ffmpeg
-		-DPARAVIEW_ENABLE_FFMPEG="$(usex ffmpeg)"
-		-DVTK_USE_FFMPEG_ENCODER="$(usex ffmpeg)"
-
-		# mpi
-		-DPARAVIEW_USE_MPI="$(usex mpi)"
-		-DXDMF_BUILD_MPI="$(usex mpi)"
-		-DVTK_GROUP_ENABLE_MPI="$(usex mpi YES NO)"
-
-		# mysql
-		-DVTK_MODULE_ENABLE_VTK_IOMySQL="$(usex mysql YES NO)"
-
-		# offscreen
-		-DVTK_USE_X="$(usex !offscreen)"
-		-DVTK_OPENGL_HAS_OSMESA="$(usex offscreen)"
-		-DVTK_OPENGL_HAS_OSMESA="$(usex offscreen)"
-
-		# plugins
-		-DPARAVIEW_PLUGINS_DEFAULT="$(usex plugins)"
-
-		# python
-		-DModule_pqPython="$(usex python)"
-		-DPARAVIEW_USE_PYTHON="$(usex python)"
-
-		# qt5
-		-DPARAVIEW_INSTALL_DEVELOPMENT_FILES="$(usex development)"
-		-DPARAVIEW_USE_QT="$(usex qt5)"
-		-DModule_pqPython="$(usex qt5 "$(usex python)" "off")"
-		-DVTK_USE_NVCONTROL="$(usex nvcontrol)"
-		-DVTK_GROUP_ENABLE_Qt="$(usex qt5 YES NO)"
-
-		# sqlite
-		-DVTK_MODULE_ENABLE_VTK_sqlite="$(usex sqlite YES NO)"
-
-		# test
-		-DBUILD_TESTING="$(usex test)"
-
-		# tk
-		-DVTK_USE_TK="$(usex tk)"
-		-DVTK_GROUP_ENABLE_Tk="$(usex tk YES NO)"
-
-		# webengine
-		-DPARAVIEW_USE_QTWEBENGINE="$(usex webengine)"
-		-DVTK_GROUP_ENABLE_Web="$(usex webengine YES NO)"
-	)
-
-	if use openmp; then
-		mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE=OpenMP )
-	fi
-
-	if use qt5; then
-		mycmakeargs+=(
-			-DOPENGL_gl_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGL.so
-			-DOPENGL_glu_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGLU.so
-			-DQT_MOC_EXECUTABLE="$(qt5_get_bindir)/moc"
-		)
-	fi
-
-	cmake-utils_src_configure
-}
-
-src_install() {
-	cmake-utils_src_install
-
-		# remove wrapper binaries and put the actual executable in place
-		for i in {paraview-config,pvserver,pvdataserver,pvrenderserver,pvbatch,pvpython,paraview}; do
-			if [ -f "${ED}"/usr/lib/"$i" ]; then
-				mv "${ED}"/usr/lib/"$i" "${ED}"/usr/bin/"$i" || die
-			fi
-		done
-
-		# set up the environment
-		echo "LDPATH=${EPREFIX}/usr/${PVLIBDIR}" > "${T}"/40${PN} || die
-		doenvd "${T}"/40${PN}
-
-		newicon "${S}"/Clients/ParaView/pvIcon-96x96.png paraview.png
-		make_desktop_entry paraview "Paraview" paraview
-
-		use python && python_optimize "${D}"/usr/$(get_libdir)/${PN}-${MAJOR_PV}
-	}
-
-	pkg_postinst() {
-		xdg_icon_cache_update
-	}
-
-	pkg_postrm() {
-		xdg_icon_cache_update
-	}


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2021-03-14  2:33 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2021-03-14  2:33 UTC (permalink / raw
  To: gentoo-commits

commit:     d75c85444604f726353b76942980b3310731bc03
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 14 00:57:05 2021 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Sun Mar 14 02:33:30 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d75c8544

sci-visualization/paraview: version bump to 5.9.0

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 sci-visualization/paraview/Manifest              |   1 +
 sci-visualization/paraview/paraview-5.9.0.ebuild | 247 +++++++++++++++++++++++
 2 files changed, 248 insertions(+)

diff --git a/sci-visualization/paraview/Manifest b/sci-visualization/paraview/Manifest
index 121ce2a8317..66ce1495ae5 100644
--- a/sci-visualization/paraview/Manifest
+++ b/sci-visualization/paraview/Manifest
@@ -1 +1,2 @@
 DIST ParaView-v5.8.1.tar.xz 49822084 BLAKE2B 1b99392a85c19fdc02f8f9f0f055fb7efd8a0b17eedfd84005d1af9b170c34ec4eedb25700f91c3a2241ee80e271fe1e744e3a729b7726deb8f9c7a9fd2e4191 SHA512 94861c01da2f98c47e7453d072a4de34a7f52f5df280a8745b44d58d8d6a1dba42a15d0bac31895bbe25f23d993d4d356e5af1f8415137e289afd60570070248
+DIST ParaView-v5.9.0.tar.xz 62784788 BLAKE2B f07bfce50304b2bfba0de4ba3127d686cf4c32633f8c707fbb2d93c19685f7e8a119ba211e27c29b986ca5b22afab4f57c273077a1c0a7ab0abefa55c8874e28 SHA512 44d93b49449262aa3f068aa990419415c3197916a002555d914efc407ed7ccd57b15b829f0fe711afee780e5e63fb1bd072175fc382f3afd36daecc541c382d5

diff --git a/sci-visualization/paraview/paraview-5.9.0.ebuild b/sci-visualization/paraview/paraview-5.9.0.ebuild
new file mode 100644
index 00000000000..25e6990f5b5
--- /dev/null
+++ b/sci-visualization/paraview/paraview-5.9.0.ebuild
@@ -0,0 +1,247 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8} )
+inherit cmake desktop python-single-r1 qmake-utils toolchain-funcs xdg-utils
+
+MAIN_PV=$(ver_cut 0-1)
+MAJOR_PV=$(ver_cut 1-2)
+MY_P="ParaView-v${PV}"
+
+DESCRIPTION="Powerful scientific data visualization application"
+HOMEPAGE="https://www.paraview.org"
+SRC_URI="https://www.paraview.org/files/v${MAJOR_PV}/${MY_P}.tar.xz"
+
+LICENSE="paraview GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="boost cg coprocessing development doc examples ffmpeg mpi mysql nvcontrol openmp offscreen plugins python +qt5 +sqlite test tk +webengine"
+
+RESTRICT="mirror test"
+
+# "vtksqlite, needed by vtkIOSQL" and "vtkIOSQL, needed by vtkIOMySQL"
+REQUIRED_USE="
+	python? ( mpi ${PYTHON_REQUIRED_USE} )
+	mysql? ( sqlite )
+	webengine? ( qt5 )
+	qt5? ( sqlite )
+	?? ( offscreen qt5 )"
+
+RDEPEND="
+	app-arch/lz4
+	dev-libs/expat
+	dev-libs/jsoncpp:=
+	dev-libs/libxml2:2
+	dev-libs/protobuf:=
+	dev-libs/pugixml
+	media-libs/freetype
+	media-libs/glew:0
+	media-libs/libpng:0
+	media-libs/libtheora
+	media-libs/tiff:0=
+	sci-libs/cgnslib
+	sci-libs/hdf5:=[mpi=]
+	>=sci-libs/netcdf-4.2[hdf5]
+	>=sci-libs/netcdf-cxx-4.2:3
+	sys-libs/zlib
+	virtual/glu
+	virtual/jpeg:0
+	x11-libs/libX11
+	x11-libs/libXext
+	x11-libs/libXmu
+	x11-libs/libXt
+	coprocessing? (
+		dev-python/PyQt5
+		dev-qt/qtgui:5[-gles2-only]
+	)
+	ffmpeg? ( media-video/ffmpeg )
+	mpi? ( virtual/mpi[cxx,romio] )
+	mysql? ( dev-db/mysql-connector-c )
+	offscreen? ( >=media-libs/mesa-18.3.6[osmesa] )
+	!offscreen? ( virtual/opengl )
+	python? (
+		${PYTHON_DEPS}
+		$(python_gen_cond_dep '
+			dev-python/constantly[${PYTHON_MULTI_USEDEP}]
+			dev-python/incremental[${PYTHON_MULTI_USEDEP}]
+			dev-python/matplotlib[${PYTHON_MULTI_USEDEP}]
+			dev-python/numpy[${PYTHON_MULTI_USEDEP}]
+			dev-python/pygments[${PYTHON_MULTI_USEDEP}]
+			dev-python/sip[${PYTHON_MULTI_USEDEP}]
+			dev-python/six[${PYTHON_MULTI_USEDEP}]
+			dev-python/twisted[${PYTHON_MULTI_USEDEP}]
+			dev-python/zope-interface[${PYTHON_MULTI_USEDEP}]
+			mpi? ( dev-python/mpi4py )
+			qt5? ( dev-python/PyQt5[opengl,${PYTHON_MULTI_USEDEP}] )
+		')
+	)
+	qt5? (
+		dev-qt/designer:5
+		dev-qt/qtgui:5[-gles2-only]
+		dev-qt/qthelp:5
+		dev-qt/qtopengl:5[-gles2-only]
+		dev-qt/qtsql:5
+		dev-qt/qtsvg:5
+		dev-qt/qttest:5
+		dev-qt/qtx11extras:5
+		dev-qt/qtxmlpatterns:5
+	)
+	sqlite? ( dev-db/sqlite:3 )
+	tk? ( dev-lang/tk:0= )
+	webengine? ( dev-qt/qtwebengine:5[widgets] )"
+DEPEND="${RDEPEND}
+	${PYTHON_DEPS}
+	boost? (
+		$(python_gen_cond_dep '
+			dev-libs/boost[mpi?,${PYTHON_MULTI_USEDEP}]
+		')
+	)
+	doc? ( app-doc/doxygen )"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-4.0.1-xdmf-cstring.patch
+	"${FILESDIR}"/${PN}-5.5.0-allow_custom_build_type.patch
+)
+
+pkg_setup() {
+	[[ ${MERGE_TYPE} != "binary" ]] && use openmp && tc-check-openmp
+	use python && python-single-r1_pkg_setup
+	PVLIBDIR=$(get_libdir)/${PN}-${MAJOR_PV}
+}
+
+src_prepare() {
+	# Bug #661812
+	mkdir -p Plugins/StreamLinesRepresentation/doc || die
+
+	cmake_src_prepare
+
+	# lib64 fixes
+	sed -i \
+		-e "s:/lib/python:/$(get_libdir)/python:g" \
+		VTK/ThirdParty/xdmf3/vtkxdmf3/CMakeLists.txt || die
+	sed -i \
+		-e "s:lib/paraview-:$(get_libdir)/paraview-:g" \
+		Remoting/Application/vtkInitializationHelper.cxx || die
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DCMAKE_INSTALL_LIBDIR="${PVLIBDIR}"
+		-UBUILD_SHARED_LIBS
+		-DPARAVIEW_BUILD_SHARED_LIBS=ON
+		-DCMAKE_VERBOSE_MAKEFILE=ON
+
+		-DVTK_DEFAULT_RENDER_WINDOW_OFFSCREEN=TRUE
+
+		-DVTK_USE_OGGTHEORA_ENCODER=TRUE
+
+		-DVTK_GROUP_ENABLE_Imaging=YES
+		-DVTK_GROUP_ENABLE_Rendering=YES
+		-DVTK_GROUP_ENABLE_StandAlone=YES
+		-DVTK_GROUP_ENABLE_Views=YES
+
+		# boost
+		-DVTK_MODULE_ENABLE_VTK_IOInfovis="$(usex boost YES NO)"
+
+		# coprocessing
+		-DVTK_MODULE_ENABLE_ParaView_Catalyst="$(usex coprocessing YES NO)"
+
+		# doc
+		-DPARAVIEW_BUILD_DEVELOPER_DOCUMENTATION="$(usex doc)"
+
+		# examples
+		-DBUILD_EXAMPLES="$(usex examples)"
+
+		# ffmpeg
+		-DPARAVIEW_ENABLE_FFMPEG="$(usex ffmpeg)"
+		-DVTK_USE_FFMPEG_ENCODER="$(usex ffmpeg)"
+
+		# mpi
+		-DPARAVIEW_USE_MPI="$(usex mpi)"
+		-DXDMF_BUILD_MPI="$(usex mpi)"
+		-DVTK_GROUP_ENABLE_MPI="$(usex mpi YES NO)"
+
+		# mysql
+		-DVTK_MODULE_ENABLE_VTK_IOMySQL="$(usex mysql YES NO)"
+
+		# offscreen
+		-DVTK_USE_X="$(usex !offscreen)"
+		-DVTK_OPENGL_HAS_OSMESA="$(usex offscreen)"
+		-DVTK_OPENGL_HAS_OSMESA="$(usex offscreen)"
+
+		# plugins
+		-DPARAVIEW_PLUGINS_DEFAULT="$(usex plugins)"
+
+		# python
+		-DModule_pqPython="$(usex python)"
+		-DPARAVIEW_USE_PYTHON="$(usex python)"
+
+		# qt5
+		-DPARAVIEW_INSTALL_DEVELOPMENT_FILES="$(usex development)"
+		-DPARAVIEW_USE_QT="$(usex qt5)"
+		-DModule_pqPython="$(usex qt5 "$(usex python)" "off")"
+		-DVTK_USE_NVCONTROL="$(usex nvcontrol)"
+		-DVTK_GROUP_ENABLE_Qt="$(usex qt5 YES NO)"
+
+		# sqlite
+		-DVTK_MODULE_ENABLE_VTK_sqlite="$(usex sqlite YES NO)"
+
+		# test
+		-DBUILD_TESTING="$(usex test)"
+
+		# tk
+		-DVTK_USE_TK="$(usex tk)"
+		-DVTK_GROUP_ENABLE_Tk="$(usex tk YES NO)"
+
+		# webengine
+		-DPARAVIEW_USE_QTWEBENGINE="$(usex webengine)"
+		-DVTK_GROUP_ENABLE_Web="$(usex webengine YES NO)"
+	)
+
+	if use openmp; then
+		mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE=OpenMP )
+	fi
+
+	if use qt5; then
+		mycmakeargs+=(
+			-DOPENGL_gl_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGL.so
+			-DOPENGL_glu_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGLU.so
+			-DQT_MOC_EXECUTABLE="$(qt5_get_bindir)/moc"
+			-Dqt_xmlpatterns_executable="$(qt5_get_bindir)/xmlpatterns"
+		)
+	fi
+
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+
+	# remove wrapper binaries and put the actual executable in place
+	for i in {paraview-config,pvserver,pvdataserver,pvrenderserver,pvbatch,pvpython,paraview}; do
+		if [ -f "${ED}"/usr/lib/"$i" ]; then
+			mv "${ED}"/usr/lib/"$i" "${ED}"/usr/bin/"$i" || die
+		fi
+	done
+
+	# set up the environment
+	echo "LDPATH=${EPREFIX}/usr/${PVLIBDIR}" > "${T}"/40${PN} || die
+	doenvd "${T}"/40${PN}
+
+	newicon "${S}"/Clients/ParaView/pvIcon-96x96.png paraview.png
+	make_desktop_entry paraview "Paraview" paraview
+
+	use python && python_optimize "${D}"/usr/$(get_libdir)/${PN}-${MAJOR_PV}
+}
+
+pkg_postinst() {
+	xdg_icon_cache_update
+}
+
+pkg_postrm() {
+	xdg_icon_cache_update
+}


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2021-03-14  2:33 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2021-03-14  2:33 UTC (permalink / raw
  To: gentoo-commits

commit:     b195298086d280b2d45a328fd13bdbcaeda25d28
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 14 01:34:54 2021 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Sun Mar 14 02:33:40 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1952980

sci-visualization/paraview: maintenance

 - remove "coprocessing" USE flag, this had been rendered useless by a
   previous maintenance commit/version bump

 - remove "development" USE flag, we cannot build without

 - remove some seamingly superfluous configuration options

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 sci-visualization/paraview/paraview-5.9.0.ebuild | 24 +++++-------------------
 1 file changed, 5 insertions(+), 19 deletions(-)

diff --git a/sci-visualization/paraview/paraview-5.9.0.ebuild b/sci-visualization/paraview/paraview-5.9.0.ebuild
index 25e6990f5b5..826f9ea31de 100644
--- a/sci-visualization/paraview/paraview-5.9.0.ebuild
+++ b/sci-visualization/paraview/paraview-5.9.0.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://www.paraview.org/files/v${MAJOR_PV}/${MY_P}.tar.xz"
 LICENSE="paraview GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="boost cg coprocessing development doc examples ffmpeg mpi mysql nvcontrol openmp offscreen plugins python +qt5 +sqlite test tk +webengine"
+IUSE="boost cg doc examples ffmpeg mpi mysql nvcontrol openmp offscreen plugins python +qt5 +sqlite test tk +webengine"
 
 RESTRICT="mirror test"
 
@@ -29,6 +29,10 @@ REQUIRED_USE="
 	qt5? ( sqlite )
 	?? ( offscreen qt5 )"
 
+# TODO: Verify that these two are not needed any more for the catalyst
+# module:
+#  - dev-python/PyQt5
+#  - dev-qt/qtgui:5[-gles2-only]
 RDEPEND="
 	app-arch/lz4
 	dev-libs/expat
@@ -52,10 +56,6 @@ RDEPEND="
 	x11-libs/libXext
 	x11-libs/libXmu
 	x11-libs/libXt
-	coprocessing? (
-		dev-python/PyQt5
-		dev-qt/qtgui:5[-gles2-only]
-	)
 	ffmpeg? ( media-video/ffmpeg )
 	mpi? ( virtual/mpi[cxx,romio] )
 	mysql? ( dev-db/mysql-connector-c )
@@ -135,21 +135,9 @@ src_configure() {
 		-DPARAVIEW_BUILD_SHARED_LIBS=ON
 		-DCMAKE_VERBOSE_MAKEFILE=ON
 
-		-DVTK_DEFAULT_RENDER_WINDOW_OFFSCREEN=TRUE
-
-		-DVTK_USE_OGGTHEORA_ENCODER=TRUE
-
-		-DVTK_GROUP_ENABLE_Imaging=YES
-		-DVTK_GROUP_ENABLE_Rendering=YES
-		-DVTK_GROUP_ENABLE_StandAlone=YES
-		-DVTK_GROUP_ENABLE_Views=YES
-
 		# boost
 		-DVTK_MODULE_ENABLE_VTK_IOInfovis="$(usex boost YES NO)"
 
-		# coprocessing
-		-DVTK_MODULE_ENABLE_ParaView_Catalyst="$(usex coprocessing YES NO)"
-
 		# doc
 		-DPARAVIEW_BUILD_DEVELOPER_DOCUMENTATION="$(usex doc)"
 
@@ -169,7 +157,6 @@ src_configure() {
 		-DVTK_MODULE_ENABLE_VTK_IOMySQL="$(usex mysql YES NO)"
 
 		# offscreen
-		-DVTK_USE_X="$(usex !offscreen)"
 		-DVTK_OPENGL_HAS_OSMESA="$(usex offscreen)"
 		-DVTK_OPENGL_HAS_OSMESA="$(usex offscreen)"
 
@@ -181,7 +168,6 @@ src_configure() {
 		-DPARAVIEW_USE_PYTHON="$(usex python)"
 
 		# qt5
-		-DPARAVIEW_INSTALL_DEVELOPMENT_FILES="$(usex development)"
 		-DPARAVIEW_USE_QT="$(usex qt5)"
 		-DModule_pqPython="$(usex qt5 "$(usex python)" "off")"
 		-DVTK_USE_NVCONTROL="$(usex nvcontrol)"


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2021-06-02  7:11 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2021-06-02  7:11 UTC (permalink / raw
  To: gentoo-commits

commit:     f575bcc01d218307ca445f6594d77a1701ae5265
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Wed Jun  2 06:59:58 2021 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Wed Jun  2 07:11:37 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f575bcc0

sci-visualization/paraview: add python3_9

Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 sci-visualization/paraview/paraview-5.8.1.ebuild | 4 ++--
 sci-visualization/paraview/paraview-5.9.0.ebuild | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sci-visualization/paraview/paraview-5.8.1.ebuild b/sci-visualization/paraview/paraview-5.8.1.ebuild
index 4cdb8153c8c..6182669ef17 100644
--- a/sci-visualization/paraview/paraview-5.8.1.ebuild
+++ b/sci-visualization/paraview/paraview-5.8.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7,8,9} )
 inherit cmake desktop python-single-r1 qmake-utils toolchain-funcs xdg-utils
 
 MAIN_PV=$(ver_cut 0-1)

diff --git a/sci-visualization/paraview/paraview-5.9.0.ebuild b/sci-visualization/paraview/paraview-5.9.0.ebuild
index f91083500a2..48a71695238 100644
--- a/sci-visualization/paraview/paraview-5.9.0.ebuild
+++ b/sci-visualization/paraview/paraview-5.9.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7,8,9} )
 inherit cmake desktop python-single-r1 qmake-utils toolchain-funcs xdg-utils
 
 MAIN_PV=$(ver_cut 0-1)


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2021-06-02  7:11 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2021-06-02  7:11 UTC (permalink / raw
  To: gentoo-commits

commit:     a3649ece1ddbdcd8dd7259a6036c51e6d46daddd
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Wed Jun  2 06:59:02 2021 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Wed Jun  2 07:11:37 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3649ece

sci-visualization/paraview: version bump to 5.9.1

Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 sci-visualization/paraview/Manifest              |   1 +
 sci-visualization/paraview/paraview-5.9.1.ebuild | 234 +++++++++++++++++++++++
 2 files changed, 235 insertions(+)

diff --git a/sci-visualization/paraview/Manifest b/sci-visualization/paraview/Manifest
index 66ce1495ae5..d3dd7798e5b 100644
--- a/sci-visualization/paraview/Manifest
+++ b/sci-visualization/paraview/Manifest
@@ -1,2 +1,3 @@
 DIST ParaView-v5.8.1.tar.xz 49822084 BLAKE2B 1b99392a85c19fdc02f8f9f0f055fb7efd8a0b17eedfd84005d1af9b170c34ec4eedb25700f91c3a2241ee80e271fe1e744e3a729b7726deb8f9c7a9fd2e4191 SHA512 94861c01da2f98c47e7453d072a4de34a7f52f5df280a8745b44d58d8d6a1dba42a15d0bac31895bbe25f23d993d4d356e5af1f8415137e289afd60570070248
 DIST ParaView-v5.9.0.tar.xz 62784788 BLAKE2B f07bfce50304b2bfba0de4ba3127d686cf4c32633f8c707fbb2d93c19685f7e8a119ba211e27c29b986ca5b22afab4f57c273077a1c0a7ab0abefa55c8874e28 SHA512 44d93b49449262aa3f068aa990419415c3197916a002555d914efc407ed7ccd57b15b829f0fe711afee780e5e63fb1bd072175fc382f3afd36daecc541c382d5
+DIST ParaView-v5.9.1.tar.xz 62835572 BLAKE2B ba15771de9d972de533627ce3e2c74fd5f25df08884680ea6f1ceea0adb513c024f58e4436691bf17b11728f8e1c09f6ce1d55d9875729169dbc5f4b38c05de8 SHA512 d424e22d962f21c32971ca0001c10c266a1768713a3d0ae9d4c73dc83260c4661326cfbed7773845cf31dedc0474096ed9d6eb8a42ab7677cdde95f9f6abd2f2

diff --git a/sci-visualization/paraview/paraview-5.9.1.ebuild b/sci-visualization/paraview/paraview-5.9.1.ebuild
new file mode 100644
index 00000000000..48a71695238
--- /dev/null
+++ b/sci-visualization/paraview/paraview-5.9.1.ebuild
@@ -0,0 +1,234 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+inherit cmake desktop python-single-r1 qmake-utils toolchain-funcs xdg-utils
+
+MAIN_PV=$(ver_cut 0-1)
+MAJOR_PV=$(ver_cut 1-2)
+MY_P="ParaView-v${PV}"
+
+DESCRIPTION="Powerful scientific data visualization application"
+HOMEPAGE="https://www.paraview.org"
+SRC_URI="https://www.paraview.org/files/v${MAJOR_PV}/${MY_P}.tar.xz"
+
+LICENSE="paraview GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="boost cg doc examples ffmpeg mpi mysql nvcontrol openmp offscreen plugins python +qt5 +sqlite test tk +webengine"
+
+RESTRICT="mirror test"
+
+# "vtksqlite, needed by vtkIOSQL" and "vtkIOSQL, needed by vtkIOMySQL"
+REQUIRED_USE="
+	python? ( mpi ${PYTHON_REQUIRED_USE} )
+	mysql? ( sqlite )
+	webengine? ( qt5 )
+	qt5? ( sqlite )
+	?? ( offscreen qt5 )"
+
+# TODO: Verify that these two are not needed any more for the catalyst
+# module:
+#  - dev-python/PyQt5
+#  - dev-qt/qtgui:5[-gles2-only]
+RDEPEND="
+	app-arch/lz4
+	dev-libs/expat
+	dev-libs/jsoncpp:=
+	dev-libs/libxml2:2
+	dev-libs/protobuf:=
+	dev-libs/pugixml
+	media-libs/freetype
+	media-libs/glew:0
+	media-libs/libpng:0
+	media-libs/libtheora
+	media-libs/tiff:0=
+	sci-libs/cgnslib
+	sci-libs/hdf5:=[mpi=]
+	>=sci-libs/netcdf-4.2[hdf5]
+	>=sci-libs/netcdf-cxx-4.2:3
+	sys-libs/zlib
+	virtual/glu
+	virtual/jpeg:0
+	x11-libs/libX11
+	x11-libs/libXext
+	x11-libs/libXmu
+	x11-libs/libXt
+	ffmpeg? ( media-video/ffmpeg )
+	mpi? ( virtual/mpi[cxx,romio] )
+	mysql? ( dev-db/mysql-connector-c )
+	offscreen? ( >=media-libs/mesa-18.3.6[osmesa] )
+	!offscreen? ( virtual/opengl )
+	python? (
+		${PYTHON_DEPS}
+		$(python_gen_cond_dep '
+			dev-python/constantly[${PYTHON_MULTI_USEDEP}]
+			dev-python/incremental[${PYTHON_MULTI_USEDEP}]
+			dev-python/matplotlib[${PYTHON_MULTI_USEDEP}]
+			dev-python/numpy[${PYTHON_MULTI_USEDEP}]
+			dev-python/pygments[${PYTHON_MULTI_USEDEP}]
+			dev-python/sip[${PYTHON_MULTI_USEDEP}]
+			dev-python/six[${PYTHON_MULTI_USEDEP}]
+			dev-python/twisted[${PYTHON_MULTI_USEDEP}]
+			dev-python/zope-interface[${PYTHON_MULTI_USEDEP}]
+			mpi? ( dev-python/mpi4py )
+			qt5? ( dev-python/PyQt5[opengl,${PYTHON_MULTI_USEDEP}] )
+		')
+	)
+	qt5? (
+		dev-qt/designer:5
+		dev-qt/qtgui:5[-gles2-only]
+		dev-qt/qthelp:5
+		dev-qt/qtopengl:5[-gles2-only]
+		dev-qt/qtsql:5
+		dev-qt/qtsvg:5
+		dev-qt/qttest:5
+		dev-qt/qtx11extras:5
+		dev-qt/qtxmlpatterns:5
+	)
+	sqlite? ( dev-db/sqlite:3 )
+	tk? ( dev-lang/tk:0= )
+	webengine? ( dev-qt/qtwebengine:5[widgets] )"
+DEPEND="${RDEPEND}
+	${PYTHON_DEPS}
+	boost? (
+		$(python_gen_cond_dep '
+			dev-libs/boost[mpi?,${PYTHON_MULTI_USEDEP}]
+		')
+	)
+	doc? ( app-doc/doxygen )"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-4.0.1-xdmf-cstring.patch
+	"${FILESDIR}"/${PN}-5.5.0-allow_custom_build_type.patch
+	"${FILESDIR}"/${PN}-5.9.0-gcc11-include.patch
+)
+
+pkg_setup() {
+	[[ ${MERGE_TYPE} != "binary" ]] && use openmp && tc-check-openmp
+	use python && python-single-r1_pkg_setup
+	PVLIBDIR=$(get_libdir)/${PN}-${MAJOR_PV}
+}
+
+src_prepare() {
+	# Bug #661812
+	mkdir -p Plugins/StreamLinesRepresentation/doc || die
+
+	cmake_src_prepare
+
+	# lib64 fixes
+	sed -i \
+		-e "s:/lib/python:/$(get_libdir)/python:g" \
+		VTK/ThirdParty/xdmf3/vtkxdmf3/CMakeLists.txt || die
+	sed -i \
+		-e "s:lib/paraview-:$(get_libdir)/paraview-:g" \
+		Remoting/Application/vtkInitializationHelper.cxx || die
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DCMAKE_INSTALL_LIBDIR="${PVLIBDIR}"
+		-UBUILD_SHARED_LIBS
+		-DPARAVIEW_BUILD_SHARED_LIBS=ON
+		-DCMAKE_VERBOSE_MAKEFILE=ON
+
+		# boost
+		-DVTK_MODULE_ENABLE_VTK_IOInfovis="$(usex boost YES NO)"
+
+		# doc
+		-DPARAVIEW_BUILD_DEVELOPER_DOCUMENTATION="$(usex doc)"
+
+		# examples
+		-DBUILD_EXAMPLES="$(usex examples)"
+
+		# ffmpeg
+		-DPARAVIEW_ENABLE_FFMPEG="$(usex ffmpeg)"
+		-DVTK_USE_FFMPEG_ENCODER="$(usex ffmpeg)"
+
+		# mpi
+		-DPARAVIEW_USE_MPI="$(usex mpi)"
+		-DXDMF_BUILD_MPI="$(usex mpi)"
+		-DVTK_GROUP_ENABLE_MPI="$(usex mpi YES NO)"
+
+		# mysql
+		-DVTK_MODULE_ENABLE_VTK_IOMySQL="$(usex mysql YES NO)"
+
+		# offscreen
+		-DVTK_OPENGL_HAS_OSMESA="$(usex offscreen)"
+		-DVTK_OPENGL_HAS_OSMESA="$(usex offscreen)"
+
+		# plugins
+		-DPARAVIEW_PLUGINS_DEFAULT="$(usex plugins)"
+
+		# python
+		-DModule_pqPython="$(usex python)"
+		-DPARAVIEW_USE_PYTHON="$(usex python)"
+
+		# qt5
+		-DPARAVIEW_USE_QT="$(usex qt5)"
+		-DModule_pqPython="$(usex qt5 "$(usex python)" "off")"
+		-DVTK_USE_NVCONTROL="$(usex nvcontrol)"
+		-DVTK_GROUP_ENABLE_Qt="$(usex qt5 YES NO)"
+
+		# sqlite
+		-DVTK_MODULE_ENABLE_VTK_sqlite="$(usex sqlite YES NO)"
+
+		# test
+		-DBUILD_TESTING="$(usex test)"
+
+		# tk
+		-DVTK_USE_TK="$(usex tk)"
+		-DVTK_GROUP_ENABLE_Tk="$(usex tk YES NO)"
+
+		# webengine
+		-DPARAVIEW_USE_QTWEBENGINE="$(usex webengine)"
+		-DVTK_GROUP_ENABLE_Web="$(usex webengine YES NO)"
+	)
+
+	if use openmp; then
+		mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE=OpenMP )
+	fi
+
+	if use qt5; then
+		mycmakeargs+=(
+			-DOPENGL_gl_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGL.so
+			-DOPENGL_glu_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGLU.so
+			-DQT_MOC_EXECUTABLE="$(qt5_get_bindir)/moc"
+			-Dqt_xmlpatterns_executable="$(qt5_get_bindir)/xmlpatterns"
+		)
+	fi
+
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+
+	# remove wrapper binaries and put the actual executable in place
+	for i in {paraview-config,pvserver,pvdataserver,pvrenderserver,pvbatch,pvpython,paraview}; do
+		if [ -f "${ED}"/usr/lib/"$i" ]; then
+			mv "${ED}"/usr/lib/"$i" "${ED}"/usr/bin/"$i" || die
+		fi
+	done
+
+	# set up the environment
+	echo "LDPATH=${EPREFIX}/usr/${PVLIBDIR}" > "${T}"/40${PN} || die
+	doenvd "${T}"/40${PN}
+
+	newicon "${S}"/Clients/ParaView/pvIcon-96x96.png paraview.png
+	make_desktop_entry paraview "Paraview" paraview
+
+	use python && python_optimize "${D}"/usr/$(get_libdir)/${PN}-${MAJOR_PV}
+}
+
+pkg_postinst() {
+	xdg_icon_cache_update
+}
+
+pkg_postrm() {
+	xdg_icon_cache_update
+}


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2021-07-17 18:18 David Seifert
  0 siblings, 0 replies; 89+ messages in thread
From: David Seifert @ 2021-07-17 18:18 UTC (permalink / raw
  To: gentoo-commits

commit:     c23738a1585b999cced48077a2cabae408fbaad2
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 17 18:17:10 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Jul 17 18:17:10 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c23738a1

sci-visualization/paraview: PYTHON_MULTI_USEDEP -> PYTHON_USEDEP

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sci-visualization/paraview/paraview-5.8.1.ebuild | 24 ++++++++++++------------
 sci-visualization/paraview/paraview-5.9.0.ebuild | 24 ++++++++++++------------
 sci-visualization/paraview/paraview-5.9.1.ebuild | 24 ++++++++++++------------
 3 files changed, 36 insertions(+), 36 deletions(-)

diff --git a/sci-visualization/paraview/paraview-5.8.1.ebuild b/sci-visualization/paraview/paraview-5.8.1.ebuild
index 6182669ef17..cea5bd462e9 100644
--- a/sci-visualization/paraview/paraview-5.8.1.ebuild
+++ b/sci-visualization/paraview/paraview-5.8.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{8,9} )
 inherit cmake desktop python-single-r1 qmake-utils toolchain-funcs xdg-utils
 
 MAIN_PV=$(ver_cut 0-1)
@@ -64,17 +64,17 @@ RDEPEND="
 	python? (
 		${PYTHON_DEPS}
 		$(python_gen_cond_dep '
-			dev-python/constantly[${PYTHON_MULTI_USEDEP}]
-			dev-python/incremental[${PYTHON_MULTI_USEDEP}]
-			dev-python/matplotlib[${PYTHON_MULTI_USEDEP}]
-			dev-python/numpy[${PYTHON_MULTI_USEDEP}]
-			dev-python/pygments[${PYTHON_MULTI_USEDEP}]
-			dev-python/sip[${PYTHON_MULTI_USEDEP}]
-			dev-python/six[${PYTHON_MULTI_USEDEP}]
-			dev-python/twisted[${PYTHON_MULTI_USEDEP}]
-			dev-python/zope-interface[${PYTHON_MULTI_USEDEP}]
+			dev-python/constantly[${PYTHON_USEDEP}]
+			dev-python/incremental[${PYTHON_USEDEP}]
+			dev-python/matplotlib[${PYTHON_USEDEP}]
+			dev-python/numpy[${PYTHON_USEDEP}]
+			dev-python/pygments[${PYTHON_USEDEP}]
+			dev-python/sip[${PYTHON_USEDEP}]
+			dev-python/six[${PYTHON_USEDEP}]
+			dev-python/twisted[${PYTHON_USEDEP}]
+			dev-python/zope-interface[${PYTHON_USEDEP}]
 			mpi? ( dev-python/mpi4py )
-			qt5? ( dev-python/PyQt5[opengl,${PYTHON_MULTI_USEDEP}] )
+			qt5? ( dev-python/PyQt5[opengl,${PYTHON_USEDEP}] )
 		')
 	)
 	qt5? (
@@ -95,7 +95,7 @@ DEPEND="${RDEPEND}
 	${PYTHON_DEPS}
 	boost? (
 		$(python_gen_cond_dep '
-			dev-libs/boost[mpi?,${PYTHON_MULTI_USEDEP}]
+			dev-libs/boost[mpi?,${PYTHON_USEDEP}]
 		')
 	)
 	doc? ( app-doc/doxygen )"

diff --git a/sci-visualization/paraview/paraview-5.9.0.ebuild b/sci-visualization/paraview/paraview-5.9.0.ebuild
index 48a71695238..ce3f2c9d4d4 100644
--- a/sci-visualization/paraview/paraview-5.9.0.ebuild
+++ b/sci-visualization/paraview/paraview-5.9.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{8,9} )
 inherit cmake desktop python-single-r1 qmake-utils toolchain-funcs xdg-utils
 
 MAIN_PV=$(ver_cut 0-1)
@@ -64,17 +64,17 @@ RDEPEND="
 	python? (
 		${PYTHON_DEPS}
 		$(python_gen_cond_dep '
-			dev-python/constantly[${PYTHON_MULTI_USEDEP}]
-			dev-python/incremental[${PYTHON_MULTI_USEDEP}]
-			dev-python/matplotlib[${PYTHON_MULTI_USEDEP}]
-			dev-python/numpy[${PYTHON_MULTI_USEDEP}]
-			dev-python/pygments[${PYTHON_MULTI_USEDEP}]
-			dev-python/sip[${PYTHON_MULTI_USEDEP}]
-			dev-python/six[${PYTHON_MULTI_USEDEP}]
-			dev-python/twisted[${PYTHON_MULTI_USEDEP}]
-			dev-python/zope-interface[${PYTHON_MULTI_USEDEP}]
+			dev-python/constantly[${PYTHON_USEDEP}]
+			dev-python/incremental[${PYTHON_USEDEP}]
+			dev-python/matplotlib[${PYTHON_USEDEP}]
+			dev-python/numpy[${PYTHON_USEDEP}]
+			dev-python/pygments[${PYTHON_USEDEP}]
+			dev-python/sip[${PYTHON_USEDEP}]
+			dev-python/six[${PYTHON_USEDEP}]
+			dev-python/twisted[${PYTHON_USEDEP}]
+			dev-python/zope-interface[${PYTHON_USEDEP}]
 			mpi? ( dev-python/mpi4py )
-			qt5? ( dev-python/PyQt5[opengl,${PYTHON_MULTI_USEDEP}] )
+			qt5? ( dev-python/PyQt5[opengl,${PYTHON_USEDEP}] )
 		')
 	)
 	qt5? (
@@ -95,7 +95,7 @@ DEPEND="${RDEPEND}
 	${PYTHON_DEPS}
 	boost? (
 		$(python_gen_cond_dep '
-			dev-libs/boost[mpi?,${PYTHON_MULTI_USEDEP}]
+			dev-libs/boost[mpi?,${PYTHON_USEDEP}]
 		')
 	)
 	doc? ( app-doc/doxygen )"

diff --git a/sci-visualization/paraview/paraview-5.9.1.ebuild b/sci-visualization/paraview/paraview-5.9.1.ebuild
index 48a71695238..ce3f2c9d4d4 100644
--- a/sci-visualization/paraview/paraview-5.9.1.ebuild
+++ b/sci-visualization/paraview/paraview-5.9.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{8,9} )
 inherit cmake desktop python-single-r1 qmake-utils toolchain-funcs xdg-utils
 
 MAIN_PV=$(ver_cut 0-1)
@@ -64,17 +64,17 @@ RDEPEND="
 	python? (
 		${PYTHON_DEPS}
 		$(python_gen_cond_dep '
-			dev-python/constantly[${PYTHON_MULTI_USEDEP}]
-			dev-python/incremental[${PYTHON_MULTI_USEDEP}]
-			dev-python/matplotlib[${PYTHON_MULTI_USEDEP}]
-			dev-python/numpy[${PYTHON_MULTI_USEDEP}]
-			dev-python/pygments[${PYTHON_MULTI_USEDEP}]
-			dev-python/sip[${PYTHON_MULTI_USEDEP}]
-			dev-python/six[${PYTHON_MULTI_USEDEP}]
-			dev-python/twisted[${PYTHON_MULTI_USEDEP}]
-			dev-python/zope-interface[${PYTHON_MULTI_USEDEP}]
+			dev-python/constantly[${PYTHON_USEDEP}]
+			dev-python/incremental[${PYTHON_USEDEP}]
+			dev-python/matplotlib[${PYTHON_USEDEP}]
+			dev-python/numpy[${PYTHON_USEDEP}]
+			dev-python/pygments[${PYTHON_USEDEP}]
+			dev-python/sip[${PYTHON_USEDEP}]
+			dev-python/six[${PYTHON_USEDEP}]
+			dev-python/twisted[${PYTHON_USEDEP}]
+			dev-python/zope-interface[${PYTHON_USEDEP}]
 			mpi? ( dev-python/mpi4py )
-			qt5? ( dev-python/PyQt5[opengl,${PYTHON_MULTI_USEDEP}] )
+			qt5? ( dev-python/PyQt5[opengl,${PYTHON_USEDEP}] )
 		')
 	)
 	qt5? (
@@ -95,7 +95,7 @@ DEPEND="${RDEPEND}
 	${PYTHON_DEPS}
 	boost? (
 		$(python_gen_cond_dep '
-			dev-libs/boost[mpi?,${PYTHON_MULTI_USEDEP}]
+			dev-libs/boost[mpi?,${PYTHON_USEDEP}]
 		')
 	)
 	doc? ( app-doc/doxygen )"


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2021-09-20 17:51 Andreas K. Hüttel
  0 siblings, 0 replies; 89+ messages in thread
From: Andreas K. Hüttel @ 2021-09-20 17:51 UTC (permalink / raw
  To: gentoo-commits

commit:     c99fa82c5e70fbc9b27a93f7a01f5fb1d37e6053
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 20 17:50:24 2021 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Mon Sep 20 17:50:52 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c99fa82c

sci-visualization/paraview: Remove old

Bug: https://bugs.gentoo.org/788055
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Andreas K. Huettel <dilfridge <AT> gentoo.org>

 sci-visualization/paraview/Manifest              |   1 -
 sci-visualization/paraview/metadata.xml          |   2 -
 sci-visualization/paraview/paraview-5.8.1.ebuild | 250 -----------------------
 3 files changed, 253 deletions(-)

diff --git a/sci-visualization/paraview/Manifest b/sci-visualization/paraview/Manifest
index d3dd7798e5b..681c4522e3f 100644
--- a/sci-visualization/paraview/Manifest
+++ b/sci-visualization/paraview/Manifest
@@ -1,3 +1,2 @@
-DIST ParaView-v5.8.1.tar.xz 49822084 BLAKE2B 1b99392a85c19fdc02f8f9f0f055fb7efd8a0b17eedfd84005d1af9b170c34ec4eedb25700f91c3a2241ee80e271fe1e744e3a729b7726deb8f9c7a9fd2e4191 SHA512 94861c01da2f98c47e7453d072a4de34a7f52f5df280a8745b44d58d8d6a1dba42a15d0bac31895bbe25f23d993d4d356e5af1f8415137e289afd60570070248
 DIST ParaView-v5.9.0.tar.xz 62784788 BLAKE2B f07bfce50304b2bfba0de4ba3127d686cf4c32633f8c707fbb2d93c19685f7e8a119ba211e27c29b986ca5b22afab4f57c273077a1c0a7ab0abefa55c8874e28 SHA512 44d93b49449262aa3f068aa990419415c3197916a002555d914efc407ed7ccd57b15b829f0fe711afee780e5e63fb1bd072175fc382f3afd36daecc541c382d5
 DIST ParaView-v5.9.1.tar.xz 62835572 BLAKE2B ba15771de9d972de533627ce3e2c74fd5f25df08884680ea6f1ceea0adb513c024f58e4436691bf17b11728f8e1c09f6ce1d55d9875729169dbc5f4b38c05de8 SHA512 d424e22d962f21c32971ca0001c10c266a1768713a3d0ae9d4c73dc83260c4661326cfbed7773845cf31dedc0474096ed9d6eb8a42ab7677cdde95f9f6abd2f2

diff --git a/sci-visualization/paraview/metadata.xml b/sci-visualization/paraview/metadata.xml
index a6c779ecf4b..2048ce66a32 100644
--- a/sci-visualization/paraview/metadata.xml
+++ b/sci-visualization/paraview/metadata.xml
@@ -8,8 +8,6 @@
 	<use>
 		<flag name="boost">Enable the usage of dev-libs/boost</flag>
 		<flag name="cg">Add support for nvidia's cg shaders</flag>
-		<flag name="coprocessing">Enable the coprocessing infrastructure which is mainly useful in the context of clusters</flag>
-		<flag name="development">Install development files including headers</flag>
 		<flag name="nvcontrol">Add NVCONTROL support for OpenGL options</flag>
 		<flag name="offscreen">Offscreen rendering through OSMesa</flag>
 		<flag name="plugins">Build and install additional plugins</flag>

diff --git a/sci-visualization/paraview/paraview-5.8.1.ebuild b/sci-visualization/paraview/paraview-5.8.1.ebuild
deleted file mode 100644
index cea5bd462e9..00000000000
--- a/sci-visualization/paraview/paraview-5.8.1.ebuild
+++ /dev/null
@@ -1,250 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8,9} )
-inherit cmake desktop python-single-r1 qmake-utils toolchain-funcs xdg-utils
-
-MAIN_PV=$(ver_cut 0-1)
-MAJOR_PV=$(ver_cut 1-2)
-MY_P="ParaView-v${PV}"
-
-DESCRIPTION="Powerful scientific data visualization application"
-HOMEPAGE="https://www.paraview.org"
-SRC_URI="https://www.paraview.org/files/v${MAJOR_PV}/${MY_P}.tar.xz"
-
-LICENSE="paraview GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="boost cg coprocessing development doc examples ffmpeg mpi mysql nvcontrol openmp offscreen plugins python +qt5 +sqlite test tk +webengine"
-
-RESTRICT="mirror test"
-
-# "vtksqlite, needed by vtkIOSQL" and "vtkIOSQL, needed by vtkIOMySQL"
-REQUIRED_USE="
-	python? ( mpi ${PYTHON_REQUIRED_USE} )
-	mysql? ( sqlite )
-	webengine? ( qt5 )
-	qt5? ( sqlite )
-	?? ( offscreen qt5 )"
-
-RDEPEND="
-	app-arch/lz4
-	dev-libs/expat
-	dev-libs/jsoncpp:=
-	dev-libs/libxml2:2
-	dev-libs/protobuf:=
-	dev-libs/pugixml
-	media-libs/freetype
-	media-libs/glew:0
-	media-libs/libpng:0
-	media-libs/libtheora
-	media-libs/tiff:0=
-	sci-libs/cgnslib
-	sci-libs/hdf5:=[mpi=]
-	>=sci-libs/netcdf-4.2[hdf5]
-	>=sci-libs/netcdf-cxx-4.2:3
-	sys-libs/zlib
-	virtual/glu
-	virtual/jpeg:0
-	x11-libs/libX11
-	x11-libs/libXext
-	x11-libs/libXmu
-	x11-libs/libXt
-	coprocessing? (
-		dev-python/PyQt5
-		dev-qt/qtgui:5[-gles2-only]
-	)
-	ffmpeg? ( media-video/ffmpeg )
-	mpi? ( virtual/mpi[cxx,romio] )
-	mysql? ( dev-db/mysql-connector-c )
-	offscreen? ( >=media-libs/mesa-18.3.6[osmesa] )
-	!offscreen? ( virtual/opengl )
-	python? (
-		${PYTHON_DEPS}
-		$(python_gen_cond_dep '
-			dev-python/constantly[${PYTHON_USEDEP}]
-			dev-python/incremental[${PYTHON_USEDEP}]
-			dev-python/matplotlib[${PYTHON_USEDEP}]
-			dev-python/numpy[${PYTHON_USEDEP}]
-			dev-python/pygments[${PYTHON_USEDEP}]
-			dev-python/sip[${PYTHON_USEDEP}]
-			dev-python/six[${PYTHON_USEDEP}]
-			dev-python/twisted[${PYTHON_USEDEP}]
-			dev-python/zope-interface[${PYTHON_USEDEP}]
-			mpi? ( dev-python/mpi4py )
-			qt5? ( dev-python/PyQt5[opengl,${PYTHON_USEDEP}] )
-		')
-	)
-	qt5? (
-		dev-qt/designer:5
-		dev-qt/qtgui:5[-gles2-only]
-		dev-qt/qthelp:5
-		dev-qt/qtopengl:5[-gles2-only]
-		dev-qt/qtsql:5
-		dev-qt/qtsvg:5
-		dev-qt/qttest:5
-		dev-qt/qtx11extras:5
-		dev-qt/qtxmlpatterns:5
-	)
-	sqlite? ( dev-db/sqlite:3 )
-	tk? ( dev-lang/tk:0= )
-	webengine? ( dev-qt/qtwebengine:5[widgets] )"
-DEPEND="${RDEPEND}
-	${PYTHON_DEPS}
-	boost? (
-		$(python_gen_cond_dep '
-			dev-libs/boost[mpi?,${PYTHON_USEDEP}]
-		')
-	)
-	doc? ( app-doc/doxygen )"
-
-S="${WORKDIR}/${MY_P}"
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-4.0.1-xdmf-cstring.patch
-	"${FILESDIR}"/${PN}-5.3.0-fix_buildsystem.patch
-	"${FILESDIR}"/${PN}-5.5.0-allow_custom_build_type.patch
-	"${FILESDIR}"/${PN}-5.8.0-w-vtk-8.2.0-qt-5.15.patch # bug 729348
-	"${FILESDIR}"/${P}-find-xmlpatterns.patch # bug 755977, downstream patch
-)
-
-pkg_setup() {
-	[[ ${MERGE_TYPE} != "binary" ]] && use openmp && tc-check-openmp
-	use python && python-single-r1_pkg_setup
-	PVLIBDIR=$(get_libdir)/${PN}-${MAJOR_PV}
-}
-
-src_prepare() {
-	# Bug #661812
-	mkdir -p Plugins/StreamLinesRepresentation/doc || die
-
-	cmake_src_prepare
-
-	# lib64 fixes
-	sed -i \
-		-e "s:/lib/python:/$(get_libdir)/python:g" \
-		VTK/ThirdParty/xdmf3/vtkxdmf3/CMakeLists.txt || die
-	sed -i \
-		-e "s:lib/paraview-:$(get_libdir)/paraview-:g" \
-		Remoting/Application/vtkInitializationHelper.cxx || die
-}
-
-src_configure() {
-	local mycmakeargs=(
-		-DCMAKE_INSTALL_LIBDIR="${PVLIBDIR}"
-		-UBUILD_SHARED_LIBS
-		-DPARAVIEW_BUILD_SHARED_LIBS=ON
-		-DCMAKE_VERBOSE_MAKEFILE=ON
-
-		-DVTK_DEFAULT_RENDER_WINDOW_OFFSCREEN=TRUE
-
-		-DVTK_USE_OGGTHEORA_ENCODER=TRUE
-
-		-DVTK_GROUP_ENABLE_Imaging=YES
-		-DVTK_GROUP_ENABLE_Rendering=YES
-		-DVTK_GROUP_ENABLE_StandAlone=YES
-		-DVTK_GROUP_ENABLE_Views=YES
-
-		# boost
-		-DVTK_MODULE_ENABLE_VTK_IOInfovis="$(usex boost YES NO)"
-
-		# coprocessing
-#         -DVTK_MODULE_ENABLE_ParaView_Catalyst="$(usex coprocessing YES NO)"
-
-		# doc
-		-DPARAVIEW_BUILD_DEVELOPER_DOCUMENTATION="$(usex doc)"
-
-		# examples
-		-DBUILD_EXAMPLES="$(usex examples)"
-
-		# ffmpeg
-		-DPARAVIEW_ENABLE_FFMPEG="$(usex ffmpeg)"
-		-DVTK_USE_FFMPEG_ENCODER="$(usex ffmpeg)"
-
-		# mpi
-		-DPARAVIEW_USE_MPI="$(usex mpi)"
-		-DXDMF_BUILD_MPI="$(usex mpi)"
-		-DVTK_GROUP_ENABLE_MPI="$(usex mpi YES NO)"
-
-		# mysql
-		-DVTK_MODULE_ENABLE_VTK_IOMySQL="$(usex mysql YES NO)"
-
-		# offscreen
-		-DVTK_USE_X="$(usex !offscreen)"
-		-DVTK_OPENGL_HAS_OSMESA="$(usex offscreen)"
-		-DVTK_OPENGL_HAS_OSMESA="$(usex offscreen)"
-
-		# plugins
-		-DPARAVIEW_PLUGINS_DEFAULT="$(usex plugins)"
-
-		# python
-		-DModule_pqPython="$(usex python)"
-		-DPARAVIEW_USE_PYTHON="$(usex python)"
-
-		# qt5
-		-DPARAVIEW_INSTALL_DEVELOPMENT_FILES="$(usex development)"
-		-DPARAVIEW_USE_QT="$(usex qt5)"
-		-DModule_pqPython="$(usex qt5 "$(usex python)" "off")"
-		-DVTK_USE_NVCONTROL="$(usex nvcontrol)"
-		-DVTK_GROUP_ENABLE_Qt="$(usex qt5 YES NO)"
-
-		# sqlite
-		-DVTK_MODULE_ENABLE_VTK_sqlite="$(usex sqlite YES NO)"
-
-		# test
-		-DBUILD_TESTING="$(usex test)"
-
-		# tk
-		-DVTK_USE_TK="$(usex tk)"
-		-DVTK_GROUP_ENABLE_Tk="$(usex tk YES NO)"
-
-		# webengine
-		-DPARAVIEW_USE_QTWEBENGINE="$(usex webengine)"
-		-DVTK_GROUP_ENABLE_Web="$(usex webengine YES NO)"
-	)
-
-	if use openmp; then
-		mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE=OpenMP )
-	fi
-
-	if use qt5; then
-		mycmakeargs+=(
-			-DOPENGL_gl_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGL.so
-			-DOPENGL_glu_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGLU.so
-			-DQT_MOC_EXECUTABLE="$(qt5_get_bindir)/moc"
-			-Dqt_xmlpatterns_executable="$(qt5_get_bindir)/xmlpatterns"
-		)
-	fi
-
-	cmake_src_configure
-}
-
-src_install() {
-	cmake_src_install
-
-	# remove wrapper binaries and put the actual executable in place
-	for i in {paraview-config,pvserver,pvdataserver,pvrenderserver,pvbatch,pvpython,paraview}; do
-		if [ -f "${ED}"/usr/lib/"$i" ]; then
-			mv "${ED}"/usr/lib/"$i" "${ED}"/usr/bin/"$i" || die
-		fi
-	done
-
-	# set up the environment
-	echo "LDPATH=${EPREFIX}/usr/${PVLIBDIR}" > "${T}"/40${PN} || die
-	doenvd "${T}"/40${PN}
-
-	newicon "${S}"/Clients/ParaView/pvIcon-96x96.png paraview.png
-	make_desktop_entry paraview "Paraview" paraview
-
-	use python && python_optimize "${D}"/usr/$(get_libdir)/${PN}-${MAJOR_PV}
-}
-
-pkg_postinst() {
-	xdg_icon_cache_update
-}
-
-pkg_postrm() {
-	xdg_icon_cache_update
-}


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2022-05-16  8:12 David Seifert
  0 siblings, 0 replies; 89+ messages in thread
From: David Seifert @ 2022-05-16  8:12 UTC (permalink / raw
  To: gentoo-commits

commit:     c6a718d53dd720ee8c681e7a5f87e7d340c379dc
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon May 16 08:12:28 2022 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon May 16 08:12:28 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6a718d5

sci-visualization/paraview: [QA] use tc-check-openmp correctly

Closes: https://github.com/gentoo/gentoo/pull/25500
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sci-visualization/paraview/paraview-5.9.0.ebuild | 8 ++++++--
 sci-visualization/paraview/paraview-5.9.1.ebuild | 8 ++++++--
 2 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/sci-visualization/paraview/paraview-5.9.0.ebuild b/sci-visualization/paraview/paraview-5.9.0.ebuild
index ce3f2c9d4d44..f3ceac1728a1 100644
--- a/sci-visualization/paraview/paraview-5.9.0.ebuild
+++ b/sci-visualization/paraview/paraview-5.9.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -108,8 +108,12 @@ PATCHES=(
 	"${FILESDIR}"/${PN}-5.9.0-gcc11-include.patch
 )
 
+pkg_pretend() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
 pkg_setup() {
-	[[ ${MERGE_TYPE} != "binary" ]] && use openmp && tc-check-openmp
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
 	use python && python-single-r1_pkg_setup
 	PVLIBDIR=$(get_libdir)/${PN}-${MAJOR_PV}
 }

diff --git a/sci-visualization/paraview/paraview-5.9.1.ebuild b/sci-visualization/paraview/paraview-5.9.1.ebuild
index ce3f2c9d4d44..f3ceac1728a1 100644
--- a/sci-visualization/paraview/paraview-5.9.1.ebuild
+++ b/sci-visualization/paraview/paraview-5.9.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -108,8 +108,12 @@ PATCHES=(
 	"${FILESDIR}"/${PN}-5.9.0-gcc11-include.patch
 )
 
+pkg_pretend() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
 pkg_setup() {
-	[[ ${MERGE_TYPE} != "binary" ]] && use openmp && tc-check-openmp
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
 	use python && python-single-r1_pkg_setup
 	PVLIBDIR=$(get_libdir)/${PN}-${MAJOR_PV}
 }


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2022-08-26 10:46 Sam James
  0 siblings, 0 replies; 89+ messages in thread
From: Sam James @ 2022-08-26 10:46 UTC (permalink / raw
  To: gentoo-commits

commit:     ddc37c3454d773055d4db71909d75e4ba719e955
Author:     Petr Vaněk <arkamar <AT> atlas <DOT> cz>
AuthorDate: Thu Aug 25 21:41:11 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Aug 26 10:46:29 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddc37c34

sci-visualization/paraview: use <pkg> tag in metadata.xml

Signed-off-by: Petr Vaněk <arkamar <AT> atlas.cz>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-visualization/paraview/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-visualization/paraview/metadata.xml b/sci-visualization/paraview/metadata.xml
index 2048ce66a32d..7b3120dd0d0d 100644
--- a/sci-visualization/paraview/metadata.xml
+++ b/sci-visualization/paraview/metadata.xml
@@ -6,7 +6,7 @@
 		<name>Matthias Maier</name>
 	</maintainer>
 	<use>
-		<flag name="boost">Enable the usage of dev-libs/boost</flag>
+		<flag name="boost">Enable the usage of <pkg>dev-libs/boost</pkg></flag>
 		<flag name="cg">Add support for nvidia's cg shaders</flag>
 		<flag name="nvcontrol">Add NVCONTROL support for OpenGL options</flag>
 		<flag name="offscreen">Offscreen rendering through OSMesa</flag>


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2022-09-04 12:12 David Seifert
  0 siblings, 0 replies; 89+ messages in thread
From: David Seifert @ 2022-09-04 12:12 UTC (permalink / raw
  To: gentoo-commits

commit:     2b414406e45a9223bad223afe96715922dcf2d95
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Sep  4 12:12:14 2022 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Sep  4 12:12:14 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b414406

sci-visualization/paraview: [QA] correct boost python usedep

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 .../paraview/{paraview-5.10.1.ebuild => paraview-5.10.1-r1.ebuild}      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-visualization/paraview/paraview-5.10.1.ebuild b/sci-visualization/paraview/paraview-5.10.1-r1.ebuild
similarity index 99%
rename from sci-visualization/paraview/paraview-5.10.1.ebuild
rename to sci-visualization/paraview/paraview-5.10.1-r1.ebuild
index c7ac19439bf6..09bb20d97115 100644
--- a/sci-visualization/paraview/paraview-5.10.1.ebuild
+++ b/sci-visualization/paraview/paraview-5.10.1-r1.ebuild
@@ -92,7 +92,7 @@ DEPEND="${RDEPEND}
 	${PYTHON_DEPS}
 	boost? (
 		$(python_gen_cond_dep '
-			dev-libs/boost[mpi?,${PYTHON_USEDEP}]
+			dev-libs/boost[mpi?,python,${PYTHON_USEDEP}]
 		')
 	)
 	doc? ( app-doc/doxygen )"


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2022-10-18 13:39 Andrew Ammerlaan
  0 siblings, 0 replies; 89+ messages in thread
From: Andrew Ammerlaan @ 2022-10-18 13:39 UTC (permalink / raw
  To: gentoo-commits

commit:     9390abf695ef6f3911cdb4f0f1aba254bbe51936
Author:     Yiyang Wu <xgreenlandforwyy <AT> gmail <DOT> com>
AuthorDate: Sun Oct  2 11:55:53 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Oct 18 13:38:44 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9390abf6

sci-visualization/paraview: specify qt5 qml dir

By specifying this variable, cmake will install qml plugin into the
correct location.

Closes: https://bugs.gentoo.org/847376
Signed-off-by: Yiyang Wu <xgreenlandforwyy <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/27573
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 .../paraview/{paraview-5.10.1-r1.ebuild => paraview-5.10.1-r2.ebuild}    | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sci-visualization/paraview/paraview-5.10.1-r1.ebuild b/sci-visualization/paraview/paraview-5.10.1-r2.ebuild
similarity index 98%
rename from sci-visualization/paraview/paraview-5.10.1-r1.ebuild
rename to sci-visualization/paraview/paraview-5.10.1-r2.ebuild
index 09bb20d97115..b770c5a1d408 100644
--- a/sci-visualization/paraview/paraview-5.10.1-r1.ebuild
+++ b/sci-visualization/paraview/paraview-5.10.1-r2.ebuild
@@ -171,6 +171,7 @@ src_configure() {
 		-DModule_pqPython="$(usex qt5 "$(usex python)" "off")"
 		-DVTK_USE_NVCONTROL="$(usex nvcontrol)"
 		-DVTK_GROUP_ENABLE_Qt="$(usex qt5 YES NO)"
+		-DCMAKE_INSTALL_QMLDIR="${EPREFIX}/usr/$(get_libdir)/qt5/qml"
 
 		# sqlite
 		-DVTK_MODULE_ENABLE_VTK_sqlite="$(usex sqlite YES NO)"


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2022-10-18 14:18 Andrew Ammerlaan
  0 siblings, 0 replies; 89+ messages in thread
From: Andrew Ammerlaan @ 2022-10-18 14:18 UTC (permalink / raw
  To: gentoo-commits

commit:     9a1c41ffa23a0d0c0dbaee4b5ca2dc50883bcdb2
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 18 14:15:39 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Oct 18 14:18:39 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a1c41ff

sci-visualization/paraview: add 5.11.0_rc1

This is a release candidate but we add it anyway
because the in-tree version fails to configure
if dev-qt/qt*:6 is present on the system

Also updated the LICENSEs

Closes: https://bugs.gentoo.org/762973
Bug: https://bugs.gentoo.org/789552
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sci-visualization/paraview/Manifest                |   1 +
 .../paraview/paraview-5.11.0_rc1.ebuild            | 232 +++++++++++++++++++++
 2 files changed, 233 insertions(+)

diff --git a/sci-visualization/paraview/Manifest b/sci-visualization/paraview/Manifest
index 30d39dae379e..b3e8637c7416 100644
--- a/sci-visualization/paraview/Manifest
+++ b/sci-visualization/paraview/Manifest
@@ -1 +1,2 @@
 DIST ParaView-v5.10.1.tar.xz 70218088 BLAKE2B 3134c5df35994a3a153ebd97770066b9963911ae7fb1877681135e01a19c4a879306ae844ef3a29719be5cd509f35117f74eb3c264f1a101fa19180d9a126011 SHA512 1feb855432ea7bc40f77ee214e5877d5170e4f31f520dc7198d72a271506b65a4bc79922875d2c176e54219818a428497c606390a2b9da2770de403bd1593e6c
+DIST ParaView-v5.11.0-RC1.tar.xz 80100552 BLAKE2B 16968e643c8436f9b9c1b5356b42175904fdb8dbc88685420fa7bb6f94833661f0ec03eb4183cabc67348ba11afcbf50c62f18a38929133ac21a5492b0971c5d SHA512 d948b9ee91bb2c3b657ba22103dfed4ce92798266fdfd5aaf596225fb6f0859ecb636145c932ac5fefc64763cfa98ebeef639453b2c7cb73dda82741b6e52478

diff --git a/sci-visualization/paraview/paraview-5.11.0_rc1.ebuild b/sci-visualization/paraview/paraview-5.11.0_rc1.ebuild
new file mode 100644
index 000000000000..5dc4345cf6b4
--- /dev/null
+++ b/sci-visualization/paraview/paraview-5.11.0_rc1.ebuild
@@ -0,0 +1,232 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Python3.11 does not have longintrepr.h causing compile failure
+PYTHON_COMPAT=( python3_{8..10} )
+DOCS_BUILDER="doxygen"
+inherit cmake desktop docs python-single-r1 qmake-utils toolchain-funcs xdg
+
+MAIN_PV=$(ver_cut 0-1)
+MAJOR_PV=$(ver_cut 1-2)
+MY_PN="ParaView"
+MY_PV="${PV//_rc1}-RC1"
+
+DESCRIPTION="Powerful scientific data visualization application"
+HOMEPAGE="https://www.paraview.org"
+SRC_URI="https://www.paraview.org/files/v${MAJOR_PV}/${MY_PN}-v${MY_PV}.tar.xz"
+S="${WORKDIR}/${MY_PN}-v${MY_PV}"
+
+# TODO: check licenses of plugins (USE=plugins)
+LICENSE="BSD MIT PSF-2 VTK"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="boost cg examples ffmpeg mpi nvcontrol openmp offscreen plugins python +qt5 +sqlite test tk +webengine"
+
+RESTRICT="mirror test"
+
+REQUIRED_USE="
+	python? ( mpi ${PYTHON_REQUIRED_USE} )
+	webengine? ( qt5 )
+	qt5? ( sqlite )
+	?? ( offscreen qt5 )"
+
+# TODO: Verify that these two are not needed any more for the catalyst
+# module:
+#  - dev-python/PyQt5
+#  - dev-qt/qtgui:5[-gles2-only]
+RDEPEND="
+	app-arch/lz4
+	dev-libs/expat
+	dev-libs/jsoncpp:=
+	dev-libs/libxml2:2
+	dev-libs/protobuf:=
+	dev-libs/pugixml
+	media-libs/freetype
+	media-libs/glew:0
+	media-libs/libpng:0
+	media-libs/libtheora
+	media-libs/tiff:0=
+	sci-libs/cgnslib
+	sci-libs/hdf5:=[mpi=]
+	>=sci-libs/netcdf-4.2[hdf5]
+	>=sci-libs/netcdf-cxx-4.2:3
+	sys-libs/zlib
+	virtual/glu
+	media-libs/libjpeg-turbo:=
+	x11-libs/libX11
+	x11-libs/libXext
+	x11-libs/libXmu
+	x11-libs/libXt
+	ffmpeg? ( media-video/ffmpeg )
+	mpi? ( virtual/mpi[cxx,romio] )
+	offscreen? ( >=media-libs/mesa-18.3.6[osmesa] )
+	!offscreen? ( virtual/opengl )
+	python? (
+		${PYTHON_DEPS}
+		$(python_gen_cond_dep '
+			dev-python/constantly[${PYTHON_USEDEP}]
+			dev-python/incremental[${PYTHON_USEDEP}]
+			dev-python/matplotlib[${PYTHON_USEDEP}]
+			dev-python/numpy[${PYTHON_USEDEP}]
+			dev-python/pygments[${PYTHON_USEDEP}]
+			dev-python/sip:5[${PYTHON_USEDEP}]
+			dev-python/six[${PYTHON_USEDEP}]
+			dev-python/twisted[${PYTHON_USEDEP}]
+			dev-python/zope-interface[${PYTHON_USEDEP}]
+			mpi? ( dev-python/mpi4py )
+			qt5? ( dev-python/PyQt5[opengl,${PYTHON_USEDEP}] )
+		')
+	)
+	qt5? (
+		dev-qt/designer:5
+		dev-qt/qtgui:5[-gles2-only]
+		dev-qt/qthelp:5
+		dev-qt/qtopengl:5[-gles2-only]
+		dev-qt/qtsql:5
+		dev-qt/qtsvg:5
+		dev-qt/qttest:5
+		dev-qt/qtx11extras:5
+		dev-qt/qtxmlpatterns:5
+	)
+	sqlite? ( dev-db/sqlite:3 )
+	tk? ( dev-lang/tk:0= )
+	webengine? ( dev-qt/qtwebengine:5[widgets] )"
+DEPEND="${RDEPEND}
+	${PYTHON_DEPS}
+	boost? (
+		$(python_gen_cond_dep '
+			dev-libs/boost[mpi?,python,${PYTHON_USEDEP}]
+		')
+	)
+"
+
+BDEPEND="
+	openmp? ( virtual/fortran )
+"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-5.5.0-allow_custom_build_type.patch
+)
+
+pkg_pretend() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+	use python && python-single-r1_pkg_setup
+	PVLIBDIR=$(get_libdir)/${PN}-${MAJOR_PV}
+}
+
+src_prepare() {
+	# Bug #661812
+	mkdir -p Plugins/StreamLinesRepresentation/doc || die
+
+	cmake_src_prepare
+
+	# lib64 fixes
+	sed -i \
+		-e "s:/lib/python:/$(get_libdir)/python:g" \
+		VTK/ThirdParty/xdmf3/vtkxdmf3/CMakeLists.txt || die
+	sed -i \
+		-e "s:lib/paraview-:$(get_libdir)/paraview-:g" \
+		Remoting/Application/vtkInitializationHelper.cxx || die
+}
+
+src_configure() {
+	# Make sure qmlplugindump is in path:
+	export PATH="$(qt5_get_bindir):${PATH}"
+
+	local mycmakeargs=(
+		-DCMAKE_INSTALL_LIBDIR="${PVLIBDIR}"
+		-UBUILD_SHARED_LIBS
+		-DPARAVIEW_BUILD_SHARED_LIBS=ON
+		-DCMAKE_VERBOSE_MAKEFILE=ON
+
+		# boost
+		-DVTK_MODULE_ENABLE_VTK_IOInfovis="$(usex boost YES NO)"
+
+		# doc
+		-DPARAVIEW_BUILD_DEVELOPER_DOCUMENTATION="$(usex doc)"
+
+		# examples
+		-DBUILD_EXAMPLES="$(usex examples)"
+
+		# ffmpeg
+		-DPARAVIEW_ENABLE_FFMPEG="$(usex ffmpeg)"
+
+		# mpi
+		-DPARAVIEW_USE_MPI="$(usex mpi)"
+		-DXDMF_BUILD_MPI="$(usex mpi)"
+		-DVTK_GROUP_ENABLE_MPI="$(usex mpi YES NO)"
+
+		# offscreen
+		-DVTK_OPENGL_HAS_OSMESA="$(usex offscreen)"
+		-DVTK_OPENGL_HAS_OSMESA="$(usex offscreen)"
+
+		# plugins
+		-DPARAVIEW_PLUGINS_DEFAULT="$(usex plugins)"
+
+		# python
+		-DModule_pqPython="$(usex python)"
+		-DPARAVIEW_USE_PYTHON="$(usex python)"
+
+		# qt5
+		-DPARAVIEW_USE_QT="$(usex qt5)"
+		-DModule_pqPython="$(usex qt5 "$(usex python)" "off")"
+		-DVTK_USE_NVCONTROL="$(usex nvcontrol)"
+		-DVTK_GROUP_ENABLE_Qt="$(usex qt5 YES NO)"
+		-DCMAKE_INSTALL_QMLDIR="${EPREFIX}/usr/$(get_libdir)/qt5/qml"
+
+		# sqlite
+		-DVTK_MODULE_ENABLE_VTK_sqlite="$(usex sqlite YES NO)"
+
+		# test
+		-DBUILD_TESTING="$(usex test)"
+
+		# tk
+		-DVTK_USE_TK="$(usex tk)"
+		-DVTK_GROUP_ENABLE_Tk="$(usex tk YES NO)"
+
+		# webengine
+		-DPARAVIEW_USE_QTWEBENGINE="$(usex webengine)"
+		-DVTK_GROUP_ENABLE_Web="$(usex webengine YES NO)"
+	)
+
+	if use openmp; then
+		mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE=OpenMP )
+	fi
+
+	if use qt5; then
+		mycmakeargs+=(
+			-DOPENGL_gl_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGL.so
+			-DOPENGL_glu_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGLU.so
+			-DQT_MOC_EXECUTABLE="$(qt5_get_bindir)/moc"
+			-Dqt_xmlpatterns_executable="$(qt5_get_bindir)/xmlpatterns"
+		)
+	fi
+
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+
+	# remove wrapper binaries and put the actual executable in place
+	for i in {paraview-config,pvserver,pvdataserver,pvrenderserver,pvbatch,pvpython,paraview}; do
+		if [ -f "${ED}"/usr/lib/"$i" ]; then
+			mv "${ED}"/usr/lib/"$i" "${ED}"/usr/bin/"$i" || die
+		fi
+	done
+
+	# set up the environment
+	echo "LDPATH=${EPREFIX}/usr/${PVLIBDIR}" > "${T}"/40${PN} || die
+	doenvd "${T}"/40${PN}
+
+	newicon "${S}"/Clients/ParaView/pvIcon-96x96.png paraview.png
+	make_desktop_entry paraview "Paraview" paraview
+
+	use python && python_optimize "${ED}/usr/$(get_libdir)/${PN}-${MAJOR_PV}"
+}


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2022-10-28 20:00 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2022-10-28 20:00 UTC (permalink / raw
  To: gentoo-commits

commit:     c2d8ce0e1b6206a225a9f2547bbc65c79218756c
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 28 19:39:26 2022 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Fri Oct 28 20:00:37 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2d8ce0e

sci-visualization/paraview: add 5.11.0_rc2

Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 sci-visualization/paraview/Manifest                |   1 +
 .../paraview/paraview-5.11.0_rc2.ebuild            | 232 +++++++++++++++++++++
 2 files changed, 233 insertions(+)

diff --git a/sci-visualization/paraview/Manifest b/sci-visualization/paraview/Manifest
index b3e8637c7416..81c6f68b1b59 100644
--- a/sci-visualization/paraview/Manifest
+++ b/sci-visualization/paraview/Manifest
@@ -1,2 +1,3 @@
 DIST ParaView-v5.10.1.tar.xz 70218088 BLAKE2B 3134c5df35994a3a153ebd97770066b9963911ae7fb1877681135e01a19c4a879306ae844ef3a29719be5cd509f35117f74eb3c264f1a101fa19180d9a126011 SHA512 1feb855432ea7bc40f77ee214e5877d5170e4f31f520dc7198d72a271506b65a4bc79922875d2c176e54219818a428497c606390a2b9da2770de403bd1593e6c
 DIST ParaView-v5.11.0-RC1.tar.xz 80100552 BLAKE2B 16968e643c8436f9b9c1b5356b42175904fdb8dbc88685420fa7bb6f94833661f0ec03eb4183cabc67348ba11afcbf50c62f18a38929133ac21a5492b0971c5d SHA512 d948b9ee91bb2c3b657ba22103dfed4ce92798266fdfd5aaf596225fb6f0859ecb636145c932ac5fefc64763cfa98ebeef639453b2c7cb73dda82741b6e52478
+DIST ParaView-v5.11.0-RC2.tar.xz 79802928 BLAKE2B 5aefec385f479bfd4709175dce7c98528532068ba576f1f256fe86612f5119576318c4ef73f71e4d0f55c43d4a39ccda2773ec7fd3461acc41a0b9399f4c16fa SHA512 3bbc73d7e6fdd55adc29bdd05caf78d6db1fbd3f295ce63c2c60fa4870880fe4c8534ab5c1ae7cc8748f874b2ffca15cff38bcca2392d14e95ba81fcb9b8a9e5

diff --git a/sci-visualization/paraview/paraview-5.11.0_rc2.ebuild b/sci-visualization/paraview/paraview-5.11.0_rc2.ebuild
new file mode 100644
index 000000000000..702e265d4b09
--- /dev/null
+++ b/sci-visualization/paraview/paraview-5.11.0_rc2.ebuild
@@ -0,0 +1,232 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Python3.11 does not have longintrepr.h causing compile failure
+PYTHON_COMPAT=( python3_{8..10} )
+DOCS_BUILDER="doxygen"
+inherit cmake desktop docs python-single-r1 qmake-utils toolchain-funcs xdg
+
+MAIN_PV=$(ver_cut 0-1)
+MAJOR_PV=$(ver_cut 1-2)
+MY_PN="ParaView"
+MY_PV="${PV//_rc2}-RC2"
+
+DESCRIPTION="Powerful scientific data visualization application"
+HOMEPAGE="https://www.paraview.org"
+SRC_URI="https://www.paraview.org/files/v${MAJOR_PV}/${MY_PN}-v${MY_PV}.tar.xz"
+S="${WORKDIR}/${MY_PN}-v${MY_PV}"
+
+# TODO: check licenses of plugins (USE=plugins)
+LICENSE="BSD MIT PSF-2 VTK"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="boost cg examples ffmpeg mpi nvcontrol openmp offscreen plugins python +qt5 +sqlite test tk +webengine"
+
+RESTRICT="mirror test"
+
+REQUIRED_USE="
+	python? ( mpi ${PYTHON_REQUIRED_USE} )
+	webengine? ( qt5 )
+	qt5? ( sqlite )
+	?? ( offscreen qt5 )"
+
+# TODO: Verify that these two are not needed any more for the catalyst
+# module:
+#  - dev-python/PyQt5
+#  - dev-qt/qtgui:5[-gles2-only]
+RDEPEND="
+	app-arch/lz4
+	dev-libs/expat
+	dev-libs/jsoncpp:=
+	dev-libs/libxml2:2
+	dev-libs/protobuf:=
+	dev-libs/pugixml
+	media-libs/freetype
+	media-libs/glew:0
+	media-libs/libpng:0
+	media-libs/libtheora
+	media-libs/tiff:0=
+	sci-libs/cgnslib
+	sci-libs/hdf5:=[mpi=]
+	>=sci-libs/netcdf-4.2[hdf5]
+	>=sci-libs/netcdf-cxx-4.2:3
+	sys-libs/zlib
+	virtual/glu
+	media-libs/libjpeg-turbo:=
+	x11-libs/libX11
+	x11-libs/libXext
+	x11-libs/libXmu
+	x11-libs/libXt
+	ffmpeg? ( media-video/ffmpeg )
+	mpi? ( virtual/mpi[cxx,romio] )
+	offscreen? ( >=media-libs/mesa-18.3.6[osmesa] )
+	!offscreen? ( virtual/opengl )
+	python? (
+		${PYTHON_DEPS}
+		$(python_gen_cond_dep '
+			dev-python/constantly[${PYTHON_USEDEP}]
+			dev-python/incremental[${PYTHON_USEDEP}]
+			dev-python/matplotlib[${PYTHON_USEDEP}]
+			dev-python/numpy[${PYTHON_USEDEP}]
+			dev-python/pygments[${PYTHON_USEDEP}]
+			dev-python/sip:5[${PYTHON_USEDEP}]
+			dev-python/six[${PYTHON_USEDEP}]
+			dev-python/twisted[${PYTHON_USEDEP}]
+			dev-python/zope-interface[${PYTHON_USEDEP}]
+			mpi? ( dev-python/mpi4py )
+			qt5? ( dev-python/PyQt5[opengl,${PYTHON_USEDEP}] )
+		')
+	)
+	qt5? (
+		dev-qt/designer:5
+		dev-qt/qtgui:5[-gles2-only]
+		dev-qt/qthelp:5
+		dev-qt/qtopengl:5[-gles2-only]
+		dev-qt/qtsql:5
+		dev-qt/qtsvg:5
+		dev-qt/qttest:5
+		dev-qt/qtx11extras:5
+		dev-qt/qtxmlpatterns:5
+	)
+	sqlite? ( dev-db/sqlite:3 )
+	tk? ( dev-lang/tk:0= )
+	webengine? ( dev-qt/qtwebengine:5[widgets] )"
+DEPEND="${RDEPEND}
+	${PYTHON_DEPS}
+	boost? (
+		$(python_gen_cond_dep '
+			dev-libs/boost[mpi?,python,${PYTHON_USEDEP}]
+		')
+	)
+"
+
+BDEPEND="
+	openmp? ( virtual/fortran )
+"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-5.5.0-allow_custom_build_type.patch
+)
+
+pkg_pretend() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+	use python && python-single-r1_pkg_setup
+	PVLIBDIR=$(get_libdir)/${PN}-${MAJOR_PV}
+}
+
+src_prepare() {
+	# Bug #661812
+	mkdir -p Plugins/StreamLinesRepresentation/doc || die
+
+	cmake_src_prepare
+
+	# lib64 fixes
+	sed -i \
+		-e "s:/lib/python:/$(get_libdir)/python:g" \
+		VTK/ThirdParty/xdmf3/vtkxdmf3/CMakeLists.txt || die
+	sed -i \
+		-e "s:lib/paraview-:$(get_libdir)/paraview-:g" \
+		Remoting/Application/vtkInitializationHelper.cxx || die
+}
+
+src_configure() {
+	# Make sure qmlplugindump is in path:
+	export PATH="$(qt5_get_bindir):${PATH}"
+
+	local mycmakeargs=(
+		-DCMAKE_INSTALL_LIBDIR="${PVLIBDIR}"
+		-UBUILD_SHARED_LIBS
+		-DPARAVIEW_BUILD_SHARED_LIBS=ON
+		-DCMAKE_VERBOSE_MAKEFILE=ON
+
+		# boost
+		-DVTK_MODULE_ENABLE_VTK_IOInfovis="$(usex boost YES NO)"
+
+		# doc
+		-DPARAVIEW_BUILD_DEVELOPER_DOCUMENTATION="$(usex doc)"
+
+		# examples
+		-DBUILD_EXAMPLES="$(usex examples)"
+
+		# ffmpeg
+		-DPARAVIEW_ENABLE_FFMPEG="$(usex ffmpeg)"
+
+		# mpi
+		-DPARAVIEW_USE_MPI="$(usex mpi)"
+		-DXDMF_BUILD_MPI="$(usex mpi)"
+		-DVTK_GROUP_ENABLE_MPI="$(usex mpi YES NO)"
+
+		# offscreen
+		-DVTK_OPENGL_HAS_OSMESA="$(usex offscreen)"
+		-DVTK_OPENGL_HAS_OSMESA="$(usex offscreen)"
+
+		# plugins
+		-DPARAVIEW_PLUGINS_DEFAULT="$(usex plugins)"
+
+		# python
+		-DModule_pqPython="$(usex python)"
+		-DPARAVIEW_USE_PYTHON="$(usex python)"
+
+		# qt5
+		-DPARAVIEW_USE_QT="$(usex qt5)"
+		-DModule_pqPython="$(usex qt5 "$(usex python)" "off")"
+		-DVTK_USE_NVCONTROL="$(usex nvcontrol)"
+		-DVTK_GROUP_ENABLE_Qt="$(usex qt5 YES NO)"
+		-DCMAKE_INSTALL_QMLDIR="${EPREFIX}/usr/$(get_libdir)/qt5/qml"
+
+		# sqlite
+		-DVTK_MODULE_ENABLE_VTK_sqlite="$(usex sqlite YES NO)"
+
+		# test
+		-DBUILD_TESTING="$(usex test)"
+
+		# tk
+		-DVTK_USE_TK="$(usex tk)"
+		-DVTK_GROUP_ENABLE_Tk="$(usex tk YES NO)"
+
+		# webengine
+		-DPARAVIEW_USE_QTWEBENGINE="$(usex webengine)"
+		-DVTK_GROUP_ENABLE_Web="$(usex webengine YES NO)"
+	)
+
+	if use openmp; then
+		mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE=OpenMP )
+	fi
+
+	if use qt5; then
+		mycmakeargs+=(
+			-DOPENGL_gl_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGL.so
+			-DOPENGL_glu_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGLU.so
+			-DQT_MOC_EXECUTABLE="$(qt5_get_bindir)/moc"
+			-Dqt_xmlpatterns_executable="$(qt5_get_bindir)/xmlpatterns"
+		)
+	fi
+
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+
+	# remove wrapper binaries and put the actual executable in place
+	for i in {paraview-config,pvserver,pvdataserver,pvrenderserver,pvbatch,pvpython,paraview}; do
+		if [ -f "${ED}"/usr/lib/"$i" ]; then
+			mv "${ED}"/usr/lib/"$i" "${ED}"/usr/bin/"$i" || die
+		fi
+	done
+
+	# set up the environment
+	echo "LDPATH=${EPREFIX}/usr/${PVLIBDIR}" > "${T}"/40${PN} || die
+	doenvd "${T}"/40${PN}
+
+	newicon "${S}"/Clients/ParaView/pvIcon-96x96.png paraview.png
+	make_desktop_entry paraview "Paraview" paraview
+
+	use python && python_optimize "${ED}/usr/$(get_libdir)/${PN}-${MAJOR_PV}"
+}


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2022-12-16  1:40 Sam James
  0 siblings, 0 replies; 89+ messages in thread
From: Sam James @ 2022-12-16  1:40 UTC (permalink / raw
  To: gentoo-commits

commit:     46522b6ae42a93e4b5efb2ccc1e6729779df607d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 16 01:32:25 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Dec 16 01:38:51 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46522b6a

sci-visualization/paraview: add media-libs/libtiff subslot dep

libtiff changed SONAME.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../paraview/{paraview-5.10.1-r2.ebuild => paraview-5.10.1-r4.ebuild}   | 2 +-
 .../{paraview-5.11.0_rc1.ebuild => paraview-5.11.0_rc1-r1.ebuild}       | 2 +-
 .../{paraview-5.11.0_rc2.ebuild => paraview-5.11.0_rc2-r1.ebuild}       | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sci-visualization/paraview/paraview-5.10.1-r2.ebuild b/sci-visualization/paraview/paraview-5.10.1-r4.ebuild
similarity index 99%
rename from sci-visualization/paraview/paraview-5.10.1-r2.ebuild
rename to sci-visualization/paraview/paraview-5.10.1-r4.ebuild
index b770c5a1d408..8125c9438c51 100644
--- a/sci-visualization/paraview/paraview-5.10.1-r2.ebuild
+++ b/sci-visualization/paraview/paraview-5.10.1-r4.ebuild
@@ -42,7 +42,7 @@ RDEPEND="
 	media-libs/glew:0
 	media-libs/libpng:0
 	media-libs/libtheora
-	media-libs/tiff:0=
+	media-libs/tiff:=
 	sci-libs/cgnslib
 	sci-libs/hdf5:=[mpi=]
 	>=sci-libs/netcdf-4.2[hdf5]

diff --git a/sci-visualization/paraview/paraview-5.11.0_rc1.ebuild b/sci-visualization/paraview/paraview-5.11.0_rc1-r1.ebuild
similarity index 99%
rename from sci-visualization/paraview/paraview-5.11.0_rc1.ebuild
rename to sci-visualization/paraview/paraview-5.11.0_rc1-r1.ebuild
index 5dc4345cf6b4..39c7d7ae571a 100644
--- a/sci-visualization/paraview/paraview-5.11.0_rc1.ebuild
+++ b/sci-visualization/paraview/paraview-5.11.0_rc1-r1.ebuild
@@ -47,7 +47,7 @@ RDEPEND="
 	media-libs/glew:0
 	media-libs/libpng:0
 	media-libs/libtheora
-	media-libs/tiff:0=
+	media-libs/tiff:=
 	sci-libs/cgnslib
 	sci-libs/hdf5:=[mpi=]
 	>=sci-libs/netcdf-4.2[hdf5]

diff --git a/sci-visualization/paraview/paraview-5.11.0_rc2.ebuild b/sci-visualization/paraview/paraview-5.11.0_rc2-r1.ebuild
similarity index 99%
rename from sci-visualization/paraview/paraview-5.11.0_rc2.ebuild
rename to sci-visualization/paraview/paraview-5.11.0_rc2-r1.ebuild
index 702e265d4b09..fd2abb768d2a 100644
--- a/sci-visualization/paraview/paraview-5.11.0_rc2.ebuild
+++ b/sci-visualization/paraview/paraview-5.11.0_rc2-r1.ebuild
@@ -47,7 +47,7 @@ RDEPEND="
 	media-libs/glew:0
 	media-libs/libpng:0
 	media-libs/libtheora
-	media-libs/tiff:0=
+	media-libs/tiff:=
 	sci-libs/cgnslib
 	sci-libs/hdf5:=[mpi=]
 	>=sci-libs/netcdf-4.2[hdf5]


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2022-12-18  8:06 Sam James
  0 siblings, 0 replies; 89+ messages in thread
From: Sam James @ 2022-12-18  8:06 UTC (permalink / raw
  To: gentoo-commits

commit:     4f0b03197907b78ac3b474aa9cba8421ce1a9a13
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 18 08:05:10 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Dec 18 08:05:10 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f0b0319

sci-visualization/paraview: drop 5.11.0_rc1-r1

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-visualization/paraview/Manifest                |   1 -
 .../paraview/paraview-5.11.0_rc1-r1.ebuild         | 232 ---------------------
 2 files changed, 233 deletions(-)

diff --git a/sci-visualization/paraview/Manifest b/sci-visualization/paraview/Manifest
index 81c6f68b1b59..92f535fa53a3 100644
--- a/sci-visualization/paraview/Manifest
+++ b/sci-visualization/paraview/Manifest
@@ -1,3 +1,2 @@
 DIST ParaView-v5.10.1.tar.xz 70218088 BLAKE2B 3134c5df35994a3a153ebd97770066b9963911ae7fb1877681135e01a19c4a879306ae844ef3a29719be5cd509f35117f74eb3c264f1a101fa19180d9a126011 SHA512 1feb855432ea7bc40f77ee214e5877d5170e4f31f520dc7198d72a271506b65a4bc79922875d2c176e54219818a428497c606390a2b9da2770de403bd1593e6c
-DIST ParaView-v5.11.0-RC1.tar.xz 80100552 BLAKE2B 16968e643c8436f9b9c1b5356b42175904fdb8dbc88685420fa7bb6f94833661f0ec03eb4183cabc67348ba11afcbf50c62f18a38929133ac21a5492b0971c5d SHA512 d948b9ee91bb2c3b657ba22103dfed4ce92798266fdfd5aaf596225fb6f0859ecb636145c932ac5fefc64763cfa98ebeef639453b2c7cb73dda82741b6e52478
 DIST ParaView-v5.11.0-RC2.tar.xz 79802928 BLAKE2B 5aefec385f479bfd4709175dce7c98528532068ba576f1f256fe86612f5119576318c4ef73f71e4d0f55c43d4a39ccda2773ec7fd3461acc41a0b9399f4c16fa SHA512 3bbc73d7e6fdd55adc29bdd05caf78d6db1fbd3f295ce63c2c60fa4870880fe4c8534ab5c1ae7cc8748f874b2ffca15cff38bcca2392d14e95ba81fcb9b8a9e5

diff --git a/sci-visualization/paraview/paraview-5.11.0_rc1-r1.ebuild b/sci-visualization/paraview/paraview-5.11.0_rc1-r1.ebuild
deleted file mode 100644
index 39c7d7ae571a..000000000000
--- a/sci-visualization/paraview/paraview-5.11.0_rc1-r1.ebuild
+++ /dev/null
@@ -1,232 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Python3.11 does not have longintrepr.h causing compile failure
-PYTHON_COMPAT=( python3_{8..10} )
-DOCS_BUILDER="doxygen"
-inherit cmake desktop docs python-single-r1 qmake-utils toolchain-funcs xdg
-
-MAIN_PV=$(ver_cut 0-1)
-MAJOR_PV=$(ver_cut 1-2)
-MY_PN="ParaView"
-MY_PV="${PV//_rc1}-RC1"
-
-DESCRIPTION="Powerful scientific data visualization application"
-HOMEPAGE="https://www.paraview.org"
-SRC_URI="https://www.paraview.org/files/v${MAJOR_PV}/${MY_PN}-v${MY_PV}.tar.xz"
-S="${WORKDIR}/${MY_PN}-v${MY_PV}"
-
-# TODO: check licenses of plugins (USE=plugins)
-LICENSE="BSD MIT PSF-2 VTK"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="boost cg examples ffmpeg mpi nvcontrol openmp offscreen plugins python +qt5 +sqlite test tk +webengine"
-
-RESTRICT="mirror test"
-
-REQUIRED_USE="
-	python? ( mpi ${PYTHON_REQUIRED_USE} )
-	webengine? ( qt5 )
-	qt5? ( sqlite )
-	?? ( offscreen qt5 )"
-
-# TODO: Verify that these two are not needed any more for the catalyst
-# module:
-#  - dev-python/PyQt5
-#  - dev-qt/qtgui:5[-gles2-only]
-RDEPEND="
-	app-arch/lz4
-	dev-libs/expat
-	dev-libs/jsoncpp:=
-	dev-libs/libxml2:2
-	dev-libs/protobuf:=
-	dev-libs/pugixml
-	media-libs/freetype
-	media-libs/glew:0
-	media-libs/libpng:0
-	media-libs/libtheora
-	media-libs/tiff:=
-	sci-libs/cgnslib
-	sci-libs/hdf5:=[mpi=]
-	>=sci-libs/netcdf-4.2[hdf5]
-	>=sci-libs/netcdf-cxx-4.2:3
-	sys-libs/zlib
-	virtual/glu
-	media-libs/libjpeg-turbo:=
-	x11-libs/libX11
-	x11-libs/libXext
-	x11-libs/libXmu
-	x11-libs/libXt
-	ffmpeg? ( media-video/ffmpeg )
-	mpi? ( virtual/mpi[cxx,romio] )
-	offscreen? ( >=media-libs/mesa-18.3.6[osmesa] )
-	!offscreen? ( virtual/opengl )
-	python? (
-		${PYTHON_DEPS}
-		$(python_gen_cond_dep '
-			dev-python/constantly[${PYTHON_USEDEP}]
-			dev-python/incremental[${PYTHON_USEDEP}]
-			dev-python/matplotlib[${PYTHON_USEDEP}]
-			dev-python/numpy[${PYTHON_USEDEP}]
-			dev-python/pygments[${PYTHON_USEDEP}]
-			dev-python/sip:5[${PYTHON_USEDEP}]
-			dev-python/six[${PYTHON_USEDEP}]
-			dev-python/twisted[${PYTHON_USEDEP}]
-			dev-python/zope-interface[${PYTHON_USEDEP}]
-			mpi? ( dev-python/mpi4py )
-			qt5? ( dev-python/PyQt5[opengl,${PYTHON_USEDEP}] )
-		')
-	)
-	qt5? (
-		dev-qt/designer:5
-		dev-qt/qtgui:5[-gles2-only]
-		dev-qt/qthelp:5
-		dev-qt/qtopengl:5[-gles2-only]
-		dev-qt/qtsql:5
-		dev-qt/qtsvg:5
-		dev-qt/qttest:5
-		dev-qt/qtx11extras:5
-		dev-qt/qtxmlpatterns:5
-	)
-	sqlite? ( dev-db/sqlite:3 )
-	tk? ( dev-lang/tk:0= )
-	webengine? ( dev-qt/qtwebengine:5[widgets] )"
-DEPEND="${RDEPEND}
-	${PYTHON_DEPS}
-	boost? (
-		$(python_gen_cond_dep '
-			dev-libs/boost[mpi?,python,${PYTHON_USEDEP}]
-		')
-	)
-"
-
-BDEPEND="
-	openmp? ( virtual/fortran )
-"
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-5.5.0-allow_custom_build_type.patch
-)
-
-pkg_pretend() {
-	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-pkg_setup() {
-	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-	use python && python-single-r1_pkg_setup
-	PVLIBDIR=$(get_libdir)/${PN}-${MAJOR_PV}
-}
-
-src_prepare() {
-	# Bug #661812
-	mkdir -p Plugins/StreamLinesRepresentation/doc || die
-
-	cmake_src_prepare
-
-	# lib64 fixes
-	sed -i \
-		-e "s:/lib/python:/$(get_libdir)/python:g" \
-		VTK/ThirdParty/xdmf3/vtkxdmf3/CMakeLists.txt || die
-	sed -i \
-		-e "s:lib/paraview-:$(get_libdir)/paraview-:g" \
-		Remoting/Application/vtkInitializationHelper.cxx || die
-}
-
-src_configure() {
-	# Make sure qmlplugindump is in path:
-	export PATH="$(qt5_get_bindir):${PATH}"
-
-	local mycmakeargs=(
-		-DCMAKE_INSTALL_LIBDIR="${PVLIBDIR}"
-		-UBUILD_SHARED_LIBS
-		-DPARAVIEW_BUILD_SHARED_LIBS=ON
-		-DCMAKE_VERBOSE_MAKEFILE=ON
-
-		# boost
-		-DVTK_MODULE_ENABLE_VTK_IOInfovis="$(usex boost YES NO)"
-
-		# doc
-		-DPARAVIEW_BUILD_DEVELOPER_DOCUMENTATION="$(usex doc)"
-
-		# examples
-		-DBUILD_EXAMPLES="$(usex examples)"
-
-		# ffmpeg
-		-DPARAVIEW_ENABLE_FFMPEG="$(usex ffmpeg)"
-
-		# mpi
-		-DPARAVIEW_USE_MPI="$(usex mpi)"
-		-DXDMF_BUILD_MPI="$(usex mpi)"
-		-DVTK_GROUP_ENABLE_MPI="$(usex mpi YES NO)"
-
-		# offscreen
-		-DVTK_OPENGL_HAS_OSMESA="$(usex offscreen)"
-		-DVTK_OPENGL_HAS_OSMESA="$(usex offscreen)"
-
-		# plugins
-		-DPARAVIEW_PLUGINS_DEFAULT="$(usex plugins)"
-
-		# python
-		-DModule_pqPython="$(usex python)"
-		-DPARAVIEW_USE_PYTHON="$(usex python)"
-
-		# qt5
-		-DPARAVIEW_USE_QT="$(usex qt5)"
-		-DModule_pqPython="$(usex qt5 "$(usex python)" "off")"
-		-DVTK_USE_NVCONTROL="$(usex nvcontrol)"
-		-DVTK_GROUP_ENABLE_Qt="$(usex qt5 YES NO)"
-		-DCMAKE_INSTALL_QMLDIR="${EPREFIX}/usr/$(get_libdir)/qt5/qml"
-
-		# sqlite
-		-DVTK_MODULE_ENABLE_VTK_sqlite="$(usex sqlite YES NO)"
-
-		# test
-		-DBUILD_TESTING="$(usex test)"
-
-		# tk
-		-DVTK_USE_TK="$(usex tk)"
-		-DVTK_GROUP_ENABLE_Tk="$(usex tk YES NO)"
-
-		# webengine
-		-DPARAVIEW_USE_QTWEBENGINE="$(usex webengine)"
-		-DVTK_GROUP_ENABLE_Web="$(usex webengine YES NO)"
-	)
-
-	if use openmp; then
-		mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE=OpenMP )
-	fi
-
-	if use qt5; then
-		mycmakeargs+=(
-			-DOPENGL_gl_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGL.so
-			-DOPENGL_glu_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGLU.so
-			-DQT_MOC_EXECUTABLE="$(qt5_get_bindir)/moc"
-			-Dqt_xmlpatterns_executable="$(qt5_get_bindir)/xmlpatterns"
-		)
-	fi
-
-	cmake_src_configure
-}
-
-src_install() {
-	cmake_src_install
-
-	# remove wrapper binaries and put the actual executable in place
-	for i in {paraview-config,pvserver,pvdataserver,pvrenderserver,pvbatch,pvpython,paraview}; do
-		if [ -f "${ED}"/usr/lib/"$i" ]; then
-			mv "${ED}"/usr/lib/"$i" "${ED}"/usr/bin/"$i" || die
-		fi
-	done
-
-	# set up the environment
-	echo "LDPATH=${EPREFIX}/usr/${PVLIBDIR}" > "${T}"/40${PN} || die
-	doenvd "${T}"/40${PN}
-
-	newicon "${S}"/Clients/ParaView/pvIcon-96x96.png paraview.png
-	make_desktop_entry paraview "Paraview" paraview
-
-	use python && python_optimize "${ED}/usr/$(get_libdir)/${PN}-${MAJOR_PV}"
-}


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2023-04-20 19:47 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2023-04-20 19:47 UTC (permalink / raw
  To: gentoo-commits

commit:     587f35adb343929c5f2db2e2a41ef02e4906ad79
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 20 04:23:43 2023 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Thu Apr 20 19:47:30 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=587f35ad

sci-visualization/paraview: add 5.11.1

Closes: https://bugs.gentoo.org/847379
Closes: https://bugs.gentoo.org/863299
Closes: https://bugs.gentoo.org/890493
Closes: https://bugs.gentoo.org/897246

Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 sci-visualization/paraview/Manifest               |   1 +
 sci-visualization/paraview/paraview-5.11.1.ebuild | 236 ++++++++++++++++++++++
 2 files changed, 237 insertions(+)

diff --git a/sci-visualization/paraview/Manifest b/sci-visualization/paraview/Manifest
index 92f535fa53a3..c3a7605bbd6f 100644
--- a/sci-visualization/paraview/Manifest
+++ b/sci-visualization/paraview/Manifest
@@ -1,2 +1,3 @@
 DIST ParaView-v5.10.1.tar.xz 70218088 BLAKE2B 3134c5df35994a3a153ebd97770066b9963911ae7fb1877681135e01a19c4a879306ae844ef3a29719be5cd509f35117f74eb3c264f1a101fa19180d9a126011 SHA512 1feb855432ea7bc40f77ee214e5877d5170e4f31f520dc7198d72a271506b65a4bc79922875d2c176e54219818a428497c606390a2b9da2770de403bd1593e6c
 DIST ParaView-v5.11.0-RC2.tar.xz 79802928 BLAKE2B 5aefec385f479bfd4709175dce7c98528532068ba576f1f256fe86612f5119576318c4ef73f71e4d0f55c43d4a39ccda2773ec7fd3461acc41a0b9399f4c16fa SHA512 3bbc73d7e6fdd55adc29bdd05caf78d6db1fbd3f295ce63c2c60fa4870880fe4c8534ab5c1ae7cc8748f874b2ffca15cff38bcca2392d14e95ba81fcb9b8a9e5
+DIST ParaView-v5.11.1.tar.xz 79847556 BLAKE2B efef5e519a82ef1c0a7d532578778f6a95f07ebd72ebefd0cbdcff0bfc3af1773601cd102ff81f45f302fcaa4bb6ec7ee68f7dec77f5d4e137c2842fbbb54e11 SHA512 d0e666b49f49e41dba23e23d454a9462f018bd6d832628b0029e8d54760f0439ca97841a26da3126c5144780fc01dc25234a6624fb35346a98d35cbe0e0c98ca

diff --git a/sci-visualization/paraview/paraview-5.11.1.ebuild b/sci-visualization/paraview/paraview-5.11.1.ebuild
new file mode 100644
index 000000000000..14339e04a447
--- /dev/null
+++ b/sci-visualization/paraview/paraview-5.11.1.ebuild
@@ -0,0 +1,236 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+DOCS_BUILDER="doxygen"
+inherit cmake flag-o-matic desktop docs python-single-r1 qmake-utils toolchain-funcs xdg
+
+MAIN_PV=$(ver_cut 0-1)
+MAJOR_PV=$(ver_cut 1-2)
+MY_P="ParaView-v${PV}"
+
+DESCRIPTION="Powerful scientific data visualization application"
+HOMEPAGE="https://www.paraview.org"
+SRC_URI="https://www.paraview.org/files/v${MAJOR_PV}/${MY_P}.tar.xz"
+S="${WORKDIR}/${MY_P}"
+
+# TODO: check licenses of plugins (USE=plugins)
+LICENSE="BSD MIT PSF-2 VTK"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="boost cg examples ffmpeg mpi nvcontrol openmp offscreen plugins python +qt5 +sqlite test tk +webengine"
+
+RESTRICT="mirror test"
+
+REQUIRED_USE="
+	python? ( mpi ${PYTHON_REQUIRED_USE} )
+	webengine? ( qt5 )
+	qt5? ( sqlite )
+	?? ( offscreen qt5 )"
+
+# TODO: Verify that these two are not needed any more for the catalyst
+# module:
+#  - dev-python/PyQt5
+#  - dev-qt/qtgui:5[-gles2-only]
+RDEPEND="
+	app-arch/lz4
+	dev-libs/expat
+	dev-libs/jsoncpp:=
+	dev-libs/libxml2:2
+	dev-libs/protobuf:=
+	dev-libs/pugixml
+	media-libs/freetype
+	media-libs/glew:0
+	media-libs/libpng:0
+	media-libs/libtheora
+	media-libs/tiff:=
+	sci-libs/cgnslib
+	sci-libs/hdf5:=[mpi=]
+	>=sci-libs/netcdf-4.2[hdf5]
+	>=sci-libs/netcdf-cxx-4.2:3
+	sys-libs/zlib
+	virtual/glu
+	media-libs/libjpeg-turbo:=
+	x11-libs/libX11
+	x11-libs/libXext
+	x11-libs/libXmu
+	x11-libs/libXt
+	ffmpeg? ( media-video/ffmpeg )
+	mpi? ( virtual/mpi[cxx,romio] )
+	offscreen? ( >=media-libs/mesa-18.3.6[osmesa] )
+	!offscreen? ( virtual/opengl )
+	python? (
+		${PYTHON_DEPS}
+		$(python_gen_cond_dep '
+			dev-python/constantly[${PYTHON_USEDEP}]
+			dev-python/incremental[${PYTHON_USEDEP}]
+			dev-python/matplotlib[${PYTHON_USEDEP}]
+			dev-python/numpy[${PYTHON_USEDEP}]
+			dev-python/pygments[${PYTHON_USEDEP}]
+			dev-python/sip:5[${PYTHON_USEDEP}]
+			dev-python/six[${PYTHON_USEDEP}]
+			dev-python/twisted[${PYTHON_USEDEP}]
+			dev-python/zope-interface[${PYTHON_USEDEP}]
+			mpi? ( dev-python/mpi4py )
+			qt5? ( dev-python/PyQt5[opengl,${PYTHON_USEDEP}] )
+		')
+	)
+	qt5? (
+		dev-qt/designer:5
+		dev-qt/qtgui:5[-gles2-only]
+		dev-qt/qthelp:5
+		dev-qt/qtopengl:5[-gles2-only]
+		dev-qt/qtsql:5
+		dev-qt/qtsvg:5
+		dev-qt/qttest:5
+		dev-qt/qtx11extras:5
+		dev-qt/qtxmlpatterns:5
+	)
+	sqlite? ( dev-db/sqlite:3 )
+	tk? ( dev-lang/tk:0= )
+	webengine? ( dev-qt/qtwebengine:5[widgets] )"
+DEPEND="${RDEPEND}
+	${PYTHON_DEPS}
+	boost? (
+		$(python_gen_cond_dep '
+			dev-libs/boost[mpi?,python,${PYTHON_USEDEP}]
+		')
+	)
+"
+
+BDEPEND="
+	openmp? ( virtual/fortran )
+"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-5.5.0-allow_custom_build_type.patch
+)
+
+pkg_pretend() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+	use python && python-single-r1_pkg_setup
+	PVLIBDIR=$(get_libdir)/${PN}-${MAJOR_PV}
+}
+
+src_prepare() {
+	# Bug #661812
+	mkdir -p Plugins/StreamLinesRepresentation/doc || die
+
+	cmake_src_prepare
+
+	# lib64 fixes
+	sed -i \
+		-e "s:/lib/python:/$(get_libdir)/python:g" \
+		VTK/ThirdParty/xdmf3/vtkxdmf3/CMakeLists.txt || die
+	sed -i \
+		-e "s:lib/paraview-:$(get_libdir)/paraview-:g" \
+		Remoting/Application/vtkInitializationHelper.cxx || die
+}
+
+src_configure() {
+	# Needed to compile bundled VTK in ParaView 5.11.1 with gcc 12
+	# see also, bug #863299
+	filter-lto
+	append-cflags $(test-flags-CC -fno-strict-aliasing -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion)
+	append-cxxflags $(test-flags-CXX -fno-strict-aliasing -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion)
+
+	# Make sure qmlplugindump is in path:
+	export PATH="$(qt5_get_bindir):${PATH}"
+
+	local mycmakeargs=(
+		-DCMAKE_INSTALL_LIBDIR="${PVLIBDIR}"
+		-UBUILD_SHARED_LIBS
+		-DPARAVIEW_BUILD_SHARED_LIBS=ON
+		-DCMAKE_VERBOSE_MAKEFILE=ON
+
+		# boost
+		-DVTK_MODULE_ENABLE_VTK_IOInfovis="$(usex boost YES NO)"
+
+		# doc
+		-DPARAVIEW_BUILD_DEVELOPER_DOCUMENTATION="$(usex doc)"
+
+		# examples
+		-DBUILD_EXAMPLES="$(usex examples)"
+
+		# ffmpeg
+		-DPARAVIEW_ENABLE_FFMPEG="$(usex ffmpeg)"
+
+		# mpi
+		-DPARAVIEW_USE_MPI="$(usex mpi)"
+		-DXDMF_BUILD_MPI="$(usex mpi)"
+		-DVTK_GROUP_ENABLE_MPI="$(usex mpi YES NO)"
+
+		# offscreen
+		-DVTK_OPENGL_HAS_OSMESA="$(usex offscreen)"
+		-DVTK_OPENGL_HAS_OSMESA="$(usex offscreen)"
+
+		# plugins
+		-DPARAVIEW_PLUGINS_DEFAULT="$(usex plugins)"
+
+		# python
+		-DModule_pqPython="$(usex python)"
+		-DPARAVIEW_USE_PYTHON="$(usex python)"
+
+		# qt5
+		-DPARAVIEW_USE_QT="$(usex qt5)"
+		-DModule_pqPython="$(usex qt5 "$(usex python)" "off")"
+		-DVTK_USE_NVCONTROL="$(usex nvcontrol)"
+		-DVTK_GROUP_ENABLE_Qt="$(usex qt5 YES NO)"
+		-DCMAKE_INSTALL_QMLDIR="${EPREFIX}/usr/$(get_libdir)/qt5/qml"
+
+		# sqlite
+		-DVTK_MODULE_ENABLE_VTK_sqlite="$(usex sqlite YES NO)"
+
+		# test
+		-DBUILD_TESTING="$(usex test)"
+
+		# tk
+		-DVTK_USE_TK="$(usex tk)"
+		-DVTK_GROUP_ENABLE_Tk="$(usex tk YES NO)"
+
+		# webengine
+		-DPARAVIEW_USE_QTWEBENGINE="$(usex webengine)"
+		-DVTK_GROUP_ENABLE_Web="$(usex webengine YES NO)"
+	)
+
+	if use openmp; then
+		mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE=OpenMP )
+	fi
+
+	if use qt5; then
+		mycmakeargs+=(
+			-DOPENGL_gl_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGL.so
+			-DOPENGL_glu_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGLU.so
+			-DQT_MOC_EXECUTABLE="$(qt5_get_bindir)/moc"
+			-Dqt_xmlpatterns_executable="$(qt5_get_bindir)/xmlpatterns"
+		)
+	fi
+
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+
+	# remove wrapper binaries and put the actual executable in place
+	for i in {paraview-config,pvserver,pvdataserver,pvrenderserver,pvbatch,pvpython,paraview}; do
+		if [ -f "${ED}"/usr/lib/"$i" ]; then
+			mv "${ED}"/usr/lib/"$i" "${ED}"/usr/bin/"$i" || die
+		fi
+	done
+
+	# set up the environment
+	echo "LDPATH=${EPREFIX}/usr/${PVLIBDIR}" > "${T}"/40${PN} || die
+	doenvd "${T}"/40${PN}
+
+	newicon "${S}"/Clients/ParaView/pvIcon-96x96.png paraview.png
+	make_desktop_entry paraview "Paraview" paraview
+
+	use python && python_optimize "${ED}/usr/$(get_libdir)/${PN}-${MAJOR_PV}"
+}


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2023-05-26 11:39 Andreas Sturmlechner
  0 siblings, 0 replies; 89+ messages in thread
From: Andreas Sturmlechner @ 2023-05-26 11:39 UTC (permalink / raw
  To: gentoo-commits

commit:     931b24a863e244addc072b96a272e7916d77132a
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun May 14 07:24:12 2023 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri May 26 11:39:10 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=931b24a8

sci-visualization/paraview: drop 5.10.1-r4, 5.11.0_rc2-r1

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sci-visualization/paraview/Manifest                |   2 -
 .../paraview/paraview-5.10.1-r4.ebuild             | 233 ---------------------
 .../paraview/paraview-5.11.0_rc2-r1.ebuild         | 232 --------------------
 3 files changed, 467 deletions(-)

diff --git a/sci-visualization/paraview/Manifest b/sci-visualization/paraview/Manifest
index c3a7605bbd6f..748ff935c1c0 100644
--- a/sci-visualization/paraview/Manifest
+++ b/sci-visualization/paraview/Manifest
@@ -1,3 +1 @@
-DIST ParaView-v5.10.1.tar.xz 70218088 BLAKE2B 3134c5df35994a3a153ebd97770066b9963911ae7fb1877681135e01a19c4a879306ae844ef3a29719be5cd509f35117f74eb3c264f1a101fa19180d9a126011 SHA512 1feb855432ea7bc40f77ee214e5877d5170e4f31f520dc7198d72a271506b65a4bc79922875d2c176e54219818a428497c606390a2b9da2770de403bd1593e6c
-DIST ParaView-v5.11.0-RC2.tar.xz 79802928 BLAKE2B 5aefec385f479bfd4709175dce7c98528532068ba576f1f256fe86612f5119576318c4ef73f71e4d0f55c43d4a39ccda2773ec7fd3461acc41a0b9399f4c16fa SHA512 3bbc73d7e6fdd55adc29bdd05caf78d6db1fbd3f295ce63c2c60fa4870880fe4c8534ab5c1ae7cc8748f874b2ffca15cff38bcca2392d14e95ba81fcb9b8a9e5
 DIST ParaView-v5.11.1.tar.xz 79847556 BLAKE2B efef5e519a82ef1c0a7d532578778f6a95f07ebd72ebefd0cbdcff0bfc3af1773601cd102ff81f45f302fcaa4bb6ec7ee68f7dec77f5d4e137c2842fbbb54e11 SHA512 d0e666b49f49e41dba23e23d454a9462f018bd6d832628b0029e8d54760f0439ca97841a26da3126c5144780fc01dc25234a6624fb35346a98d35cbe0e0c98ca

diff --git a/sci-visualization/paraview/paraview-5.10.1-r4.ebuild b/sci-visualization/paraview/paraview-5.10.1-r4.ebuild
deleted file mode 100644
index 228ee71871a7..000000000000
--- a/sci-visualization/paraview/paraview-5.10.1-r4.ebuild
+++ /dev/null
@@ -1,233 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{9,10} )
-inherit cmake desktop python-single-r1 qmake-utils toolchain-funcs xdg-utils
-
-MAIN_PV=$(ver_cut 0-1)
-MAJOR_PV=$(ver_cut 1-2)
-MY_P="ParaView-v${PV}"
-
-DESCRIPTION="Powerful scientific data visualization application"
-HOMEPAGE="https://www.paraview.org"
-SRC_URI="https://www.paraview.org/files/v${MAJOR_PV}/${MY_P}.tar.xz"
-
-LICENSE="paraview GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="boost cg doc examples ffmpeg mpi nvcontrol openmp offscreen plugins python +qt5 +sqlite test tk +webengine"
-
-RESTRICT="mirror test"
-
-REQUIRED_USE="
-	python? ( mpi ${PYTHON_REQUIRED_USE} )
-	webengine? ( qt5 )
-	qt5? ( sqlite )
-	?? ( offscreen qt5 )"
-
-# TODO: Verify that these two are not needed any more for the catalyst
-# module:
-#  - dev-python/PyQt5
-#  - dev-qt/qtgui:5[-gles2-only]
-RDEPEND="
-	app-arch/lz4
-	dev-libs/expat
-	dev-libs/jsoncpp:=
-	dev-libs/libxml2:2
-	dev-libs/protobuf:=
-	dev-libs/pugixml
-	media-libs/freetype
-	media-libs/glew:0
-	media-libs/libpng:0
-	media-libs/libtheora
-	media-libs/tiff:=
-	sci-libs/cgnslib
-	sci-libs/hdf5:=[mpi=]
-	>=sci-libs/netcdf-4.2[hdf5]
-	>=sci-libs/netcdf-cxx-4.2:3
-	sys-libs/zlib
-	virtual/glu
-	media-libs/libjpeg-turbo:=
-	x11-libs/libX11
-	x11-libs/libXext
-	x11-libs/libXmu
-	x11-libs/libXt
-	ffmpeg? ( media-video/ffmpeg )
-	mpi? ( virtual/mpi[cxx,romio] )
-	offscreen? ( >=media-libs/mesa-18.3.6[osmesa] )
-	!offscreen? ( virtual/opengl )
-	python? (
-		${PYTHON_DEPS}
-		$(python_gen_cond_dep '
-			dev-python/constantly[${PYTHON_USEDEP}]
-			dev-python/incremental[${PYTHON_USEDEP}]
-			dev-python/matplotlib[${PYTHON_USEDEP}]
-			dev-python/numpy[${PYTHON_USEDEP}]
-			dev-python/pygments[${PYTHON_USEDEP}]
-			dev-python/sip:0[${PYTHON_USEDEP}]
-			dev-python/six[${PYTHON_USEDEP}]
-			dev-python/twisted[${PYTHON_USEDEP}]
-			dev-python/zope-interface[${PYTHON_USEDEP}]
-			mpi? ( dev-python/mpi4py )
-			qt5? ( dev-python/PyQt5[opengl,${PYTHON_USEDEP}] )
-		')
-	)
-	qt5? (
-		dev-qt/designer:5
-		dev-qt/qtgui:5[-gles2-only]
-		dev-qt/qthelp:5
-		dev-qt/qtopengl:5[-gles2-only]
-		dev-qt/qtsql:5
-		dev-qt/qtsvg:5
-		dev-qt/qttest:5
-		dev-qt/qtx11extras:5
-		dev-qt/qtxmlpatterns:5
-	)
-	sqlite? ( dev-db/sqlite:3 )
-	tk? ( dev-lang/tk:0= )
-	webengine? ( dev-qt/qtwebengine:5[widgets] )"
-DEPEND="${RDEPEND}
-	${PYTHON_DEPS}
-	boost? (
-		$(python_gen_cond_dep '
-			dev-libs/boost[mpi?,python,${PYTHON_USEDEP}]
-		')
-	)
-	doc? ( app-doc/doxygen )"
-
-S="${WORKDIR}/${MY_P}"
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-5.5.0-allow_custom_build_type.patch
-)
-
-pkg_pretend() {
-	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-pkg_setup() {
-	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-	use python && python-single-r1_pkg_setup
-	PVLIBDIR=$(get_libdir)/${PN}-${MAJOR_PV}
-}
-
-src_prepare() {
-	# Bug #661812
-	mkdir -p Plugins/StreamLinesRepresentation/doc || die
-
-	cmake_src_prepare
-
-	# lib64 fixes
-	sed -i \
-		-e "s:/lib/python:/$(get_libdir)/python:g" \
-		VTK/ThirdParty/xdmf3/vtkxdmf3/CMakeLists.txt || die
-	sed -i \
-		-e "s:lib/paraview-:$(get_libdir)/paraview-:g" \
-		Remoting/Application/vtkInitializationHelper.cxx || die
-}
-
-src_configure() {
-	# Make sure qmlplugindump is in path:
-	export PATH="$(qt5_get_bindir):${PATH}"
-
-	local mycmakeargs=(
-		-DCMAKE_INSTALL_LIBDIR="${PVLIBDIR}"
-		-UBUILD_SHARED_LIBS
-		-DPARAVIEW_BUILD_SHARED_LIBS=ON
-		-DCMAKE_VERBOSE_MAKEFILE=ON
-
-		# boost
-		-DVTK_MODULE_ENABLE_VTK_IOInfovis="$(usex boost YES NO)"
-
-		# doc
-		-DPARAVIEW_BUILD_DEVELOPER_DOCUMENTATION="$(usex doc)"
-
-		# examples
-		-DBUILD_EXAMPLES="$(usex examples)"
-
-		# ffmpeg
-		-DPARAVIEW_ENABLE_FFMPEG="$(usex ffmpeg)"
-
-		# mpi
-		-DPARAVIEW_USE_MPI="$(usex mpi)"
-		-DXDMF_BUILD_MPI="$(usex mpi)"
-		-DVTK_GROUP_ENABLE_MPI="$(usex mpi YES NO)"
-
-		# offscreen
-		-DVTK_OPENGL_HAS_OSMESA="$(usex offscreen)"
-		-DVTK_OPENGL_HAS_OSMESA="$(usex offscreen)"
-
-		# plugins
-		-DPARAVIEW_PLUGINS_DEFAULT="$(usex plugins)"
-
-		# python
-		-DModule_pqPython="$(usex python)"
-		-DPARAVIEW_USE_PYTHON="$(usex python)"
-
-		# qt5
-		-DPARAVIEW_USE_QT="$(usex qt5)"
-		-DModule_pqPython="$(usex qt5 "$(usex python)" "off")"
-		-DVTK_USE_NVCONTROL="$(usex nvcontrol)"
-		-DVTK_GROUP_ENABLE_Qt="$(usex qt5 YES NO)"
-		-DCMAKE_INSTALL_QMLDIR="${EPREFIX}/usr/$(get_libdir)/qt5/qml"
-
-		# sqlite
-		-DVTK_MODULE_ENABLE_VTK_sqlite="$(usex sqlite YES NO)"
-
-		# test
-		-DBUILD_TESTING="$(usex test)"
-
-		# tk
-		-DVTK_USE_TK="$(usex tk)"
-		-DVTK_GROUP_ENABLE_Tk="$(usex tk YES NO)"
-
-		# webengine
-		-DPARAVIEW_USE_QTWEBENGINE="$(usex webengine)"
-		-DVTK_GROUP_ENABLE_Web="$(usex webengine YES NO)"
-	)
-
-	if use openmp; then
-		mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE=OpenMP )
-	fi
-
-	if use qt5; then
-		mycmakeargs+=(
-			-DOPENGL_gl_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGL.so
-			-DOPENGL_glu_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGLU.so
-			-DQT_MOC_EXECUTABLE="$(qt5_get_bindir)/moc"
-			-Dqt_xmlpatterns_executable="$(qt5_get_bindir)/xmlpatterns"
-		)
-	fi
-
-	cmake_src_configure
-}
-
-src_install() {
-	cmake_src_install
-
-	# remove wrapper binaries and put the actual executable in place
-	for i in {paraview-config,pvserver,pvdataserver,pvrenderserver,pvbatch,pvpython,paraview}; do
-		if [ -f "${ED}"/usr/lib/"$i" ]; then
-			mv "${ED}"/usr/lib/"$i" "${ED}"/usr/bin/"$i" || die
-		fi
-	done
-
-	# set up the environment
-	echo "LDPATH=${EPREFIX}/usr/${PVLIBDIR}" > "${T}"/40${PN} || die
-	doenvd "${T}"/40${PN}
-
-	newicon "${S}"/Clients/ParaView/pvIcon-96x96.png paraview.png
-	make_desktop_entry paraview "Paraview" paraview
-
-	use python && python_optimize "${D}"/usr/$(get_libdir)/${PN}-${MAJOR_PV}
-}
-
-pkg_postinst() {
-	xdg_icon_cache_update
-}
-
-pkg_postrm() {
-	xdg_icon_cache_update
-}

diff --git a/sci-visualization/paraview/paraview-5.11.0_rc2-r1.ebuild b/sci-visualization/paraview/paraview-5.11.0_rc2-r1.ebuild
deleted file mode 100644
index 57405f398c6e..000000000000
--- a/sci-visualization/paraview/paraview-5.11.0_rc2-r1.ebuild
+++ /dev/null
@@ -1,232 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Python3.11 does not have longintrepr.h causing compile failure
-PYTHON_COMPAT=( python3_{9..10} )
-DOCS_BUILDER="doxygen"
-inherit cmake desktop docs python-single-r1 qmake-utils toolchain-funcs xdg
-
-MAIN_PV=$(ver_cut 0-1)
-MAJOR_PV=$(ver_cut 1-2)
-MY_PN="ParaView"
-MY_PV="${PV//_rc2}-RC2"
-
-DESCRIPTION="Powerful scientific data visualization application"
-HOMEPAGE="https://www.paraview.org"
-SRC_URI="https://www.paraview.org/files/v${MAJOR_PV}/${MY_PN}-v${MY_PV}.tar.xz"
-S="${WORKDIR}/${MY_PN}-v${MY_PV}"
-
-# TODO: check licenses of plugins (USE=plugins)
-LICENSE="BSD MIT PSF-2 VTK"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="boost cg examples ffmpeg mpi nvcontrol openmp offscreen plugins python +qt5 +sqlite test tk +webengine"
-
-RESTRICT="mirror test"
-
-REQUIRED_USE="
-	python? ( mpi ${PYTHON_REQUIRED_USE} )
-	webengine? ( qt5 )
-	qt5? ( sqlite )
-	?? ( offscreen qt5 )"
-
-# TODO: Verify that these two are not needed any more for the catalyst
-# module:
-#  - dev-python/PyQt5
-#  - dev-qt/qtgui:5[-gles2-only]
-RDEPEND="
-	app-arch/lz4
-	dev-libs/expat
-	dev-libs/jsoncpp:=
-	dev-libs/libxml2:2
-	dev-libs/protobuf:=
-	dev-libs/pugixml
-	media-libs/freetype
-	media-libs/glew:0
-	media-libs/libpng:0
-	media-libs/libtheora
-	media-libs/tiff:=
-	sci-libs/cgnslib
-	sci-libs/hdf5:=[mpi=]
-	>=sci-libs/netcdf-4.2[hdf5]
-	>=sci-libs/netcdf-cxx-4.2:3
-	sys-libs/zlib
-	virtual/glu
-	media-libs/libjpeg-turbo:=
-	x11-libs/libX11
-	x11-libs/libXext
-	x11-libs/libXmu
-	x11-libs/libXt
-	ffmpeg? ( media-video/ffmpeg )
-	mpi? ( virtual/mpi[cxx,romio] )
-	offscreen? ( >=media-libs/mesa-18.3.6[osmesa] )
-	!offscreen? ( virtual/opengl )
-	python? (
-		${PYTHON_DEPS}
-		$(python_gen_cond_dep '
-			dev-python/constantly[${PYTHON_USEDEP}]
-			dev-python/incremental[${PYTHON_USEDEP}]
-			dev-python/matplotlib[${PYTHON_USEDEP}]
-			dev-python/numpy[${PYTHON_USEDEP}]
-			dev-python/pygments[${PYTHON_USEDEP}]
-			dev-python/sip:5[${PYTHON_USEDEP}]
-			dev-python/six[${PYTHON_USEDEP}]
-			dev-python/twisted[${PYTHON_USEDEP}]
-			dev-python/zope-interface[${PYTHON_USEDEP}]
-			mpi? ( dev-python/mpi4py )
-			qt5? ( dev-python/PyQt5[opengl,${PYTHON_USEDEP}] )
-		')
-	)
-	qt5? (
-		dev-qt/designer:5
-		dev-qt/qtgui:5[-gles2-only]
-		dev-qt/qthelp:5
-		dev-qt/qtopengl:5[-gles2-only]
-		dev-qt/qtsql:5
-		dev-qt/qtsvg:5
-		dev-qt/qttest:5
-		dev-qt/qtx11extras:5
-		dev-qt/qtxmlpatterns:5
-	)
-	sqlite? ( dev-db/sqlite:3 )
-	tk? ( dev-lang/tk:0= )
-	webengine? ( dev-qt/qtwebengine:5[widgets] )"
-DEPEND="${RDEPEND}
-	${PYTHON_DEPS}
-	boost? (
-		$(python_gen_cond_dep '
-			dev-libs/boost[mpi?,python,${PYTHON_USEDEP}]
-		')
-	)
-"
-
-BDEPEND="
-	openmp? ( virtual/fortran )
-"
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-5.5.0-allow_custom_build_type.patch
-)
-
-pkg_pretend() {
-	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-pkg_setup() {
-	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-	use python && python-single-r1_pkg_setup
-	PVLIBDIR=$(get_libdir)/${PN}-${MAJOR_PV}
-}
-
-src_prepare() {
-	# Bug #661812
-	mkdir -p Plugins/StreamLinesRepresentation/doc || die
-
-	cmake_src_prepare
-
-	# lib64 fixes
-	sed -i \
-		-e "s:/lib/python:/$(get_libdir)/python:g" \
-		VTK/ThirdParty/xdmf3/vtkxdmf3/CMakeLists.txt || die
-	sed -i \
-		-e "s:lib/paraview-:$(get_libdir)/paraview-:g" \
-		Remoting/Application/vtkInitializationHelper.cxx || die
-}
-
-src_configure() {
-	# Make sure qmlplugindump is in path:
-	export PATH="$(qt5_get_bindir):${PATH}"
-
-	local mycmakeargs=(
-		-DCMAKE_INSTALL_LIBDIR="${PVLIBDIR}"
-		-UBUILD_SHARED_LIBS
-		-DPARAVIEW_BUILD_SHARED_LIBS=ON
-		-DCMAKE_VERBOSE_MAKEFILE=ON
-
-		# boost
-		-DVTK_MODULE_ENABLE_VTK_IOInfovis="$(usex boost YES NO)"
-
-		# doc
-		-DPARAVIEW_BUILD_DEVELOPER_DOCUMENTATION="$(usex doc)"
-
-		# examples
-		-DBUILD_EXAMPLES="$(usex examples)"
-
-		# ffmpeg
-		-DPARAVIEW_ENABLE_FFMPEG="$(usex ffmpeg)"
-
-		# mpi
-		-DPARAVIEW_USE_MPI="$(usex mpi)"
-		-DXDMF_BUILD_MPI="$(usex mpi)"
-		-DVTK_GROUP_ENABLE_MPI="$(usex mpi YES NO)"
-
-		# offscreen
-		-DVTK_OPENGL_HAS_OSMESA="$(usex offscreen)"
-		-DVTK_OPENGL_HAS_OSMESA="$(usex offscreen)"
-
-		# plugins
-		-DPARAVIEW_PLUGINS_DEFAULT="$(usex plugins)"
-
-		# python
-		-DModule_pqPython="$(usex python)"
-		-DPARAVIEW_USE_PYTHON="$(usex python)"
-
-		# qt5
-		-DPARAVIEW_USE_QT="$(usex qt5)"
-		-DModule_pqPython="$(usex qt5 "$(usex python)" "off")"
-		-DVTK_USE_NVCONTROL="$(usex nvcontrol)"
-		-DVTK_GROUP_ENABLE_Qt="$(usex qt5 YES NO)"
-		-DCMAKE_INSTALL_QMLDIR="${EPREFIX}/usr/$(get_libdir)/qt5/qml"
-
-		# sqlite
-		-DVTK_MODULE_ENABLE_VTK_sqlite="$(usex sqlite YES NO)"
-
-		# test
-		-DBUILD_TESTING="$(usex test)"
-
-		# tk
-		-DVTK_USE_TK="$(usex tk)"
-		-DVTK_GROUP_ENABLE_Tk="$(usex tk YES NO)"
-
-		# webengine
-		-DPARAVIEW_USE_QTWEBENGINE="$(usex webengine)"
-		-DVTK_GROUP_ENABLE_Web="$(usex webengine YES NO)"
-	)
-
-	if use openmp; then
-		mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE=OpenMP )
-	fi
-
-	if use qt5; then
-		mycmakeargs+=(
-			-DOPENGL_gl_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGL.so
-			-DOPENGL_glu_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGLU.so
-			-DQT_MOC_EXECUTABLE="$(qt5_get_bindir)/moc"
-			-Dqt_xmlpatterns_executable="$(qt5_get_bindir)/xmlpatterns"
-		)
-	fi
-
-	cmake_src_configure
-}
-
-src_install() {
-	cmake_src_install
-
-	# remove wrapper binaries and put the actual executable in place
-	for i in {paraview-config,pvserver,pvdataserver,pvrenderserver,pvbatch,pvpython,paraview}; do
-		if [ -f "${ED}"/usr/lib/"$i" ]; then
-			mv "${ED}"/usr/lib/"$i" "${ED}"/usr/bin/"$i" || die
-		fi
-	done
-
-	# set up the environment
-	echo "LDPATH=${EPREFIX}/usr/${PVLIBDIR}" > "${T}"/40${PN} || die
-	doenvd "${T}"/40${PN}
-
-	newicon "${S}"/Clients/ParaView/pvIcon-96x96.png paraview.png
-	make_desktop_entry paraview "Paraview" paraview
-
-	use python && python_optimize "${ED}/usr/$(get_libdir)/${PN}-${MAJOR_PV}"
-}


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2023-12-02 18:41 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2023-12-02 18:41 UTC (permalink / raw
  To: gentoo-commits

commit:     d79140eadceb7e842bd66cac8190e2aea0c4cec8
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Fri Dec  1 23:59:25 2023 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Sat Dec  2 18:41:32 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d79140ea

sci-visualization/paraview: add 5.12.0_rc1; fix version extraction logic

 - add 5.12.0_rc1
 - fix version extraction logic
 - remove old comment

Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 sci-visualization/paraview/Manifest                          |  1 +
 sci-visualization/paraview/paraview-5.11.1.ebuild            | 12 +++++-------
 .../{paraview-5.11.1.ebuild => paraview-5.12.0_rc1.ebuild}   | 12 +++++-------
 3 files changed, 11 insertions(+), 14 deletions(-)

diff --git a/sci-visualization/paraview/Manifest b/sci-visualization/paraview/Manifest
index 748ff935c1c0..807206bbd0bd 100644
--- a/sci-visualization/paraview/Manifest
+++ b/sci-visualization/paraview/Manifest
@@ -1 +1,2 @@
 DIST ParaView-v5.11.1.tar.xz 79847556 BLAKE2B efef5e519a82ef1c0a7d532578778f6a95f07ebd72ebefd0cbdcff0bfc3af1773601cd102ff81f45f302fcaa4bb6ec7ee68f7dec77f5d4e137c2842fbbb54e11 SHA512 d0e666b49f49e41dba23e23d454a9462f018bd6d832628b0029e8d54760f0439ca97841a26da3126c5144780fc01dc25234a6624fb35346a98d35cbe0e0c98ca
+DIST ParaView-v5.12.0-RC1.tar.xz 128908020 BLAKE2B 3222ac21f733559b9f5c7e8c1009a19c0e462e2622805db7d61b683f25d70fc40cf096d699afde6dab9e23c102e3df9251a718d3ecbaac7a56db01c898270cd9 SHA512 1c6a052081e274a120563c5ffc73dadf4e02be237cc0c213a22d0b93a9865713c83992a3fc0cc1c52742b0753546b5b983a3f650989e8a472ac2f7e90383de92

diff --git a/sci-visualization/paraview/paraview-5.11.1.ebuild b/sci-visualization/paraview/paraview-5.11.1.ebuild
index 14339e04a447..65d00b57a5b0 100644
--- a/sci-visualization/paraview/paraview-5.11.1.ebuild
+++ b/sci-visualization/paraview/paraview-5.11.1.ebuild
@@ -7,9 +7,11 @@ PYTHON_COMPAT=( python3_{9..11} )
 DOCS_BUILDER="doxygen"
 inherit cmake flag-o-matic desktop docs python-single-r1 qmake-utils toolchain-funcs xdg
 
-MAIN_PV=$(ver_cut 0-1)
-MAJOR_PV=$(ver_cut 1-2)
-MY_P="ParaView-v${PV}"
+MAJOR_PV="$(ver_cut 1-2)"
+MINOR_PV="$(ver_cut 3)"
+RC_PV="$(ver_cut 4-5)"
+RC_PV="${RC_PV:+-${RC_PV^^}}"
+MY_P="ParaView-v${MAJOR_PV}.${MINOR_PV}${RC_PV}"
 
 DESCRIPTION="Powerful scientific data visualization application"
 HOMEPAGE="https://www.paraview.org"
@@ -30,10 +32,6 @@ REQUIRED_USE="
 	qt5? ( sqlite )
 	?? ( offscreen qt5 )"
 
-# TODO: Verify that these two are not needed any more for the catalyst
-# module:
-#  - dev-python/PyQt5
-#  - dev-qt/qtgui:5[-gles2-only]
 RDEPEND="
 	app-arch/lz4
 	dev-libs/expat

diff --git a/sci-visualization/paraview/paraview-5.11.1.ebuild b/sci-visualization/paraview/paraview-5.12.0_rc1.ebuild
similarity index 96%
copy from sci-visualization/paraview/paraview-5.11.1.ebuild
copy to sci-visualization/paraview/paraview-5.12.0_rc1.ebuild
index 14339e04a447..65d00b57a5b0 100644
--- a/sci-visualization/paraview/paraview-5.11.1.ebuild
+++ b/sci-visualization/paraview/paraview-5.12.0_rc1.ebuild
@@ -7,9 +7,11 @@ PYTHON_COMPAT=( python3_{9..11} )
 DOCS_BUILDER="doxygen"
 inherit cmake flag-o-matic desktop docs python-single-r1 qmake-utils toolchain-funcs xdg
 
-MAIN_PV=$(ver_cut 0-1)
-MAJOR_PV=$(ver_cut 1-2)
-MY_P="ParaView-v${PV}"
+MAJOR_PV="$(ver_cut 1-2)"
+MINOR_PV="$(ver_cut 3)"
+RC_PV="$(ver_cut 4-5)"
+RC_PV="${RC_PV:+-${RC_PV^^}}"
+MY_P="ParaView-v${MAJOR_PV}.${MINOR_PV}${RC_PV}"
 
 DESCRIPTION="Powerful scientific data visualization application"
 HOMEPAGE="https://www.paraview.org"
@@ -30,10 +32,6 @@ REQUIRED_USE="
 	qt5? ( sqlite )
 	?? ( offscreen qt5 )"
 
-# TODO: Verify that these two are not needed any more for the catalyst
-# module:
-#  - dev-python/PyQt5
-#  - dev-qt/qtgui:5[-gles2-only]
 RDEPEND="
 	app-arch/lz4
 	dev-libs/expat


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2023-12-02 18:41 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2023-12-02 18:41 UTC (permalink / raw
  To: gentoo-commits

commit:     dfc9829b239140bb1a273d4755054e1a896e6eed
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  2 18:39:42 2023 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Sat Dec  2 18:41:36 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfc9829b

sci-visualization/paraview: force Qt5, unkeyword 5.12.0_rc1 for ~amd64, ~x86

 - force build against Qt5

 - drop keywords from release candidate

Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 sci-visualization/paraview/paraview-5.12.0_rc1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sci-visualization/paraview/paraview-5.12.0_rc1.ebuild b/sci-visualization/paraview/paraview-5.12.0_rc1.ebuild
index 5816780dbe50..c2aea4ad2151 100644
--- a/sci-visualization/paraview/paraview-5.12.0_rc1.ebuild
+++ b/sci-visualization/paraview/paraview-5.12.0_rc1.ebuild
@@ -21,7 +21,7 @@ S="${WORKDIR}/${MY_P}"
 # TODO: check licenses of plugins (USE=plugins)
 LICENSE="BSD MIT PSF-2 VTK"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="" # ~amd64 ~x86
 IUSE="boost cg examples ffmpeg mpi nvcontrol openmp offscreen plugins python +qt5 +sqlite test tk +webengine"
 
 RESTRICT="mirror test"
@@ -179,6 +179,7 @@ src_configure() {
 
 		# qt5
 		-DPARAVIEW_USE_QT="$(usex qt5)"
+		-DPARAVIEW_QT_VERSION="5"
 		-DModule_pqPython="$(usex qt5 "$(usex python)" "off")"
 		-DVTK_USE_NVCONTROL="$(usex nvcontrol)"
 		-DVTK_GROUP_ENABLE_Qt="$(usex qt5 YES NO)"


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2023-12-02 18:41 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2023-12-02 18:41 UTC (permalink / raw
  To: gentoo-commits

commit:     b0c614ea34d9c949bfa5fc228964dc7c9fe87657
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  2 18:21:59 2023 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Sat Dec  2 18:41:32 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0c614ea

sci-visualization/paraview: [QA] break up excessively long lines

Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 sci-visualization/paraview/paraview-5.11.1.ebuild     | 6 ++++--
 sci-visualization/paraview/paraview-5.12.0_rc1.ebuild | 6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/sci-visualization/paraview/paraview-5.11.1.ebuild b/sci-visualization/paraview/paraview-5.11.1.ebuild
index 65d00b57a5b0..5816780dbe50 100644
--- a/sci-visualization/paraview/paraview-5.11.1.ebuild
+++ b/sci-visualization/paraview/paraview-5.11.1.ebuild
@@ -135,8 +135,10 @@ src_configure() {
 	# Needed to compile bundled VTK in ParaView 5.11.1 with gcc 12
 	# see also, bug #863299
 	filter-lto
-	append-cflags $(test-flags-CC -fno-strict-aliasing -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion)
-	append-cxxflags $(test-flags-CXX -fno-strict-aliasing -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion)
+	append-cflags $(test-flags-CC -fno-strict-aliasing \
+		-Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion)
+	append-cxxflags $(test-flags-CXX -fno-strict-aliasing \
+		-Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion)
 
 	# Make sure qmlplugindump is in path:
 	export PATH="$(qt5_get_bindir):${PATH}"

diff --git a/sci-visualization/paraview/paraview-5.12.0_rc1.ebuild b/sci-visualization/paraview/paraview-5.12.0_rc1.ebuild
index 65d00b57a5b0..5816780dbe50 100644
--- a/sci-visualization/paraview/paraview-5.12.0_rc1.ebuild
+++ b/sci-visualization/paraview/paraview-5.12.0_rc1.ebuild
@@ -135,8 +135,10 @@ src_configure() {
 	# Needed to compile bundled VTK in ParaView 5.11.1 with gcc 12
 	# see also, bug #863299
 	filter-lto
-	append-cflags $(test-flags-CC -fno-strict-aliasing -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion)
-	append-cxxflags $(test-flags-CXX -fno-strict-aliasing -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion)
+	append-cflags $(test-flags-CC -fno-strict-aliasing \
+		-Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion)
+	append-cxxflags $(test-flags-CXX -fno-strict-aliasing \
+		-Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion)
 
 	# Make sure qmlplugindump is in path:
 	export PATH="$(qt5_get_bindir):${PATH}"


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2024-01-08 23:31 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2024-01-08 23:31 UTC (permalink / raw
  To: gentoo-commits

commit:     37203dbf96a90d9042f45c613f79b297c55f61a5
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  8 22:58:42 2024 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Mon Jan  8 23:31:50 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37203dbf

sci-visualization/paraview: silence QA warning (implicit function during configure)

Closes: https://bugs.gentoo.org/904731
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 sci-visualization/paraview/paraview-5.11.1-r1.ebuild     | 6 ++++++
 sci-visualization/paraview/paraview-5.12.0_rc1-r1.ebuild | 6 ++++++
 2 files changed, 12 insertions(+)

diff --git a/sci-visualization/paraview/paraview-5.11.1-r1.ebuild b/sci-visualization/paraview/paraview-5.11.1-r1.ebuild
index 2c09c503af41..a33be6ae9bc3 100644
--- a/sci-visualization/paraview/paraview-5.11.1-r1.ebuild
+++ b/sci-visualization/paraview/paraview-5.11.1-r1.ebuild
@@ -108,6 +108,12 @@ PATCHES=(
 	"${FILESDIR}"/${P}-missing-include.patch
 )
 
+# false positive when checking for available HDF5 interface, bug #904731
+QA_CONFIG_IMPL_DECL_SKIP=(
+	H5Pset_coll_metadata_write
+	H5Pset_all_coll_metadata_ops
+)
+
 pkg_pretend() {
 	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
 }

diff --git a/sci-visualization/paraview/paraview-5.12.0_rc1-r1.ebuild b/sci-visualization/paraview/paraview-5.12.0_rc1-r1.ebuild
index 6a60b21c3a63..8b65892f70c6 100644
--- a/sci-visualization/paraview/paraview-5.12.0_rc1-r1.ebuild
+++ b/sci-visualization/paraview/paraview-5.12.0_rc1-r1.ebuild
@@ -107,6 +107,12 @@ PATCHES=(
 	"${FILESDIR}"/${PN}-5.5.0-allow_custom_build_type.patch
 )
 
+# false positive when checking for available HDF5 interface, bug #904731
+QA_CONFIG_IMPL_DECL_SKIP=(
+	H5Pset_coll_metadata_write
+	H5Pset_all_coll_metadata_ops
+)
+
 pkg_pretend() {
 	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
 }


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2024-01-08 23:31 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2024-01-08 23:31 UTC (permalink / raw
  To: gentoo-commits

commit:     7379c3fab44e15e3f1e30849045fe62330520d90
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  8 22:46:03 2024 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Mon Jan  8 23:31:42 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7379c3fa

sci-visualization/paraview: keyword 5.12.0_rc1 for ~amd64, ~x86

Closes: https://bugs.gentoo.org/919805
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 sci-visualization/paraview/paraview-5.12.0_rc1.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/sci-visualization/paraview/paraview-5.12.0_rc1.ebuild b/sci-visualization/paraview/paraview-5.12.0_rc1.ebuild
index c2aea4ad2151..f048c53bd473 100644
--- a/sci-visualization/paraview/paraview-5.12.0_rc1.ebuild
+++ b/sci-visualization/paraview/paraview-5.12.0_rc1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -21,7 +21,7 @@ S="${WORKDIR}/${MY_P}"
 # TODO: check licenses of plugins (USE=plugins)
 LICENSE="BSD MIT PSF-2 VTK"
 SLOT="0"
-KEYWORDS="" # ~amd64 ~x86
+KEYWORDS="~amd64 ~x86"
 IUSE="boost cg examples ffmpeg mpi nvcontrol openmp offscreen plugins python +qt5 +sqlite test tk +webengine"
 
 RESTRICT="mirror test"
@@ -180,6 +180,7 @@ src_configure() {
 		# qt5
 		-DPARAVIEW_USE_QT="$(usex qt5)"
 		-DPARAVIEW_QT_VERSION="5"
+		-DVTK_QT_VERSION="5"
 		-DModule_pqPython="$(usex qt5 "$(usex python)" "off")"
 		-DVTK_USE_NVCONTROL="$(usex nvcontrol)"
 		-DVTK_GROUP_ENABLE_Qt="$(usex qt5 YES NO)"


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2024-01-08 23:31 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2024-01-08 23:31 UTC (permalink / raw
  To: gentoo-commits

commit:     e7b7eede0c2cb8f206816c9eb103607f98a8e876
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  8 22:51:34 2024 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Mon Jan  8 23:31:50 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7b7eede

sci-visualization/paraview: add missing dependency

Closes: https://bugs.gentoo.org/910104
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 .../paraview/{paraview-5.11.1.ebuild => paraview-5.11.1-r1.ebuild}       | 1 +
 .../{paraview-5.12.0_rc1.ebuild => paraview-5.12.0_rc1-r1.ebuild}        | 1 +
 2 files changed, 2 insertions(+)

diff --git a/sci-visualization/paraview/paraview-5.11.1.ebuild b/sci-visualization/paraview/paraview-5.11.1-r1.ebuild
similarity index 99%
rename from sci-visualization/paraview/paraview-5.11.1.ebuild
rename to sci-visualization/paraview/paraview-5.11.1-r1.ebuild
index b1415ed7b27c..2c09c503af41 100644
--- a/sci-visualization/paraview/paraview-5.11.1.ebuild
+++ b/sci-visualization/paraview/paraview-5.11.1-r1.ebuild
@@ -77,6 +77,7 @@ RDEPEND="
 	)
 	qt5? (
 		dev-qt/designer:5
+		dev-qt/qtdeclarative:5
 		dev-qt/qtgui:5[-gles2-only]
 		dev-qt/qthelp:5
 		dev-qt/qtopengl:5[-gles2-only]

diff --git a/sci-visualization/paraview/paraview-5.12.0_rc1.ebuild b/sci-visualization/paraview/paraview-5.12.0_rc1-r1.ebuild
similarity index 99%
rename from sci-visualization/paraview/paraview-5.12.0_rc1.ebuild
rename to sci-visualization/paraview/paraview-5.12.0_rc1-r1.ebuild
index f048c53bd473..6a60b21c3a63 100644
--- a/sci-visualization/paraview/paraview-5.12.0_rc1.ebuild
+++ b/sci-visualization/paraview/paraview-5.12.0_rc1-r1.ebuild
@@ -77,6 +77,7 @@ RDEPEND="
 	)
 	qt5? (
 		dev-qt/designer:5
+		dev-qt/qtdeclarative:5
 		dev-qt/qtgui:5[-gles2-only]
 		dev-qt/qthelp:5
 		dev-qt/qtopengl:5[-gles2-only]


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2024-03-17 15:52 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2024-03-17 15:52 UTC (permalink / raw
  To: gentoo-commits

commit:     f83e8448689c6077495bb5c1fe48d749c723da7c
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 17 15:17:05 2024 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Sun Mar 17 15:52:07 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f83e8448

sci-visualization/paraview: add 5.12.0

Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 sci-visualization/paraview/Manifest               |   1 +
 sci-visualization/paraview/paraview-5.12.0.ebuild | 245 ++++++++++++++++++++++
 2 files changed, 246 insertions(+)

diff --git a/sci-visualization/paraview/Manifest b/sci-visualization/paraview/Manifest
index 807206bbd0bd..e93bfb6acbac 100644
--- a/sci-visualization/paraview/Manifest
+++ b/sci-visualization/paraview/Manifest
@@ -1,2 +1,3 @@
 DIST ParaView-v5.11.1.tar.xz 79847556 BLAKE2B efef5e519a82ef1c0a7d532578778f6a95f07ebd72ebefd0cbdcff0bfc3af1773601cd102ff81f45f302fcaa4bb6ec7ee68f7dec77f5d4e137c2842fbbb54e11 SHA512 d0e666b49f49e41dba23e23d454a9462f018bd6d832628b0029e8d54760f0439ca97841a26da3126c5144780fc01dc25234a6624fb35346a98d35cbe0e0c98ca
 DIST ParaView-v5.12.0-RC1.tar.xz 128908020 BLAKE2B 3222ac21f733559b9f5c7e8c1009a19c0e462e2622805db7d61b683f25d70fc40cf096d699afde6dab9e23c102e3df9251a718d3ecbaac7a56db01c898270cd9 SHA512 1c6a052081e274a120563c5ffc73dadf4e02be237cc0c213a22d0b93a9865713c83992a3fc0cc1c52742b0753546b5b983a3f650989e8a472ac2f7e90383de92
+DIST ParaView-v5.12.0.tar.xz 129439820 BLAKE2B b9a59c22d15ee1582704c7e6c70a259d8b8df5d0f59fb87902ade07bce3ef7b52b055d75bb0876b7a0a9b493a7ef8df377f0ac281c370c72d9b89418efec9657 SHA512 d7ad95105f43672c5f0001f673977b7742cca113b78b0d953f4c55f60a6cf72b8a216515136251f63b8294becb0ea717b5118bf48b78ca8db85949a1b59892c1

diff --git a/sci-visualization/paraview/paraview-5.12.0.ebuild b/sci-visualization/paraview/paraview-5.12.0.ebuild
new file mode 100644
index 000000000000..ec1f53f6c0b3
--- /dev/null
+++ b/sci-visualization/paraview/paraview-5.12.0.ebuild
@@ -0,0 +1,245 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..12} )
+DOCS_BUILDER="doxygen"
+inherit cmake flag-o-matic desktop docs python-single-r1 qmake-utils toolchain-funcs xdg
+
+MAJOR_PV="$(ver_cut 1-2)"
+MINOR_PV="$(ver_cut 3)"
+RC_PV="$(ver_cut 4-5)"
+RC_PV="${RC_PV:+-${RC_PV^^}}"
+MY_P="ParaView-v${MAJOR_PV}.${MINOR_PV}${RC_PV}"
+
+DESCRIPTION="Powerful scientific data visualization application"
+HOMEPAGE="https://www.paraview.org"
+SRC_URI="https://www.paraview.org/files/v${MAJOR_PV}/${MY_P}.tar.xz"
+S="${WORKDIR}/${MY_P}"
+
+# TODO: check licenses of plugins (USE=plugins)
+LICENSE="BSD MIT PSF-2 VTK"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="boost cg examples ffmpeg mpi nvcontrol openmp offscreen plugins python +qt5 +sqlite test tk +webengine"
+
+RESTRICT="mirror test"
+
+REQUIRED_USE="
+	python? ( mpi ${PYTHON_REQUIRED_USE} )
+	webengine? ( qt5 )
+	qt5? ( sqlite )
+	?? ( offscreen qt5 )"
+
+RDEPEND="
+	app-arch/lz4
+	dev-libs/expat
+	dev-libs/jsoncpp:=
+	dev-libs/libxml2:2
+	dev-libs/protobuf:=
+	dev-libs/pugixml
+	media-libs/freetype
+	media-libs/glew:0
+	media-libs/libpng:0
+	media-libs/libtheora
+	media-libs/tiff:=
+	sci-libs/cgnslib
+	sci-libs/hdf5:=[mpi=]
+	>=sci-libs/netcdf-4.2[hdf5]
+	>=sci-libs/netcdf-cxx-4.2:3
+	sys-libs/zlib
+	virtual/glu
+	media-libs/libjpeg-turbo:=
+	x11-libs/libX11
+	x11-libs/libXext
+	x11-libs/libXmu
+	x11-libs/libXt
+	ffmpeg? ( media-video/ffmpeg )
+	mpi? ( virtual/mpi[cxx,romio] )
+	offscreen? ( >=media-libs/mesa-18.3.6[osmesa] )
+	!offscreen? ( virtual/opengl )
+	python? (
+		${PYTHON_DEPS}
+		$(python_gen_cond_dep '
+			dev-python/constantly[${PYTHON_USEDEP}]
+			dev-python/incremental[${PYTHON_USEDEP}]
+			dev-python/matplotlib[${PYTHON_USEDEP}]
+			dev-python/numpy[${PYTHON_USEDEP}]
+			dev-python/pygments[${PYTHON_USEDEP}]
+			dev-python/sip:5[${PYTHON_USEDEP}]
+			dev-python/six[${PYTHON_USEDEP}]
+			dev-python/twisted[${PYTHON_USEDEP}]
+			dev-python/zope-interface[${PYTHON_USEDEP}]
+			mpi? ( dev-python/mpi4py )
+			qt5? ( dev-python/PyQt5[opengl,${PYTHON_USEDEP}] )
+		')
+	)
+	qt5? (
+		dev-qt/designer:5
+		dev-qt/qtdeclarative:5
+		dev-qt/qtgui:5[-gles2-only]
+		dev-qt/qthelp:5
+		dev-qt/qtopengl:5[-gles2-only]
+		dev-qt/qtsql:5
+		dev-qt/qtsvg:5
+		dev-qt/qttest:5
+		dev-qt/qtx11extras:5
+		dev-qt/qtxmlpatterns:5
+	)
+	sqlite? ( dev-db/sqlite:3 )
+	tk? ( dev-lang/tk:0= )
+	webengine? ( dev-qt/qtwebengine:5[widgets] )"
+DEPEND="${RDEPEND}
+	${PYTHON_DEPS}
+	boost? (
+		$(python_gen_cond_dep '
+			dev-libs/boost[mpi?,python,${PYTHON_USEDEP}]
+		')
+	)
+"
+
+BDEPEND="
+	openmp? ( virtual/fortran )
+"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-5.5.0-allow_custom_build_type.patch
+)
+
+# false positive when checking for available HDF5 interface, bug #904731
+QA_CONFIG_IMPL_DECL_SKIP=(
+	H5Pset_coll_metadata_write
+	H5Pset_all_coll_metadata_ops
+)
+
+pkg_pretend() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+	use python && python-single-r1_pkg_setup
+	PVLIBDIR=$(get_libdir)/${PN}-${MAJOR_PV}
+}
+
+src_prepare() {
+	# Bug #661812
+	mkdir -p Plugins/StreamLinesRepresentation/doc || die
+
+	cmake_src_prepare
+
+	# lib64 fixes
+	sed -i \
+		-e "s:/lib/python:/$(get_libdir)/python:g" \
+		VTK/ThirdParty/xdmf3/vtkxdmf3/CMakeLists.txt || die
+	sed -i \
+		-e "s:lib/paraview-:$(get_libdir)/paraview-:g" \
+		Remoting/Application/vtkInitializationHelper.cxx || die
+}
+
+src_configure() {
+	# Needed to compile bundled VTK in ParaView 5.11.1 with gcc 12
+	# see also, bug #863299
+	filter-lto
+	append-cflags $(test-flags-CC -fno-strict-aliasing \
+		-Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion)
+	append-cxxflags $(test-flags-CXX -fno-strict-aliasing \
+		-Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion)
+
+	# Make sure qmlplugindump is in path:
+	export PATH="$(qt5_get_bindir):${PATH}"
+
+	local mycmakeargs=(
+		-DCMAKE_INSTALL_LIBDIR="${PVLIBDIR}"
+		-UBUILD_SHARED_LIBS
+		-DPARAVIEW_BUILD_SHARED_LIBS=ON
+		-DCMAKE_VERBOSE_MAKEFILE=ON
+
+		# boost
+		-DVTK_MODULE_ENABLE_VTK_IOInfovis="$(usex boost YES NO)"
+
+		# doc
+		-DPARAVIEW_BUILD_DEVELOPER_DOCUMENTATION="$(usex doc)"
+
+		# examples
+		-DBUILD_EXAMPLES="$(usex examples)"
+
+		# ffmpeg
+		-DPARAVIEW_ENABLE_FFMPEG="$(usex ffmpeg)"
+
+		# mpi
+		-DPARAVIEW_USE_MPI="$(usex mpi)"
+		-DXDMF_BUILD_MPI="$(usex mpi)"
+		-DVTK_GROUP_ENABLE_MPI="$(usex mpi YES NO)"
+
+		# offscreen
+		-DVTK_OPENGL_HAS_OSMESA="$(usex offscreen)"
+		-DVTK_OPENGL_HAS_OSMESA="$(usex offscreen)"
+
+		# plugins
+		-DPARAVIEW_PLUGINS_DEFAULT="$(usex plugins)"
+
+		# python
+		-DModule_pqPython="$(usex python)"
+		-DPARAVIEW_USE_PYTHON="$(usex python)"
+
+		# qt5
+		-DPARAVIEW_USE_QT="$(usex qt5)"
+		-DPARAVIEW_QT_VERSION="5"
+		-DVTK_QT_VERSION="5"
+		-DModule_pqPython="$(usex qt5 "$(usex python)" "off")"
+		-DVTK_USE_NVCONTROL="$(usex nvcontrol)"
+		-DVTK_GROUP_ENABLE_Qt="$(usex qt5 YES NO)"
+		-DCMAKE_INSTALL_QMLDIR="${EPREFIX}/usr/$(get_libdir)/qt5/qml"
+
+		# sqlite
+		-DVTK_MODULE_ENABLE_VTK_sqlite="$(usex sqlite YES NO)"
+
+		# test
+		-DBUILD_TESTING="$(usex test)"
+
+		# tk
+		-DVTK_USE_TK="$(usex tk)"
+		-DVTK_GROUP_ENABLE_Tk="$(usex tk YES NO)"
+
+		# webengine
+		-DPARAVIEW_USE_QTWEBENGINE="$(usex webengine)"
+		-DVTK_GROUP_ENABLE_Web="$(usex webengine YES NO)"
+	)
+
+	if use openmp; then
+		mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE=OpenMP )
+	fi
+
+	if use qt5; then
+		mycmakeargs+=(
+			-DOPENGL_gl_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGL.so
+			-DOPENGL_glu_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGLU.so
+			-DQT_MOC_EXECUTABLE="$(qt5_get_bindir)/moc"
+			-Dqt_xmlpatterns_executable="$(qt5_get_bindir)/xmlpatterns"
+		)
+	fi
+
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+
+	# remove wrapper binaries and put the actual executable in place
+	for i in {paraview-config,pvserver,pvdataserver,pvrenderserver,pvbatch,pvpython,paraview}; do
+		if [ -f "${ED}"/usr/lib/"$i" ]; then
+			mv "${ED}"/usr/lib/"$i" "${ED}"/usr/bin/"$i" || die
+		fi
+	done
+
+	# set up the environment
+	echo "LDPATH=${EPREFIX}/usr/${PVLIBDIR}" > "${T}"/40${PN} || die
+	doenvd "${T}"/40${PN}
+
+	newicon "${S}"/Clients/ParaView/pvIcon-96x96.png paraview.png
+	make_desktop_entry paraview "Paraview" paraview
+
+	use python && python_optimize "${ED}/usr/$(get_libdir)/${PN}-${MAJOR_PV}"
+}


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

* [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/
@ 2024-10-23  2:28 Matthias Maier
  0 siblings, 0 replies; 89+ messages in thread
From: Matthias Maier @ 2024-10-23  2:28 UTC (permalink / raw
  To: gentoo-commits

commit:     a8d1cb98814b68f62eee5bccfe375e93e89e9894
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 20 05:38:16 2024 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Wed Oct 23 02:28:04 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8d1cb98

sci-visualization/paraview: add 5.13.0

 - switch to Qt6

Closes: https://bugs.gentoo.org/926678
Bug: https://bugs.gentoo.org/923379
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 sci-visualization/paraview/Manifest               |   1 +
 sci-visualization/paraview/paraview-5.13.0.ebuild | 238 ++++++++++++++++++++++
 2 files changed, 239 insertions(+)

diff --git a/sci-visualization/paraview/Manifest b/sci-visualization/paraview/Manifest
index e93bfb6acbac..686959491eb6 100644
--- a/sci-visualization/paraview/Manifest
+++ b/sci-visualization/paraview/Manifest
@@ -1,3 +1,4 @@
 DIST ParaView-v5.11.1.tar.xz 79847556 BLAKE2B efef5e519a82ef1c0a7d532578778f6a95f07ebd72ebefd0cbdcff0bfc3af1773601cd102ff81f45f302fcaa4bb6ec7ee68f7dec77f5d4e137c2842fbbb54e11 SHA512 d0e666b49f49e41dba23e23d454a9462f018bd6d832628b0029e8d54760f0439ca97841a26da3126c5144780fc01dc25234a6624fb35346a98d35cbe0e0c98ca
 DIST ParaView-v5.12.0-RC1.tar.xz 128908020 BLAKE2B 3222ac21f733559b9f5c7e8c1009a19c0e462e2622805db7d61b683f25d70fc40cf096d699afde6dab9e23c102e3df9251a718d3ecbaac7a56db01c898270cd9 SHA512 1c6a052081e274a120563c5ffc73dadf4e02be237cc0c213a22d0b93a9865713c83992a3fc0cc1c52742b0753546b5b983a3f650989e8a472ac2f7e90383de92
 DIST ParaView-v5.12.0.tar.xz 129439820 BLAKE2B b9a59c22d15ee1582704c7e6c70a259d8b8df5d0f59fb87902ade07bce3ef7b52b055d75bb0876b7a0a9b493a7ef8df377f0ac281c370c72d9b89418efec9657 SHA512 d7ad95105f43672c5f0001f673977b7742cca113b78b0d953f4c55f60a6cf72b8a216515136251f63b8294becb0ea717b5118bf48b78ca8db85949a1b59892c1
+DIST ParaView-v5.13.0.tar.xz 133195632 BLAKE2B f4e639d01667dfb7ad02fa51133b1e2d29429aefa89e7f77772d0080aa537d910f9b6f7868e4a31d52b392762c38d94ec228b2a754936409077eb2f8ffcf7f1c SHA512 ba0051902efb2a9c599e500f85f9b20bc46eead1e1f68daa0fea0295ee606844fb72fb8eee04f67f7cced3a35be2b2b442c6f1160fc4f2c2eedfbe9c440b5b1f

diff --git a/sci-visualization/paraview/paraview-5.13.0.ebuild b/sci-visualization/paraview/paraview-5.13.0.ebuild
new file mode 100644
index 000000000000..783e7e442b77
--- /dev/null
+++ b/sci-visualization/paraview/paraview-5.13.0.ebuild
@@ -0,0 +1,238 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..12} )
+DOCS_BUILDER="doxygen"
+inherit cmake flag-o-matic desktop docs python-single-r1 qmake-utils toolchain-funcs xdg
+
+MAJOR_PV="$(ver_cut 1-2)"
+MINOR_PV="$(ver_cut 3)"
+RC_PV="$(ver_cut 4-5)"
+RC_PV="${RC_PV:+-${RC_PV^^}}"
+MY_P="ParaView-v${MAJOR_PV}.${MINOR_PV}${RC_PV}"
+
+DESCRIPTION="Powerful scientific data visualization application"
+HOMEPAGE="https://www.paraview.org"
+SRC_URI="https://www.paraview.org/files/v${MAJOR_PV}/${MY_P}.tar.xz"
+S="${WORKDIR}/${MY_P}"
+
+# TODO: check licenses of plugins (USE=plugins)
+LICENSE="BSD MIT PSF-2 VTK"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="boost cg examples ffmpeg mpi nvcontrol openmp offscreen plugins python +qt6 +sqlite test tk +webengine"
+
+RESTRICT="mirror test"
+
+REQUIRED_USE="
+	python? ( mpi ${PYTHON_REQUIRED_USE} )
+	webengine? ( qt6 )
+	qt6? ( sqlite )
+	?? ( offscreen qt6 )"
+
+RDEPEND="
+	app-arch/lz4
+	dev-libs/expat
+	dev-libs/jsoncpp:=
+	dev-libs/libxml2:2
+	dev-libs/protobuf:=
+	dev-libs/pugixml
+	media-libs/freetype
+	media-libs/glew:0
+	media-libs/libpng:0
+	media-libs/libtheora
+	media-libs/tiff:=
+	sci-libs/cgnslib
+	sci-libs/hdf5:=[mpi=]
+	>=sci-libs/netcdf-4.2[hdf5]
+	>=sci-libs/netcdf-cxx-4.2:3
+	sys-libs/zlib
+	virtual/glu
+	media-libs/libjpeg-turbo:=
+	x11-libs/libX11
+	x11-libs/libXext
+	x11-libs/libXmu
+	x11-libs/libXt
+	ffmpeg? ( media-video/ffmpeg )
+	mpi? ( virtual/mpi[cxx,romio] )
+	offscreen? ( >=media-libs/mesa-18.3.6[osmesa] )
+	!offscreen? ( virtual/opengl )
+	python? (
+		${PYTHON_DEPS}
+		$(python_gen_cond_dep '
+			dev-python/constantly[${PYTHON_USEDEP}]
+			dev-python/incremental[${PYTHON_USEDEP}]
+			dev-python/matplotlib[${PYTHON_USEDEP}]
+			dev-python/numpy[${PYTHON_USEDEP}]
+			dev-python/pygments[${PYTHON_USEDEP}]
+			dev-python/sip:5[${PYTHON_USEDEP}]
+			dev-python/six[${PYTHON_USEDEP}]
+			dev-python/twisted[${PYTHON_USEDEP}]
+			dev-python/zope-interface[${PYTHON_USEDEP}]
+			mpi? ( dev-python/mpi4py )
+			qt6? ( dev-python/PyQt6[opengl,${PYTHON_USEDEP}] )
+		')
+	)
+	qt6? (
+		dev-qt/qt5compat:6
+		dev-qt/qtbase:6[gui,opengl,sql]
+		dev-qt/qtdeclarative:6
+		dev-qt/qtsvg:6
+		dev-qt/qttools:6[assistant,designer,widgets]
+	)
+	sqlite? ( dev-db/sqlite:3 )
+	tk? ( dev-lang/tk:0= )
+	webengine? ( dev-qt/qtwebengine:6[widgets] )"
+DEPEND="${RDEPEND}
+	${PYTHON_DEPS}
+	boost? (
+		$(python_gen_cond_dep '
+			dev-libs/boost[mpi?,python,${PYTHON_USEDEP}]
+		')
+	)
+"
+
+BDEPEND="
+	openmp? ( virtual/fortran )
+"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-5.5.0-allow_custom_build_type.patch
+)
+
+# false positive when checking for available HDF5 interface, bug #904731
+QA_CONFIG_IMPL_DECL_SKIP=(
+	H5Pset_coll_metadata_write
+	H5Pset_all_coll_metadata_ops
+)
+
+pkg_pretend() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+	use python && python-single-r1_pkg_setup
+	PVLIBDIR=$(get_libdir)/${PN}-${MAJOR_PV}
+}
+
+src_prepare() {
+	# Bug #661812
+	mkdir -p Plugins/StreamLinesRepresentation/doc || die
+
+	cmake_src_prepare
+
+	# lib64 fixes
+	sed -i \
+		-e "s:/lib/python:/$(get_libdir)/python:g" \
+		VTK/ThirdParty/xdmf3/vtkxdmf3/CMakeLists.txt || die
+	sed -i \
+		-e "s:lib/paraview-:$(get_libdir)/paraview-:g" \
+		Remoting/Application/vtkInitializationHelper.cxx || die
+}
+
+src_configure() {
+	# Needed to compile bundled VTK in ParaView 5.11.1 with gcc 12
+	# see also, bug #863299
+	filter-lto
+	append-cflags $(test-flags-CC -fno-strict-aliasing \
+		-Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion)
+	append-cxxflags $(test-flags-CXX -fno-strict-aliasing \
+		-Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion)
+
+	# Make sure qmlplugindump is in path:
+	export PATH="$(qt6_get_bindir):${PATH}"
+
+	local mycmakeargs=(
+		-DCMAKE_INSTALL_LIBDIR="${PVLIBDIR}"
+		-UBUILD_SHARED_LIBS
+		-DPARAVIEW_BUILD_SHARED_LIBS=ON
+		-DCMAKE_VERBOSE_MAKEFILE=ON
+
+		# boost
+		-DVTK_MODULE_ENABLE_VTK_IOInfovis="$(usex boost YES NO)"
+
+		# doc
+		-DPARAVIEW_BUILD_DEVELOPER_DOCUMENTATION="$(usex doc)"
+
+		# examples
+		-DBUILD_EXAMPLES="$(usex examples)"
+
+		# ffmpeg
+		-DPARAVIEW_ENABLE_FFMPEG="$(usex ffmpeg)"
+
+		# mpi
+		-DPARAVIEW_USE_MPI="$(usex mpi)"
+		-DXDMF_BUILD_MPI="$(usex mpi)"
+		-DVTK_GROUP_ENABLE_MPI="$(usex mpi YES NO)"
+
+		# offscreen
+		-DVTK_OPENGL_HAS_OSMESA="$(usex offscreen)"
+		-DVTK_OPENGL_HAS_OSMESA="$(usex offscreen)"
+
+		# plugins
+		-DPARAVIEW_PLUGINS_DEFAULT="$(usex plugins)"
+
+		# python
+		-DModule_pqPython="$(usex python)"
+		-DPARAVIEW_USE_PYTHON="$(usex python)"
+
+		# qt6
+		-DPARAVIEW_USE_QT="$(usex qt6)"
+		-DPARAVIEW_QT_VERSION="6"
+		-DVTK_QT_VERSION="6"
+		-DModule_pqPython="$(usex qt6 "$(usex python)" "off")"
+		-DVTK_USE_NVCONTROL="$(usex nvcontrol)"
+		-DVTK_GROUP_ENABLE_Qt="$(usex qt6 YES NO)"
+		-DCMAKE_INSTALL_QMLDIR="${EPREFIX}/usr/$(get_libdir)/qt6/qml"
+
+		# sqlite
+		-DVTK_MODULE_ENABLE_VTK_sqlite="$(usex sqlite YES NO)"
+
+		# test
+		-DBUILD_TESTING="$(usex test)"
+
+		# tk
+		-DVTK_USE_TK="$(usex tk)"
+		-DVTK_GROUP_ENABLE_Tk="$(usex tk YES NO)"
+
+		# webengine
+		-DPARAVIEW_USE_QTWEBENGINE="$(usex webengine)"
+		-DVTK_GROUP_ENABLE_Web="$(usex webengine YES NO)"
+	)
+
+	if use openmp; then
+		mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE=OpenMP )
+	fi
+
+	if use qt6; then
+		mycmakeargs+=(
+			-DOPENGL_gl_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGL.so
+			-DOPENGL_glu_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGLU.so
+		)
+	fi
+
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+
+	# remove wrapper binaries and put the actual executable in place
+	for i in {paraview-config,pvserver,pvdataserver,pvrenderserver,pvbatch,pvpython,paraview}; do
+		if [ -f "${ED}"/usr/lib/"$i" ]; then
+			mv "${ED}"/usr/lib/"$i" "${ED}"/usr/bin/"$i" || die
+		fi
+	done
+
+	# set up the environment
+	echo "LDPATH=${EPREFIX}/usr/${PVLIBDIR}" > "${T}"/40${PN} || die
+	doenvd "${T}"/40${PN}
+
+	newicon "${S}"/Clients/ParaView/pvIcon-96x96.png paraview.png
+	make_desktop_entry paraview "Paraview" paraview
+
+	use python && python_optimize "${ED}/usr/$(get_libdir)/${PN}-${MAJOR_PV}"
+}


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

end of thread, other threads:[~2024-10-23  2:28 UTC | newest]

Thread overview: 89+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-03 20:07 [gentoo-commits] repo/gentoo:master commit in: sci-visualization/paraview/ Andreas Sturmlechner
  -- strict thread matches above, loose matches on Subject: below --
2024-10-23  2:28 Matthias Maier
2024-03-17 15:52 Matthias Maier
2024-01-08 23:31 Matthias Maier
2024-01-08 23:31 Matthias Maier
2024-01-08 23:31 Matthias Maier
2023-12-02 18:41 Matthias Maier
2023-12-02 18:41 Matthias Maier
2023-12-02 18:41 Matthias Maier
2023-05-26 11:39 Andreas Sturmlechner
2023-04-20 19:47 Matthias Maier
2022-12-18  8:06 Sam James
2022-12-16  1:40 Sam James
2022-10-28 20:00 Matthias Maier
2022-10-18 14:18 Andrew Ammerlaan
2022-10-18 13:39 Andrew Ammerlaan
2022-09-04 12:12 David Seifert
2022-08-26 10:46 Sam James
2022-05-16  8:12 David Seifert
2021-09-20 17:51 Andreas K. Hüttel
2021-07-17 18:18 David Seifert
2021-06-02  7:11 Matthias Maier
2021-06-02  7:11 Matthias Maier
2021-03-14  2:33 Matthias Maier
2021-03-14  2:33 Matthias Maier
2021-01-20 10:16 David Seifert
2020-11-25 16:24 Andreas Sturmlechner
2020-11-25 16:10 Andreas Sturmlechner
2020-11-25 16:10 Andreas Sturmlechner
2020-11-25 16:10 Andreas Sturmlechner
2020-11-25 15:10 Andreas Sturmlechner
2020-11-25 14:50 Andreas Sturmlechner
2020-09-11 14:52 Matthias Maier
2020-09-11 14:52 Matthias Maier
2020-05-12  5:41 Matthias Maier
2020-04-26 11:00 David Seifert
2020-04-04  2:40 Matthias Maier
2020-04-03 20:07 Andreas Sturmlechner
2020-04-03  2:49 Matthias Maier
2020-04-03  2:49 Matthias Maier
2020-03-09  1:13 Matthias Maier
2020-03-09  1:13 Matthias Maier
2020-02-09 16:36 Michał Górny
2020-02-08 17:06 David Seifert
2020-01-16  7:11 Michał Górny
2019-11-30 15:59 Matthias Maier
2019-08-04 21:00 Matthias Maier
2019-08-04 21:00 Matthias Maier
2019-08-04 21:00 Matthias Maier
2019-06-30 19:15 Matthias Maier
2019-06-30 18:20 Matthias Maier
2019-04-26 14:54 Matthias Maier
2019-04-25 22:11 Matthias Maier
2019-04-01 18:44 Matthias Maier
2018-10-31 15:13 Matthias Maier
2018-10-31 15:08 Matthias Maier
2018-07-15 16:09 Andreas Sturmlechner
2018-07-15 16:09 Andreas Sturmlechner
2018-07-15 16:09 Andreas Sturmlechner
2018-07-15 16:09 Andreas Sturmlechner
2018-07-15 16:09 Andreas Sturmlechner
2018-07-15 16:09 Andreas Sturmlechner
2018-07-15 16:09 Andreas Sturmlechner
2018-07-15 16:09 Andreas Sturmlechner
2018-07-15 16:09 Andreas Sturmlechner
2018-07-15 16:09 Andreas Sturmlechner
2018-07-15 16:09 Andreas Sturmlechner
2018-07-08  2:57 Matthias Maier
2018-06-11 20:52 Andreas Sturmlechner
2018-06-01  0:01 Matthias Maier
2018-04-25  1:23 Matthias Maier
2018-04-08  5:03 Matthias Maier
2017-12-25 10:43 David Seifert
2017-05-31 21:14 Matthias Maier
2017-01-26 19:48 Matthias Maier
2017-01-26 19:48 Matthias Maier
2017-01-26 19:06 Matthias Maier
2017-01-26 19:06 Matthias Maier
2016-09-22 12:47 Matthias Maier
2016-08-19  4:17 Matthias Maier
2016-08-19  4:17 Matthias Maier
2016-08-08  4:18 Matthias Maier
2016-08-08  4:18 Matthias Maier
2016-08-08  3:43 Matthias Maier
2016-08-02  2:22 Matthias Maier
2016-07-28  3:31 Matthias Maier
2016-07-09 18:57 Matthias Maier
2016-07-09 18:57 Matthias Maier
2015-09-21 21:36 Matthias Maier

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