pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/vtk Update vtk to 9.0.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5eb8175ad6ed
branches:  trunk
changeset: 451994:5eb8175ad6ed
user:      prlw1 <prlw1%pkgsrc.org@localhost>
date:      Tue May 04 14:48:34 2021 +0000

description:
Update vtk to 9.0.1

18 years of updates. In memory of Matthias Drochner.

diffstat:

 graphics/vtk/DESCR                                                                     |    20 +-
 graphics/vtk/Makefile                                                                  |    71 +-
 graphics/vtk/Makefile.common                                                           |    15 -
 graphics/vtk/Makefile.vtkdist                                                          |    37 -
 graphics/vtk/PLIST                                                                     |  3909 +++++++--
 graphics/vtk/buildlink3.mk                                                             |    28 +-
 graphics/vtk/distinfo                                                                  |    20 +-
 graphics/vtk/patches/patch-Rendering_FreeTypeFontConfig_vtkFontConfigFreeTypeTools.cxx |    16 +
 graphics/vtk/patches/patch-Rendering_FreeType_vtkFreeTypeTools.cxx                     |    16 +
 graphics/vtk/patches/patch-Utilities_ftgl_src_FTGL.h                                   |    20 -
 graphics/vtk/patches/patch-aa                                                          |    44 -
 graphics/vtk/patches/patch-ab                                                          |    58 -
 graphics/vtk/patches/patch-ac                                                          |    13 -
 graphics/vtk/patches/patch-ad                                                          |    13 -
 graphics/vtk/patches/patch-ae                                                          |    13 -
 graphics/vtk/patches/patch-af                                                          |    13 -
 graphics/vtk/patches/patch-ag                                                          |    46 -
 17 files changed, 3221 insertions(+), 1131 deletions(-)

diffs (truncated from 4436 to 300 lines):

diff -r 8812d69225a3 -r 5eb8175ad6ed graphics/vtk/DESCR
--- a/graphics/vtk/DESCR        Tue May 04 14:42:20 2021 +0000
+++ b/graphics/vtk/DESCR        Tue May 04 14:48:34 2021 +0000
@@ -1,15 +1,5 @@
-The Visualization ToolKit (VTK) is an open source, freely available software
-system for 3D computer graphics, image processing, and visualization used by
-thousands of researchers and developers around the world. VTK consists of a
-C++ class library, and several interpreted interface layers including
-Tcl/Tk, Java, and Python. Professional support and products for VTK are
-provided by Kitware, Inc. VTK supports a wide variety of visualization
-algorithms including scalar, vector, tensor, texture, and volumetric
-methods; and advanced modeling techniques such as implicit modelling,
-polygon reduction, mesh smoothing, cutting, contouring, and Delaunay
-triangulation. In addition, dozens of imaging algorithms have been directly
-integrated to allow the user to mix 2D imaging / 3D graphics algorithms and
-data. The design and implementation of the library has been strongly
-influenced by object-oriented principles. VTK has been installed and tested
-on nearly every Unix-based platform, PCs (Windows 98/ME/NT/2000/XP), and Mac
-OSX Jaguar or later.
+VTK is an open-source software system for image processing, 3D
+graphics, volume rendering and visualization. VTK includes many
+advanced algorithms (e.g., surface reconstruction, implicit modeling,
+decimation) and rendering techniques (e.g., hardware-accelerated
+volume rendering, LOD control).
diff -r 8812d69225a3 -r 5eb8175ad6ed graphics/vtk/Makefile
--- a/graphics/vtk/Makefile     Tue May 04 14:42:20 2021 +0000
+++ b/graphics/vtk/Makefile     Tue May 04 14:48:34 2021 +0000
@@ -1,14 +1,67 @@
-# $NetBSD: Makefile,v 1.13 2015/04/25 14:23:20 tnn Exp $
-#
+# $NetBSD: Makefile,v 1.14 2021/05/04 14:48:34 prlw1 Exp $
 
-PKGNAME=       vtk-${VTKDIST_VERSION}
-PKGREVISION=   6
+DISTNAME=      VTK-9.0.1
+PKGNAME=       ${DISTNAME:S/VTK/vtk/}
+CATEGORIES=    graphics
+MASTER_SITES=  https://www.vtk.org/files/release/9.0/
 
+MAINTAINER=    prlw1%cam.ac.uk@localhost
+HOMEPAGE=      https://vtk.org/
 COMMENT=       Visualization toolkit
