[arch-commits] Commit in paraview/repos (4 files)
Jelle van der Waa
jelle at archlinux.org
Wed Oct 23 18:32:24 UTC 2019
Date: Wednesday, October 23, 2019 @ 18:32:23
Author: jelle
Revision: 518759
db-move: moved paraview from [community-staging] to [community-testing] (x86_64)
Added:
paraview/repos/community-testing-x86_64/
paraview/repos/community-testing-x86_64/PKGBUILD
(from rev 518758, paraview/repos/community-staging-x86_64/PKGBUILD)
paraview/repos/community-testing-x86_64/paraview-system-pugixml.patch
(from rev 518758, paraview/repos/community-staging-x86_64/paraview-system-pugixml.patch)
Deleted:
paraview/repos/community-staging-x86_64/
-------------------------------+
PKGBUILD | 98 ++++++++++++++++++++++++++++++++++++++++
paraview-system-pugixml.patch | 19 +++++++
2 files changed, 117 insertions(+)
Copied: paraview/repos/community-testing-x86_64/PKGBUILD (from rev 518758, paraview/repos/community-staging-x86_64/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2019-10-23 18:32:23 UTC (rev 518759)
@@ -0,0 +1,98 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Oliver Goethel <deezy>
+# Contributor: eolianoe eolianoe <eolianoe [at] gmail [DoT] com>
+# Contributor: George Eleftheriou <eleftg>
+# Contributor: Mathias Anselmann <mathias.anselmann at gmail.com>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Michele Mocciola <mickele>
+# Contributor: Simon Zilliken <simon____AT____zilliken____DOT____name>
+# Contributor: chuckdaniels
+
+_pkg=paraview
+_mpi=openmpi
+pkgname=${_pkg}
+#-${_mpi}
+pkgver=5.7.0
+pkgrel=1
+pkgdesc="Parallel Visualization application using VTK (${_mpi} version)"
+arch=(x86_64)
+url="https://www.paraview.org"
+license=(BSD custom)
+depends=(boost-libs qt5-tools qt5-x11extras intel-tbb openmpi ffmpeg ospray
+ python-numpy cgns protobuf
+ double-conversion expat freetype2 gdal glew hdf5 libjpeg jsoncpp
+ libjsoncpp.so libxml2 lz4 xz python-mpi4py netcdf libogg libpng pdal
+ proj pugixml libtheora libtiff zlib)
+# gl2ps
+# libharu
+# sqlite apparently not used in this VTK configuration
+optdepends=(python-matplotlib)
+makedepends=(cmake boost mesa gcc-fortran ninja qt5-tools qt5-xmlpatterns eigen pegtl utf8cpp)
+source=("${url}/files/v${pkgver:0:3}/ParaView-v${pkgver}.tar.xz"
+ paraview-system-pugixml.patch)
+sha256sums=('e41e597e1be462974a03031380d9e5ba9a7efcdb22e4ca2f3fec50361f310874'
+ 'dd2e23298ab5a07da0e799c3db313ed3f9d2a403d7228d50748206b535b6f65f')
+
+prepare() {
+ mkdir -p build
+ patch -Np0 -i ./paraview-system-pugixml.patch
+}
+
+build() {
+ cd build
+
+ # Flags to enable system libs in VTK building, as in VTK package
+ # GL2PS has non-upstreamed patches
+ # KISSFFT is not packaged
+ # VERDICT is not packaged
+ # ZFP is not packaged
+ # LIBHARU blocked by https://github.com/libharu/libharu/pull/157
+ # SQLITE apparently not used in this VTK configuration
+ local VTK_USE_SYSTEM_LIB=""
+ for lib in doubleconversion eigen expat freetype glew hdf5 jpeg jsoncpp libproj libxml2 lz4 lzma mpi4py netcdf ogg pegtl png pugixml theora tiff utf8 zlib
+ do
+ VTK_USE_SYSTEM_LIB+="-DVTK_MODULE_USE_EXTERNAL_vtk${lib}:BOOL=ON -DVTK_MODULE_USE_EXTERNAL_VTK_${lib}:BOOL=ON "
+ done
+ # Specific system libs for ParaView version
+ for lib in cgns protobuf
+ do
+ VTK_USE_SYSTEM_LIB+="-DVTK_MODULE_USE_EXTERNAL_ParaView_${lib}:BOOL=ON "
+ done
+
+ cmake ../ParaView-v${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DPARAVIEW_ENABLE_FFMPEG=ON \
+ -DPARAVIEW_ENABLE_GDAL=ON \
+ -DPARAVIEW_ENABLE_PDAL=ON \
+ -DPARAVIEW_ENABLE_PYTHON=ON \
+ -DPARAVIEW_ENABLE_VISITBRIDGE=ON \
+ -DPARAVIEW_INSTALL_DEVELOPMENT_FILES=ON \
+ -DPARAVIEW_USE_MPI=ON \
+ -DPARAVIEW_USE_RAYTRACING=ON \
+ -DVTK_ENABLE_OSPRAY=ON \
+ -DVTK_PYTHON_FULL_THREADSAFE=ON \
+ -DVTK_PYTHON_VERSION=3 \
+ -DVTK_SMP_IMPLEMENTATION_TYPE=TBB \
+ -DVTKm_ENABLE_MPI=ON \
+ -DVTKm_ENABLE_RENDERING=ON \
+ -DVTKm_USE_DOUBLE_PRECISION=ON \
+ -DVTK_MODULE_ENABLE_VTK_GeovisCore=YES \
+ -DVTK_MODULE_ENABLE_VTK_GeovisGDAL=YES \
+ -DVTK_MODULE_ENABLE_VTK_IOGDAL=YES \
+ -DVTK_MODULE_ENABLE_VTK_IOPDAL=YES \
+ ${VTK_USE_SYSTEM_LIB} \
+ -GNinja
+
+ ninja ${MAKEFLAGS}
+}
+
+package() {
+ cd build
+
+ DESTDIR="${pkgdir}" ninja install
+
+ # Install license
+ install -Dm644 "${srcdir}"/ParaView-v${pkgver}/License_v1.2.txt "${pkgdir}"/usr/share/licenses/paraview/LICENSE
+}
Copied: paraview/repos/community-testing-x86_64/paraview-system-pugixml.patch (from rev 518758, paraview/repos/community-staging-x86_64/paraview-system-pugixml.patch)
===================================================================
--- community-testing-x86_64/paraview-system-pugixml.patch (rev 0)
+++ community-testing-x86_64/paraview-system-pugixml.patch 2019-10-23 18:32:23 UTC (rev 518759)
@@ -0,0 +1,19 @@
+--- ParaView-v5.7.0/VTK/ThirdParty/pugixml/CMakeLists.txt.orig 2019-10-18 16:22:47.612817047 +0800
++++ ParaView-v5.7.0/VTK/ThirdParty/pugixml/CMakeLists.txt 2019-10-18 16:29:12.692090865 +0800
+@@ -1,7 +1,12 @@
+-vtk_module_third_party_internal(
+- LICENSE_FILES "vtkpugixml/LICENSE"
+- VERSION "1.9"
+- STANDARD_INCLUDE_DIRS)
++vtk_module_third_party(
++ INTERNAL
++ LICENSE_FILES "vtkpugixml/LICENSE"
++ VERSION "1.9"
++ STANDARD_INCLUDE_DIRS
++ EXTERNAL
++ PACKAGE pugixml
++ TARGETS pugixml
++ STANDARD_INCLUDE_DIRS)
+
+ configure_file(
+ "${CMAKE_CURRENT_SOURCE_DIR}/vtk_pugixml.h.in"
More information about the arch-commits
mailing list