pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/vtk



Module Name:    pkgsrc
Committed By:   thor
Date:           Sat May  8 13:55:19 UTC 2021

Modified Files:
        pkgsrc/graphics/vtk: Makefile PLIST
Added Files:
        pkgsrc/graphics/vtk: options.mk

Log Message:
graphics/vtk: add Qt support (on by default)

It is an option because VTK is usable for some without it, but it
is strongly recommened to keep it on, as it is common for interactive
software seems to use VTK via Qt.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/graphics/vtk/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/graphics/vtk/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/vtk/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/vtk/Makefile
diff -u pkgsrc/graphics/vtk/Makefile:1.14 pkgsrc/graphics/vtk/Makefile:1.15
--- pkgsrc/graphics/vtk/Makefile:1.14   Tue May  4 14:48:34 2021
+++ pkgsrc/graphics/vtk/Makefile        Sat May  8 13:55:19 2021
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.14 2021/05/04 14:48:34 prlw1 Exp $
+# $NetBSD: Makefile,v 1.15 2021/05/08 13:55:19 thor Exp $
 
 DISTNAME=      VTK-9.0.1
 PKGNAME=       ${DISTNAME:S/VTK/vtk/}
+PKGREVISION=   1
 CATEGORIES=    graphics
 MASTER_SITES=  https://www.vtk.org/files/release/9.0/
 
@@ -42,6 +43,8 @@ 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 "options.mk"
+
 .include "../../archivers/lz4/buildlink3.mk"
 .include "../../databases/sqlite3/buildlink3.mk"
 .include "../../devel/hdf5/buildlink3.mk"

Index: pkgsrc/graphics/vtk/PLIST
diff -u pkgsrc/graphics/vtk/PLIST:1.4 pkgsrc/graphics/vtk/PLIST:1.5
--- pkgsrc/graphics/vtk/PLIST:1.4       Tue May  4 14:48:34 2021
+++ pkgsrc/graphics/vtk/PLIST   Sat May  8 13:55:19 2021
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2021/05/04 14:48:34 prlw1 Exp $
+@comment $NetBSD: PLIST,v 1.5 2021/05/08 13:55:19 thor Exp $
 bin/vtkProbeOpenGLVersion-9.0
 include/vtk-9.0/DICOMAppHelper.h
 include/vtk-9.0/DICOMCMakeConfig.h
@@ -3093,3 +3093,47 @@ share/licenses/VTK/vtkkwiml/Copyright.tx
 share/licenses/VTK/vtkmetaio/License.txt
 share/licenses/VTK/vtksys/Copyright.txt
 share/licenses/VTK/vtkverdict/Copyright.txt
