diff options
-rw-r--r-- | MOVED | 1 | ||||
-rw-r--r-- | math/Makefile | 1 | ||||
-rw-r--r-- | math/vtk8/Makefile | 130 | ||||
-rw-r--r-- | math/vtk8/distinfo | 3 | ||||
-rw-r--r-- | math/vtk8/files/patch-GUISupport_Qt_CMakeLists.txt | 28 | ||||
-rw-r--r-- | math/vtk8/files/patch-GUISupport_Qt_PluginInstall.cmake.in | 11 | ||||
-rw-r--r-- | math/vtk8/files/patch-Rendering_FreeType_vtkFreeTypeTools.cxx | 11 | ||||
-rw-r--r-- | math/vtk8/files/patch-Rendering_Qt_vtkQtLabelRenderStrategy.cxx | 10 | ||||
-rw-r--r-- | math/vtk8/files/patch-Rendering_Qt_vtkQtStringToImage.cxx | 10 | ||||
-rw-r--r-- | math/vtk8/files/patch-ThirdParty_libproj_vtklibproj_src_pj__mutex.c | 11 | ||||
-rw-r--r-- | math/vtk8/files/patch-ThirdParty_verdict_vtkverdict_CMakeLists.txt | 25 | ||||
-rw-r--r-- | math/vtk8/files/patch-git_a9079bd | 44 | ||||
-rw-r--r-- | math/vtk8/pkg-descr | 12 |
13 files changed, 1 insertions, 296 deletions
@@ -4805,4 +4805,5 @@ games/xqf||2025-10-14|Has expired: Fails to build games/galaxyhack||2025-10-14|Has expired: Fails to build with boost-1.85+ x11-fm/fsv2||2025-10-14|Has expired: does not configure: No fonts installed on the system deskutils/gnome-shell-extension-openweather||2025-10-14|Has expired: Superseded by deskutils/gnome-shell-extension-simple-weather +math/vtk8|math/vtk9|2025-10-14|Last user switched to math/vtk9 security/iddawc||2025-10-14|Has expired: Upstream repo archived on Nov 11, 2024 diff --git a/math/Makefile b/math/Makefile index c53eb5072daf..46cf7c505339 100644 --- a/math/Makefile +++ b/math/Makefile @@ -1294,7 +1294,6 @@ SUBDIR += vinci SUBDIR += visualpolylib SUBDIR += vowpal_wabbit - SUBDIR += vtk8 SUBDIR += vtk9 SUBDIR += wavelib SUBDIR += wcalc diff --git a/math/vtk8/Makefile b/math/vtk8/Makefile deleted file mode 100644 index 06d0030f5f76..000000000000 --- a/math/vtk8/Makefile +++ /dev/null @@ -1,130 +0,0 @@ -PORTNAME= vtk -DISTVERSION= 8.2.0 # it has only one consumer that is possibly dead upstream but is still compiling fine -PORTREVISION= 6 -CATEGORIES= math graphics -MASTER_SITES= http://www.vtk.org/files/release/${VTK_SHORT_VER}/ -PKGNAMESUFFIX= 8 -DISTNAME= ${PORTNAME:tu}-${PORTVERSION} - -MAINTAINER= yuri@FreeBSD.org -COMMENT= Visualization toolkit -WWW= https://www.vtk.org - -LICENSE= BSD3CLAUSE - -BROKEN_FreeBSD_13= complation fails: error: no member named 'derived' in 'Transpose<TranspositionsBase<type-parameter-0-0>>' -BROKEN_FreeBSD_15= complation fails: error: no member named 'derived' in 'Transpose<TranspositionsBase<type-parameter-0-0>>' - -LIB_DEPENDS= libtiff.so:graphics/tiff \ - libpng.so:graphics/png \ - libfreetype.so:print/freetype2 \ - libexpat.so:textproc/expat2 - -CONFLICTS= vtk9 - -USES= alias cmake compiler:c++11-lang gl jpeg localbase perl5 xorg -USE_LDCONFIG= ${PREFIX}/lib/vtk-${VTK_SHORT_VER} -USE_XORG= ice x11 xt xext sm - -CMAKE_ON= BUILD_SHARED_LIBS \ - VTK_INSTALL_NO_DOCUMENTATION VTK_USE_SYSTEM_EXPAT VTK_USE_SYSTEM_TIFF \ - VTK_USE_SYSTEM_PNG VTK_USE_SYSTEM_JPEG VTK_USE_SYSTEM_FREETYPE VTK_USE_SYSTEM_ZLIB \ - Module_vtkTestingCore Module_vtkTestingRendering -CMAKE_ARGS+= -DBUILD_EXAMPLES:BOOL=false \ - -DVTK_INSTALL_LIBRARY_DIR=lib/vtk-${VTK_SHORT_VER} \ - -DVTK_INSTALL_ARCHIVE_DIR=lib/vtk-${VTK_SHORT_VER} \ - -DVTK_INSTALL_QT_DIR=/${QT_LIBDIR_REL}/plugins/designer \ - -DSTAGEDIR=${STAGEDIR} - -VTK_SHORT_VER= ${PORTVERSION:R} - -DOCSDIR= ${PREFIX}/share/doc/vtk-${VTK_SHORT_VER} -DATADIR= ${PREFIX}/share/vtk-${VTK_SHORT_VER} - -# Options -OPTIONS_DEFINE= DESIGNER DOCS OSMESA QT5 -OPTIONS_DEFAULT= MPI QT5 -OSMESA_DESC= Use Mesa for off-screen rendering -DESIGNER_DESC= Build the Qt Designer plugin -OPTIONS_SUB= yes - -# Options groups -#VTK_GROUPS= Imaging MPI Qt Rendering StandAlone Views -VTK_GROUPS= MPI -VTK_WRAPS= JAVA TCLTK -OPTIONS_GROUP= GROUPS WRAPPING -OPTIONS_GROUP_GROUPS=${VTK_GROUPS} -OPTIONS_GROUP_WRAPPING=${VTK_WRAPS} -GROUPS_DESC= Groups -WRAPPING_DESC= Wrapping -.for g in ${VTK_GROUPS} -$g_DESC= Build the $g group -.endfor -.for w in ${VTK_WRAPS} -$w_DESC= $w wrapping -.endfor - -QT5_USES= qt:5 -QT5_USE= QT=core,gui,sql,uiplugin,widgets,x11extras,qmake:build,buildtools:build -QT5_CMAKE_ON= -DVTK_QT_VERSION:STRING="5" \ - -DCMAKE_PREFIX_PATH:STRING=${LOCALBASE}/lib/qt5 \ - -DVTK_Group_Qt:BOOL=ON - -DESIGNER_CMAKE_BOOL= QT_DESIGNER_PLUGIN -DESIGNER_USE= QT=designer -DESIGNER_IMPLIES= QT5 - -MPI_LIB_DEPENDS= libmpi_cxx.so:net/openmpi4 -MPI_CMAKE_ON= -DMPIEXEC=${LOCALBASE}/mpi/openmpi/bin/mpiexec - -OSMESA_CMAKE_ARGS= -DVTK_OPENGL_HAS_OSMESA:BOOL=ON \ - -DOSMESA_INCLUDE_DIR:PATH=${LOCALBASE}/include/Mesa \ - -DOSMESA_LIBRARY:FILEPATH=${LOCALBASE}/lib/libOSMesa.so \ - -DOPENGL_gl_LIBRARY:FILEPATH=${LOCALBASE}/lib/libOSMesa.so \ - -DVTK_USE_X:BOOL=OFF -OSMESA_LIB_DEPENDS= libOSMesa.so:graphics/libosmesa - -# Wrapping -JAVA_CATEGORIES= java -JAVA_USES= java -JAVA_CMAKE_BOOL= VTK_WRAP_JAVA Module_vtkWrappingJava -JAVA_CMAKE_ON= -DJAVA_INCLUDE_PATH:PATH=${JAVA_HOME}/include \ - -DJAVA_AWT_LIBRARY:PATH=${JAVA_HOME}/jre/lib/${ARCH}/libjawt.so \ - -DJAVA_JVM_LIBRARY:PATH=${JAVA_HOME}/jre/lib/${ATCH}/libjava.so - -TCLTK_USES= tk -TCLTK_CMAKE_BOOL= VTK_WRAP_TCL VTK_Group_Tk -TCLTK_CMAKE_ON= -DTCL_INCLUDE_PATH:PATH=${TCL_INCLUDEDIR} \ - -DTK_INCLUDE_PATH:PATH=${TK_INCLUDEDIR} \ - -DVTK_INSTALL_TCL_DIR=lib/vtk-${VTK_SHORT_VER} - -DOCS_CMAKE_BOOL= BUILD_DOCUMENTATION -DOCS_BUILD_DEPENDS= doxygen:devel/doxygen - -# Mangling so that it will build when science/netcdf is installed. -post-patch: - @${MV} ${WRKSRC}/ThirdParty/netcdf/vtknetcdf/include/netcdf.h \ - ${WRKSRC}/ThirdParty/netcdf/vtknetcdf/include/xxxnetcdf.h - @${FIND} ${WRKSRC}/ThirdParty/netcdf -type f | ${XARGS} ${REINPLACE_CMD} \ - -E 's/[[:<:]]netcdf\.h[[:>:]]/xxxnetcdf.h/' - -.include <bsd.port.options.mk> - -.for g in ${VTK_GROUPS} -. if ${PORT_OPTIONS:M${g}} -CMAKE_ARGS+= -DVTK_Group_${g}:BOOL=ON -. else -CMAKE_ARGS+= -DVTK_Group_${g}:BOOL=OFF -. endif -.endfor - -.if !${PORT_OPTIONS:MOSMESA} -USES+= gl -USE_GL= gl glu -.endif - -post-install: # autoplist: thousands of files, complex dependencies on options - @cd ${STAGEDIR}${PREFIX} && \ - ${FIND} * -type f -or -type l >> ${TMPPLIST} - -.include <bsd.port.mk> diff --git a/math/vtk8/distinfo b/math/vtk8/distinfo deleted file mode 100644 index 5cc3a3a28ff4..000000000000 --- a/math/vtk8/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1587775906 -SHA256 (VTK-8.2.0.tar.gz) = 34c3dc775261be5e45a8049155f7228b6bd668106c72a3c435d95730d17d57bb -SIZE (VTK-8.2.0.tar.gz) = 35511819 diff --git a/math/vtk8/files/patch-GUISupport_Qt_CMakeLists.txt b/math/vtk8/files/patch-GUISupport_Qt_CMakeLists.txt deleted file mode 100644 index 43e82e2f9310..000000000000 --- a/math/vtk8/files/patch-GUISupport_Qt_CMakeLists.txt +++ /dev/null @@ -1,28 +0,0 @@ ---- GUISupport/Qt/CMakeLists.txt.orig 2019-01-30 17:15:13 UTC -+++ GUISupport/Qt/CMakeLists.txt -@@ -128,21 +128,21 @@ if(VTK_BUILD_QT_DESIGNER_PLUGIN AND add_qvtkwidget) - find_package(Qt5 COMPONENTS ${qt_component} REQUIRED QUIET) - add_definitions(${Qt5${qt_component}_DEFINITIONS}) - include_directories(${Qt5${qt_component}_INCLUDE_DIRS}) -- qt5_wrap_cpp(PluginMocSrcs ${PluginMocHeaders} TARGET QVTKWidgetPlugin) -+ qt5_wrap_cpp(PluginMocSrcs ${PluginMocHeaders} TARGET QVTKWidgetPlugin-${VTK_MAJOR_VERSION}.${VTK_MINOR_VERSION}) - set(QT_LIBRARIES Qt5::${qt_component}) - - # add QVTK plugin from sources - # stand-alone as it doesn't depend on QVTK library -- add_library(QVTKWidgetPlugin -+ add_library(QVTKWidgetPlugin-${VTK_MAJOR_VERSION}.${VTK_MINOR_VERSION} - SHARED - ${PluginLibSrcs} - ${PluginMocSrcs} - ) - -- set_target_properties(QVTKWidgetPlugin PROPERTIES COMPILE_DEFINITIONS QT_NO_DEBUG) -+ set_target_properties(QVTKWidgetPlugin-${VTK_MAJOR_VERSION}.${VTK_MINOR_VERSION} PROPERTIES COMPILE_DEFINITIONS QT_NO_DEBUG) - - # link with Qt libs -- vtk_module_link_libraries(QVTKWidgetPlugin ${QT_LIBRARIES}) -+ vtk_module_link_libraries(QVTKWidgetPlugin-${VTK_MAJOR_VERSION}.${VTK_MINOR_VERSION} ${QT_LIBRARIES}) - - # install rules - diff --git a/math/vtk8/files/patch-GUISupport_Qt_PluginInstall.cmake.in b/math/vtk8/files/patch-GUISupport_Qt_PluginInstall.cmake.in deleted file mode 100644 index 19c95db7c524..000000000000 --- a/math/vtk8/files/patch-GUISupport_Qt_PluginInstall.cmake.in +++ /dev/null @@ -1,11 +0,0 @@ ---- GUISupport/Qt/PluginInstall.cmake.in.orig 2017-11-21 08:23:50 UTC -+++ GUISupport/Qt/PluginInstall.cmake.in -@@ -10,7 +10,7 @@ if (WIN32) - set(BUILDTYPE_SUFFIX @CMAKE_RELEASE_POSTFIX@) - endif () - endif () --set(VTK_INSTALL_QT_PLUGIN_FILE "@CMAKE_SHARED_LIBRARY_PREFIX@QVTKWidgetPlugin${BUILDTYPE_SUFFIX}@CMAKE_SHARED_LIBRARY_SUFFIX@") -+set(VTK_INSTALL_QT_PLUGIN_FILE "@CMAKE_SHARED_LIBRARY_PREFIX@QVTKWidgetPlugin-@VTK_MAJOR_VERSION@.@VTK_MINOR_VERSION@${BUILDTYPE_SUFFIX}@CMAKE_SHARED_LIBRARY_SUFFIX@") - set(VTK_CONFIGURATIONS "@CMAKE_CONFIGURATION_TYPES@") - - if(VTK_CONFIGURATIONS) diff --git a/math/vtk8/files/patch-Rendering_FreeType_vtkFreeTypeTools.cxx b/math/vtk8/files/patch-Rendering_FreeType_vtkFreeTypeTools.cxx deleted file mode 100644 index e3d29d4d7deb..000000000000 --- a/math/vtk8/files/patch-Rendering_FreeType_vtkFreeTypeTools.cxx +++ /dev/null @@ -1,11 +0,0 @@ ---- Rendering/FreeType/vtkFreeTypeTools.cxx.orig 2020-10-22 10:20:24 UTC -+++ Rendering/FreeType/vtkFreeTypeTools.cxx -@@ -387,7 +387,7 @@ FTC_CMapCache* vtkFreeTypeTools::GetCMapCache() - } - - //---------------------------------------------------------------------------- --FT_CALLBACK_DEF(FT_Error) -+static FT_Error - vtkFreeTypeToolsFaceRequester(FTC_FaceID face_id, - FT_Library lib, - FT_Pointer request_data, diff --git a/math/vtk8/files/patch-Rendering_Qt_vtkQtLabelRenderStrategy.cxx b/math/vtk8/files/patch-Rendering_Qt_vtkQtLabelRenderStrategy.cxx deleted file mode 100644 index b733cfeee383..000000000000 --- a/math/vtk8/files/patch-Rendering_Qt_vtkQtLabelRenderStrategy.cxx +++ /dev/null @@ -1,10 +0,0 @@ ---- Rendering/Qt/vtkQtLabelRenderStrategy.cxx.orig 2020-05-28 17:13:13 UTC -+++ Rendering/Qt/vtkQtLabelRenderStrategy.cxx -@@ -41,6 +41,7 @@ - #include <QImage> - #include <QMap> - #include <QPainter> -+#include <QPainterPath> - #include <QPair> - #include <QPixmap> - #include <QTextDocument> diff --git a/math/vtk8/files/patch-Rendering_Qt_vtkQtStringToImage.cxx b/math/vtk8/files/patch-Rendering_Qt_vtkQtStringToImage.cxx deleted file mode 100644 index 299be5f51c46..000000000000 --- a/math/vtk8/files/patch-Rendering_Qt_vtkQtStringToImage.cxx +++ /dev/null @@ -1,10 +0,0 @@ ---- Rendering/Qt/vtkQtStringToImage.cxx.orig 2020-06-05 04:36:21 UTC -+++ Rendering/Qt/vtkQtStringToImage.cxx -@@ -31,6 +31,7 @@ - #include <QFontMetrics> - #include <QImage> - #include <QPainter> -+#include <QPainterPath> - #include <QPixmap> - #include <QTextDocument> - #include <QTextStream> diff --git a/math/vtk8/files/patch-ThirdParty_libproj_vtklibproj_src_pj__mutex.c b/math/vtk8/files/patch-ThirdParty_libproj_vtklibproj_src_pj__mutex.c deleted file mode 100644 index bd453a0dc9ca..000000000000 --- a/math/vtk8/files/patch-ThirdParty_libproj_vtklibproj_src_pj__mutex.c +++ /dev/null @@ -1,11 +0,0 @@ ---- ThirdParty/libproj/vtklibproj/src/pj_mutex.c.orig 2020-04-25 01:23:01 UTC -+++ ThirdParty/libproj/vtklibproj/src/pj_mutex.c -@@ -124,7 +124,7 @@ void pj_acquire_lock() - pthread_mutex_lock( &pj_precreated_lock); - - pthread_mutexattr_init(&mutex_attr); --#ifdef HAVE_PTHREAD_MUTEX_RECURSIVE -+#if defined(HAVE_PTHREAD_MUTEX_RECURSIVE) || defined(__FreeBSD__) - pthread_mutexattr_settype(&mutex_attr, PTHREAD_MUTEX_RECURSIVE); - #else - pthread_mutexattr_settype(&mutex_attr, PTHREAD_MUTEX_RECURSIVE_NP); diff --git a/math/vtk8/files/patch-ThirdParty_verdict_vtkverdict_CMakeLists.txt b/math/vtk8/files/patch-ThirdParty_verdict_vtkverdict_CMakeLists.txt deleted file mode 100644 index f7e860060a89..000000000000 --- a/math/vtk8/files/patch-ThirdParty_verdict_vtkverdict_CMakeLists.txt +++ /dev/null @@ -1,25 +0,0 @@ ---- ThirdParty/verdict/vtkverdict/CMakeLists.txt.orig 2019-01-30 17:15:13 UTC -+++ ThirdParty/verdict/vtkverdict/CMakeLists.txt -@@ -128,14 +128,14 @@ endif () - # Installation stuff - # - IF(NOT verdict_INSTALL_NO_DEVELOPMENT) -- install(FILES -- README -- Verdict.htm -- Verdict.doc -- verdict_test.cpp -- DESTINATION ${verdict_INSTALL_DOC_DIR}/verdict/${verdict_VERSION}/ -- COMPONENT Development -- ) -+# install(FILES -+# README -+# Verdict.htm -+# Verdict.doc -+# verdict_test.cpp -+# DESTINATION ${verdict_INSTALL_DOC_DIR}/verdict/${verdict_VERSION}/ -+# COMPONENT Development -+# ) - - install( - FILES ${verdict_BINARY_DIR}/verdict.h diff --git a/math/vtk8/files/patch-git_a9079bd b/math/vtk8/files/patch-git_a9079bd deleted file mode 100644 index 1248811772dd..000000000000 --- a/math/vtk8/files/patch-git_a9079bd +++ /dev/null @@ -1,44 +0,0 @@ -Obtained from: - https://gitlab.kitware.com/vtk/vtk/-/commit/a9079bdccbb2165583d6773a5ed848427e2a38a8.patch - -From a9079bdccbb2165583d6773a5ed848427e2a38a8 Mon Sep 17 00:00:00 2001 -From: Seacas Upstream <kwrobot@kitware.com> -Date: Tue, 28 Jan 2020 09:13:38 -0500 -Subject: [PATCH] exodusII 2020-01-28 (d97eb08d) - -Code extracted from: - - https://gitlab.kitware.com/third-party/seacas.git - -at commit d97eb08d79e87c82facfae39bc75deb60c0a2d83 (for/vtk-20200128-7.24f-v2019-12-18). ---- - src/ex_create_par.c | 2 +- - src/ex_open_par.c | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/ex_create_par.c b/src/ex_create_par.c -index 8d5d6734f0..ef439618da 100644 ---- ThirdParty/exodusII/vtkexodusII/src/ex_create_par.c -+++ ThirdParty/exodusII/vtkexodusII/src/ex_create_par.c -@@ -216,5 +216,5 @@ int ex_create_par_int(const char *path, int cmode, int *comp_ws, int *io_ws, MPI - * Prevent warning in some versions of ranlib(1) because the object - * file has no symbols. - */ --const char exodus_unused_symbol_dummy_1; -+const char exodus_unused_symbol_dummy_ex_create_par; - #endif -diff --git a/src/ex_open_par.c b/src/ex_open_par.c -index b2faa22c29..9df4818767 100644 ---- ThirdParty/exodusII/vtkexodusII/src/ex_open_par.c -+++ ThirdParty/exodusII/vtkexodusII/src/ex_open_par.c -@@ -459,5 +459,5 @@ int ex_open_par_int(const char *path, int mode, int *comp_ws, int *io_ws, float - * Prevent warning in some versions of ranlib(1) because the object - * file has no symbols. - */ --const char exodus_unused_symbol_dummy_1; -+const char exodus_unused_symbol_dummy_ex_open_par; - #endif --- -GitLab - - diff --git a/math/vtk8/pkg-descr b/math/vtk8/pkg-descr deleted file mode 100644 index 250b76ca8cc1..000000000000 --- a/math/vtk8/pkg-descr +++ /dev/null @@ -1,12 +0,0 @@ -The Visualization Toolkit (VTK) is an open-source, freely available software -system for 3D computer graphics, image processing and visualization. VTK -consists of a C++ class library and several interpreted interface layers -including Tcl/Tk, Java, and Python. Kitware, whose team created and continues -to extend the toolkit, offers professional support and consulting services for -VTK. VTK supports a wide variety of visualization algorithms including: scalar, -vector, tensor, texture, and volumetric methods; and advanced modeling -techniques such as: implicit modeling, polygon reduction, mesh smoothing, -cutting, contouring, and Delaunay triangulation. VTK has an extensive -information visualization framework, has a suite of 3D interaction widgets, -supports parallel processing, and integrates with various databases on GUI -toolkits such as Qt and Tk. |