[arch-commits] Commit in paraview/repos (4 files)

2020-11-19 Thread Evangelos Foutras via arch-commits
Date: Thursday, November 19, 2020 @ 23:40:38
  Author: foutrelis
Revision: 757856

archrelease: copy trunk to community-staging-x86_64

Added:
  paraview/repos/community-staging-x86_64/
  paraview/repos/community-staging-x86_64/PKGBUILD
(from rev 757855, paraview/trunk/PKGBUILD)
  paraview/repos/community-staging-x86_64/paraview-vtk-freetype-2.10.3.patch
(from rev 757855, paraview/trunk/paraview-vtk-freetype-2.10.3.patch)
  paraview/repos/community-staging-x86_64/paraview-vtk-python39.patch
(from rev 757855, paraview/trunk/paraview-vtk-python39.patch)

+
 PKGBUILD   |   72 +++
 paraview-vtk-freetype-2.10.3.patch |   18 
 paraview-vtk-python39.patch|   13 ++
 3 files changed, 103 insertions(+)

Copied: paraview/repos/community-staging-x86_64/PKGBUILD (from rev 757855, 
paraview/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-19 23:40:38 UTC (rev 757856)
@@ -0,0 +1,72 @@
+# Maintainer: Bruno Pagani 
+# Maintainer: Mathieu Westphal 
+# Contributor: Stéphane Gaudreault 
+# Contributor: 
+
+_pkg=paraview
+_mpi=openmpi
+pkgname=${_pkg}
+#-${_mpi}
+pkgver=5.8.1
+pkgrel=3
+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 qt5-svg intel-tbb openmpi ffmpeg
+ ospray python-numpy cgns protobuf
+ double-conversion expat freetype2 gdal gl2ps glew hdf5 libjpeg jsoncpp
+ libjsoncpp.so libharu libxml2 lz4 xz python-mpi4py netcdf libogg
+ libpng pdal pugixml libtheora libtiff zlib)
+optdepends=(python-matplotlib)
+makedepends=(cmake boost mesa gcc-fortran ninja qt5-tools qt5-xmlpatterns 
eigen pegtl utf8cpp)
+conflicts=(vtk)
+source=("${url}/files/v${pkgver:0:3}/ParaView-v${pkgver/R/-R}.tar.xz"
+
paraview-cgns-4.1.patch::https://gitlab.kitware.com/paraview/paraview/-/commit/3d48a287141eb911b4888440e09c262743b4db3c.patch
+paraview-vtk-python39.patch
+paraview-vtk-freetype-2.10.3.patch)
+sha256sums=('7653950392a0d7c0287c26f1d3a25cdbaa11baa7524b0af0e6a1a0d7d487d034'
+'9760a7ba33c6f46e3cb8dc8d0e2370ee1208d759b3c8c6c304e7e4b366391a13'
+'9b8f4497050c110df0d087a1b297de738791ad0159f28666fd9f4ae937cd5e83'
+'b547a665eaf980669b929f3a95e61cc8af4892ba3a41441ef98f8487886081ce')
+
+prepare() {
+cd ParaView-v${pkgver/R/-R}
+patch -Np1 -i ../paraview-cgns-4.1.patch
+patch -Np1 -i ../paraview-vtk-python39.patch
+# We have a patched libharu
+sed -i "s|2.4.0|2.3.0|" VTK/ThirdParty/libharu/CMakeLists.txt
+# https://bugs.archlinux.org/task/68244
+patch -Np1 -i ../paraview-vtk-freetype-2.10.3.patch
+}
+
+build() {
+export CPPFLAGS+=" -DH5_USE_110_API"
+cmake -B build -S ParaView-v${pkgver/R/-R} \
+-DCMAKE_BUILD_TYPE=Release \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DPARAVIEW_ENABLE_FFMPEG=ON \
+-DPARAVIEW_ENABLE_GDAL=ON \
+-DPARAVIEW_ENABLE_MOTIONFX=ON \
+-DPARAVIEW_ENABLE_PDAL=ON \
+-DPARAVIEW_ENABLE_VISITBRIDGE=ON \
+-DPARAVIEW_ENABLE_XDMF3=ON \
+-DPARAVIEW_INSTALL_DEVELOPMENT_FILES=ON \
+-DPARAVIEW_USE_MPI=ON \
+-DPARAVIEW_USE_PYTHON=ON \
+-DPARAVIEW_USE_RAYTRACING=ON \
+-DPARAVIEW_BUILD_WITH_EXTERNAL=ON \
+-DVTK_SMP_IMPLEMENTATION_TYPE=TBB \
+-DVTKm_ENABLE_MPI=ON \
+-DVTK_MODULE_ENABLE_VTK_IOGDAL=YES \
+-DVTK_MODULE_ENABLE_VTK_IOPDAL=YES \
+-GNinja
+
+ninja -C build ${MAKEFLAGS}
+}
+
+package() {
+DESTDIR="${pkgdir}" ninja -C build install
+# Fix licenses install
+mv "${pkgdir}"/usr/share/licenses/{ParaView,paraview}
+}