+${PLIST.qt}include/vtk-9.0/QFilterTreeProxyModel.h
+${PLIST.qt}include/vtk-9.0/QVTKApplication.h
+${PLIST.qt}include/vtk-9.0/QVTKInteractorAdapter.h
+${PLIST.qt}include/vtk-9.0/QVTKInteractor.h
+${PLIST.qt}include/vtk-9.0/QVTKOpenGLNativeWidget.h
+${PLIST.qt}include/vtk-9.0/QVTKOpenGLStereoWidget.h
+${PLIST.qt}include/vtk-9.0/QVTKOpenGLWindow.h
+${PLIST.qt}include/vtk-9.0/QVTKRenderWindowAdapter.h
+${PLIST.qt}include/vtk-9.0/QVTKWin32Header.h
+${PLIST.qt}include/vtk-9.0/vtkEventQtSlotConnect.h
+${PLIST.qt}include/vtk-9.0/vtkGUISupportQtModule.h
+${PLIST.qt}include/vtk-9.0/vtkQImageToImageSource.h
+${PLIST.qt}include/vtk-9.0/vtkQtAbstractModelAdapter.h
+${PLIST.qt}include/vtk-9.0/vtkQtAnnotationLayersModelAdapter.h
+${PLIST.qt}include/vtk-9.0/vtkQtAnnotationView.h
+${PLIST.qt}include/vtk-9.0/vtkQtConnection.h
+${PLIST.qt}include/vtk-9.0/vtkQtDebugLeaksModel.h
+${PLIST.qt}include/vtk-9.0/vtkQtDebugLeaksView.h
+${PLIST.qt}include/vtk-9.0/vtkQtInitialization.h
+${PLIST.qt}include/vtk-9.0/vtkQtLabelRenderStrategy.h
+${PLIST.qt}include/vtk-9.0/vtkQtListView.h
+${PLIST.qt}include/vtk-9.0/vtkQtRecordView.h
+${PLIST.qt}include/vtk-9.0/vtkQtStringToImage.h
+${PLIST.qt}include/vtk-9.0/vtkQtTableModelAdapter.h
+${PLIST.qt}include/vtk-9.0/vtkQtTableRepresentation.h
+${PLIST.qt}include/vtk-9.0/vtkQtTableView.h
+${PLIST.qt}include/vtk-9.0/vtkQtTreeModelAdapter.h
+${PLIST.qt}include/vtk-9.0/vtkQtTreeRingLabelMapper.h
+${PLIST.qt}include/vtk-9.0/vtkQtTreeView.h
+${PLIST.qt}include/vtk-9.0/vtkQtView.h
+${PLIST.qt}include/vtk-9.0/vtkQWidgetRepresentation.h
+${PLIST.qt}include/vtk-9.0/vtkQWidgetTexture.h
+${PLIST.qt}include/vtk-9.0/vtkQWidgetWidget.h
+${PLIST.qt}include/vtk-9.0/vtkRenderingQtModule.h
+${PLIST.qt}include/vtk-9.0/vtkViewsQtModule.h
+${PLIST.qt}lib/libvtkGUISupportQt-9.0.so
+${PLIST.qt}lib/libvtkGUISupportQt-9.0.so.1
+${PLIST.qt}lib/libvtkGUISupportQt-9.0.so.9.0.1
+${PLIST.qt}lib/libvtkRenderingQt-9.0.so
+${PLIST.qt}lib/libvtkRenderingQt-9.0.so.1
+${PLIST.qt}lib/libvtkRenderingQt-9.0.so.9.0.1
+${PLIST.qt}lib/libvtkViewsQt-9.0.so
+${PLIST.qt}lib/libvtkViewsQt-9.0.so.1
+${PLIST.qt}lib/libvtkViewsQt-9.0.so.9.0.1

Added files:

Index: pkgsrc/graphics/vtk/options.mk
diff -u /dev/null pkgsrc/graphics/vtk/options.mk:1.1
--- /dev/null   Sat May  8 13:55:19 2021
+++ pkgsrc/graphics/vtk/options.mk      Sat May  8 13:55:19 2021
@@ -0,0 +1,19 @@
+# $NetBSD: options.mk,v 1.1 2021/05/08 13:55:19 thor Exp $
+PKG_OPTIONS_VAR=       PKG_OPTIONS.vtk
+
+PKG_SUPPORTED_OPTIONS= qt
+PKG_SUGGESTED_OPTIONS= qt
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+=   qt
+.if !empty(PKG_OPTIONS:Mqt)
+CMAKE_ARGS+=   -DVTK_MODULE_ENABLE_VTK_GUISupportQt=YES
+CMAKE_ARGS+=   -DVTK_MODULE_ENABLE_VTK_GUISupportQtSQL=NO
+CMAKE_ARGS+=   -DVTK_MODULE_ENABLE_VTK_RenderingQt=YES
+CMAKE_ARGS+=   -DVTK_MODULE_ENABLE_VTK_ViewsQt=YES
+PLIST.qt=      yes
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.else
+CMAKE_ARGS+=   -DVTK_GROUP_ENABLE_Qt=NO
+.endif



Home | Main Index | Thread Index | Old Index