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

2020-10-14 Thread Bruno Pagani via arch-commits
Date: Wednesday, October 14, 2020 @ 14:27:41
  Author: archange
Revision: 723909

archrelease: copy trunk to community-staging-x86_64

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

+
 PKGBUILD   |   69 +++
 paraview-vtk-freetype-2.10.3.patch |   18 +
 2 files changed, 87 insertions(+)

Copied: paraview/repos/community-staging-x86_64/PKGBUILD (from rev 723908, 
paraview/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-14 14:27:41 UTC (rev 723909)
@@ -0,0 +1,69 @@
+# Maintainer: Bruno Pagani 
+# Maintainer: Mathieu Westphal 
+# Contributor: Stéphane Gaudreault 
+# Contributor: 
+
+_pkg=paraview
+_mpi=openmpi
+pkgname=${_pkg}
+#-${_mpi}
+pkgver=5.8.1
+pkgrel=2
+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-freetype-2.10.3.patch)
+sha256sums=('7653950392a0d7c0287c26f1d3a25cdbaa11baa7524b0af0e6a1a0d7d487d034'
+'9760a7ba33c6f46e3cb8dc8d0e2370ee1208d759b3c8c6c304e7e4b366391a13'
+'b547a665eaf980669b929f3a95e61cc8af4892ba3a41441ef98f8487886081ce')
+
+prepare() {
+cd ParaView-v${pkgver/R/-R}
+patch -p1 -i ../paraview-cgns-4.1.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 723908, 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-10-14 
14:27:41 UTC (rev 723909)
@@ -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


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

2020-05-29 Thread Lukas Fleischer via arch-commits
Date: Friday, May 29, 2020 @ 18:30:29
  Author: lfleischer
Revision: 637252

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 637251, paraview/repos/community-staging-x86_64/PKGBUILD)
Deleted:
  paraview/repos/community-staging-x86_64/

--+
 PKGBUILD |   72 +
 1 file changed, 72 insertions(+)

