Package: vtk9 / 9.0.1+dfsg1-8

Metadata

Package Version Patches format
vtk9 9.0.1+dfsg1-8 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
10_matplotlib.patch | (download)

Rendering/Matplotlib/vtkMatplotlibMathTextUtilities.h | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

 _matplotlib
20_do_not_link_against_socket.patch | (download)

Common/System/vtkTestSocketFeatures.cmake | 3 0 + 3 - 0 !
1 file changed, 3 deletions(-)

 do not try linking with -lsocket

30_drop_medical_example.patch | (download)

Examples/CMakeLists.txt | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 drop medical examples
40_vtkpython 9.patch | (download)

Wrapping/Python/CMakeLists.txt | 10 5 + 5 - 0 !
1 file changed, 5 insertions(+), 5 deletions(-)

 rename vtkpython to vtkpython-9.0
50_fix_python modules_path.patch | (download)

CMake/vtkModuleWrapPython.cmake | 2 1 + 1 - 0 !
Utilities/Python/CMakeLists.txt | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 fix path for the installation of python modules
60_fix_path_perl.patch | (download)

Utilities/Doxygen/doc_class2example.pl | 2 1 + 1 - 0 !
Utilities/Doxygen/doc_cleanhtml.pl | 2 1 + 1 - 0 !
Utilities/Doxygen/doc_codematch.pl | 2 1 + 1 - 0 !
Utilities/Doxygen/doc_index.pl | 2 1 + 1 - 0 !
Utilities/Doxygen/doc_rmpath.pl | 2 1 + 1 - 0 !
Utilities/Doxygen/doc_version.pl | 2 1 + 1 - 0 !
6 files changed, 6 insertions(+), 6 deletions(-)

 fix shebang for the perl scripts
70_fix_python_numpy_warning.patch | (download)

Wrapping/Python/vtkmodules/numpy_interface/algorithms.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix python numpy warning
80_allow_gles_platforms.patch | (download)

GUISupport/Qt/QVTKOpenGLNativeWidget.cxx | 13 4 + 9 - 0 !
GUISupport/Qt/QVTKOpenGLWindow.cxx | 32 13 + 19 - 0 !
2 files changed, 17 insertions(+), 28 deletions(-)

 [patch] remove duplicate check for qopenglfunctions_3_2_core*

The return value is already checked in QVTKRenderWindowAdapter::blit(),
no need to do it twice.

81_allow_gles_platforms.patch | (download)

Rendering/ContextOpenGL2/vtkOpenGLContextDevice2DPrivate.h | 3 2 + 1 - 0 !
ThirdParty/glew/vtk_glew.h.in | 1 0 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 replace last gldrawbuffer call with gldrawbuffers(1, ...)

glDrawBuffer is only available in Desktop OpenGL, while the equivalent
glDrawBuffers is valid also for GLES.

Just defining glDrawBuffer as an empty macro is obviously not the right
solution, as the call is also required on GLES. This also causes
a compilation failure - GL.h may be included via GLX.h on X11 platforms,
and the glDrawBuffer prototype declaration becomes malformed.

82_allow_gles_platforms.patch | (download)

GUISupport/Qt/QVTKRenderWindowAdapter.cxx | 10 5 + 5 - 0 !
1 file changed, 5 insertions(+), 5 deletions(-)

 fix compilation when qt is built for gles platforms

On GLES 2.0/3.0 platforms (more specifically, for Qt5 "opengl es2" builds),
QOpenGLFunctions_3_2_Core does not exist.

After the last restructuring, from the GL 3.2 Core functions only
glDrawBuffer is used. glDrawBuffer can be trivially replaced with
glDrawBuffers, which is part of OpenGL 2.0 and GLES 3.0, and as an
extension in many GLES 2.0 implementations.

83_allow_gles_platforms.patch | (download)

GUISupport/Qt/QVTKOpenGLWindow.cxx | 5 5 + 0 - 0 !
1 file changed, 5 insertions(+)

 hack: qvtkopenglwindow.cxx: define gl_back_{left,right} for qt with
 OpenGL ES


90_fix_freetype_compilation.patch | (download)

Rendering/FreeType/vtkFreeTypeTools.cxx | 3 1 + 2 - 0 !
1 file changed, 1 insertion(+), 2 deletions(-)

 fix ftbfs against freetype 2.10.4
95_java_mach arch_fix.patch | (download)

ThirdParty/diy2/vtkdiy2/include/vtkdiy2/time.hpp | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 [patch] fix build on mach-based os which are not os x


97_reproducible_builds.patch | (download)

Utilities/Doxygen/doc_class2example.pl | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 [patch 2/2] doc_class2example.pl: sort the parsers array.

Thanks to Bernhard M. Wiedemann <bernhardout@lsmod.de>.