[arch-commits] Commit in paraview/repos/community-x86_64 (4 files)
Sven-Hendrik Haase
svenstaro at gemini.archlinux.org
Tue Jul 20 16:52:24 UTC 2021
Date: Tuesday, July 20, 2021 @ 16:52:23
Author: svenstaro
Revision: 980338
archrelease: copy trunk to community-x86_64
Added:
paraview/repos/community-x86_64/PKGBUILD
(from rev 980337, paraview/trunk/PKGBUILD)
paraview/repos/community-x86_64/vtk-comp-missing-includes.patch
(from rev 980337, paraview/trunk/vtk-comp-missing-includes.patch)
Deleted:
paraview/repos/community-x86_64/PKGBUILD
paraview/repos/community-x86_64/vtk-comp-missing-includes.patch
---------------------------------+
PKGBUILD | 132 +++++++++++++++++++-------------------
vtk-comp-missing-includes.patch | 120 +++++++++++++++++-----------------
2 files changed, 126 insertions(+), 126 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-07-20 16:52:18 UTC (rev 980337)
+++ PKGBUILD 2021-07-20 16:52:23 UTC (rev 980338)
@@ -1,66 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-# Maintainer: Mathieu Westphal <mathieu.westphal at kitware.com>
-# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
-# Contributor: <xantares09 at hotmail.com>
-
-_pkg=paraview
-_mpi=openmpi
-pkgname=${_pkg}
-#-${_mpi}
-pkgver=5.9.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 python-pandas)
-makedepends=(cmake boost mesa gcc-fortran ninja qt5-tools qt5-xmlpatterns eigen utf8cpp)
-# pegtl https://gitlab.kitware.com/vtk/vtk/-/issues/18151
-conflicts=(vtk)
-source=("${url}/files/v${pkgver:0:3}/ParaView-v${pkgver/R/-R}.tar.xz"
- vtk-comp-missing-includes.patch)
-sha256sums=('0d486cb6fbf55e428845c9650486f87466efcb3155e40489182a7ea85dfd4c8d'
- 'c400753e386601008a2ed0269a58be76f06cc3c084f2dd48e87f6f04e8eca77f')
-
-prepare() {
- cd ParaView-v${pkgver/R/-R}
- patch -Np1 -d VTK <../vtk-comp-missing-includes.patch
- # We have a patched libharu
- sed -i "s|2.4.0|2.3.0|" VTK/ThirdParty/libharu/CMakeLists.txt
-}
-
-build() {
- 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_RAYTRACING=ON \
- -DPARAVIEW_ENABLE_VISITBRIDGE=ON \
- -DPARAVIEW_ENABLE_XDMF3=ON \
- -DPARAVIEW_INSTALL_DEVELOPMENT_FILES=ON \
- -DPARAVIEW_USE_MPI=ON \
- -DPARAVIEW_USE_PYTHON=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 \
- -DVTK_MODULE_USE_EXTERNAL_VTK_pegtl=OFF \
- -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-x86_64/PKGBUILD (from rev 980337, paraview/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-07-20 16:52:23 UTC (rev 980338)
@@ -0,0 +1,66 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Maintainer: Mathieu Westphal <mathieu.westphal at kitware.com>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: <xantares09 at hotmail.com>
+
+_pkg=paraview
+_mpi=openmpi
+pkgname=${_pkg}
+#-${_mpi}
+pkgver=5.9.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 python-pandas)
+makedepends=(cmake boost mesa gcc-fortran ninja qt5-tools qt5-xmlpatterns eigen utf8cpp)
+# pegtl https://gitlab.kitware.com/vtk/vtk/-/issues/18151
+conflicts=(vtk)
+source=("${url}/files/v${pkgver:0:3}/ParaView-v${pkgver/R/-R}.tar.xz"
+ vtk-comp-missing-includes.patch)
+sha256sums=('0d486cb6fbf55e428845c9650486f87466efcb3155e40489182a7ea85dfd4c8d'
+ 'c400753e386601008a2ed0269a58be76f06cc3c084f2dd48e87f6f04e8eca77f')
+
+prepare() {
+ cd ParaView-v${pkgver/R/-R}
+ patch -Np1 -d VTK <../vtk-comp-missing-includes.patch
+ # We have a patched libharu
+ sed -i "s|2.4.0|2.3.0|" VTK/ThirdParty/libharu/CMakeLists.txt
+}
+
+build() {
+ 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_RAYTRACING=ON \
+ -DPARAVIEW_ENABLE_VISITBRIDGE=ON \
+ -DPARAVIEW_ENABLE_XDMF3=ON \
+ -DPARAVIEW_INSTALL_DEVELOPMENT_FILES=ON \
+ -DPARAVIEW_USE_MPI=ON \
+ -DPARAVIEW_USE_PYTHON=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 \
+ -DVTK_MODULE_USE_EXTERNAL_VTK_pegtl=OFF \
+ -GNinja
+
+ ninja -C build ${MAKEFLAGS}
+}
+
+package() {
+ DESTDIR="${pkgdir}" ninja -C build install
+ # Fix licenses install
+ mv "${pkgdir}"/usr/share/licenses/{ParaView,paraview}
+}
Deleted: vtk-comp-missing-includes.patch
===================================================================
--- vtk-comp-missing-includes.patch 2021-07-20 16:52:18 UTC (rev 980337)
+++ vtk-comp-missing-includes.patch 2021-07-20 16:52:23 UTC (rev 980338)
@@ -1,60 +0,0 @@
-From e066c3f4fbbfe7470c6207db0fc3f3952db633cb Mon Sep 17 00:00:00 2001
-From: Mark Olesen <Mark.Olesen at esi-group.com>
-Date: Tue, 9 Feb 2021 15:19:10 +0100
-Subject: [PATCH] COMP: missing includes (clang)
-
----
- Common/Core/vtkGenericDataArrayLookupHelper.h | 1 +
- Common/DataModel/vtkPiecewiseFunction.cxx | 1 +
- Filters/HyperTree/vtkHyperTreeGridThreshold.cxx | 1 +
- Rendering/Core/vtkColorTransferFunction.cxx | 1 +
- 4 files changed, 4 insertions(+)
-
-diff --git a/Common/Core/vtkGenericDataArrayLookupHelper.h b/Common/Core/vtkGenericDataArrayLookupHelper.h
-index ab9d57248f8..202aaa27f4a 100644
---- a/Common/Core/vtkGenericDataArrayLookupHelper.h
-+++ b/Common/Core/vtkGenericDataArrayLookupHelper.h
-@@ -25,6 +25,7 @@
- #include "vtkIdList.h"
- #include <algorithm>
- #include <cmath>
-+#include <limits>
- #include <unordered_map>
- #include <vector>
-
-diff --git a/Common/DataModel/vtkPiecewiseFunction.cxx b/Common/DataModel/vtkPiecewiseFunction.cxx
-index 22eca0bc22e..11086f1dc42 100644
---- a/Common/DataModel/vtkPiecewiseFunction.cxx
-+++ b/Common/DataModel/vtkPiecewiseFunction.cxx
-@@ -22,6 +22,7 @@
- #include <cassert>
- #include <cmath>
- #include <iterator>
-+#include <limits>
- #include <set>
- #include <vector>
-
-diff --git a/Filters/HyperTree/vtkHyperTreeGridThreshold.cxx b/Filters/HyperTree/vtkHyperTreeGridThreshold.cxx
-index a16bb27fc66..1052192c616 100644
---- a/Filters/HyperTree/vtkHyperTreeGridThreshold.cxx
-+++ b/Filters/HyperTree/vtkHyperTreeGridThreshold.cxx
-@@ -27,6 +27,7 @@
- #include "vtkHyperTreeGridNonOrientedCursor.h"
-
- #include <cmath>
-+#include <limits>
-
- vtkStandardNewMacro(vtkHyperTreeGridThreshold);
-
-diff --git a/Rendering/Core/vtkColorTransferFunction.cxx b/Rendering/Core/vtkColorTransferFunction.cxx
-index 55c046b4df7..1be02919ab9 100644
---- a/Rendering/Core/vtkColorTransferFunction.cxx
-+++ b/Rendering/Core/vtkColorTransferFunction.cxx
-@@ -21,6 +21,7 @@
- #include <algorithm>
- #include <cmath>
- #include <iterator>
-+#include <limits>
- #include <set>
- #include <vector>
-
Copied: paraview/repos/community-x86_64/vtk-comp-missing-includes.patch (from rev 980337, paraview/trunk/vtk-comp-missing-includes.patch)
===================================================================
--- vtk-comp-missing-includes.patch (rev 0)
+++ vtk-comp-missing-includes.patch 2021-07-20 16:52:23 UTC (rev 980338)
@@ -0,0 +1,60 @@
+From e066c3f4fbbfe7470c6207db0fc3f3952db633cb Mon Sep 17 00:00:00 2001
+From: Mark Olesen <Mark.Olesen at esi-group.com>
+Date: Tue, 9 Feb 2021 15:19:10 +0100
+Subject: [PATCH] COMP: missing includes (clang)
+
+---
+ Common/Core/vtkGenericDataArrayLookupHelper.h | 1 +
+ Common/DataModel/vtkPiecewiseFunction.cxx | 1 +
+ Filters/HyperTree/vtkHyperTreeGridThreshold.cxx | 1 +
+ Rendering/Core/vtkColorTransferFunction.cxx | 1 +
+ 4 files changed, 4 insertions(+)
+
+diff --git a/Common/Core/vtkGenericDataArrayLookupHelper.h b/Common/Core/vtkGenericDataArrayLookupHelper.h
+index ab9d57248f8..202aaa27f4a 100644
+--- a/Common/Core/vtkGenericDataArrayLookupHelper.h
++++ b/Common/Core/vtkGenericDataArrayLookupHelper.h
+@@ -25,6 +25,7 @@
+ #include "vtkIdList.h"
+ #include <algorithm>
+ #include <cmath>
++#include <limits>
+ #include <unordered_map>
+ #include <vector>
+
+diff --git a/Common/DataModel/vtkPiecewiseFunction.cxx b/Common/DataModel/vtkPiecewiseFunction.cxx
+index 22eca0bc22e..11086f1dc42 100644
+--- a/Common/DataModel/vtkPiecewiseFunction.cxx
++++ b/Common/DataModel/vtkPiecewiseFunction.cxx
+@@ -22,6 +22,7 @@
+ #include <cassert>
+ #include <cmath>
+ #include <iterator>
++#include <limits>
+ #include <set>
+ #include <vector>
+
+diff --git a/Filters/HyperTree/vtkHyperTreeGridThreshold.cxx b/Filters/HyperTree/vtkHyperTreeGridThreshold.cxx
+index a16bb27fc66..1052192c616 100644
+--- a/Filters/HyperTree/vtkHyperTreeGridThreshold.cxx
++++ b/Filters/HyperTree/vtkHyperTreeGridThreshold.cxx
+@@ -27,6 +27,7 @@
+ #include "vtkHyperTreeGridNonOrientedCursor.h"
+
+ #include <cmath>
++#include <limits>
+
+ vtkStandardNewMacro(vtkHyperTreeGridThreshold);
+
+diff --git a/Rendering/Core/vtkColorTransferFunction.cxx b/Rendering/Core/vtkColorTransferFunction.cxx
+index 55c046b4df7..1be02919ab9 100644
+--- a/Rendering/Core/vtkColorTransferFunction.cxx
++++ b/Rendering/Core/vtkColorTransferFunction.cxx
+@@ -21,6 +21,7 @@
+ #include <algorithm>
+ #include <cmath>
+ #include <iterator>
++#include <limits>
+ #include <set>
+ #include <vector>
+
More information about the arch-commits
mailing list