+LICENSE=       modified-bsd
 
-.include "../../devel/cmake/buildlink3.mk"
-.include "../../graphics/MesaLib/buildlink3.mk"
-.include "../../graphics/glu/buildlink3.mk"
-.include "../../x11/libXt/buildlink3.mk"
-.include "../../graphics/vtk/Makefile.vtkdist"
+USE_CMAKE=     yes
+USE_LANGUAGES= c c++11
+
+CONFIGURE_DIRS=        build
+CMAKE_ARG_PATH=        ..
+CMAKE_ARGS+=   -DCMAKE_BUILD_TYPE=Release
+
+
+MAKE_ENV+=     LD_LIBRARY_PATH=${WRKSRC}/build/lib
+#MAKE_ENV+=    CPPFLAGS=-I/usr/pkg/include
+
+post-extract:
+       mkdir ${WRKSRC}/build
+
+BUILD_DEPENDS= ninja-build-[0-9]*:../../devel/ninja-build
+
+CMAKE_ARGS+=   -DVTK_LEGACY_REMOVE=ON
+CMAKE_ARGS+=   -DVTK_USE_MPI=OFF
+CMAKE_ARGS+=   -DVTK_USE_CUDA=OFF
+CMAKE_ARGS+=   -DVTK_ENABLE_LOGGING=OFF
+CMAKE_ARGS+=   -DVTK_BUILD_ALL_MODULES=OFF
+CMAKE_ARGS+=   -DVTK_ENABLE_REMOTE_MODULES=OFF
+CMAKE_ARGS+=   -DVTK_ENABLE_KITS=OFF
+CMAKE_ARGS+=   -DVTK_USE_EXTERNAL=ON
+CMAKE_ARGS+=   -DVTK_USE_TK=OFF
+CMAKE_ARGS+=   -DVTK_ENABLE_WRAPPING=OFF
+CMAKE_ARGS+=   -DVTK_WRAP_PYTHON=OFF
+CMAKE_ARGS+=   -DVTK_WRAP_JAVA=OFF
+CMAKE_ARGS+=   -DVTK_FORBID_DOWNLOADS=ON
+# https://discourse.vtk.org/t/9-0-0-rc1-contextopengl2-not-built/2933
+CMAKE_ARGS+=   -DVTK_MODULE_ENABLE_VTK_RenderingContextOpenGL2=YES
+
+.include "../../archivers/lz4/buildlink3.mk"
+.include "../../databases/sqlite3/buildlink3.mk"
+.include "../../devel/hdf5/buildlink3.mk"
+#.include "../../devel/loguru/buildlink3.mk"
+.include "../../devel/netcdf-cxx/buildlink3.mk"
+.include "../../geography/proj/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../graphics/gl2ps/buildlink3.mk"
+.include "../../graphics/glew/buildlink3.mk"
+.include "../../graphics/tiff/buildlink3.mk"
+.include "../../math/double-conversion/buildlink3.mk"
+.include "../../math/eigen3/buildlink3.mk"
+.include "../../mk/jpeg.buildlink3.mk"
+.include "../../multimedia/libtheora/buildlink3.mk"
+.include "../../print/libharu/buildlink3.mk"
+.include "../../textproc/PEGTL/buildlink3.mk"
+.include "../../textproc/expat/buildlink3.mk"
+.include "../../textproc/icu/buildlink3.mk"
+.include "../../textproc/jsoncpp/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../textproc/pugixml/buildlink3.mk"
+.include "../../textproc/utf8-cpp/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 8812d69225a3 -r 5eb8175ad6ed graphics/vtk/Makefile.common
--- a/graphics/vtk/Makefile.common      Tue May 04 14:42:20 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-# $NetBSD: Makefile.common,v 1.7 2018/07/18 00:06:19 joerg Exp $
-#
-# used by graphics/vtk/Makefile.vtkdist
-# used by graphics/vtk-docs/Makefile
-# used by graphics/vtk-data/Makefile
-
-VTK_VERSION=           4.2
-
-CATEGORIES=            graphics
-MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=              http://www.vtk.org/
-
-USE_LANGUAGES=         c c++03
-
-MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=vtk/}
diff -r 8812d69225a3 -r 5eb8175ad6ed graphics/vtk/Makefile.vtkdist
--- a/graphics/vtk/Makefile.vtkdist     Tue May 04 14:42:20 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,37 +0,0 @@
-# $NetBSD: Makefile.vtkdist,v 1.11 2019/11/02 22:38:05 rillig Exp $
-
-.include "../../graphics/vtk/Makefile.common"
-
-# they change minor releases w/o changing distfile names
-VTKDIST_VERSION=       4.2.6
-DISTNAME=              VTK-4.2-LatestRelease
-DIST_SUBDIR=           VTK-4.2.6
-WRKSRC=                        ${WRKDIR}/VTK
-
-DISTINFO_FILE=         ${.CURDIR}/../vtk/distinfo
-PATCHDIR=              ${.CURDIR}/../vtk/patches
-
-VTK_LIBDIR=    ${PREFIX}/lib/vtk
-
-VTK_CMAKE_OPT+=        -DCMAKE_INSTALL_PREFIX:STRING=${PREFIX:Q} \
-       -DCMAKE_INSTALL_RPATH:STRING=${PREFIX:Q}/lib:${X11BASE:Q}/lib${LIBABISUFFIX:Q}:${VTK_LIBDIR:Q} \
-       -DCMAKE_SKIP_BUILD_RPATH:BOOL=ON \
-       -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON \
-       -DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=ON \
-       -DVTK_USE_HYBRID:BOOL=ON
-
-SUBST_CLASSES+=                fixwrap
-SUBST_STAGE.fixwrap=   post-build
-SUBST_FILES.fixwrap=   vtkConfigure.h
-SUBST_SED.fixwrap=     -e "s,${WRAPPER_BINDIR}/c++,${CXXPATH},g"
-
-do-configure:
-       cd ${WRKSRC} && cmake . ${VTK_CMAKE_OPT}
-
-.include "../../mk/bsd.prefs.mk"
-
-.if ${MACHINE_ARCH} != "mips" || ${MACHINE_ARCH} != "vax"
-VTK_CMAKE_OPT+=                -DBUILD_SHARED_LIBS:BOOL=ON
-.endif
-
-.include "../../devel/cmake/buildlink3.mk"
diff -r 8812d69225a3 -r 5eb8175ad6ed graphics/vtk/PLIST
--- a/graphics/vtk/PLIST        Tue May 04 14:42:20 2021 +0000
+++ b/graphics/vtk/PLIST        Tue May 04 14:48:34 2021 +0000
@@ -1,814 +1,3095 @@
-@comment $NetBSD: PLIST,v 1.3 2009/06/14 17:59:30 joerg Exp $
-include/vtk/expat.h
-include/vtk/expatDllConfig.h
-include/vtk/png.h
-include/vtk/pngDllConfig.h
-include/vtk/pngconf.h
-include/vtk/tconf.h
-include/vtk/tiff.h
-include/vtk/tiffDllConfig.h
-include/vtk/tiffio.h
-include/vtk/tiffvers.h
-include/vtk/vtk3DS.h
-include/vtk/vtk3DSImporter.h
-include/vtk/vtk3DWidget.h
-include/vtk/vtkAbstractMapper.h
-include/vtk/vtkAbstractMapper3D.h
-include/vtk/vtkAbstractPicker.h
-include/vtk/vtkAbstractPropPicker.h
-include/vtk/vtkAbstractTransform.h
-include/vtk/vtkActor.h
-include/vtk/vtkActor2D.h
-include/vtk/vtkActor2DCollection.h
-include/vtk/vtkActorCollection.h
-include/vtk/vtkAmoebaMinimizer.h
-include/vtk/vtkAppendFilter.h
-include/vtk/vtkAppendPolyData.h
-include/vtk/vtkApproximatingSubdivisionFilter.h
-include/vtk/vtkArcPlotter.h
-include/vtk/vtkArrayCalculator.h
-include/vtk/vtkArrowSource.h
-include/vtk/vtkAssembly.h
-include/vtk/vtkAssemblyNode.h
-include/vtk/vtkAssemblyPath.h
-include/vtk/vtkAssemblyPaths.h
-include/vtk/vtkAssignAttribute.h
-include/vtk/vtkAttributeDataToFieldDataFilter.h
-include/vtk/vtkAxes.h
-include/vtk/vtkAxisActor2D.h
-include/vtk/vtkBMPReader.h
-include/vtk/vtkBMPWriter.h
-include/vtk/vtkBYUReader.h
-include/vtk/vtkBYUWriter.h
-include/vtk/vtkBandedPolyDataContourFilter.h
-include/vtk/vtkBase64InputStream.h
-include/vtk/vtkBase64OutputStream.h
-include/vtk/vtkBase64Utilities.h
-include/vtk/vtkBitArray.h
-include/vtk/vtkBlankStructuredGrid.h
-include/vtk/vtkBlankStructuredGridWithImage.h
-include/vtk/vtkBooleanTexture.h
-include/vtk/vtkBoxWidget.h
-include/vtk/vtkBrownianPoints.h
-include/vtk/vtkButterflySubdivisionFilter.h
-include/vtk/vtkButtonSource.h
-include/vtk/vtkByteSwap.h
-include/vtk/vtkCallbackCommand.h
-include/vtk/vtkCamera.h
-include/vtk/vtkCaptionActor2D.h
-include/vtk/vtkCardinalSpline.h
-include/vtk/vtkCastToConcrete.h
-include/vtk/vtkCell.h
-include/vtk/vtkCell3D.h
-include/vtk/vtkCellArray.h
-include/vtk/vtkCellCenters.h
-include/vtk/vtkCellData.h
-include/vtk/vtkCellDataToPointData.h
-include/vtk/vtkCellDerivatives.h
-include/vtk/vtkCellLinks.h
-include/vtk/vtkCellLocator.h
-include/vtk/vtkCellPicker.h
-include/vtk/vtkCellType.h
-include/vtk/vtkCellTypes.h
-include/vtk/vtkCharArray.h
-include/vtk/vtkCleanPolyData.h
-include/vtk/vtkClipDataSet.h
-include/vtk/vtkClipPolyData.h
-include/vtk/vtkClipVolume.h
-include/vtk/vtkCollection.h
-include/vtk/vtkCollectionIterator.h
-include/vtk/vtkColorTransferFunction.h
-include/vtk/vtkCommand.h
-include/vtk/vtkCommonInstantiator.h
-include/vtk/vtkCone.h
-include/vtk/vtkConeSource.h
-include/vtk/vtkConfigure.h
-include/vtk/vtkConnectivityFilter.h
-include/vtk/vtkContourFilter.h
-include/vtk/vtkContourGrid.h
-include/vtk/vtkContourValues.h
-include/vtk/vtkConvexPointSet.h
-include/vtk/vtkCoordinate.h
-include/vtk/vtkCriticalSection.h
-include/vtk/vtkCubeAxesActor2D.h
-include/vtk/vtkCubeSource.h
-include/vtk/vtkCuller.h
-include/vtk/vtkCullerCollection.h
-include/vtk/vtkCursor3D.h
-include/vtk/vtkCurvatures.h
-include/vtk/vtkCutter.h
-include/vtk/vtkCylinder.h
-include/vtk/vtkCylinderSource.h
-include/vtk/vtkCylindricalTransform.h
-include/vtk/vtkDEMReader.h
-include/vtk/vtkDashedStreamLine.h
-include/vtk/vtkDataArray.h
-include/vtk/vtkDataArrayCollection.h
-include/vtk/vtkDataArrayCollectionIterator.h
-include/vtk/vtkDataArraySelection.h
-include/vtk/vtkDataCompressor.h
-include/vtk/vtkDataObject.h
-include/vtk/vtkDataObjectCollection.h
-include/vtk/vtkDataObjectReader.h
-include/vtk/vtkDataObjectSource.h
-include/vtk/vtkDataObjectToDataSetFilter.h
-include/vtk/vtkDataObjectWriter.h
-include/vtk/vtkDataReader.h
-include/vtk/vtkDataSet.h
-include/vtk/vtkDataSetAttributes.h
-include/vtk/vtkDataSetCollection.h
-include/vtk/vtkDataSetMapper.h
-include/vtk/vtkDataSetReader.h
-include/vtk/vtkDataSetSource.h
-include/vtk/vtkDataSetSurfaceFilter.h
-include/vtk/vtkDataSetToDataObjectFilter.h
-include/vtk/vtkDataSetToDataSetFilter.h
-include/vtk/vtkDataSetToImageFilter.h
-include/vtk/vtkDataSetToPolyDataFilter.h
-include/vtk/vtkDataSetToStructuredGridFilter.h
-include/vtk/vtkDataSetToStructuredPointsFilter.h
-include/vtk/vtkDataSetToUnstructuredGridFilter.h
-include/vtk/vtkDataSetTriangleFilter.h
-include/vtk/vtkDataSetWriter.h



Home | Main Index | Thread Index | Old Index