From 11c589a41b51c77ecd8b5637a6348357d5975a2f Mon Sep 17 00:00:00 2001 From: Piraty Date: Wed, 28 Feb 2018 13:43:32 +0100 Subject: [PATCH] New package: vtk-8.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: #11993 [via git-merge-pr] Signed-off-by: Jürgen Buchmüller --- common/shlibs | 102 +++++++++++++++++++++++++++++++++++++++++++ srcpkgs/vtk-devel | 1 + srcpkgs/vtk/template | 50 +++++++++++++++++++++ 3 files changed, 153 insertions(+) create mode 120000 srcpkgs/vtk-devel create mode 100644 srcpkgs/vtk/template diff --git a/common/shlibs b/common/shlibs index 540eb77bbfd..dc9965daaed 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3111,6 +3111,108 @@ libgnuradio-audio-3.7.12git.so.0.0.0 gnuradio-3.7.12git_1 libgnuradio-noaa-3.7.12git.so.0.0.0 gnuradio-3.7.12git_1 libflann_cpp.so.1.9 flann-1.9.1_1 libflann.so.1.9 flann-1.9.1_1 +libvtksys-8.1.so.1 vtk-8.1.0_1 +libvtkCommonCore-8.1.so.1 vtk-8.1.0_1 +libvtkCommonMath-8.1.so.1 vtk-8.1.0_1 +libvtkCommonMisc-8.1.so.1 vtk-8.1.0_1 +libvtkCommonSystem-8.1.so.1 vtk-8.1.0_1 +libvtkCommonTransforms-8.1.so.1 vtk-8.1.0_1 +libvtkCommonDataModel-8.1.so.1 vtk-8.1.0_1 +libvtkCommonColor-8.1.so.1 vtk-8.1.0_1 +libvtkCommonExecutionModel-8.1.so.1 vtk-8.1.0_1 +libvtkCommonComputationalGeometry-8.1.so.1 vtk-8.1.0_1 +libvtkFiltersCore-8.1.so.1 vtk-8.1.0_1 +libvtkFiltersGeneral-8.1.so.1 vtk-8.1.0_1 +libvtkImagingCore-8.1.so.1 vtk-8.1.0_1 +libvtkImagingFourier-8.1.so.1 vtk-8.1.0_1 +libvtkalglib-8.1.so.1 vtk-8.1.0_1 +libvtkFiltersStatistics-8.1.so.1 vtk-8.1.0_1 +libvtkFiltersExtraction-8.1.so.1 vtk-8.1.0_1 +libvtkInfovisCore-8.1.so.1 vtk-8.1.0_1 +libvtkFiltersGeometry-8.1.so.1 vtk-8.1.0_1 +libvtkFiltersSources-8.1.so.1 vtk-8.1.0_1 +libvtkRenderingCore-8.1.so.1 vtk-8.1.0_1 +libvtkRenderingFreeType-8.1.so.1 vtk-8.1.0_1 +libvtkRenderingContext2D-8.1.so.1 vtk-8.1.0_1 +libvtkChartsCore-8.1.so.1 vtk-8.1.0_1 +libvtkDICOMParser-8.1.so.1 vtk-8.1.0_1 +libvtkIOCore-8.1.so.1 vtk-8.1.0_1 +libvtkIOLegacy-8.1.so.1 vtk-8.1.0_1 +libvtkIOXMLParser-8.1.so.1 vtk-8.1.0_1 +libvtkDomainsChemistry-8.1.so.1 vtk-8.1.0_1 +libvtkglew-8.1.so.1 vtk-8.1.0_1 +libvtkRenderingOpenGL2-8.1.so.1 vtk-8.1.0_1 +libvtkDomainsChemistryOpenGL2-8.1.so.1 vtk-8.1.0_1 +libvtkIOXML-8.1.so.1 vtk-8.1.0_1 +libvtkParallelCore-8.1.so.1 vtk-8.1.0_1 +libvtkFiltersAMR-8.1.so.1 vtk-8.1.0_1 +libvtkFiltersFlowPaths-8.1.so.1 vtk-8.1.0_1 +libvtkFiltersGeneric-8.1.so.1 vtk-8.1.0_1 +libvtkImagingSources-8.1.so.1 vtk-8.1.0_1 +libvtkFiltersHybrid-8.1.so.1 vtk-8.1.0_1 +libvtkFiltersHyperTree-8.1.so.1 vtk-8.1.0_1 +libvtkImagingGeneral-8.1.so.1 vtk-8.1.0_1 +libvtkFiltersImaging-8.1.so.1 vtk-8.1.0_1 +libvtkFiltersModeling-8.1.so.1 vtk-8.1.0_1 +libvtkFiltersParallel-8.1.so.1 vtk-8.1.0_1 +libvtkFiltersParallelImaging-8.1.so.1 vtk-8.1.0_1 +libvtkFiltersPoints-8.1.so.1 vtk-8.1.0_1 +libvtkFiltersProgrammable-8.1.so.1 vtk-8.1.0_1 +libvtkFiltersSMP-8.1.so.1 vtk-8.1.0_1 +libvtkFiltersSelection-8.1.so.1 vtk-8.1.0_1 +libvtkFiltersTexture-8.1.so.1 vtk-8.1.0_1 +libvtkFiltersTopology-8.1.so.1 vtk-8.1.0_1 +libvtkverdict-8.1.so.1 vtk-8.1.0_1 +libvtkFiltersVerdict-8.1.so.1 vtk-8.1.0_1 +libvtkmetaio-8.1.so.1 vtk-8.1.0_1 +libvtkIOImage-8.1.so.1 vtk-8.1.0_1 +libvtkImagingHybrid-8.1.so.1 vtk-8.1.0_1 +libvtkInfovisLayout-8.1.so.1 vtk-8.1.0_1 +libvtkInteractionStyle-8.1.so.1 vtk-8.1.0_1 +libvtkImagingColor-8.1.so.1 vtk-8.1.0_1 +libvtkRenderingAnnotation-8.1.so.1 vtk-8.1.0_1 +libvtkRenderingVolume-8.1.so.1 vtk-8.1.0_1 +libvtkInteractionWidgets-8.1.so.1 vtk-8.1.0_1 +libvtkViewsCore-8.1.so.1 vtk-8.1.0_1 +libvtkGeovisCore-8.1.so.1 vtk-8.1.0_1 +libvtkIOAMR-8.1.so.1 vtk-8.1.0_1 +libvtkIOEnSight-8.1.so.1 vtk-8.1.0_1 +libvtkexoIIc-8.1.so.1 vtk-8.1.0_1 +libvtkIOExodus-8.1.so.1 vtk-8.1.0_1 +libvtkgl2ps-8.1.so.1 vtk-8.1.0_1 +libvtkRenderingGL2PSOpenGL2-8.1.so.1 vtk-8.1.0_1 +libvtklibharu-8.1.so.1 vtk-8.1.0_1 +libvtkIOExport-8.1.so.1 vtk-8.1.0_1 +libvtkIOExportOpenGL2-8.1.so.1 vtk-8.1.0_1 +libvtkIOGeometry-8.1.so.1 vtk-8.1.0_1 +libvtkIOImport-8.1.so.1 vtk-8.1.0_1 +libvtkIOInfovis-8.1.so.1 vtk-8.1.0_1 +libvtkIOLSDyna-8.1.so.1 vtk-8.1.0_1 +libvtkIOMINC-8.1.so.1 vtk-8.1.0_1 +libvtknetcdfcpp-8.1.so.1 vtk-8.1.0_1 +libvtkIONetCDF-8.1.so.1 vtk-8.1.0_1 +libvtkIOParallel-8.1.so.1 vtk-8.1.0_1 +libvtkParallelMPI-8.1.so.1 vtk-8.1.0_1 +libvtkIOMPIParallel-8.1.so.1 vtk-8.1.0_1 +libvtkIOMovie-8.1.so.1 vtk-8.1.0_1 +libvtkIOPLY-8.1.so.1 vtk-8.1.0_1 +libvtkIOParallelXML-8.1.so.1 vtk-8.1.0_1 +libvtksqlite-8.1.so.1 vtk-8.1.0_1 +libvtkIOSQL-8.1.so.1 vtk-8.1.0_1 +libvtkIOTecplotTable-8.1.so.1 vtk-8.1.0_1 +libvtkIOVideo-8.1.so.1 vtk-8.1.0_1 +libvtkImagingMath-8.1.so.1 vtk-8.1.0_1 +libvtkImagingMorphological-8.1.so.1 vtk-8.1.0_1 +libvtkImagingStatistics-8.1.so.1 vtk-8.1.0_1 +libvtkImagingStencil-8.1.so.1 vtk-8.1.0_1 +libvtkInteractionImage-8.1.so.1 vtk-8.1.0_1 +libvtkRenderingContextOpenGL2-8.1.so.1 vtk-8.1.0_1 +libvtkRenderingImage-8.1.so.1 vtk-8.1.0_1 +libvtkRenderingLOD-8.1.so.1 vtk-8.1.0_1 +libvtkRenderingLabel-8.1.so.1 vtk-8.1.0_1 +libvtkRenderingVolumeOpenGL2-8.1.so.1 vtk-8.1.0_1 +libvtkViewsContext2D-8.1.so.1 vtk-8.1.0_1 +libvtkViewsInfovis-8.1.so.1 vtk-8.1.0_1 libvolume_key.so.1 volume_key-0.3.9_1 libwayland-egl++.so.0.2 libwaylandpp-2.2.0_1 libwayland-client++.so.0.2 libwaylandpp-2.2.0_1 diff --git a/srcpkgs/vtk-devel b/srcpkgs/vtk-devel new file mode 120000 index 00000000000..02df7ecef8f --- /dev/null +++ b/srcpkgs/vtk-devel @@ -0,0 +1 @@ +vtk \ No newline at end of file diff --git a/srcpkgs/vtk/template b/srcpkgs/vtk/template new file mode 100644 index 00000000000..c21e0d86699 --- /dev/null +++ b/srcpkgs/vtk/template @@ -0,0 +1,50 @@ +# Template file for 'vtk' +# +# vtk can be huge, especially with -DVTK_BUILD_ALL_MODULES=ON" or qt5 +# Here only the bare minimum set of modules for freecad is enabled +pkgname=vtk +version=8.1.0 +revision=1 +wrksrc=VTK-${version} +build_style=cmake +configure_args="-DBUILD_SHARED_LIBS=ON -DVTK_USE_SYSTEM_LIBRARIES=ON +-DVTK_Group_StandAlone=ON +-DModule_vtkIOMPIParallel=ON +-DModule_vtkParallelMPI=ON" + +# vtk needs specific libharu patches, so use built-in. +# https://github.com/libharu/libharu/pull/157 +configure_args+=" -DVTK_USE_SYSTEM_LIBHARU=OFF" + +# fails, so use built-in +configure_args+=" -DVTK_USE_SYSTEM_NETCDFCPP=OFF" + +# may be disabled when gl2ps > 1.4.0 is available +# vtk relies on gl2psTextOptColorBL(), which is not yet in a realeased gl2ps +configure_args+=" -DVTK_USE_SYSTEM_GL2PS=OFF" + +makedepends="zlib-devel freetype-devel lz4-devel expat-devel MesaLib-devel +libXt-devel libjpeg-turbo-devel tiff-devel proj-devel hdf5-devel netcdf-devel +gl2ps-devel libxml2-devel jsoncpp-devel openmpi-devel libogg-devel +libtheora-devel" + +short_desc="System for 3D computer graphics, image processing, and visualization" +maintainer="Piraty " +license="3-clause-BSD" +homepage="https://www.vtk.org" +distfiles="https://www.vtk.org/files/release/${version:0:3}/VTK-${version}.tar.gz" +checksum=6e269f07b64fb13774f5925161fb4e1f379f4e6a0131c8408c555f6b58ef3cb7 + +post_install() { + vlicense Copyright.txt +} + +vtk-devel_package() { + short_desc+=" - development files" + depends="${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove usr/lib/*.so + vmove usr/lib/cmake + } +}