diff options
-rw-r--r-- | pcr/paraview/PKGBUILD | 96 | ||||
-rw-r--r-- | pcr/paraview/paraview-desktop.patch | 14 | ||||
-rw-r--r-- | pcr/paraview/paraview_32bit.patch | 12 |
3 files changed, 0 insertions, 122 deletions
diff --git a/pcr/paraview/PKGBUILD b/pcr/paraview/PKGBUILD deleted file mode 100644 index d0476a02e..000000000 --- a/pcr/paraview/PKGBUILD +++ /dev/null @@ -1,96 +0,0 @@ -# Maintainer (Arch): Oliver Goethel <deezy> -# Contributor (Arch): George Eleftheriou <eleftg> -# Contributor (Arch): Mathias Anselmann <mathias.anselmann@gmail.com> -# Contributor (Arch): Stéphane Gaudreault <stephane@archlinux.org> -# Contributor (Arch): Thomas Dziedzic < gostrc at gmail > -# Contributor (Arch): Michele Mocciola <mickele> -# Contributor (Arch): Simon Zilliken <simon____AT____zilliken____DOT____name> - -pkgname=paraview -pkgver=5.1.2 -pkgrel=1 -pkgdesc='Parallel Visualization Application using VTK' -arch=('i686' 'x86_64') -url='http://www.paraview.org' -license=('custom') -depends=('qt5-tools' 'qt5-x11extras' 'openmpi' 'python2' 'ffmpeg' 'boost' 'glew' - 'expat' 'freetype2' 'libjpeg' 'libxml2' 'libtheora' 'libpng' 'libtiff' 'zlib') -makedepends=('cmake' 'mesa' 'gcc-fortran') -optdepends=('python2-matplotlib: Needed to support equation rendering using MathText markup language' - 'python2-numpy: Needed for using some filters such as "Python Calculator"') -source=("http://paraview.org/files/v${pkgver:0:3}/ParaView-v${pkgver}.tar.gz" - 'paraview_32bit.patch' - 'paraview-desktop.patch') -sha1sums=('449f104090b1fa84d1ee4b852dbfc6269cba9db4' - 'c25134330c582371e1009b51445cdb435144b53f' - 'd7da23daca34cd015294c4d2f702cdc4a81f0853') - -prepare() { - cd "${srcdir}/ParaView-v${pkgver}" - patch -p1 -i ../paraview_32bit.patch - - patch -p1 -i ../paraview-desktop.patch - - rm -rf "${srcdir}/build" - mkdir "${srcdir}/build" - cd "${srcdir}/build" -} - -build() { - cd "${srcdir}/build" - - # flags to enable system libs - # add PROTOBUF when http://www.vtk.org/Bug/view.php?id=13656 gets fixed - local cmake_system_flags="" - for lib in EXPAT FREETYPE GLEW JPEG LIBXML2 OGGTHEORA PNG TIFF ZLIB; do - cmake_system_flags+="-DVTK_USE_SYSTEM_${lib}:BOOL=ON " - done - - # flags to use python2 instead of python which is 3.x.x on archlinux - local cmake_system_python_flags="-DPYTHON_EXECUTABLE:PATH=/usr/bin/python2 \ - -DPYTHON_INCLUDE_DIR:PATH=/usr/include/python2.7 -DPYTHON_LIBRARY:PATH=/usr/lib/libpython2.7.so" - - # flags to use ffmpeg2.8 - local ffmpeg_compat_flags="-DFFMPEG_INCLUDE_DIR:PATH=/usr/include/ \ - -DFFMPEG_avcodec_LIBRARY=/usr/lib/libavcodec.so \ - -DFFMPEG_avformat_LIBRARY=/usr/lib/libavformat.so \ - -DFFMPEG_avutil_LIBRARY=/usr/lib/libavutil.so \ - -DFFMPEG_swscale_LIBRARY=/usr/lib/libswscale.so" - - # enable when http://paraview.org/Bug/view.php?id=12852 gets fixed: - #-DCMAKE_SKIP_RPATH:BOOL=YES \ - cmake \ - -DBUILD_SHARED_LIBS:BOOL=ON \ - -DBUILD_TESTING:BOOL=OFF \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_C_COMPILER=mpicc \ - -DCMAKE_CXX_COMPILER=mpicxx \ - -DCMAKE_INSTALL_PREFIX:PATH=/usr \ - -DCMAKE_VERBOSE_MAKEFILE:BOOL=OFF \ - -DPARAVIEW_ENABLE_FFMPEG:BOOL=ON \ - -DPARAVIEW_ENABLE_PYTHON:BOOL=ON \ - -DPARAVIEW_USE_MPI:BOOL=ON \ - -DPARAVIEW_USE_VISITBRIDGE:BOOL=ON \ - -DPARAVIEW_QT_VERSION=5 \ - -DVTK_QT_VERSION=5 \ - -DQT_HELP_GENERATOR:FILEPATH=/usr/lib/qt/bin/qhelpgenerator \ - -DQT_QMAKE_EXECUTABLE=qmake-qt5 \ - -DVISIT_BUILD_READER_CGNS:BOOL=OFF \ - -DVTK_RENDERING_BACKEND:STRING=OpenGL2 \ - -DVTK_USE_SYSTEM_HDF5:BOOL=OFF \ - ${cmake_system_flags} \ - ${cmake_system_python_flags} \ - ${ffmpeg_compat_flags} \ - ../ParaView-v${pkgver} - - make -} - -package() { - cd "${srcdir}/build" - - make DESTDIR="${pkgdir}" install - - #Install license - install -Dm644 "${srcdir}/ParaView-v${pkgver}/License_v1.2.txt" "${pkgdir}/usr/share/licenses/paraview/LICENSE" -} diff --git a/pcr/paraview/paraview-desktop.patch b/pcr/paraview/paraview-desktop.patch deleted file mode 100644 index 0b129d949..000000000 --- a/pcr/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/pcr/paraview/paraview_32bit.patch b/pcr/paraview/paraview_32bit.patch deleted file mode 100644 index 796833414..000000000 --- a/pcr/paraview/paraview_32bit.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur ParaView-v4.4.0-source_org/Utilities/VisItBridge/databases/paraDIS/paraDIS_lib/paradis.C ParaView-v4.4.0-source/Utilities/VisItBridge/databases/paraDIS/paraDIS_lib/paradis.C ---- ParaView-v4.4.0-source_org/Utilities/VisItBridge/databases/paraDIS/paraDIS_lib/paradis.C 2015-09-11 19:58:54.000000000 +0200 -+++ ParaView-v4.4.0-source/Utilities/VisItBridge/databases/paraDIS/paraDIS_lib/paradis.C 2015-12-09 09:24:56.260264846 +0100 -@@ -762,7 +762,7 @@ - if (mNeighborSegments.size() < 4) - return crossarms; - -- vector<Arm*> armpair(2,NULL); -+ vector<Arm*> armpair(2,(Arm*)NULL); - vector<bool> matched(mNeighborSegments.size(), false); - // first, identify looped cross arms - for (uint32_t segnum = 0; segnum < mNeighborSegments.size()-1; segnum++) { |