diff options
author | Markus Dittrich <markusle@gentoo.org> | 2008-05-16 01:45:09 +0000 |
---|---|---|
committer | Markus Dittrich <markusle@gentoo.org> | 2008-05-16 01:45:09 +0000 |
commit | 7e300c95192958f4a2ba59300f2e3145264a256a (patch) | |
tree | 890baa568bcc400237629dc79caf26223b78f8a2 /sci-visualization | |
parent | Added new cvs snapshot of sci-visualization/paraview to mask since it (diff) | |
download | historical-7e300c95192958f4a2ba59300f2e3145264a256a.tar.gz historical-7e300c95192958f4a2ba59300f2e3145264a256a.tar.bz2 historical-7e300c95192958f4a2ba59300f2e3145264a256a.zip |
Added development version which fixes the non-functioning screenshot feature (see bug #220477).
Package-Manager: portage-2.1.5_rc10
Diffstat (limited to 'sci-visualization')
5 files changed, 288 insertions, 2 deletions
diff --git a/sci-visualization/paraview/ChangeLog b/sci-visualization/paraview/ChangeLog index 8cb902e0a9eb..4e1860dab5db 100644 --- a/sci-visualization/paraview/ChangeLog +++ b/sci-visualization/paraview/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for sci-visualization/paraview # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/paraview/ChangeLog,v 1.18 2008/05/12 13:53:51 markusle Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/paraview/ChangeLog,v 1.19 2008/05/16 01:45:09 markusle Exp $ + +*paraview-3.3_pre20080514 (15 May 2008) + + 15 May 2008; Markus Dittrich <markusle@gentoo.org> + +files/paraview-3.3_pre20080514-gcc4.3.patch, + +files/paraview-3.3_pre20080514-qt.patch, + +paraview-3.3_pre20080514.ebuild: + Added development version which fixes the non-functioning + screenshot feature (see bug #220477). 12 May 2008; Markus Dittrich <markusle@gentoo.org> paraview-2.6.2.ebuild, paraview-3.2.1.ebuild: diff --git a/sci-visualization/paraview/Manifest b/sci-visualization/paraview/Manifest index 2a797bc0a422..c1f85d36b912 100644 --- a/sci-visualization/paraview/Manifest +++ b/sci-visualization/paraview/Manifest @@ -4,10 +4,14 @@ AUX paraview-2.6.2-tkImgGIF.patch 1333 RMD160 e941a279bbfa4a47c407f294f30e63ec8a AUX paraview-3.2-libxml2-fix.patch 1774 RMD160 11ab022b0abca2a226deb648d48fe69cbf5c9352 SHA1 476d18040197100127184e1f547fc5840d8d0d45 SHA256 fda2240e2f0deaef39081e7375e7b99f967cbbe3aa99761f6940bb7c27c942e4 AUX paraview-3.2-support-qt4.3.patch 3835 RMD160 06d572100ee65f6f68c042bf7204b49c062c4e3a SHA1 ea7a30324e36ea9ed58129818769bafab30c078d SHA256 c2a412b2418f4b34e210851e6d1d7f7d5112d1ead93ddcadd5c8119ea40c160e AUX paraview-3.2.1-openmpi.patch 1651 RMD160 64025fcb74f62939e0b71f4cfc0de09e83aa38fb SHA1 f3863c718d8c2d9da4201b194b24fb75c2794269 SHA256 148d4e22419b31af9f1c357b478820a09bffff0eada0acd3758e6dca7da3209b +AUX paraview-3.3_pre20080514-gcc4.3.patch 1792 RMD160 56781fb8ac9fa8bc50bb7c34d2167986228a2602 SHA1 e700406300648ef10c131c073832b42a88f7e02c SHA256 fe24d033ca80da86af324fa6afef2fdbe67fe3b3cd0e4ca6abeb796caf83b032 +AUX paraview-3.3_pre20080514-qt.patch 3055 RMD160 0d92c040b00b61e90a45f6bdd6caf2adc8dcc93c SHA1 92c37b5315384be681550c9c0865b4380a9b4ecc SHA256 3e0076fdfb8a73446ba9a4832caeabf8c51658f451d35ce4dbf1f69f0b7ac48a DIST ParaView-2.6.2.tar.gz 75658768 RMD160 068f3fbfea17166d34c488b4e6bd8d8fb07d3cd9 SHA1 ac5efb1c850e89b76dda4f28ecfa4575e45aa22e SHA256 de7cbd808e1ab1730ad87436d30c0a752096a65fe9aa6b82f35a39fc3b67d7c7 DIST paraview-3.2.1-OpenFOAM.patch.bz2 35956 RMD160 b4f6d3f64e6a0cc952b73d70b59168d33f09b7d5 SHA1 4b63ca09cae3b9197b840319e3bbb7b6594a66d3 SHA256 16bf34d126c65966de20644cb44685bf90cd81f97f9ddb8b6d1749ed97918c7e DIST paraview-3.2.1.tar.gz 21360301 RMD160 f7df024f4668901900b7633cf6dbe78337991b49 SHA1 a14e46cbeb7292f5511e1361afeb37455689c325 SHA256 d613d6a86f8a9173f42333760c9f0c29b5fcaa85554ba4b9bf61b6fddfae0cb9 +DIST paraview-3.3_pre20080514.tar.bz2 19931958 RMD160 bcca09c71c84deaa721261fcb514897af052f360 SHA1 fcd8061d7a7679f635c06a1940a34d62acb77c23 SHA256 a1e75e5342bb95c18033ba2906514ba34693515b81a94d157a5928719fb9e4de EBUILD paraview-2.6.2.ebuild 3613 RMD160 937e650413d5fa4638b056ad88087986e59feacf SHA1 a8bc36ff2e02204585281ee7d095799eba462bbc SHA256 ce22dfad39ecc56f6618231e1771596bcef87f36cbf500b70192b6fd05b1c136 EBUILD paraview-3.2.1.ebuild 5495 RMD160 3dfeba96dd8ce1bc5c4a13beaa8b12ef0a32b6fd SHA1 67e0c5014f2ea4ba80f63f7ec719231e97c7cc48 SHA256 343515bf51520f5af48af0cfa6d425c1c5bedc6b0a4f7ba9b5b51893ae0d293d -MISC ChangeLog 3514 RMD160 410a7fc8ee54ec7deee9626ccd40aa0169d02765 SHA1 5f71580c43f12ddb48e20604c7469a7838618aa3 SHA256 5b01e6ed4e1f32ad45086bee23dc7854cbd0895de8fd1b83c0433b2d1a4b34ad +EBUILD paraview-3.3_pre20080514.ebuild 5386 RMD160 158698d05cec0c5bd5c6e8b6fb9f69f6f53ab481 SHA1 2fc7edb927c1e220d26d0cadf559bc65790ecf08 SHA256 143611083d3da48ff2cd2cc0fa5f7f28c7485ef11826464ae51ef5c1a772008c +MISC ChangeLog 3837 RMD160 1cc6a42ebb2fee47f2b9434ea857db23f71fcd6f SHA1 14715bd0d2ccb6c41c2e9f48cb71d866d27249cf SHA256 f480df6a12439725f1d3462fe5b07c0d6c56161e3ba3d7f115a7084327d1543f MISC metadata.xml 254 RMD160 8e9562c9dd3bd05fdf2dd40bcc5b2ed3dbe9ab75 SHA1 53acb8f334765223c1030a8eb242d584ad376706 SHA256 131c089c8a699c3fb7e8b914f68af259e0b0ad341fba3a8f87827871fc7be701 diff --git a/sci-visualization/paraview/files/paraview-3.3_pre20080514-gcc4.3.patch b/sci-visualization/paraview/files/paraview-3.3_pre20080514-gcc4.3.patch new file mode 100644 index 000000000000..bf222fdac2b6 --- /dev/null +++ b/sci-visualization/paraview/files/paraview-3.3_pre20080514-gcc4.3.patch @@ -0,0 +1,47 @@ +diff -Naur ParaView3/Utilities/Xdmf2/libsrc/XdmfArray.h ParaView3.new/Utilities/Xdmf2/libsrc/XdmfArray.h +--- ParaView3/Utilities/Xdmf2/libsrc/XdmfArray.h 2008-02-21 11:55:28.000000000 -0500 ++++ ParaView3.new/Utilities/Xdmf2/libsrc/XdmfArray.h 2008-05-15 08:29:38.000000000 -0400 +@@ -26,6 +26,7 @@ + #define __XdmfArray_h + + #include "XdmfDataDesc.h" ++#include <cstdlib> + + #define XDMF_LONGEST_LENGTH (XdmfInt64)~0 + #define XDMF_ARRAY_TAG_LENGTH 80 +diff -Naur ParaView3/Utilities/Xdmf2/libsrc/XdmfDataDesc.h ParaView3.new/Utilities/Xdmf2/libsrc/XdmfDataDesc.h +--- ParaView3/Utilities/Xdmf2/libsrc/XdmfDataDesc.h 2008-02-21 11:55:28.000000000 -0500 ++++ ParaView3.new/Utilities/Xdmf2/libsrc/XdmfDataDesc.h 2008-05-15 08:29:38.000000000 -0400 +@@ -27,6 +27,7 @@ + + #include "XdmfObject.h" + #include "XdmfHDFSupport.h" ++#include <cstdlib> + + #define XDMF_SELECTALL 0 + #define XDMF_HYPERSLAB 1 +diff -Naur ParaView3/Utilities/Xdmf2/libsrc/XdmfObject.h ParaView3.new/Utilities/Xdmf2/libsrc/XdmfObject.h +--- ParaView3/Utilities/Xdmf2/libsrc/XdmfObject.h 2008-02-08 10:25:42.000000000 -0500 ++++ ParaView3.new/Utilities/Xdmf2/libsrc/XdmfObject.h 2008-05-15 08:29:38.000000000 -0400 +@@ -121,6 +121,9 @@ + #define __DEPRECATED + # include <fstream> + # include <iomanip> ++ ++#include <cstring> ++ + using std::cerr; + using std::cout; + using std::cin; +diff -Naur ParaView3/Utilities/Xdmf2/libsrc/XdmfRoot.h ParaView3.new/Utilities/Xdmf2/libsrc/XdmfRoot.h +--- ParaView3/Utilities/Xdmf2/libsrc/XdmfRoot.h 2007-04-25 15:23:59.000000000 -0400 ++++ ParaView3.new/Utilities/Xdmf2/libsrc/XdmfRoot.h 2008-05-15 08:29:38.000000000 -0400 +@@ -26,7 +26,7 @@ + #define __XdmfRoot_h + + #include "XdmfElement.h" +- ++#include <cstdlib> + + /*! XdmfRoot represents the Root Element in + Xdmf. In XML it is the Element : diff --git a/sci-visualization/paraview/files/paraview-3.3_pre20080514-qt.patch b/sci-visualization/paraview/files/paraview-3.3_pre20080514-qt.patch new file mode 100644 index 000000000000..f9993a0b830e --- /dev/null +++ b/sci-visualization/paraview/files/paraview-3.3_pre20080514-qt.patch @@ -0,0 +1,64 @@ +diff -Naur ParaView3/Applications/Client/CMakeLists.txt ParaView3.new/Applications/Client/CMakeLists.txt +--- ParaView3/Applications/Client/CMakeLists.txt 2008-04-01 12:47:19.000000000 -0400 ++++ ParaView3.new/Applications/Client/CMakeLists.txt 2008-05-15 12:23:11.000000000 -0400 +@@ -516,34 +516,34 @@ + ENDIF(FFMPEG_${fmpglib}_LIBRARY) + ENDFOREACH(fmpglib) + +-SET (QTLIBLIST QTCORE QTGUI QTNETWORK QTXML QTTEST QTSQL) ++#SET (QTLIBLIST QTCORE QTGUI QTNETWORK QTXML QTTEST QTSQL) + # the variable and library names are not the same +-IF (WIN32) +- SET (QTLIBLIST ${QTLIBLIST} QTASSISTANTCLIENT) +-ELSE (WIN32) +- SET (QTLIBLIST ${QTLIBLIST} QTASSISTANT) +-ENDIF (WIN32) ++#IF (WIN32) ++# SET (QTLIBLIST ${QTLIBLIST} QTASSISTANTCLIENT) ++#ELSE (WIN32) ++# SET (QTLIBLIST ${QTLIBLIST} QTASSISTANT) ++#ENDIF (WIN32) + +-IF(NOT Q_WS_MAC) +- FOREACH(qtlib ${QTLIBLIST}) +- IF (NOT WIN32) +- #INSTALL(FILES ${QT_${qtlib}_LIBRARY_RELEASE} DESTINATION ${PV_INSTALL_LIB_DIR_CM24}) +- GET_FILENAME_COMPONENT(QT_LIB_DIR_tmp ${QT_${qtlib}_LIBRARY_RELEASE} PATH) +- GET_FILENAME_COMPONENT(QT_LIB_NAME_tmp ${QT_${qtlib}_LIBRARY_RELEASE} NAME) +- FILE(GLOB QT_LIB_LIST RELATIVE ${QT_LIB_DIR_tmp} "${QT_${qtlib}_LIBRARY_RELEASE}*") +- INSTALL(CODE " +-MESSAGE(STATUS \"Installing \${CMAKE_INSTALL_PREFIX}/${PV_INSTALL_LIB_DIR_CM24}/${QT_LIB_NAME_tmp}\") +-EXECUTE_PROCESS (WORKING_DIRECTORY ${QT_LIB_DIR_tmp} +- COMMAND tar c ${QT_LIB_LIST} +- COMMAND tar -xC \${CMAKE_INSTALL_PREFIX}/${PV_INSTALL_LIB_DIR_CM24}) +- " COMPONENT Runtime) +- ELSE (NOT WIN32) +- GET_FILENAME_COMPONENT(QT_DLL_PATH_tmp ${QT_QMAKE_EXECUTABLE} PATH) +- INSTALL(FILES ${QT_DLL_PATH_tmp}/${qtlib}4.dll DESTINATION ${PV_INSTALL_BIN_DIR_CM24} COMPONENT Runtime) +- ENDIF (NOT WIN32) +- +- ENDFOREACH(qtlib) +-ENDIF(NOT Q_WS_MAC) ++#IF(NOT Q_WS_MAC) ++# FOREACH(qtlib ${QTLIBLIST}) ++# IF (NOT WIN32) ++# #INSTALL(FILES ${QT_${qtlib}_LIBRARY_RELEASE} DESTINATION ${PV_INSTALL_LIB_DIR_CM24}) ++# GET_FILENAME_COMPONENT(QT_LIB_DIR_tmp ${QT_${qtlib}_LIBRARY_RELEASE} PATH) ++# GET_FILENAME_COMPONENT(QT_LIB_NAME_tmp ${QT_${qtlib}_LIBRARY_RELEASE} NAME) ++# FILE(GLOB QT_LIB_LIST RELATIVE ${QT_LIB_DIR_tmp} "${QT_${qtlib}_LIBRARY_RELEASE}*") ++# INSTALL(CODE " ++#MESSAGE(STATUS \"Installing \${CMAKE_INSTALL_PREFIX}/${PV_INSTALL_LIB_DIR_CM24}/${QT_LIB_NAME_tmp}\") ++#EXECUTE_PROCESS (WORKING_DIRECTORY ${QT_LIB_DIR_tmp} ++# COMMAND tar c ${QT_LIB_LIST} ++# COMMAND tar -xC \${CMAKE_INSTALL_PREFIX}/${PV_INSTALL_LIB_DIR_CM24}) ++# " COMPONENT Runtime) ++# ELSE (NOT WIN32) ++# GET_FILENAME_COMPONENT(QT_DLL_PATH_tmp ${QT_QMAKE_EXECUTABLE} PATH) ++# INSTALL(FILES ${QT_DLL_PATH_tmp}/${qtlib}4.dll DESTINATION ${PV_INSTALL_BIN_DIR_CM24} COMPONENT Runtime) ++# ENDIF (NOT WIN32) ++# ++# ENDFOREACH(qtlib) ++#ENDIF(NOT Q_WS_MAC) + + # Hard-coded install rules for anything left to install. These should + # probably go to a local cmake file. Change to match the build system's diff --git a/sci-visualization/paraview/paraview-3.3_pre20080514.ebuild b/sci-visualization/paraview/paraview-3.3_pre20080514.ebuild new file mode 100644 index 000000000000..6acd4c249fbd --- /dev/null +++ b/sci-visualization/paraview/paraview-3.3_pre20080514.ebuild @@ -0,0 +1,162 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/paraview/paraview-3.3_pre20080514.ebuild,v 1.1 2008/05/16 01:45:09 markusle Exp $ + +EAPI="1" + +inherit distutils eutils flag-o-matic toolchain-funcs versionator python qt4 + +MY_PV=3.3 + +DESCRIPTION="ParaView is a powerful scientific data visualization application" +HOMEPAGE="http://www.paraview.org" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="paraview" +KEYWORDS="~x86 ~amd64" +SLOT="0" +IUSE="mpi python hdf5 doc examples threads qt4" +RDEPEND="hdf5? ( sci-libs/hdf5 ) + mpi? ( || ( + sys-cluster/openmpi + sys-cluster/mpich2 ) ) + python? ( >=dev-lang/python-2.0 ) + dev-libs/libxml2 + media-libs/libpng + media-libs/jpeg + media-libs/tiff + dev-libs/expat + sys-libs/zlib + media-libs/freetype + virtual/opengl + sci-libs/netcdf + x11-libs/libXmu" + +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen ) + >=dev-util/cmake-2.4.5" + +PVLIBDIR="$(get_libdir)/${PN}-${MY_PV}" +BUILDDIR="${WORKDIR}/build" +S="${WORKDIR}"/ParaView3 + +#QT4_BUILT_WITH_USE_CHECK="qt3support" + +pkg_setup() { + use qt4 && qt4_pkg_setup + if use mpi && has_version sys-cluster/mpich2; then + if ! built_with_use sys-cluster/mpich2 cxx; then + die "Please re-emerge sys-cluster/mpich2 with USE=\"cxx\"" + fi + fi +} + +src_unpack() { + unpack ${A} + mkdir "${BUILDDIR}" || die "Failed to generate build directory" + cd "${S}" + epatch "${FILESDIR}"/${P}-gcc4.3.patch + epatch "${FILESDIR}"/${P}-qt.patch + epatch "${FILESDIR}"/${PN}-3.2.1-openmpi.patch + + # rename paraview's assistant wrapper + if use qt4; then + sed -e "s:\"assistant\":\"paraview-assistant\":" \ + -i Applications/Client/MainWindow.cxx \ + || die "Failed to fix assistant wrapper call" + fi + + # fix GL issues + sed -e "s:DEPTH_STENCIL_EXT:DEPTH_COMPONENT24:" \ + -i VTK/Rendering/vtkOpenGLRenderWindow.cxx \ + || die "Failed to fix GL issues." +} + +src_compile() { + cd "${BUILDDIR}" + local CMAKE_VARIABLES="" + CMAKE_VARIABLES="${CMAKE_VARIABLES} -DPV_INSTALL_LIB_DIR:PATH=/${PVLIBDIR}" + CMAKE_VARIABLES="${CMAKE_VARIABLES} -DCMAKE_SKIP_RPATH:BOOL=YES" + CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_RPATH:BOOL=OFF" + CMAKE_VARIABLES="${CMAKE_VARIABLES} -DCMAKE_INSTALL_PREFIX:PATH=/usr" + CMAKE_VARIABLES="${CMAKE_VARIABLES} -DBUILD_SHARED_LIBS:BOOL=ON" + CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_SYSTEM_FREETYPE:BOOL=ON" + CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_SYSTEM_JPEG:BOOL=ON" + CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_SYSTEM_PNG:BOOL=ON" + CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_SYSTEM_TIFF:BOOL=ON" + CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_SYSTEM_ZLIB:BOOL=ON" + CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_SYSTEM_EXPAT:BOOL=ON" + CMAKE_VARIABLES="${CMAKE_VARIABLES} -DCMAKE_VERBOSE_MAKEFILE:BOOL=OFF" + CMAKE_VARIABLES="${CMAKE_VARIABLES} -DEXPAT_INCLUDE_DIR:PATH=/usr/include" + CMAKE_VARIABLES="${CMAKE_VARIABLES} -DEXPAT_LIBRARY=/usr/$(get_libdir)/libexpat.so" + CMAKE_VARIABLES="${CMAKE_VARIABLES} -DOPENGL_gl_LIBRARY=/usr/$(get_libdir)/libGL.so" + CMAKE_VARIABLES="${CMAKE_VARIABLES} -DOPENGL_glu_LIBRARY=/usr/$(get_libdir)/libGLU.so" + CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_GLEXT_FILE=/usr/include/GL/glext.h" + CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_GLXEXT_FILE=/usr/include/GL/glxext.h" + CMAKE_VARIABLES="${CMAKE_VARIABLES} -DCMAKE_COLOR_MAKEFILE:BOOL=TRUE" + CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_SYSTEM_LIBXML2:BOOL=ON" + # paraview uses a non exisiting call to boost's graph library + # maybe upstream needs to update + CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_BOOST:BOOL=OFF" + CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_OFFSCREEN=TRUE" + + # paraview used the deprecated img_convert(..) call; hence disable + # until upstream has switched to swscale + CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_FFMPEG_ENCODER:BOOL=OFF" + if use hdf5; then + CMAKE_VARIABLES="${CMAKE_VARIABLES} -DPARAVIEW_USE_SYSTEM_HDF5:BOOL=ON" + fi + + if use mpi; then + CMAKE_VARIABLES="${CMAKE_VARIABLES} -DPARAVIEW_USE_MPI:BOOL=ON" + fi + + if use python; then + CMAKE_VARIABLES="${CMAKE_VARIABLES} -DPARAVIEW_ENABLE_PYTHON:BOOL=ON" + fi + + use doc && CMAKE_VARIABLES="${CMAKE_VARIABLES} -DBUILD_DOCUMENTATION:BOOL=ON" + + if use examples; then + CMAKE_VARIABLES="${CMAKE_VARIABLES} -DBUILD_EXAMPLES:BOOL=ON" + else + CMAKE_VARIABLES="${CMAKE_VARIABLES} -DBUILD_EXAMPLES:BOOL=OFF" + fi + + if use qt4; then + CMAKE_VARIABLES="${CMAKE_VARIABLES} -DPARAVIEW_BUILD_QT_GUI:BOOL=ON" + else + CMAKE_VARIABLES="${CMAKE_VARIABLES} -DPARAVIEW_BUILD_QT_GUI:BOOL=OFF" + fi + + if use threads; then + CMAKE_VARIABLES="${CMAKE_VARIABLES} -DCMAKE_USE_PTHREADS:BOOL=ON" + else + CMAKE_VARIABLES="${CMAKE_VARIABLES} -DCMAKE_USE_PTHREADS:BOOL=OFF" + fi + + #CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_OFFSCREEN=TRUE" + + cmake ${CMAKE_VARIABLES} "${S}" \ + || die "cmake configuration failed" + + emake -j1 || die "emake failed" + +} + +src_install() { + cd "${BUILDDIR}" + make DESTDIR="${D}" install || die "make install failed" + + # rename the assistant wrapper + if use qt4; then + mv "${D}"/usr/bin/assistant "${D}"/usr/bin/paraview-assistant \ + || die "Failed to rename assistant wrapper" + chmod 0755 "${D}"/usr/$(get_libdir)/${PN}-${MY_PV}/assistant-real \ + || die "Failed to change permissions on assistant wrapper" + fi + + # set up the environment + echo "LDPATH=/usr/${PVLIBDIR}" >> "${T}"/40${PN} + doenvd "${T}"/40${PN} +} |