diff options
author | Erich Eckner <git@eckner.net> | 2018-04-09 06:36:29 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-04-09 06:36:29 +0200 |
commit | df0a300f4b663ea1e6bae66db1479bbfbcf4a328 (patch) | |
tree | e4f2afda871a5846c6580a258a2def7bc57e5422 | |
parent | 1e9bfb8bbd84b79e8798190d043053ce14e47324 (diff) | |
download | archlinuxewe.git.save-df0a300f4b663ea1e6bae66db1479bbfbcf4a328.tar.xz |
paraview is now in [community]
-rw-r--r-- | paraview/PKGBUILD | 95 | ||||
-rw-r--r-- | paraview/paraview-desktop.patch | 14 | ||||
-rw-r--r-- | paraview/vtk_hdf5_internal.patch | 39 |
3 files changed, 0 insertions, 148 deletions
diff --git a/paraview/PKGBUILD b/paraview/PKGBUILD deleted file mode 100644 index d9849d06..00000000 --- a/paraview/PKGBUILD +++ /dev/null @@ -1,95 +0,0 @@ -# Maintainer: Erich Eckner <arch at eckner dot net> -# Contributor: Oliver Goethel <deezy> -# Contributor: eolianoe eolianoe <eolianoe [at] gmail [DoT] com> -# Contributor: George Eleftheriou <eleftg> -# Contributor: Mathias Anselmann <mathias.anselmann@gmail.com> -# Contributor: Stéphane Gaudreault <stephane@archlinux.org> -# Contributor: Thomas Dziedzic < gostrc at gmail > -# Contributor: Michele Mocciola <mickele> -# Contributor: Simon Zilliken <simon____AT____zilliken____DOT____name> -# Contributor: chuckdaniels - -pkgname=paraview -pkgver=5.5.0 -pkgrel=1 -pkgdesc='Parallel Visualization Application using VTK' -arch=('i686' 'x86_64') -url='http://www.paraview.org' -license=('custom') -depends=('qt5-tools' 'qt5-x11extras' 'qt5-xmlpatterns' - 'openmpi' 'python-matplotlib' 'python-numpy' - 'ffmpeg' 'boost' 'glew' 'protobuf' - 'expat' 'freetype2' 'libjpeg' 'libxml2' 'libtheora' 'libpng' 'libtiff' 'zlib' - 'cgns') -depends_x86_64=('ospray') -makedepends=('cmake' 'mesa' 'gcc-fortran' 'ninja') -source=("https://www.paraview.org/files/v${pkgver:0:3}/ParaView-v${pkgver}.tar.gz") -sha512sums=('0915eac75a710736334fa9d436369a14546e2f90a1b55f9a0f7a96fedb94ced043d27576d2a179f275478be17e326cd3bee76f06266a776d586f6510722f3172') - -prepare() { - cd "${srcdir}/ParaView-v${pkgver}" - - #rm -rf "${srcdir}/build" - mkdir -p "${srcdir}/build" -} - -build() { - cd "${srcdir}/build" - - # flags to enable system libs - local VTK_USE_SYSTEM_LIB="" - for lib in CGNS EXPAT FREETYPE GLEW HDF5 JPEG LIBXML2 OGGTHEORA PNG PROTOBUF TIFF ZLIB - do - VTK_USE_SYSTEM_LIB+="-DVTK_USE_SYSTEM_${lib}:BOOL=ON " - done - - if [ "${CARCH}" = 'x86_64' ]; then - _arch_options='-DOSPRAY_INSTALL_DIR:PATH=/usr -DPARAVIEW_USE_OSPRAY:BOOL=ON' - else - _arch_options='' - fi - - # VisitBridge bug: https://gitlab.kitware.com/paraview/paraview/issues/17456 - cmake \ - -DBUILD_DOCUMENTATION:BOOL=OFF \ - -DBUILD_EXAMPLES:BOOL=ON \ - -DBUILD_SHARED_LIBS:BOOL=ON \ - -DBUILD_TESTING:BOOL=OFF \ - -DCMAKE_BUILD_TYPE:STRING=Release \ - -DCMAKE_C_COMPILER:STRING=mpicc \ - -DCMAKE_CXX_COMPILER:STRING=mpicxx \ - -DCMAKE_INSTALL_PREFIX:PATH=/usr \ - -DPARAVIEW_ENABLE_CGNS:BOOL=ON \ - -DPARAVIEW_ENABLE_FFMPEG:BOOL=ON \ - -DPARAVIEW_ENABLE_MATPLOTLIB:BOOL=ON \ - -DPARAVIEW_ENABLE_PYTHON:BOOL=ON \ - -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON \ - -DPARAVIEW_QT_VERSION:STRING=5 \ - -DPARAVIEW_USE_MPI:BOOL=ON \ - -DPARAVIEW_USE_VISITBRIDGE:BOOL=OFF \ - -DVISIT_BUILD_READER_CGNS:BOOL=ON \ - -DVTK_PYTHON_FULL_THREADSAFE:BOOL=ON \ - -DVTK_PYTHON_VERSION:STRING=3 \ - -DVTK_QT_VERSION:STRING=5 \ - -DVTK_RENDERING_BACKEND:STRING=OpenGL2 \ - -DVTK_SMP_IMPLEMENTATION_TYPE:STRING=OpenMP \ - -DVTK_USE_TK:BOOL=ON \ - ${VTK_USE_SYSTEM_LIB} \ - ${_arch_options} \ - -GNinja \ - ../ParaView-v${pkgver} - - ninja ${MAKEFLAGS} -} - -package() { - cd "${srcdir}/build" - - DESTDIR="${pkgdir}" ninja install - - #Install license - install -Dm644 "${srcdir}/ParaView-v${pkgver}/License_v1.2.txt" "${pkgdir}/usr/share/licenses/paraview/LICENSE" - - # Remove IceT man pages to avoid conflicts - rm -- "${pkgdir}/usr/share/man/man3/icet"*.3 -} diff --git a/paraview/paraview-desktop.patch b/paraview/paraview-desktop.patch deleted file mode 100644 index 0b129d94..00000000 --- a/paraview/paraview-desktop.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff --git a/Applications/ParaView/paraview.desktop.in b/Applications/ParaView/paraview.desktop.in -index 8b224f5..d1da219 100644 ---- a/Applications/ParaView/paraview.desktop.in -+++ b/Applications/ParaView/paraview.desktop.in -@@ -1,7 +1,8 @@ - [Desktop Entry] --Version=@PARAVIEW_VERSION_FULL@ -+Version=1.0 - Type=Application - Name=ParaView - Comment=Parallel visualization application -+Exec=paraview - TryExec=paraview - Icon=paraview diff --git a/paraview/vtk_hdf5_internal.patch b/paraview/vtk_hdf5_internal.patch deleted file mode 100644 index 839881f6..00000000 --- a/paraview/vtk_hdf5_internal.patch +++ /dev/null @@ -1,39 +0,0 @@ -diff -Naur ParaView-v5.1.2_org/VTK/ThirdParty/hdf5/vtkhdf5/CMakeInstallation.cmake ParaView-v5.1.2/VTK/ThirdParty/hdf5/vtkhdf5/CMakeInstallation.cmake ---- ParaView-v5.1.2_org/VTK/ThirdParty/hdf5/vtkhdf5/CMakeInstallation.cmake 2016-07-26 21:52:16.000000000 +0200 -+++ ParaView-v5.1.2/VTK/ThirdParty/hdf5/vtkhdf5/CMakeInstallation.cmake 2016-10-13 17:01:06.326836570 +0200 -@@ -58,7 +58,7 @@ - ) - install ( - FILES ${HDF5_BINARY_DIR}/CMakeFiles/FindHDF5${HDF_PACKAGE_EXT}.cmake -- DESTINATION ${HDF5_INSTALL_CMAKE_DIR}/${HDF5_PACKAGE} -+ DESTINATION ${HDF5_INSTALL_CMAKE_DIR}/${HDF5_PACKAGE}_paraview - COMPONENT configinstall - ) - endif (NOT HDF5_EXTERNALLY_CONFIGURED) -@@ -73,7 +73,7 @@ - ) - install ( - FILES ${HDF5_BINARY_DIR}/CMakeFiles/${HDF5_PACKAGE}${HDF_PACKAGE_EXT}-config.cmake -- DESTINATION ${HDF5_INSTALL_CMAKE_DIR}/${HDF5_PACKAGE} -+ DESTINATION ${HDF5_INSTALL_CMAKE_DIR}/${HDF5_PACKAGE}_paraview - COMPONENT configinstall - ) - endif (NOT HDF5_EXTERNALLY_CONFIGURED) -@@ -88,7 +88,7 @@ - ) - install ( - FILES ${HDF5_BINARY_DIR}/CMakeFiles/${HDF5_PACKAGE}${HDF_PACKAGE_EXT}-config-version.cmake -- DESTINATION ${HDF5_INSTALL_CMAKE_DIR}/${HDF5_PACKAGE} -+ DESTINATION ${HDF5_INSTALL_CMAKE_DIR}/${HDF5_PACKAGE}_paraview - COMPONENT configinstall - ) - endif (NOT HDF5_EXTERNALLY_CONFIGURED) -@@ -107,7 +107,7 @@ - ) - install ( - FILES ${HDF5_BINARY_DIR}/libhdf5.settings -- DESTINATION ${HDF5_INSTALL_CMAKE_DIR}/${HDF5_PACKAGE} -+ DESTINATION ${HDF5_INSTALL_CMAKE_DIR}/${HDF5_PACKAGE}_paraview - COMPONENT libraries - ) - |