Copied: 
paraview/repos/community-staging-x86_64/paraview-vtk-freetype-2.10.3.patch 
(from rev 757855, paraview/trunk/paraview-vtk-freetype-2.10.3.patch)
===
--- community-staging-x86_64/paraview-vtk-freetype-2.10.3.patch 
(rev 0)
+++ community-staging-x86_64/paraview-vtk-freetype-2.10.3.patch 2020-11-19 
23:40:38 UTC (rev 757856)
@@ -0,0 +1,18 @@
+diff --git a/VTK/ThirdParty/freetype/vtk_freetype.h.in 
b/VTK/ThirdParty/freetype/vtk_freetype.h.in
+index c3f6f4f3..fd525e55 100644
+--- a/VTK/ThirdParty/freetype/vtk_freetype.h.in
 b/VTK/ThirdParty/freetype/vtk_freetype.h.in
+@@ -20,6 +20,13 @@
+ 
+ #ifdef VTK_USE_SYSTEM_FREETYPE
+ # include 
++#ifndef FT_CALLBACK_DEF
++#ifdef __cplusplus
++#define FT_CALLBACK_DEF( x )  extern "C"  x
++#else
++#define FT_CALLBACK_DEF( x )  static  x
++#endif
++#endif /* FT_CALLBACK_DEF */
+ #else
+ # include 
+ #endif

Copied: paraview/repos/community-staging-x86_64/paraview-vtk-python39.patch 
(from rev 757855, 

[arch-commits] Commit in paraview/repos (4 files)

2019-12-11 Thread Lukas Fleischer via arch-commits
Date: Thursday, December 12, 2019 @ 03:11:06
  Author: lfleischer
Revision: 537151

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 537150, paraview/repos/community-staging-x86_64/PKGBUILD)
  paraview/repos/community-testing-x86_64/paraview-system-pugixml.patch
(from rev 537150, 
paraview/repos/community-staging-x86_64/paraview-system-pugixml.patch)
Deleted:
  paraview/repos/community-staging-x86_64/

---+
 PKGBUILD  |  101 
 paraview-system-pugixml.patch |   19 +++
 2 files changed, 120 insertions(+)

