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

2020-07-16 Thread Antonio Rojas via arch-commits
Date: Thursday, July 16, 2020 @ 10:10:40
  Author: arojas
Revision: 664107

archrelease: copy trunk to community-staging-x86_64

Added:
  vtk/repos/community-staging-x86_64/
  vtk/repos/community-staging-x86_64/.contrib
(from rev 664106, vtk/trunk/.contrib)
  vtk/repos/community-staging-x86_64/PKGBUILD
(from rev 664106, vtk/trunk/PKGBUILD)
  vtk/repos/community-staging-x86_64/proj6.patch
(from rev 664106, vtk/trunk/proj6.patch)

-+
 .contrib|6 ++
 PKGBUILD|  150 ++
 proj6.patch |  110 ++
 3 files changed, 266 insertions(+)

Copied: vtk/repos/community-staging-x86_64/.contrib (from rev 664106, 
vtk/trunk/.contrib)
===
--- community-staging-x86_64/.contrib   (rev 0)
+++ community-staging-x86_64/.contrib   2020-07-16 10:10:40 UTC (rev 664107)
@@ -0,0 +1,6 @@
+# Contributor: Christofer Bertonha 
+# Contributor: leepesjee 
+# Contributor: Olivier Medoc
+# Contributor: ignotus
+# Contributor: Fabian Moser
+# Contributor: djscholl