Copied: paraview/repos/community-testing-x86_64/PKGBUILD (from rev 637251, 
paraview/repos/community-staging-x86_64/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2020-05-29 18:30:29 UTC (rev 637252)
@@ -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.0
+pkgrel=7
+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 glew hdf5 libjpeg jsoncpp
+ libjsoncpp.so libxml2 lz4 xz python-mpi4py netcdf libogg libpng pdal
+ pugixml libtheora libtiff zlib)
+#gl2ps
+#libharu
+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)
+sha256sums=('219e4107abf40317ce054408e9c3b22fb935d464238c1c00c0161f1c8697a3f9'
+'785cb6bd349608f441ec90ac0bd3059efc3a14856c3513733729605ee240cf90')
+
+prepare() {
+cd ParaView-v${pkgver/R/-R}
+patch -p1 -i ../paraview-cgns-4.1.patch
+}
+
+build() {
+# Note regarding use of system dependencies:
+# GL2PS has non-upstreamed patches
+# LIBHARU blocked by https://github.com/libharu/libharu/pull/157
+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_MODULE_USE_EXTERNAL_VTK_gl2ps=OFF \
+-DVTK_MODULE_USE_EXTERNAL_VTK_libharu=OFF \
+-DVTK_SMP_IMPLEMENTATION_TYPE=TBB \
+-DVTKm_ENABLE_MPI=ON \
+-DVTK_MODULE_ENABLE_VTK_IOGDAL=YES \
+-DVTK_MODULE_ENABLE_VTK_IOPDAL=YES \
+-DCMAKE_C_FLAGS="-DH5_USE_110_API" \
+-DCMAKE_CXX_FLAGS="-DH5_USE_110_API" \
+-GNinja
+
+ninja -C build ${MAKEFLAGS}
+}
+
+package() {
+DESTDIR="${pkgdir}" ninja -C build install
+
+# Install license
+install -Dm644 ParaView-v${pkgver/R/-R}/License_v1.2.txt 
"${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}


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

2019-12-11 Thread Antonio Rojas via arch-commits
Date: Wednesday, December 11, 2019 @ 22:47:44
  Author: arojas
Revision: 536969

archrelease: copy trunk to community-staging-x86_64

Added:
  paraview/repos/community-staging-x86_64/
  paraview/repos/community-staging-x86_64/PKGBUILD
(from rev 536968, paraview/trunk/PKGBUILD)
  paraview/repos/community-staging-x86_64/paraview-system-pugixml.patch
(from rev 536968, paraview/trunk/paraview-system-pugixml.patch)

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

Copied: paraview/repos/community-staging-x86_64/PKGBUILD (from rev 536968, 
paraview/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-12-11 22:47:44 UTC (rev 536969)
@@ -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: paraview/repos/community-staging-x86_64/paraview-system-pugixml.patch 
(from rev 536968, paraview/trunk/paraview-system-pugixml.patch)
===
--- 

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

2019-11-06 Thread Felix Yan via arch-commits
Date: Wednesday, November 6, 2019 @ 23:42:35
  Author: felixonmars
Revision: 524448

archrelease: copy trunk to community-staging-x86_64

Added:
  paraview/repos/community-staging-x86_64/
  paraview/repos/community-staging-x86_64/PKGBUILD
(from rev 524447, paraview/trunk/PKGBUILD)
  paraview/repos/community-staging-x86_64/paraview-system-pugixml.patch
(from rev 524447, paraview/trunk/paraview-system-pugixml.patch)

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

Copied: paraview/repos/community-staging-x86_64/PKGBUILD (from rev 524447, 
paraview/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-11-06 23:42:35 UTC (rev 524448)
@@ -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=2
+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: paraview/repos/community-staging-x86_64/paraview-system-pugixml.patch 
(from rev 524447, paraview/trunk/paraview-system-pugixml.patch)
===
--- 

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

2019-10-18 Thread Chih-Hsuan Yen via arch-commits
Date: Saturday, October 19, 2019 @ 02:27:11
  Author: yan12125
Revision: 517266

archrelease: copy trunk to community-staging-x86_64

Added:
  paraview/repos/community-staging-x86_64/
  paraview/repos/community-staging-x86_64/PKGBUILD
(from rev 517265, paraview/trunk/PKGBUILD)
  paraview/repos/community-staging-x86_64/paraview-system-pugixml.patch
(from rev 517265, paraview/trunk/paraview-system-pugixml.patch)

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

Copied: paraview/repos/community-staging-x86_64/PKGBUILD (from rev 517265, 
paraview/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-10-19 02:27:11 UTC (rev 517266)
@@ -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-staging-x86_64/paraview-system-pugixml.patch 
(from rev 517265, paraview/trunk/paraview-system-pugixml.patch)
===
--- community-staging-x86_64/paraview-system-pugixml.patch  
(rev 0)
+++ community-staging-x86_64/paraview-system-pugixml.patch  2019-10-19 
02:27:11 UTC (rev 517266)
@@ -0,0 +1,19 @@
+--- ParaView-v5.7.0/VTK/ThirdParty/pugixml/CMakeLists.txt.orig 2019-10-18 

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

2019-09-14 Thread Levente Polyak via arch-commits
Date: Saturday, September 14, 2019 @ 13:03:01
  Author: anthraxx
Revision: 510532

archrelease: copy trunk to community-staging-x86_64

Added:
  paraview/repos/community-staging-x86_64/
  paraview/repos/community-staging-x86_64/PKGBUILD
(from rev 510531, paraview/trunk/PKGBUILD)
  paraview/repos/community-staging-x86_64/proj6.patch
(from rev 510531, paraview/trunk/proj6.patch)

-+
 PKGBUILD|  107 
 proj6.patch |  110 ++
 2 files changed, 217 insertions(+)

Copied: paraview/repos/community-staging-x86_64/PKGBUILD (from rev 510531, 
paraview/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-09-14 13:03:01 UTC (rev 510532)
@@ -0,0 +1,107 @@
+# 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.6.2
+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-matplotlib python-numpy
+ cgns protobuf python-pygments
+ 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
+#netcdf-cxx libharu
+#sqlite apparently not used in this VTK configuration
+makedepends=(cmake boost mesa gcc-fortran ninja qt5-tools qt5-xmlpatterns 
eigen pegtl)
+source=("${url}/files/v${pkgver:0:3}/ParaView-v${pkgver}.tar.xz"
+proj6.patch)
+sha256sums=('1f3710b77c58a46891808dbe23dc59a1259d9c6b7bb123aaaeaa6ddf2be882ea'
+'2271cf8b57a4251d04a5e6f48b05939f60131b5b9a7947c21f013af2cbe55e28')
+
+prepare() {
+mkdir -p build
+cd ParaView-v${pkgver}/VTK
+patch -p1 -i ../../proj6.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
+# UTF8 (utfcpp) is not packaged (but present in AUR)
+# VERDICT is not packaged
+# ZFP is not packaged
+# NETCDFCPP blocked by https://github.com/Unidata/netcdf-cxx4/issues/43
+# 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 ZLIB
+do
+VTK_USE_SYSTEM_LIB+="-DVTK_USE_SYSTEM_${lib}:BOOL=ON "
+done
+# Specific system libs for ParaView version
+for lib in CGNS PROTOBUF PYGMENTS
+do
+VTK_USE_SYSTEM_LIB+="-DVTK_USE_SYSTEM_${lib}:BOOL=ON "
+done
+
+cmake ../ParaView-v${pkgver} \
+-DCMAKE_BUILD_TYPE=Release \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DOSPRAY_INSTALL_DIR=/usr \
+-DPARAVIEW_ENABLE_FFMPEG=ON \
+-DPARAVIEW_ENABLE_GDAL=ON \
+-DPARAVIEW_ENABLE_MATPLOTLIB=ON \
+-DPARAVIEW_ENABLE_PDAL=ON \
+-DPARAVIEW_ENABLE_PYTHON=ON \
+-DPARAVIEW_INSTALL_DEVELOPMENT_FILES=ON \
+-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_SMP_IMPLEMENTATION_TYPE=TBB \
+-DVTKm_ENABLE_MPI=ON \
+-DVTKm_ENABLE_RENDERING=ON \
+-DVTKm_USE_DOUBLE_PRECISION=ON \
+-DModule_vtkGeovisCore=ON \
+-DModule_vtkGeovisGDAL=ON \
+-DModule_vtkIOGDAL=ON \
+-DModule_vtkIOPDAL=ON \
+${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 IceT man pages to avoid conflicts
+rm -- "${pkgdir}"/usr/share/man/man3/icet*.3
+rmdir "${pkgdir}"/usr/share/man/{man3/,}
+}

Copied: paraview/repos/community-staging-x86_64/proj6.patch (from rev 510531, 
paraview/trunk/proj6.patch)
===
--- community-staging-x86_64/proj6.patch(rev 0)
+++ 

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

2019-09-02 Thread Sven-Hendrik Haase via arch-commits
Date: Monday, September 2, 2019 @ 08:03:26
  Author: svenstaro
Revision: 506792

archrelease: copy trunk to community-staging-x86_64

Added:
  paraview/repos/community-staging-x86_64/
  paraview/repos/community-staging-x86_64/PKGBUILD
(from rev 506791, paraview/trunk/PKGBUILD)
  paraview/repos/community-staging-x86_64/proj6.patch
(from rev 506791, paraview/trunk/proj6.patch)

-+
 PKGBUILD|  107 
 proj6.patch |  110 ++
 2 files changed, 217 insertions(+)

Copied: paraview/repos/community-staging-x86_64/PKGBUILD (from rev 506791, 
paraview/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-09-02 08:03:26 UTC (rev 506792)
@@ -0,0 +1,107 @@
+# 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.6.2
+pkgrel=2
+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-matplotlib python-numpy
+ cgns protobuf python-pygments
+ double-conversion expat freetype2 gdal glew hdf5 
+ libjpeg jsoncpp libxml2 lz4 xz python-mpi4py netcdf
+ libogg libpng pdal proj pugixml libtheora libtiff zlib)
+#gl2ps
+#netcdf-cxx libharu
+#sqlite apparently not used in this VTK configuration
+makedepends=(cmake boost mesa gcc-fortran ninja qt5-tools qt5-xmlpatterns 
eigen pegtl)
+source=("${url}/files/v${pkgver:0:3}/ParaView-v${pkgver}.tar.xz"
+proj6.patch)
+sha256sums=('1f3710b77c58a46891808dbe23dc59a1259d9c6b7bb123aaaeaa6ddf2be882ea'
+'2271cf8b57a4251d04a5e6f48b05939f60131b5b9a7947c21f013af2cbe55e28')
+
+prepare() {
+mkdir -p build
+cd ParaView-v${pkgver}/VTK
+patch -p1 -i ../../proj6.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
+# UTF8 (utfcpp) is not packaged (but present in AUR)
+# VERDICT is not packaged
+# ZFP is not packaged
+# NETCDFCPP blocked by https://github.com/Unidata/netcdf-cxx4/issues/43
+# 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 ZLIB
+do
+VTK_USE_SYSTEM_LIB+="-DVTK_USE_SYSTEM_${lib}:BOOL=ON "
+done
+# Specific system libs for ParaView version
+for lib in CGNS PROTOBUF PYGMENTS
+do
+VTK_USE_SYSTEM_LIB+="-DVTK_USE_SYSTEM_${lib}:BOOL=ON "
+done
+
+cmake ../ParaView-v${pkgver} \
+-DCMAKE_BUILD_TYPE=Release \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DOSPRAY_INSTALL_DIR=/usr \
+-DPARAVIEW_ENABLE_FFMPEG=ON \
+-DPARAVIEW_ENABLE_GDAL=ON \
+-DPARAVIEW_ENABLE_MATPLOTLIB=ON \
+-DPARAVIEW_ENABLE_PDAL=ON \
+-DPARAVIEW_ENABLE_PYTHON=ON \
+-DPARAVIEW_INSTALL_DEVELOPMENT_FILES=ON \
+-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_SMP_IMPLEMENTATION_TYPE=TBB \
+-DVTKm_ENABLE_MPI=ON \
+-DVTKm_ENABLE_RENDERING=ON \
+-DVTKm_USE_DOUBLE_PRECISION=ON \
+-DModule_vtkGeovisCore=ON \
+-DModule_vtkGeovisGDAL=ON \
+-DModule_vtkIOGDAL=ON \
+-DModule_vtkIOPDAL=ON \
+${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 IceT man pages to avoid conflicts
+rm -- "${pkgdir}"/usr/share/man/man3/icet*.3
+rmdir "${pkgdir}"/usr/share/man/{man3/,}
+}

Copied: paraview/repos/community-staging-x86_64/proj6.patch (from rev 506791, 
paraview/trunk/proj6.patch)
===
--- community-staging-x86_64/proj6.patch(rev 0)
+++ 

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

2018-09-04 Thread Bruno Pagani via arch-commits
Date: Tuesday, September 4, 2018 @ 22:34:16
  Author: archange
Revision: 376908

archrelease: copy trunk to community-staging-x86_64

Added:
  paraview/repos/community-staging-x86_64/
  paraview/repos/community-staging-x86_64/PKGBUILD
(from rev 376907, paraview/trunk/PKGBUILD)
  paraview/repos/community-staging-x86_64/fix-qt5.11-headers.patch
(from rev 376907, paraview/trunk/fix-qt5.11-headers.patch)

--+
 PKGBUILD |  116 +++
 fix-qt5.11-headers.patch |  120 +
 2 files changed, 236 insertions(+)

Copied: paraview/repos/community-staging-x86_64/PKGBUILD (from rev 376907, 
paraview/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-09-04 22:34:16 UTC (rev 376908)
@@ -0,0 +1,116 @@
+# 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.5.2
+pkgrel=4
+pkgdesc="Parallel Visualization application using VTK (${_mpi} version)"
+arch=('x86_64')
+url="https://www.paraview.org;
+license=('BSD' 'custom')
+depends=('qt5-tools' 'qt5-x11extras' 'ospray' 'ffmpeg' 'openmpi'
+ 'cgns' 'python-pygments' 'protobuf' 'pugixml'
+ 'python-matplotlib' 'python-numpy' 'python-mpi4py'
+ 'boost-libs' 'glew' 'expat' 'freetype2'
+ 'libjpeg' 'jsoncpp' 'libxml2' 'libpng'
+ 'libtiff' 'zlib' 'hdf5' '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' 'eigen')
+source=("${url}/files/v${pkgver:0:3}/ParaView-v${pkgver}.tar.xz"
+'fix-qt5.11-headers.patch'
+'https://gitlab.kitware.com/vtk/vtk/merge_requests/4490.patch'
+
'https://gitlab.kitware.com/paraview/paraview/merge_requests/2613.patch'
+
paraview-fix-doc-build.patch::"https://gitlab.kitware.com/paraview/paraview/commit/f9c7e4b0.diff;)
+sha256sums=('4b9d186bac59e412ae09cae49c3ec3ec59803c25f63e89f92efe07b05dc1b896'
+'638e3148d855e1de2ca7711f9dd1eb6ec5410e3c412d949abf2a34ef2086f0c7'
+'ebad129ed0229f96bc17ff0a43715407b0fdf8cc2658a7b5ebd7e76809ae1392'
+'49d643a0220f0f901e571f9f82f5dd48d85fe42a79830b971ab586abf334194f'
+'2e52c2564e5e147b8c1321367147495ba3c43436eecda1b3d26acde8d04a230d')
+
+prepare() {
+mkdir -p build
+cd ParaView-v${pkgver}/
+patch -p1 -i ../fix-qt5.11-headers.patch
+# https://gitlab.kitware.com/paraview/paraview/issues/18323
+patch -p1 -i ../2613.patch
+# fix build https://gitlab.kitware.com/paraview/paraview/issues/18330
+patch -p1 -i ../paraview-fix-doc-build.patch
+cd VTK
+# https://gitlab.kitware.com/vtk/vtk/issues/17350
+patch -p1 -i ../../4490.patch
+}
+
+build() {
+cd build
+
+# Flags to enable system libs in VTK building, as in VTK package
+# NETCDFCPP status?
+# GL2PS fails.
+# libharu blocked by https://github.com/libharu/libharu/pull/157
+# LIBPROJ4 apparently not used in this VTK configuration
+local VTK_USE_SYSTEM_LIB=""
+for lib in EXPAT FREETYPE JPEG PNG TIFF ZLIB LIBXML2 MPI4PY JSONCPP GLEW 
HDF5 LZ4 NETCDF EIGEN
+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}
+}
+

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

2018-08-31 Thread Antonio Rojas via arch-commits
Date: Friday, August 31, 2018 @ 18:22:36
  Author: arojas
Revision: 375892

archrelease: copy trunk to community-staging-x86_64

Added:
  paraview/repos/community-staging-x86_64/
  paraview/repos/community-staging-x86_64/PKGBUILD
(from rev 375891, paraview/trunk/PKGBUILD)
  paraview/repos/community-staging-x86_64/fix-qt5.11-headers.patch
(from rev 375891, paraview/trunk/fix-qt5.11-headers.patch)

--+
 PKGBUILD |  116 +++
 fix-qt5.11-headers.patch |  120 +
 2 files changed, 236 insertions(+)

Copied: paraview/repos/community-staging-x86_64/PKGBUILD (from rev 375891, 
paraview/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-08-31 18:22:36 UTC (rev 375892)
@@ -0,0 +1,116 @@
+# 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.5.2
+pkgrel=3
+pkgdesc="Parallel Visualization application using VTK (${_mpi} version)"
+arch=('x86_64')
+url="https://www.paraview.org;
+license=('BSD' 'custom')
+depends=('qt5-tools' 'qt5-x11extras' 'ospray' 'ffmpeg' 'openmpi'
+ 'cgns' 'python-pygments' 'protobuf' 'pugixml'
+ 'python-matplotlib' 'python-numpy' 'python-mpi4py'
+ 'boost-libs' 'glew' 'expat' 'freetype2'
+ 'libjpeg' 'jsoncpp' 'libxml2' 'libpng'
+ 'libtiff' 'zlib' 'hdf5' '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' 'eigen')
+source=("${url}/files/v${pkgver:0:3}/ParaView-v${pkgver}.tar.xz"
+'fix-qt5.11-headers.patch'
+'https://gitlab.kitware.com/vtk/vtk/merge_requests/4490.patch'
+
'https://gitlab.kitware.com/paraview/paraview/merge_requests/2613.patch'
+
paraview-fix-doc-build.patch::"https://gitlab.kitware.com/paraview/paraview/commit/f9c7e4b0.diff;)
+sha256sums=('4b9d186bac59e412ae09cae49c3ec3ec59803c25f63e89f92efe07b05dc1b896'
+'638e3148d855e1de2ca7711f9dd1eb6ec5410e3c412d949abf2a34ef2086f0c7'
+'ebad129ed0229f96bc17ff0a43715407b0fdf8cc2658a7b5ebd7e76809ae1392'
+'49d643a0220f0f901e571f9f82f5dd48d85fe42a79830b971ab586abf334194f'
+'2e52c2564e5e147b8c1321367147495ba3c43436eecda1b3d26acde8d04a230d')
+
+prepare() {
+mkdir -p build
+cd ParaView-v${pkgver}/
+patch -p1 -i ../fix-qt5.11-headers.patch
+# https://gitlab.kitware.com/paraview/paraview/issues/18323
+patch -p1 -i ../2613.patch
+# fix build https://gitlab.kitware.com/paraview/paraview/issues/18330
+patch -p1 -i ../paraview-fix-doc-build.patch
+cd VTK
+# https://gitlab.kitware.com/vtk/vtk/issues/17350
+patch -p1 -i ../../4490.patch
+}
+
+build() {
+cd build
+
+# Flags to enable system libs in VTK building, as in VTK package
+# NETCDFCPP status?
+# GL2PS fails.
+# libharu blocked by https://github.com/libharu/libharu/pull/157
+# LIBPROJ4 apparently not used in this VTK configuration
+local VTK_USE_SYSTEM_LIB=""
+for lib in EXPAT FREETYPE JPEG PNG TIFF ZLIB LIBXML2 MPI4PY JSONCPP GLEW 
HDF5 LZ4 NETCDF EIGEN
+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}
+}
+

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

2018-07-26 Thread Eli Schwartz via arch-commits
Date: Thursday, July 26, 2018 @ 06:03:04
  Author: eschwartz
Revision: 363458

archrelease: copy trunk to community-staging-x86_64

Added:
  paraview/repos/community-staging-x86_64/
  paraview/repos/community-staging-x86_64/PKGBUILD
(from rev 363457, paraview/trunk/PKGBUILD)
  paraview/repos/community-staging-x86_64/fix-qt5.11-headers.patch
(from rev 363457, paraview/trunk/fix-qt5.11-headers.patch)

--+
 PKGBUILD |  113 ++
 fix-qt5.11-headers.patch |  120 +
 2 files changed, 233 insertions(+)

Copied: paraview/repos/community-staging-x86_64/PKGBUILD (from rev 363457, 
paraview/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-26 06:03:04 UTC (rev 363458)
@@ -0,0 +1,113 @@
+# 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.5.2
+pkgrel=2
+pkgdesc="Parallel Visualization application using VTK (${_mpi} version)"
+arch=('x86_64')
+url="https://www.paraview.org;
+license=('BSD' 'custom')
+depends=('qt5-tools' 'qt5-x11extras' 'ospray' 'ffmpeg' 'openmpi'
+ 'cgns' 'python-pygments' 'protobuf' 'pugixml'
+ 'python-matplotlib' 'python-numpy' 'python-mpi4py'
+ 'boost-libs' 'glew' 'expat' 'freetype2'
+ 'libjpeg' 'jsoncpp' 'libxml2' '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.xz"
+'fix-qt5.11-headers.patch'
+
'https://gitlab.kitware.com/vtk/vtk/commit/706f1b397df09a27ab8981ab9464547028d0c322.patch'
+'0001-fix-build-on-python-3.7.patch')
+sha256sums=('4b9d186bac59e412ae09cae49c3ec3ec59803c25f63e89f92efe07b05dc1b896'
+'638e3148d855e1de2ca7711f9dd1eb6ec5410e3c412d949abf2a34ef2086f0c7'
+'37690540cc0cf6b52fb980b39f9f7bc603d1670fac9e2939ff05ddc349407448'
+'508717c9cf128772fb99f16354c5a645c6e0d432dd5cfda64d4898860e0c09df')
+
+prepare() {
+mkdir -p build
+cd ParaView-v${pkgver}/
+patch -p1 -i ../fix-qt5.11-headers.patch
+# https://gitlab.kitware.com/paraview/paraview/issues/18323
+patch -p1 -i ../0001-fix-build-on-python-3.7.patch
+cd VTK
+# https://gitlab.kitware.com/vtk/vtk/issues/17350
+patch -p1 -i "${srcdir}"/706f1b397df09a27ab8981ab9464547028d0c322.patch
+}
+
+build() {
+cd build
+
+# Flags to enable system libs in VTK building, as in VTK package
+# NETCDFCPP status?
+# 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 MPI4PY JSONCPP GLEW 
HDF5 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 "${srcdir}"/ParaView-v${pkgver}/License_v1.2.txt 
"${pkgdir}"/usr/share/licenses/paraview/LICENSE
+
+#