Copied: paraview/repos/community-testing-x86_64/PKGBUILD (from rev 537150, 
paraview/repos/community-staging-x86_64/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2019-12-12 03:11:06 UTC (rev 537151)
@@ -0,0 +1,101 @@
+# Maintainer: Bruno Pagani 
+# Contributor: Oliver Goethel 
+# Contributor: eolianoe eolianoe 
+# Contributor: George Eleftheriou 
+# Contributor: Mathias Anselmann 
+# Contributor: Stéphane Gaudreault 
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Michele Mocciola 
+# Contributor: Simon Zilliken 
+# Contributor: chuckdaniels
+
+_pkg=paraview
+_mpi=openmpi
+pkgname=${_pkg}
+#-${_mpi}
+pkgver=5.7.0
+pkgrel=3
+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
+
vtk-python-3.8.patch::"https://gitlab.kitware.com/vtk/vtk/merge_requests/5883.patch;)
+sha256sums=('e41e597e1be462974a03031380d9e5ba9a7efcdb22e4ca2f3fec50361f310874'
+'dd2e23298ab5a07da0e799c3db313ed3f9d2a403d7228d50748206b535b6f65f'
+'3beff972e7e9236f2e8ab596be8f893ae7e9346a140c4538d9e8d88c3378b916')
+
+prepare() {
+mkdir -p build
+patch -Np0 -i ./paraview-system-pugixml.patch
+patch -d ParaView-v${pkgver}/VTK -p1 -i "$srcdir"/vtk-python-3.8.patch # 
Fix build with python 3.8 
+}
+
+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: 

[arch-commits] Commit in paraview/repos (4 files)

2019-10-23 Thread Jelle van der Waa via arch-commits
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 
+# Contributor: Oliver Goethel 
+# Contributor: eolianoe eolianoe 
+# Contributor: George Eleftheriou 
+# Contributor: Mathias Anselmann 
+# Contributor: Stéphane Gaudreault 
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Michele Mocciola 
+# Contributor: Simon Zilliken 
+# 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)
+++ 

[arch-commits] Commit in paraview/repos (4 files)

2018-01-29 Thread Bruno Pagani via arch-commits
Date: Monday, January 29, 2018 @ 14:01:06
  Author: archange
Revision: 287770

archrelease: copy trunk to community-staging-x86_64

Added:
  paraview/repos/community-staging-x86_64/
  paraview/repos/community-staging-x86_64/PKGBUILD
(from rev 287769, paraview/trunk/PKGBUILD)
  paraview/repos/community-staging-x86_64/jsoncpp-1.8.4.patch
(from rev 287769, paraview/trunk/jsoncpp-1.8.4.patch)
  paraview/repos/community-staging-x86_64/visit_fix_gcc7.patch
(from rev 287769, paraview/trunk/visit_fix_gcc7.patch)

--+
 PKGBUILD |  109 +
 jsoncpp-1.8.4.patch  |   16 +++
 visit_fix_gcc7.patch |   43 +++
 3 files changed, 168 insertions(+)

Copied: paraview/repos/community-staging-x86_64/PKGBUILD (from rev 287769, 
paraview/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-01-29 14:01:06 UTC (rev 287770)
@@ -0,0 +1,109 @@
+# Maintainer: Bruno Pagani 
+# Contributor: Oliver Goethel 
+# Contributor: eolianoe eolianoe 
+# Contributor: George Eleftheriou 
+# Contributor: Mathias Anselmann 
+# Contributor: Stéphane Gaudreault 
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Michele Mocciola 
+# Contributor: Simon Zilliken 
+# Contributor: chuckdaniels
+
+_pkg=paraview
+_mpi=openmpi
+pkgname=${_pkg}
+#-${_mpi}
+pkgver=5.4.1
+pkgrel=2
+pkgdesc="Parallel Visualization application using VTK (${_mpi} version)"
+arch=('x86_64')
+url="https://www.paraview.org;
+license=('custom')
+depends=('qt5-tools' 'qt5-x11extras' 'ospray' 'ffmpeg' 'openmpi'
+ 'cgns' 'python-pygments' 'protobuf' 'pugixml'
+ 'python-matplotlib' 'python-numpy' 'python-mpi4py'
+ 'python-six' 'python-constantly' 'python-twisted'
+ 'python-autobahn' 'python-zope-interface' 'python-incremental'
+ 'boost-libs' 'glew' 'expat' 'freetype2'
+ 'libjpeg' 'jsoncpp' 'libxml2' 'libtheora' 'libpng'
+ 'libtiff' 'zlib' 'hdf5-openmpi' 'lz4' 'netcdf')
+#netcdf-cxx gl2ps libharu
+#python-txaio python-hyperlink
+#proj apparently not used in this VTK configuration
+makedepends=('cmake' 'boost' 'mesa' 'gcc-fortran' 'ninja' 'qt5-tools' 
'qt5-xmlpatterns')
+source=("${url}/files/v${pkgver:0:3}/ParaView-v${pkgver}.tar.gz"
+'visit_fix_gcc7.patch'
+'jsoncpp-1.8.4.patch')
+sha256sums=('390d0f5dc66bf432e202a39b1f34193af4bf8aad2355338fa5e2778ea07a80e4'
+'d1daa5da6ec25c5a6bfcabb3cf0bf02ab97ec87a332886a2f42695072fe8568d'
+'ed9a99d5d0fb54f7506e819f6d54bd1b6cd7dd0e91647d9d06591ae300f9ef05')
+
+prepare() {
+mkdir -p build
+cd ParaView-v${pkgver}
+patch Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C 
"${srcdir}"/visit_fix_gcc7.patch
+patch -p1 -i "${srcdir}"/jsoncpp-1.8.4.patch
+}
+
+build() {
+cd build
+
+# Flags to enable system libs in VTK building, as in VTK package
+# NETCDF NETCDFCPP status?
+# LIBPROJ4 UNUSED?
+# GL2PS fails.
+# libharu blocked by https://github.com/libharu/libharu/pull/157
+# TXAIO HYPERLINK in a future VTK version
+# LIBPROJ4 apparently not used in this VTK configuration
+local VTK_USE_SYSTEM_LIB=""
+for lib in EXPAT FREETYPE JPEG PNG TIFF ZLIB LIBXML2 OGGTHEORA TWISTED 
ZOPE SIX AUTOBAHN MPI4PY JSONCPP GLEW HDF5 CONSTANTLY INCREMENTAL LZ4 NETCDF
+do
+VTK_USE_SYSTEM_LIB+="-DVTK_USE_SYSTEM_${lib}:BOOL=ON "
+done
+# Specific system libs for ParaView version
+for lib in CGNS PUGIXML PROTOBUF PYGMENTS 
+do
+VTK_USE_SYSTEM_LIB+="-DVTK_USE_SYSTEM_${lib}:BOOL=ON "
+done
+
+cmake ../ParaView-v${pkgver} \
+-DBUILD_DOCUMENTATION=OFF \
+-DBUILD_EXAMPLES=ON \
+-DBUILD_SHARED_LIBS=ON \
+-DBUILD_TESTING=OFF \
+-DCMAKE_BUILD_TYPE=Release \
+-DCMAKE_C_COMPILER=mpicc \
+-DCMAKE_CXX_COMPILER=mpicxx \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DOSPRAY_INSTALL_DIR=/usr \
+-DPARAVIEW_ENABLE_FFMPEG=ON \
+-DPARAVIEW_ENABLE_MATPLOTLIB=ON \
+-DPARAVIEW_ENABLE_PYTHON=ON \
+-DPARAVIEW_INSTALL_DEVELOPMENT_FILES=ON \
+-DPARAVIEW_QT_VERSION=5 \
+-DPARAVIEW_USE_MPI=ON \
+-DPARAVIEW_USE_VISITBRIDGE=ON \
+-DPARAVIEW_USE_OSPRAY=ON \
+-DVISIT_BUILD_READER_CGNS=ON \
+-DVTK_PYTHON_FULL_THREADSAFE=ON \
+-DVTK_PYTHON_VERSION=3 \
+-DVTK_QT_VERSION=5 \
+-DVTK_RENDERING_BACKEND=OpenGL2 \
+-DVTK_SMP_IMPLEMENTATION_TYPE=OpenMP \
+${VTK_USE_SYSTEM_LIB} \
+-GNinja
+
+ninja ${MAKEFLAGS}
+}
+
+package() {
+cd build
+
+DESTDIR="${pkgdir}" ninja install
+
+# Install license
+install -Dm644 

[arch-commits] Commit in paraview/repos (4 files)

2018-01-16 Thread Bruno Pagani via arch-commits
Date: Tuesday, January 16, 2018 @ 08:28:33
  Author: archange
Revision: 283074

archrelease: copy trunk to community-x86_64

Added:
  paraview/repos/community-x86_64/
  paraview/repos/community-x86_64/PKGBUILD
(from rev 283073, paraview/trunk/PKGBUILD)
  paraview/repos/community-x86_64/jsoncpp-1.8.4.patch
(from rev 283073, paraview/trunk/jsoncpp-1.8.4.patch)
  paraview/repos/community-x86_64/visit_fix_gcc7.patch
(from rev 283073, paraview/trunk/visit_fix_gcc7.patch)

--+
 PKGBUILD |  109 +
 jsoncpp-1.8.4.patch  |   16 +++
 visit_fix_gcc7.patch |   43 +++
 3 files changed, 168 insertions(+)

Copied: paraview/repos/community-x86_64/PKGBUILD (from rev 283073, 
paraview/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2018-01-16 08:28:33 UTC (rev 283074)
@@ -0,0 +1,109 @@
+# Maintainer: Bruno Pagani 
+# Contributor: Oliver Goethel 
+# Contributor: eolianoe eolianoe 
+# Contributor: George Eleftheriou 
+# Contributor: Mathias Anselmann 
+# Contributor: Stéphane Gaudreault 
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Michele Mocciola 
+# Contributor: Simon Zilliken 
+# Contributor: chuckdaniels
+
+_pkg=paraview
+_mpi=openmpi
+pkgname=${_pkg}
+#-${_mpi}
+pkgver=5.4.1
+pkgrel=1
+pkgdesc="Parallel Visualization application using VTK (${_mpi} version)"
+arch=('x86_64')
+url="https://www.paraview.org;
+license=('custom')
+depends=('qt5-tools' 'qt5-x11extras' 'ospray' 'ffmpeg' 'openmpi'
+ 'cgns' 'python-pygments' 'protobuf' 'pugixml'
+ 'python-matplotlib' 'python-numpy' 'python-mpi4py'
+ 'python-six' 'python-constantly' 'python-twisted'
+ 'python-autobahn' 'python-zope-interface' 'python-incremental'
+ 'boost-libs' 'glew' 'expat' 'freetype2'
+ 'libjpeg' 'jsoncpp' 'libxml2' 'libtheora' 'libpng'
+ 'libtiff' 'zlib' 'hdf5-openmpi' 'lz4')
+#netcdf-cxx gl2ps libharu
+#python-txaio python-hyperlink
+#proj apparently not used in this VTK configuration
+makedepends=('cmake' 'boost' 'mesa' 'gcc-fortran' 'ninja' 'qt5-tools' 
'qt5-xmlpatterns')
+source=("${url}/files/v${pkgver:0:3}/ParaView-v${pkgver}.tar.gz"
+'visit_fix_gcc7.patch'
+'jsoncpp-1.8.4.patch')
+sha256sums=('390d0f5dc66bf432e202a39b1f34193af4bf8aad2355338fa5e2778ea07a80e4'
+'d1daa5da6ec25c5a6bfcabb3cf0bf02ab97ec87a332886a2f42695072fe8568d'
+'ed9a99d5d0fb54f7506e819f6d54bd1b6cd7dd0e91647d9d06591ae300f9ef05')
+
+prepare() {
+mkdir -p build
+cd ParaView-v${pkgver}
+patch Utilities/VisItBridge/databases/readers/Vs/VsStaggeredField.C 
"${srcdir}"/visit_fix_gcc7.patch
+patch -p1 -i "${srcdir}"/jsoncpp-1.8.4.patch
+}
+
+build() {
+cd build
+
+# Flags to enable system libs in VTK building, as in VTK package
+# NETCDF NETCDFCPP status?
+# LIBPROJ4 UNUSED?
+# GL2PS fails.
+# libharu blocked by https://github.com/libharu/libharu/pull/157
+# TXAIO HYPERLINK in a future VTK version
+# LIBPROJ4 apparently not used in this VTK configuration
+local VTK_USE_SYSTEM_LIB=""
+for lib in EXPAT FREETYPE JPEG PNG TIFF ZLIB LIBXML2 OGGTHEORA TWISTED 
ZOPE SIX AUTOBAHN MPI4PY JSONCPP GLEW HDF5 CONSTANTLY INCREMENTAL LZ4
+do
+VTK_USE_SYSTEM_LIB+="-DVTK_USE_SYSTEM_${lib}:BOOL=ON "
+done
+# Specific system libs for ParaView version
+for lib in CGNS PUGIXML PROTOBUF PYGMENTS 
+do
+VTK_USE_SYSTEM_LIB+="-DVTK_USE_SYSTEM_${lib}:BOOL=ON "
+done
+
+cmake ../ParaView-v${pkgver} \
+-DBUILD_DOCUMENTATION=OFF \
+-DBUILD_EXAMPLES=ON \
+-DBUILD_SHARED_LIBS=ON \
+-DBUILD_TESTING=OFF \
+-DCMAKE_BUILD_TYPE=Release \
+-DCMAKE_C_COMPILER=mpicc \
+-DCMAKE_CXX_COMPILER=mpicxx \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DOSPRAY_INSTALL_DIR=/usr \
+-DPARAVIEW_ENABLE_FFMPEG=ON \
+-DPARAVIEW_ENABLE_MATPLOTLIB=ON \
+-DPARAVIEW_ENABLE_PYTHON=ON \
+-DPARAVIEW_INSTALL_DEVELOPMENT_FILES=ON \
+-DPARAVIEW_QT_VERSION=5 \
+-DPARAVIEW_USE_MPI=ON \
+-DPARAVIEW_USE_VISITBRIDGE=ON \
+-DPARAVIEW_USE_OSPRAY=ON \
+-DVISIT_BUILD_READER_CGNS=ON \
+-DVTK_PYTHON_FULL_THREADSAFE=ON \
+-DVTK_PYTHON_VERSION=3 \
+-DVTK_QT_VERSION=5 \
+-DVTK_RENDERING_BACKEND=OpenGL2 \
+-DVTK_SMP_IMPLEMENTATION_TYPE=OpenMP \
+${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
+
+# Remove