Copied: vtk/repos/community-staging-x86_64/PKGBUILD (from rev 664106, 
vtk/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-07-16 10:10:40 UTC (rev 664107)
@@ -0,0 +1,150 @@
+# Maintainer: Evgeniy Alekseev 
+# Maintainer: Bruno Pagani 
+# Contributor: Ray Rashif 
+# Contributor: Andrzej Giniewicz 
+# Contributor: Thomas Dziedzic 
+
+pkgname=vtk
+pkgver=8.2.0
+pkgrel=14
+pkgdesc="A software system for 3D computer graphics, image processing, and 
visualization"
+arch=(x86_64)
+url="https://www.vtk.org/;
+license=(BSD)
+depends=(gcc-libs double-conversion)
+makedepends=(cmake boost doxygen ffmpeg gdal gnuplot
+ java-environment openmpi python-matplotlib qt5-base
+ qt5-tools qt5-webkit qt5-x11extras tk unixodbc wget
+ double-conversion eigen expat freetype2 glew hdf5
+ libjpeg jsoncpp libxml2 lz4 xz python-mpi4py netcdf
+ libogg pdal pegtl libpng pugixml libtheora libtiff zlib
+ proj sqlite)
+optdepends=('gnuplot: plotting tools'
+'graphviz: drawing tools'
+'java-runtime: java bindings'
+'python: python bindings'
+'python-mpi4py: OpenMPI python support'
+'python-matplotlib: for Matplotlib rendering'
+'openmpi: OpenMPI support'
+'qt5-x11extras'
+'qt5-webkit: WebKit support'
+'tk: tcl bindings'
+ffmpeg
+gdal
+glew
+hdf5
+jsoncpp
+lz4
+netcdf
+pdal
+pugixml
+proj
+sqlite
+unixodbc)
+source=("${url}/files/release/${pkgver%.*}/VTK-${pkgver}.tar.gz"
+"${url}/files/release/${pkgver%.*}/VTKData-${pkgver}.tar.gz"
+"${url}/files/release/${pkgver%.*}/VTKLargeData-${pkgver}.tar.gz"
+proj6.patch
+
vtk-python-3.8.patch::"https://gitlab.kitware.com/vtk/vtk/merge_requests/5883.patch;
+
vtk-gcc10.patch::"https://gitlab.kitware.com/vtk/vtk/-/commit/a9079bdc.patch;
+
vtk-qt5.15.patch::"https://gitlab.kitware.com/vtk/vtk/-/commit/797f2869.patch;)
+options=(staticlibs)
+sha512sums=('521bd4dabedbc24b0e80a314a34ecd7554b04af28a7973245e3a9cf99a09b995d1b8ac42305c8e53369f226a0a6da3cdb29105ba2c90b46492736ef717760286'
+
'517d0f6dfdb0c61f59df933f06d3a28c8a48ea684aaff311456213fe493e2a20128886144325fc4edfa376b2d375a2dae6c60ad6e3d5d2f4a7b0ac1d8545c87b'
+
'8a7ea3d5870b1e4ccb31c77b4c270d00208349da1b2938e957210db3ec1449b678c66edc2faee1d4514aca6d725f642abc91e10ab0c151f6743cad1c53485588'
+
'bd095a848c198752307d6924eaa46d07af4fbbba70f4665e10c8b5dd8d2a84cb6d9ea6c25705463a6c054c5afa5af4c68030ad90d37953672c0fc609eaf24b07'
+
'9b85600812b6caf5007cdaeff34a504fa706bd0e1412dd306f8424b39edde430d8eedddcb53ce987afb6799ffc571f3fb9de80106324782e9d5b37947e92dcd6'
+
'5432ae62773377301a6709de0b789b1d5a459e467e4796b3d275c8a1cec6962fd8ebf404f8f11ed63a8d525c2d5a8dd163080d8fd3e483f3a5e06739133acd8f'
+
'a82df18ed019fe798b740c707e6511ea28b200ddd887054346508ead0aa91a847de15aa5f668c9cb87792424d2ead3600e59f7acc76e003477bc5f630cbbadaa')
+
+prepare() {
+  mkdir build
+  cd VTK-${pkgver}
+
+  # Fix build with proj 6.0
+  patch -Np1 -i ../proj6.patch
+
+  # Fix build with python 3.8
+  patch -p1 -i ../vtk-python-3.8.patch
+
+  # Fix build with GCC 10
+  patch -d ThirdParty/exodusII/vtkexodusII -p1 -i "$srcdir"/vtk-gcc10.patch
+  sed -e 's|REGEX MATCH \"\[3-9\]|REGEX MATCH \"[1-9][0-9]|' -i 
CMake/VTKGenerateExportHeader.cmake
+
+  # Fix build with Qt 5.15
+  patch -p1 -i ../vtk-qt5.15.patch
+
+  # Fix build with Java 12
+  sed -i 

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

2020-04-30 Thread Sven-Hendrik Haase via arch-commits
Date: Thursday, April 30, 2020 @ 13:24:35
  Author: svenstaro
Revision: 623314

archrelease: copy trunk to community-staging-x86_64

Added:
  vtk/repos/community-staging-x86_64/
  vtk/repos/community-staging-x86_64/.contrib
(from rev 623313, vtk/trunk/.contrib)
  vtk/repos/community-staging-x86_64/PKGBUILD
(from rev 623313, vtk/trunk/PKGBUILD)
  vtk/repos/community-staging-x86_64/proj6.patch
(from rev 623313, vtk/trunk/proj6.patch)

-+
 .contrib|6 ++
 PKGBUILD|  139 ++
 proj6.patch |  110 +
 3 files changed, 255 insertions(+)

Copied: vtk/repos/community-staging-x86_64/.contrib (from rev 623313, 
vtk/trunk/.contrib)
===
--- community-staging-x86_64/.contrib   (rev 0)
+++ community-staging-x86_64/.contrib   2020-04-30 13:24:35 UTC (rev 623314)
@@ -0,0 +1,6 @@
+# Contributor: Christofer Bertonha 
+# Contributor: leepesjee 
+# Contributor: Olivier Medoc
+# Contributor: ignotus
+# Contributor: Fabian Moser
+# Contributor: djscholl

Copied: vtk/repos/community-staging-x86_64/PKGBUILD (from rev 623313, 
vtk/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-30 13:24:35 UTC (rev 623314)
@@ -0,0 +1,139 @@
+# Maintainer: Evgeniy Alekseev 
+# Maintainer: Bruno Pagani 
+# Contributor: Ray Rashif 
+# Contributor: Andrzej Giniewicz 
+# Contributor: Thomas Dziedzic 
+
+pkgname=vtk
+pkgver=8.2.0
+pkgrel=13
+pkgdesc="A software system for 3D computer graphics, image processing, and 
visualization"
+arch=(x86_64)
+url="https://www.vtk.org/;
+license=(BSD)
+depends=(gcc-libs double-conversion)
+makedepends=(cmake boost doxygen ffmpeg gdal gnuplot
+ java-environment openmpi python-matplotlib qt5-base
+ qt5-tools qt5-webkit qt5-x11extras tk unixodbc wget
+ double-conversion eigen expat freetype2 glew hdf5
+ libjpeg jsoncpp libxml2 lz4 xz python-mpi4py netcdf
+ libogg pdal pegtl libpng pugixml libtheora libtiff zlib
+ proj sqlite)
+optdepends=('gnuplot: plotting tools'
+'graphviz: drawing tools'
+'java-runtime: java bindings'
+'python: python bindings'
+'python-mpi4py: OpenMPI python support'
+'python-matplotlib: for Matplotlib rendering'
+'openmpi: OpenMPI support'
+'qt5-x11extras'
+'qt5-webkit: WebKit support'
+'tk: tcl bindings'
+ffmpeg
+gdal
+glew
+hdf5
+jsoncpp
+lz4
+netcdf
+pdal
+pugixml
+proj
+sqlite
+unixodbc)
+source=("${url}/files/release/${pkgver%.*}/VTK-${pkgver}.tar.gz"
+"${url}/files/release/${pkgver%.*}/VTKData-${pkgver}.tar.gz"
+"${url}/files/release/${pkgver%.*}/VTKLargeData-${pkgver}.tar.gz"
+proj6.patch
+
vtk-python-3.8.patch::"https://gitlab.kitware.com/vtk/vtk/merge_requests/5883.patch;)
+options=(staticlibs)
+sha512sums=('521bd4dabedbc24b0e80a314a34ecd7554b04af28a7973245e3a9cf99a09b995d1b8ac42305c8e53369f226a0a6da3cdb29105ba2c90b46492736ef717760286'
+
'517d0f6dfdb0c61f59df933f06d3a28c8a48ea684aaff311456213fe493e2a20128886144325fc4edfa376b2d375a2dae6c60ad6e3d5d2f4a7b0ac1d8545c87b'
+
'8a7ea3d5870b1e4ccb31c77b4c270d00208349da1b2938e957210db3ec1449b678c66edc2faee1d4514aca6d725f642abc91e10ab0c151f6743cad1c53485588'
+
'bd095a848c198752307d6924eaa46d07af4fbbba70f4665e10c8b5dd8d2a84cb6d9ea6c25705463a6c054c5afa5af4c68030ad90d37953672c0fc609eaf24b07'
+
'0dcc47e66b758fc0db5c0bd84ebc82a6bd4b788df477d53e159aa3d02ea736333db8b4ef1cbfa222d4d322ff26ed5e725e1aed0083e6193626aa2deb96f0f3f3')
+
+prepare() {
+  mkdir build
+  cd VTK-${pkgver}
+
+  # Fix build with proj 6.0
+  patch -Np1 -i ../proj6.patch
+
+  # Fix build with python 3.8
+  patch -p1 -i ../vtk-python-3.8.patch
+
+  # Fix build with Java 12
+  sed -i 's/VTK_JAVA_SOURCE_VERSION "1.6"/VTK_JAVA_SOURCE_VERSION "1.7"/
+  s/VTK_JAVA_TARGET_VERSION "1.6"/VTK_JAVA_TARGET_VERSION "1.7"/' 
Wrapping/Java/CMakeLists.txt
+}
+
+build() {
+  cd build
+
+  # to help cmake find java
+  export JAVA_HOME=/usr/lib/jvm/default
+
+  # GL2PS blocked by http://www.vtk.org/Bug/view.php?id=16083
+  # LIBHARU blocked by https://github.com/libharu/libharu/pull/157
+  # exodusII,kissfft,verdict,VPIC,xdmf2/3,zfp not packaged in Arch
+  # Note: VTK explicitly disables system GLEW dependency, it uses embedded 
sources with modifications
+  local VTK_USE_SYSTEM_LIB=""
+  # Common with ParaView
+  for lib in DOUBLECONVERSION EIGEN EXPAT FREETYPE GLEW HDF5 JPEG JSONCPP 
LIBXML2 LZ4 LZMA MPI4PY NETCDF OGG PEGTL PNG 

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

2020-04-25 Thread Evangelos Foutras via arch-commits
Date: Saturday, April 25, 2020 @ 15:33:02
  Author: foutrelis
Revision: 620884

archrelease: copy trunk to community-staging-x86_64

Added:
  vtk/repos/community-staging-x86_64/
  vtk/repos/community-staging-x86_64/.contrib
(from rev 620883, vtk/trunk/.contrib)
  vtk/repos/community-staging-x86_64/PKGBUILD
(from rev 620883, vtk/trunk/PKGBUILD)
  vtk/repos/community-staging-x86_64/proj6.patch
(from rev 620883, vtk/trunk/proj6.patch)

-+
 .contrib|6 ++
 PKGBUILD|  139 ++
 proj6.patch |  110 +
 3 files changed, 255 insertions(+)

Copied: vtk/repos/community-staging-x86_64/.contrib (from rev 620883, 
vtk/trunk/.contrib)
===
--- community-staging-x86_64/.contrib   (rev 0)
+++ community-staging-x86_64/.contrib   2020-04-25 15:33:02 UTC (rev 620884)
@@ -0,0 +1,6 @@
+# Contributor: Christofer Bertonha 
+# Contributor: leepesjee 
+# Contributor: Olivier Medoc
+# Contributor: ignotus
+# Contributor: Fabian Moser
+# Contributor: djscholl

Copied: vtk/repos/community-staging-x86_64/PKGBUILD (from rev 620883, 
vtk/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-25 15:33:02 UTC (rev 620884)
@@ -0,0 +1,139 @@
+# Maintainer: Evgeniy Alekseev 
+# Maintainer: Bruno Pagani 
+# Contributor: Ray Rashif 
+# Contributor: Andrzej Giniewicz 
+# Contributor: Thomas Dziedzic 
+
+pkgname=vtk
+pkgver=8.2.0
+pkgrel=12
+pkgdesc="A software system for 3D computer graphics, image processing, and 
visualization"
+arch=(x86_64)
+url="https://www.vtk.org/;
+license=(BSD)
+depends=(gcc-libs double-conversion)
+makedepends=(cmake boost doxygen ffmpeg gdal gnuplot
+ java-environment openmpi python-matplotlib qt5-base
+ qt5-tools qt5-webkit qt5-x11extras tk unixodbc wget
+ double-conversion eigen expat freetype2 glew hdf5
+ libjpeg jsoncpp libxml2 lz4 xz python-mpi4py netcdf
+ libogg pdal pegtl libpng pugixml libtheora libtiff zlib
+ proj sqlite)
+optdepends=('gnuplot: plotting tools'
+'graphviz: drawing tools'
+'java-runtime: java bindings'
+'python: python bindings'
+'python-mpi4py: OpenMPI python support'
+'python-matplotlib: for Matplotlib rendering'
+'openmpi: OpenMPI support'
+'qt5-x11extras'
+'qt5-webkit: WebKit support'
+'tk: tcl bindings'
+ffmpeg
+gdal
+glew
+hdf5
+jsoncpp
+lz4
+netcdf
+pdal
+pugixml
+proj
+sqlite
+unixodbc)
+source=("${url}/files/release/${pkgver%.*}/VTK-${pkgver}.tar.gz"
+"${url}/files/release/${pkgver%.*}/VTKData-${pkgver}.tar.gz"
+"${url}/files/release/${pkgver%.*}/VTKLargeData-${pkgver}.tar.gz"
+proj6.patch
+
vtk-python-3.8.patch::"https://gitlab.kitware.com/vtk/vtk/merge_requests/5883.patch;)
+options=(staticlibs)
+sha512sums=('521bd4dabedbc24b0e80a314a34ecd7554b04af28a7973245e3a9cf99a09b995d1b8ac42305c8e53369f226a0a6da3cdb29105ba2c90b46492736ef717760286'
+
'517d0f6dfdb0c61f59df933f06d3a28c8a48ea684aaff311456213fe493e2a20128886144325fc4edfa376b2d375a2dae6c60ad6e3d5d2f4a7b0ac1d8545c87b'
+
'8a7ea3d5870b1e4ccb31c77b4c270d00208349da1b2938e957210db3ec1449b678c66edc2faee1d4514aca6d725f642abc91e10ab0c151f6743cad1c53485588'
+
'bd095a848c198752307d6924eaa46d07af4fbbba70f4665e10c8b5dd8d2a84cb6d9ea6c25705463a6c054c5afa5af4c68030ad90d37953672c0fc609eaf24b07'
+
'51f3bb7d9b7011b4b8a4ec9f9c2f45336358f9dbac3cc6dc4051619d50272b3b4c1be6d18db6ea38e28c2ad1f1ab29473a051fe65c9d43ba8893775aed4b0d40')
+
+prepare() {
+  mkdir build
+  cd VTK-${pkgver}
+
+  # Fix build with proj 6.0
+  patch -Np1 -i ../proj6.patch
+
+  # Fix build with python 3.8
+  patch -p1 -i ../vtk-python-3.8.patch
+
+  # Fix build with Java 12
+  sed -i 's/VTK_JAVA_SOURCE_VERSION "1.6"/VTK_JAVA_SOURCE_VERSION "1.7"/
+  s/VTK_JAVA_TARGET_VERSION "1.6"/VTK_JAVA_TARGET_VERSION "1.7"/' 
Wrapping/Java/CMakeLists.txt
+}
+
+build() {
+  cd build
+
+  # to help cmake find java
+  export JAVA_HOME=/usr/lib/jvm/default
+
+  # GL2PS blocked by http://www.vtk.org/Bug/view.php?id=16083
+  # LIBHARU blocked by https://github.com/libharu/libharu/pull/157
+  # exodusII,kissfft,verdict,VPIC,xdmf2/3,zfp not packaged in Arch
+  # Note: VTK explicitly disables system GLEW dependency, it uses embedded 
sources with modifications
+  local VTK_USE_SYSTEM_LIB=""
+  # Common with ParaView
+  for lib in DOUBLECONVERSION EIGEN EXPAT FREETYPE GLEW HDF5 JPEG JSONCPP 
LIBXML2 LZ4 LZMA MPI4PY NETCDF OGG PEGTL PNG 

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

2020-04-12 Thread Bruno Pagani via arch-commits
Date: Sunday, April 12, 2020 @ 16:09:03
  Author: archange
Revision: 613428

archrelease: copy trunk to community-staging-x86_64

Added:
  vtk/repos/community-staging-x86_64/
  vtk/repos/community-staging-x86_64/.contrib
(from rev 613427, vtk/trunk/.contrib)
  vtk/repos/community-staging-x86_64/PKGBUILD
(from rev 613427, vtk/trunk/PKGBUILD)
  vtk/repos/community-staging-x86_64/proj6.patch
(from rev 613427, vtk/trunk/proj6.patch)

-+
 .contrib|6 ++
 PKGBUILD|  139 ++
 proj6.patch |  110 +
 3 files changed, 255 insertions(+)

Copied: vtk/repos/community-staging-x86_64/.contrib (from rev 613427, 
vtk/trunk/.contrib)
===
--- community-staging-x86_64/.contrib   (rev 0)
+++ community-staging-x86_64/.contrib   2020-04-12 16:09:03 UTC (rev 613428)
@@ -0,0 +1,6 @@
+# Contributor: Christofer Bertonha 
+# Contributor: leepesjee 
+# Contributor: Olivier Medoc
+# Contributor: ignotus
+# Contributor: Fabian Moser
+# Contributor: djscholl

Copied: vtk/repos/community-staging-x86_64/PKGBUILD (from rev 613427, 
vtk/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-12 16:09:03 UTC (rev 613428)
@@ -0,0 +1,139 @@
+# Maintainer: Evgeniy Alekseev 
+# Maintainer: Bruno Pagani 
+# Contributor: Ray Rashif 
+# Contributor: Andrzej Giniewicz 
+# Contributor: Thomas Dziedzic 
+
+pkgname=vtk
+pkgver=8.2.0
+pkgrel=11
+pkgdesc="A software system for 3D computer graphics, image processing, and 
visualization"
+arch=(x86_64)
+url="https://www.vtk.org/;
+license=(BSD)
+depends=(gcc-libs double-conversion)
+makedepends=(cmake boost doxygen ffmpeg gdal gnuplot
+ java-environment openmpi python-matplotlib qt5-base
+ qt5-tools qt5-webkit qt5-x11extras tk unixodbc wget
+ double-conversion eigen expat freetype2 glew hdf5
+ libjpeg jsoncpp libxml2 lz4 xz python-mpi4py netcdf
+ libogg pdal pegtl libpng pugixml libtheora libtiff zlib
+ proj sqlite)
+optdepends=('gnuplot: plotting tools'
+'graphviz: drawing tools'
+'java-runtime: java bindings'
+'python: python bindings'
+'python-mpi4py: OpenMPI python support'
+'python-matplotlib: for Matplotlib rendering'
+'openmpi: OpenMPI support'
+'qt5-x11extras'
+'qt5-webkit: WebKit support'
+'tk: tcl bindings'
+ffmpeg
+gdal
+glew
+hdf5
+jsoncpp
+lz4
+netcdf
+pdal
+pugixml
+proj
+sqlite
+unixodbc)
+source=("${url}/files/release/${pkgver%.*}/VTK-${pkgver}.tar.gz"
+"${url}/files/release/${pkgver%.*}/VTKData-${pkgver}.tar.gz"
+"${url}/files/release/${pkgver%.*}/VTKLargeData-${pkgver}.tar.gz"
+proj6.patch
+
vtk-python-3.8.patch::"https://gitlab.kitware.com/vtk/vtk/merge_requests/5883.patch;)
+options=(staticlibs)
+sha512sums=('521bd4dabedbc24b0e80a314a34ecd7554b04af28a7973245e3a9cf99a09b995d1b8ac42305c8e53369f226a0a6da3cdb29105ba2c90b46492736ef717760286'
+
'517d0f6dfdb0c61f59df933f06d3a28c8a48ea684aaff311456213fe493e2a20128886144325fc4edfa376b2d375a2dae6c60ad6e3d5d2f4a7b0ac1d8545c87b'
+
'8a7ea3d5870b1e4ccb31c77b4c270d00208349da1b2938e957210db3ec1449b678c66edc2faee1d4514aca6d725f642abc91e10ab0c151f6743cad1c53485588'
+
'bd095a848c198752307d6924eaa46d07af4fbbba70f4665e10c8b5dd8d2a84cb6d9ea6c25705463a6c054c5afa5af4c68030ad90d37953672c0fc609eaf24b07'
+
'51f3bb7d9b7011b4b8a4ec9f9c2f45336358f9dbac3cc6dc4051619d50272b3b4c1be6d18db6ea38e28c2ad1f1ab29473a051fe65c9d43ba8893775aed4b0d40')
+
+prepare() {
+  mkdir build
+  cd VTK-${pkgver}
+
+  # Fix build with proj 6.0
+  patch -Np1 -i ../proj6.patch
+
+  # Fix build with python 3.8
+  patch -p1 -i ../vtk-python-3.8.patch
+
+  # Fix build with Java 12
+  sed -i 's/VTK_JAVA_SOURCE_VERSION "1.6"/VTK_JAVA_SOURCE_VERSION "1.7"/
+  s/VTK_JAVA_TARGET_VERSION "1.6"/VTK_JAVA_TARGET_VERSION "1.7"/' 
Wrapping/Java/CMakeLists.txt
+}
+
+build() {
+  cd build
+
+  # to help cmake find java
+  export JAVA_HOME=/usr/lib/jvm/default
+
+  # GL2PS blocked by http://www.vtk.org/Bug/view.php?id=16083
+  # LIBHARU blocked by https://github.com/libharu/libharu/pull/157
+  # exodusII,kissfft,verdict,VPIC,xdmf2/3,zfp not packaged in Arch
+  # Note: VTK explicitly disables system GLEW dependency, it uses embedded 
sources with modifications
+  local VTK_USE_SYSTEM_LIB=""
+  # Common with ParaView
+  for lib in DOUBLECONVERSION EIGEN EXPAT FREETYPE GLEW HDF5 JPEG JSONCPP 
LIBXML2 LZ4 LZMA MPI4PY NETCDF OGG PEGTL PNG 

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

2020-04-05 Thread Bruno Pagani via arch-commits
Date: Sunday, April 5, 2020 @ 17:26:11
  Author: archange
Revision: 611873

archrelease: copy trunk to community-staging-x86_64

Added:
  vtk/repos/community-staging-x86_64/
  vtk/repos/community-staging-x86_64/.contrib
(from rev 611872, vtk/trunk/.contrib)
  vtk/repos/community-staging-x86_64/PKGBUILD
(from rev 611872, vtk/trunk/PKGBUILD)
  vtk/repos/community-staging-x86_64/proj6.patch
(from rev 611872, vtk/trunk/proj6.patch)

-+
 .contrib|6 ++
 PKGBUILD|  139 ++
 proj6.patch |  110 +
 3 files changed, 255 insertions(+)

Copied: vtk/repos/community-staging-x86_64/.contrib (from rev 611872, 
vtk/trunk/.contrib)
===
--- community-staging-x86_64/.contrib   (rev 0)
+++ community-staging-x86_64/.contrib   2020-04-05 17:26:11 UTC (rev 611873)
@@ -0,0 +1,6 @@
+# Contributor: Christofer Bertonha 
+# Contributor: leepesjee 
+# Contributor: Olivier Medoc
+# Contributor: ignotus
+# Contributor: Fabian Moser
+# Contributor: djscholl

Copied: vtk/repos/community-staging-x86_64/PKGBUILD (from rev 611872, 
vtk/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-05 17:26:11 UTC (rev 611873)
@@ -0,0 +1,139 @@
+# Maintainer: Evgeniy Alekseev 
+# Maintainer: Bruno Pagani 
+# Contributor: Ray Rashif 
+# Contributor: Andrzej Giniewicz 
+# Contributor: Thomas Dziedzic 
+
+pkgname=vtk
+pkgver=8.2.0
+pkgrel=10
+pkgdesc="A software system for 3D computer graphics, image processing, and 
visualization"
+arch=(x86_64)
+url="https://www.vtk.org/;
+license=(BSD)
+depends=(gcc-libs double-conversion)
+makedepends=(cmake boost doxygen ffmpeg gdal gnuplot
+ java-environment openmpi python-matplotlib qt5-base
+ qt5-tools qt5-webkit qt5-x11extras tk unixodbc wget
+ double-conversion eigen expat freetype2 glew hdf5
+ libjpeg jsoncpp libxml2 lz4 xz python-mpi4py netcdf
+ libogg pdal pegtl libpng pugixml libtheora libtiff zlib
+ proj sqlite)
+optdepends=('gnuplot: plotting tools'
+'graphviz: drawing tools'
+'java-runtime: java bindings'
+'python: python bindings'
+'python-mpi4py: OpenMPI python support'
+'python-matplotlib: for Matplotlib rendering'
+'openmpi: OpenMPI support'
+'qt5-x11extras'
+'qt5-webkit: WebKit support'
+'tk: tcl bindings'
+ffmpeg
+gdal
+glew
+hdf5
+jsoncpp
+lz4
+netcdf
+pdal
+pugixml
+proj
+sqlite
+unixodbc)
+source=("${url}/files/release/${pkgver%.*}/VTK-${pkgver}.tar.gz"
+"${url}/files/release/${pkgver%.*}/VTKData-${pkgver}.tar.gz"
+"${url}/files/release/${pkgver%.*}/VTKLargeData-${pkgver}.tar.gz"
+proj6.patch
+
vtk-python-3.8.patch::"https://gitlab.kitware.com/vtk/vtk/merge_requests/5883.patch;)
+options=(staticlibs)
+sha512sums=('521bd4dabedbc24b0e80a314a34ecd7554b04af28a7973245e3a9cf99a09b995d1b8ac42305c8e53369f226a0a6da3cdb29105ba2c90b46492736ef717760286'
+
'517d0f6dfdb0c61f59df933f06d3a28c8a48ea684aaff311456213fe493e2a20128886144325fc4edfa376b2d375a2dae6c60ad6e3d5d2f4a7b0ac1d8545c87b'
+
'8a7ea3d5870b1e4ccb31c77b4c270d00208349da1b2938e957210db3ec1449b678c66edc2faee1d4514aca6d725f642abc91e10ab0c151f6743cad1c53485588'
+
'bd095a848c198752307d6924eaa46d07af4fbbba70f4665e10c8b5dd8d2a84cb6d9ea6c25705463a6c054c5afa5af4c68030ad90d37953672c0fc609eaf24b07'
+
'51f3bb7d9b7011b4b8a4ec9f9c2f45336358f9dbac3cc6dc4051619d50272b3b4c1be6d18db6ea38e28c2ad1f1ab29473a051fe65c9d43ba8893775aed4b0d40')
+
+prepare() {
+  mkdir build
+  cd VTK-${pkgver}
+
+  # Fix build with proj 6.0
+  patch -Np1 -i ../proj6.patch
+
+  # Fix build with python 3.8
+  patch -p1 -i ../vtk-python-3.8.patch
+
+  # Fix build with Java 12
+  sed -i 's/VTK_JAVA_SOURCE_VERSION "1.6"/VTK_JAVA_SOURCE_VERSION "1.7"/
+  s/VTK_JAVA_TARGET_VERSION "1.6"/VTK_JAVA_TARGET_VERSION "1.7"/' 
Wrapping/Java/CMakeLists.txt
+}
+
+build() {
+  cd build
+
+  # to help cmake find java
+  export JAVA_HOME=/usr/lib/jvm/default
+
+  # GL2PS blocked by http://www.vtk.org/Bug/view.php?id=16083
+  # LIBHARU blocked by https://github.com/libharu/libharu/pull/157
+  # exodusII,kissfft,verdict,VPIC,xdmf2/3,zfp not packaged in Arch
+  # Note: VTK explicitly disables system GLEW dependency, it uses embedded 
sources with modifications
+  local VTK_USE_SYSTEM_LIB=""
+  # Common with ParaView
+  for lib in DOUBLECONVERSION EIGEN EXPAT FREETYPE GLEW HDF5 JPEG JSONCPP 
LIBXML2 LZ4 LZMA MPI4PY NETCDF OGG PEGTL PNG PUGIXML 

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

2019-10-26 Thread Felix Yan via arch-commits
Date: Saturday, October 26, 2019 @ 18:13:15
  Author: felixonmars
Revision: 520454

archrelease: copy trunk to community-staging-x86_64

Added:
  vtk/repos/community-staging-x86_64/
  vtk/repos/community-staging-x86_64/.contrib
(from rev 520453, vtk/trunk/.contrib)
  vtk/repos/community-staging-x86_64/PKGBUILD
(from rev 520453, vtk/trunk/PKGBUILD)
  vtk/repos/community-staging-x86_64/proj6.patch
(from rev 520453, vtk/trunk/proj6.patch)

-+
 .contrib|6 ++
 PKGBUILD|  139 ++
 proj6.patch |  110 +
 3 files changed, 255 insertions(+)

Copied: vtk/repos/community-staging-x86_64/.contrib (from rev 520453, 
vtk/trunk/.contrib)
===
--- community-staging-x86_64/.contrib   (rev 0)
+++ community-staging-x86_64/.contrib   2019-10-26 18:13:15 UTC (rev 520454)
@@ -0,0 +1,6 @@
+# Contributor: Christofer Bertonha 
+# Contributor: leepesjee 
+# Contributor: Olivier Medoc
+# Contributor: ignotus
+# Contributor: Fabian Moser
+# Contributor: djscholl

Copied: vtk/repos/community-staging-x86_64/PKGBUILD (from rev 520453, 
vtk/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-10-26 18:13:15 UTC (rev 520454)
@@ -0,0 +1,139 @@
+# Maintainer: Evgeniy Alekseev 
+# Maintainer: Bruno Pagani 
+# Contributor: Ray Rashif 
+# Contributor: Andrzej Giniewicz 
+# Contributor: Thomas Dziedzic 
+
+pkgname=vtk
+pkgver=8.2.0
+pkgrel=8
+pkgdesc="A software system for 3D computer graphics, image processing, and 
visualization"
+arch=(x86_64)
+url="https://www.vtk.org/;
+license=(BSD)
+depends=(gcc-libs double-conversion)
+makedepends=(cmake boost doxygen ffmpeg gdal gnuplot
+ java-environment openmpi python-matplotlib qt5-base
+ qt5-tools qt5-webkit qt5-x11extras tk unixodbc wget
+ double-conversion eigen expat freetype2 glew hdf5
+ libjpeg jsoncpp libxml2 lz4 xz python-mpi4py netcdf
+ libogg pdal pegtl libpng pugixml libtheora libtiff zlib
+ proj sqlite)
+optdepends=('gnuplot: plotting tools'
+'graphviz: drawing tools'
+'java-runtime: java bindings'
+'python: python bindings'
+'python-mpi4py: OpenMPI python support'
+'python-matplotlib: for Matplotlib rendering'
+'openmpi: OpenMPI support'
+'qt5-x11extras'
+'qt5-webkit: WebKit support'
+'tk: tcl bindings'
+ffmpeg
+gdal
+glew
+hdf5
+jsoncpp
+lz4
+netcdf
+pdal
+pugixml
+proj
+sqlite
+unixodbc)
+source=("${url}/files/release/${pkgver%.*}/VTK-${pkgver}.tar.gz"
+"${url}/files/release/${pkgver%.*}/VTKData-${pkgver}.tar.gz"
+"${url}/files/release/${pkgver%.*}/VTKLargeData-${pkgver}.tar.gz"
+proj6.patch
+
vtk-python-3.8.patch::"https://gitlab.kitware.com/vtk/vtk/merge_requests/5883.patch;)
+options=(staticlibs)
+sha512sums=('521bd4dabedbc24b0e80a314a34ecd7554b04af28a7973245e3a9cf99a09b995d1b8ac42305c8e53369f226a0a6da3cdb29105ba2c90b46492736ef717760286'
+
'517d0f6dfdb0c61f59df933f06d3a28c8a48ea684aaff311456213fe493e2a20128886144325fc4edfa376b2d375a2dae6c60ad6e3d5d2f4a7b0ac1d8545c87b'
+
'8a7ea3d5870b1e4ccb31c77b4c270d00208349da1b2938e957210db3ec1449b678c66edc2faee1d4514aca6d725f642abc91e10ab0c151f6743cad1c53485588'
+
'bd095a848c198752307d6924eaa46d07af4fbbba70f4665e10c8b5dd8d2a84cb6d9ea6c25705463a6c054c5afa5af4c68030ad90d37953672c0fc609eaf24b07'
+
'352c7d8e0452061d595000389fa9086d37beb3a1614fa13cfade15845d517011f6d1f7e7226bfe6ba36908105ea75f3f5364b5bc34c48b699f27894631ef9372')
+
+prepare() {
+  mkdir build
+  cd VTK-${pkgver}
+
+  # Fix build with proj 6.0
+  patch -Np1 -i ../proj6.patch
+
+  # Fix build with python 3.8
+  patch -p1 -i ../vtk-python-3.8.patch
+
+  # Fix build with Java 12
+  sed -i 's/VTK_JAVA_SOURCE_VERSION "1.6"/VTK_JAVA_SOURCE_VERSION "1.7"/
+  s/VTK_JAVA_TARGET_VERSION "1.6"/VTK_JAVA_TARGET_VERSION "1.7"/' 
Wrapping/Java/CMakeLists.txt
+}
+
+build() {
+  cd build
+
+  # to help cmake find java
+  export JAVA_HOME=/usr/lib/jvm/default
+
+  # GL2PS blocked by http://www.vtk.org/Bug/view.php?id=16083
+  # LIBHARU blocked by https://github.com/libharu/libharu/pull/157
+  # exodusII,kissfft,verdict,VPIC,xdmf2/3,zfp not packaged in Arch
+  # Note: VTK explicitly disables system GLEW dependency, it uses embedded 
sources with modifications
+  local VTK_USE_SYSTEM_LIB=""
+  # Common with ParaView
+  for lib in DOUBLECONVERSION EIGEN EXPAT FREETYPE GLEW HDF5 JPEG JSONCPP 
LIBXML2 LZ4 LZMA MPI4PY NETCDF OGG PEGTL PNG 

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

2019-09-14 Thread Levente Polyak via arch-commits
Date: Saturday, September 14, 2019 @ 14:38:38
  Author: anthraxx
Revision: 510540

archrelease: copy trunk to community-staging-x86_64

Added:
  vtk/repos/community-staging-x86_64/
  vtk/repos/community-staging-x86_64/.contrib
(from rev 510539, vtk/trunk/.contrib)
  vtk/repos/community-staging-x86_64/PKGBUILD
(from rev 510539, vtk/trunk/PKGBUILD)
  vtk/repos/community-staging-x86_64/proj6.patch
(from rev 510539, vtk/trunk/proj6.patch)

-+
 .contrib|6 ++
 PKGBUILD|  134 ++
 proj6.patch |  110 +++
 3 files changed, 250 insertions(+)

Copied: vtk/repos/community-staging-x86_64/.contrib (from rev 510539, 
vtk/trunk/.contrib)
===
--- community-staging-x86_64/.contrib   (rev 0)
+++ community-staging-x86_64/.contrib   2019-09-14 14:38:38 UTC (rev 510540)
@@ -0,0 +1,6 @@
+# Contributor: Christofer Bertonha 
+# Contributor: leepesjee 
+# Contributor: Olivier Medoc
+# Contributor: ignotus
+# Contributor: Fabian Moser
+# Contributor: djscholl

Copied: vtk/repos/community-staging-x86_64/PKGBUILD (from rev 510539, 
vtk/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-09-14 14:38:38 UTC (rev 510540)
@@ -0,0 +1,134 @@
+# Maintainer: Evgeniy Alekseev 
+# Maintainer: Bruno Pagani 
+# Contributor: Ray Rashif 
+# Contributor: Andrzej Giniewicz 
+# Contributor: Thomas Dziedzic 
+
+pkgname=vtk
+pkgver=8.2.0
+pkgrel=7
+pkgdesc="A software system for 3D computer graphics, image processing, and 
visualization"
+arch=(x86_64)
+url="https://www.vtk.org/;
+license=(BSD)
+depends=(gcc-libs double-conversion)
+makedepends=(cmake boost doxygen ffmpeg gdal gnuplot
+ java-environment openmpi python-matplotlib qt5-base
+ qt5-tools qt5-webkit qt5-x11extras tk unixodbc wget
+ double-conversion eigen expat freetype2 glew hdf5
+ libjpeg jsoncpp libxml2 lz4 xz python-mpi4py netcdf
+ libogg pdal pegtl libpng pugixml libtheora libtiff zlib
+ proj sqlite)
+optdepends=('gnuplot: plotting tools'
+'graphviz: drawing tools'
+'java-runtime: java bindings'
+'python: python bindings'
+'python-mpi4py: OpenMPI python support'
+'python-matplotlib: for Matplotlib rendering'
+'openmpi: OpenMPI support'
+'qt5-x11extras'
+'qt5-webkit: WebKit support'
+'tk: tcl bindings'
+ffmpeg
+gdal
+glew
+hdf5
+jsoncpp
+lz4
+netcdf
+pdal
+pugixml
+proj
+sqlite
+unixodbc)
+source=("${url}/files/release/${pkgver%.*}/VTK-${pkgver}.tar.gz"
+"${url}/files/release/${pkgver%.*}/VTKData-${pkgver}.tar.gz"
+"${url}/files/release/${pkgver%.*}/VTKLargeData-${pkgver}.tar.gz"
+proj6.patch)
+options=(staticlibs)
+sha512sums=('521bd4dabedbc24b0e80a314a34ecd7554b04af28a7973245e3a9cf99a09b995d1b8ac42305c8e53369f226a0a6da3cdb29105ba2c90b46492736ef717760286'
+
'517d0f6dfdb0c61f59df933f06d3a28c8a48ea684aaff311456213fe493e2a20128886144325fc4edfa376b2d375a2dae6c60ad6e3d5d2f4a7b0ac1d8545c87b'
+
'8a7ea3d5870b1e4ccb31c77b4c270d00208349da1b2938e957210db3ec1449b678c66edc2faee1d4514aca6d725f642abc91e10ab0c151f6743cad1c53485588'
+
'bd095a848c198752307d6924eaa46d07af4fbbba70f4665e10c8b5dd8d2a84cb6d9ea6c25705463a6c054c5afa5af4c68030ad90d37953672c0fc609eaf24b07')
+
+prepare() {
+  mkdir build
+  cd VTK-${pkgver}
+
+  # Fix build with proj 6.0
+  patch -Np1 -i ../proj6.patch
+
+  # Fix build with Java 12
+  sed -i 's/VTK_JAVA_SOURCE_VERSION "1.6"/VTK_JAVA_SOURCE_VERSION "1.7"/
+  s/VTK_JAVA_TARGET_VERSION "1.6"/VTK_JAVA_TARGET_VERSION "1.7"/' 
Wrapping/Java/CMakeLists.txt
+}
+
+build() {
+  cd build
+
+  # to help cmake find java
+  export JAVA_HOME=/usr/lib/jvm/default
+
+  # GL2PS blocked by http://www.vtk.org/Bug/view.php?id=16083
+  # LIBHARU blocked by https://github.com/libharu/libharu/pull/157
+  # exodusII,kissfft,verdict,VPIC,xdmf2/3,zfp not packaged in Arch
+  # Note: VTK explicitly disables system GLEW dependency, it uses embedded 
sources with modifications
+  local VTK_USE_SYSTEM_LIB=""
+  # Common with ParaView
+  for lib in DOUBLECONVERSION EIGEN EXPAT FREETYPE GLEW HDF5 JPEG JSONCPP 
LIBXML2 LZ4 LZMA MPI4PY NETCDF OGG PEGTL PNG PUGIXML THEORA TIFF ZLIB; do
+VTK_USE_SYSTEM_LIB+="-DVTK_USE_SYSTEM_${lib}=ON "
+  done
+  for lib in LIBPROJ SQLITE; do
+VTK_USE_SYSTEM_LIB+="-DVTK_USE_SYSTEM_${lib}=ON "
+  done
+
+  local _tkver=$(echo 'puts $tcl_version' | tclsh)
+
+  cmake ../VTK-${pkgver} \
+-Wno-dev \
+

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

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

archrelease: copy trunk to community-staging-x86_64

Added:
  vtk/repos/community-staging-x86_64/
  vtk/repos/community-staging-x86_64/.contrib
(from rev 506789, vtk/trunk/.contrib)
  vtk/repos/community-staging-x86_64/PKGBUILD
(from rev 506789, vtk/trunk/PKGBUILD)
  vtk/repos/community-staging-x86_64/proj6.patch
(from rev 506789, vtk/trunk/proj6.patch)

-+
 .contrib|6 ++
 PKGBUILD|  134 ++
 proj6.patch |  110 +++
 3 files changed, 250 insertions(+)

Copied: vtk/repos/community-staging-x86_64/.contrib (from rev 506789, 
vtk/trunk/.contrib)
===
--- community-staging-x86_64/.contrib   (rev 0)
+++ community-staging-x86_64/.contrib   2019-09-02 08:03:18 UTC (rev 506791)
@@ -0,0 +1,6 @@
+# Contributor: Christofer Bertonha 
+# Contributor: leepesjee 
+# Contributor: Olivier Medoc
+# Contributor: ignotus
+# Contributor: Fabian Moser
+# Contributor: djscholl

Copied: vtk/repos/community-staging-x86_64/PKGBUILD (from rev 506789, 
vtk/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-09-02 08:03:18 UTC (rev 506791)
@@ -0,0 +1,134 @@
+# Maintainer: Evgeniy Alekseev 
+# Maintainer: Bruno Pagani 
+# Contributor: Ray Rashif 
+# Contributor: Andrzej Giniewicz 
+# Contributor: Thomas Dziedzic 
+
+pkgname=vtk
+pkgver=8.2.0
+pkgrel=6
+pkgdesc="A software system for 3D computer graphics, image processing, and 
visualization"
+arch=(x86_64)
+url="https://www.vtk.org/;
+license=(BSD)
+depends=(gcc-libs double-conversion)
+makedepends=(cmake boost doxygen ffmpeg gdal gnuplot
+ java-environment openmpi python-matplotlib qt5-base
+ qt5-tools qt5-webkit qt5-x11extras tk unixodbc wget
+ double-conversion eigen expat freetype2 glew hdf5
+ libjpeg jsoncpp libxml2 lz4 xz python-mpi4py netcdf
+ libogg pdal pegtl libpng pugixml libtheora libtiff zlib
+ proj sqlite)
+optdepends=('gnuplot: plotting tools'
+'graphviz: drawing tools'
+'java-runtime: java bindings'
+'python: python bindings'
+'python-mpi4py: OpenMPI python support'
+'python-matplotlib: for Matplotlib rendering'
+'openmpi: OpenMPI support'
+'qt5-x11extras'
+'qt5-webkit: WebKit support'
+'tk: tcl bindings'
+ffmpeg
+gdal
+glew
+hdf5
+jsoncpp
+lz4
+netcdf
+pdal
+pugixml
+proj
+sqlite
+unixodbc)
+source=("${url}/files/release/${pkgver%.*}/VTK-${pkgver}.tar.gz"
+"${url}/files/release/${pkgver%.*}/VTKData-${pkgver}.tar.gz"
+"${url}/files/release/${pkgver%.*}/VTKLargeData-${pkgver}.tar.gz"
+proj6.patch)
+options=(staticlibs)
+sha512sums=('521bd4dabedbc24b0e80a314a34ecd7554b04af28a7973245e3a9cf99a09b995d1b8ac42305c8e53369f226a0a6da3cdb29105ba2c90b46492736ef717760286'
+
'517d0f6dfdb0c61f59df933f06d3a28c8a48ea684aaff311456213fe493e2a20128886144325fc4edfa376b2d375a2dae6c60ad6e3d5d2f4a7b0ac1d8545c87b'
+
'8a7ea3d5870b1e4ccb31c77b4c270d00208349da1b2938e957210db3ec1449b678c66edc2faee1d4514aca6d725f642abc91e10ab0c151f6743cad1c53485588'
+
'bd095a848c198752307d6924eaa46d07af4fbbba70f4665e10c8b5dd8d2a84cb6d9ea6c25705463a6c054c5afa5af4c68030ad90d37953672c0fc609eaf24b07')
+
+prepare() {
+  mkdir build
+  cd VTK-${pkgver}
+
+  # Fix build with proj 6.0
+  patch -Np1 -i ../proj6.patch
+
+  # Fix build with Java 12
+  sed -i 's/VTK_JAVA_SOURCE_VERSION "1.6"/VTK_JAVA_SOURCE_VERSION "1.7"/
+  s/VTK_JAVA_TARGET_VERSION "1.6"/VTK_JAVA_TARGET_VERSION "1.7"/' 
Wrapping/Java/CMakeLists.txt
+}
+
+build() {
+  cd build
+
+  # to help cmake find java
+  export JAVA_HOME=/usr/lib/jvm/default
+
+  # GL2PS blocked by http://www.vtk.org/Bug/view.php?id=16083
+  # LIBHARU blocked by https://github.com/libharu/libharu/pull/157
+  # exodusII,kissfft,verdict,VPIC,xdmf2/3,zfp not packaged in Arch
+  # Note: VTK explicitly disables system GLEW dependency, it uses embedded 
sources with modifications
+  local VTK_USE_SYSTEM_LIB=""
+  # Common with ParaView
+  for lib in DOUBLECONVERSION EIGEN EXPAT FREETYPE GLEW HDF5 JPEG JSONCPP 
LIBXML2 LZ4 LZMA MPI4PY NETCDF OGG PEGTL PNG PUGIXML THEORA TIFF ZLIB; do
+VTK_USE_SYSTEM_LIB+="-DVTK_USE_SYSTEM_${lib}=ON "
+  done
+  for lib in LIBPROJ SQLITE; do
+VTK_USE_SYSTEM_LIB+="-DVTK_USE_SYSTEM_${lib}=ON "
+  done
+
+  local _tkver=$(echo 'puts $tcl_version' | tclsh)
+
+  cmake ../VTK-${pkgver} \
+-Wno-dev \
+-DCMAKE_SKIP_RPATH=ON 

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

2019-06-23 Thread Balló György via arch-commits
Date: Sunday, June 23, 2019 @ 22:25:42
  Author: bgyorgy
Revision: 483336

archrelease: copy trunk to community-staging-x86_64

Added:
  vtk/repos/community-staging-x86_64/
  vtk/repos/community-staging-x86_64/.contrib
(from rev 483335, vtk/trunk/.contrib)
  vtk/repos/community-staging-x86_64/PKGBUILD
(from rev 483335, vtk/trunk/PKGBUILD)
  vtk/repos/community-staging-x86_64/proj6.patch
(from rev 483335, vtk/trunk/proj6.patch)

-+
 .contrib|6 ++
 PKGBUILD|  132 ++
 proj6.patch |  110 
 3 files changed, 248 insertions(+)

Copied: vtk/repos/community-staging-x86_64/.contrib (from rev 483335, 
vtk/trunk/.contrib)
===
--- community-staging-x86_64/.contrib   (rev 0)
+++ community-staging-x86_64/.contrib   2019-06-23 22:25:42 UTC (rev 483336)
@@ -0,0 +1,6 @@
+# Contributor: Christofer Bertonha 
+# Contributor: leepesjee 
+# Contributor: Olivier Medoc
+# Contributor: ignotus
+# Contributor: Fabian Moser
+# Contributor: djscholl

Copied: vtk/repos/community-staging-x86_64/PKGBUILD (from rev 483335, 
vtk/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-06-23 22:25:42 UTC (rev 483336)
@@ -0,0 +1,132 @@
+# Maintainer: Evgeniy Alekseev 
+# Maintainer: Bruno Pagani 
+# Contributor: Ray Rashif 
+# Contributor: Andrzej Giniewicz 
+# Contributor: Thomas Dziedzic 
+
+pkgname=vtk
+pkgver=8.2.0
+pkgrel=4
+pkgdesc="A software system for 3D computer graphics, image processing, and 
visualization"
+arch=('x86_64')
+url="https://www.vtk.org/;
+license=('BSD')
+depends=('gcc-libs' 'double-conversion')
+makedepends=('cmake' 'boost' 'doxygen' 'ffmpeg' 'gdal' 'gnuplot'
+ 'java-environment' 'openmpi' 'python-matplotlib' 'qt5-base'
+ 'qt5-tools' 'qt5-webkit' 'qt5-x11extras' 'tk' 'unixodbc' 'wget'
+ 'double-conversion' 'eigen' 'expat' 'freetype2' 'glew' 'hdf5'
+ 'libjpeg' 'jsoncpp' 'libxml2' 'lz4' 'xz' 'python-mpi4py' 'netcdf'
+ 'libogg' 'pegtl' 'libpng' 'pugixml' 'libtheora' 'libtiff' 'zlib'
+ 'proj' 'sqlite')
+optdepends=('gnuplot: plotting tools'
+'graphviz: drawing tools'
+'java-runtime: java bindings'
+'python: python bindings'
+'python-mpi4py: OpenMPI python support'
+'python-matplotlib: for Matplotlib rendering'
+'openmpi: OpenMPI support'
+'qt5-x11extras'
+'qt5-webkit: WebKit support'
+'tk: tcl bindings'
+'ffmpeg'
+'gdal'
+'glew'
+'hdf5'
+'jsoncpp'
+'lz4'
+'netcdf'
+'pugixml'
+'proj'
+'sqlite'
+'unixodbc')
+source=("${url}/files/release/${pkgver%.*}/VTK-${pkgver}.tar.gz"
+"${url}/files/release/${pkgver%.*}/VTKData-${pkgver}.tar.gz"
+"${url}/files/release/${pkgver%.*}/VTKLargeData-${pkgver}.tar.gz"
+proj6.patch)
+options=(staticlibs)
+sha512sums=('521bd4dabedbc24b0e80a314a34ecd7554b04af28a7973245e3a9cf99a09b995d1b8ac42305c8e53369f226a0a6da3cdb29105ba2c90b46492736ef717760286'
+
'517d0f6dfdb0c61f59df933f06d3a28c8a48ea684aaff311456213fe493e2a20128886144325fc4edfa376b2d375a2dae6c60ad6e3d5d2f4a7b0ac1d8545c87b'
+
'8a7ea3d5870b1e4ccb31c77b4c270d00208349da1b2938e957210db3ec1449b678c66edc2faee1d4514aca6d725f642abc91e10ab0c151f6743cad1c53485588'
+
'bd095a848c198752307d6924eaa46d07af4fbbba70f4665e10c8b5dd8d2a84cb6d9ea6c25705463a6c054c5afa5af4c68030ad90d37953672c0fc609eaf24b07')
+
+prepare() {
+  mkdir build
+  cd VTK-${pkgver}
+
+  # Fix build with proj 6.0
+  patch -Np1 -i ../proj6.patch
+
+  # Fix build with Java 12
+  sed -i 's/VTK_JAVA_SOURCE_VERSION "1.6"/VTK_JAVA_SOURCE_VERSION "1.7"/
+  s/VTK_JAVA_TARGET_VERSION "1.6"/VTK_JAVA_TARGET_VERSION "1.7"/' 
Wrapping/Java/CMakeLists.txt
+}
+
+build() {
+  cd build
+
+  # to help cmake find java
+  export JAVA_HOME=/usr/lib/jvm/default
+
+  # GL2PS blocked by http://www.vtk.org/Bug/view.php?id=16083
+  # LIBHARU blocked by https://github.com/libharu/libharu/pull/157
+  # exodusII,kissfft,verdict,VPIC,xdmf2/3,zfp not packaged in Arch
+  # Note: VTK explicitly disables system GLEW dependency, it uses embedded 
sources with modifications
+  local VTK_USE_SYSTEM_LIB=""
+  # Common with ParaView
+  for lib in DOUBLECONVERSION EIGEN EXPAT FREETYPE GLEW HDF5 JPEG JSONCPP 
LIBXML2 LZ4 LZMA MPI4PY NETCDF OGG PEGTL PNG PUGIXML THEORA TIFF ZLIB; do
+VTK_USE_SYSTEM_LIB+="-DVTK_USE_SYSTEM_${lib}=ON "
+  done
+  for lib in LIBPROJ SQLITE; do
+VTK_USE_SYSTEM_LIB+="-DVTK_USE_SYSTEM_${lib}=ON "
+  done
+
+  local _tkver=$(echo 'puts $tcl_version' |