Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package vtk for openSUSE:Factory checked in at 2026-05-13 17:22:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/vtk (Old) and /work/SRC/openSUSE:Factory/.vtk.new.1966 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "vtk" Wed May 13 17:22:05 2026 rev:71 rq:1352926 version:9.6.1 Changes: -------- --- /work/SRC/openSUSE:Factory/vtk/vtk.changes 2026-01-08 15:28:43.824309652 +0100 +++ /work/SRC/openSUSE:Factory/.vtk.new.1966/vtk.changes 2026-05-13 17:24:19.499702460 +0200 @@ -1,0 +2,30 @@ +Fri May 8 00:00:00 UTC 2026 - Vicente Adolfo Bolea Sanchez <[email protected]> + +- Update to version 9.6.1, see: + https://gitlab.kitware.com/vtk/vtk/-/blob/v9.6.1/Documentation/release/9.6.md +- Notable changes relevant to Linux packaging: + * Add Wayland backend for vtkEGLRenderWindow (VTK_USE_WAYLAND_OPENGL) + * Add Python free-threading support (PEP 703, Python 3.13+) + * VTK_LEGACY_REMOVE is now ON by default + * h5Part replaced by h5hut 2.0.0; double-conversion removed in favor of fmt + * hdf5 updated to 1.14.6, netCDF to 4.9.3, fmt to 12.1.0 +- Add patches: + * 0001-Link-jawt-unconditionally-on-all-platforms.patch: + Remove the Linux exclusion for linking libjawt. Modern ELF + linkers reject undefined references in shared libraries, so + libjawt must be linked explicitly on Linux as well. +- Changed patches: + * 0001-Always-generate-Python-Metadata-when-WRAP_PYTHON-is-.patch: + Rebased for VTK 9.6.1. Moves Python metadata file generation + (setup.py, MANIFEST.in, LICENSE, README.md) from + vtkWheelPreparation.cmake into a new vtkPythonMetadata.cmake + included whenever VTK_WRAP_PYTHON is ON. + * 0001-Consider-VTK_PYTHON_SITE_PACKAGES_SUFFIX-for-Python-.patch: + Rebased for VTK 9.6.1. Generates setup.py, vtk_features.py and + requirements*.txt into ${CMAKE_BINARY_DIR}/${VTK_PYTHON_SITE_PACKAGES_SUFFIX}/ + so they are co-located with the vtkmodules directory, allowing + setup.py install_egg_info to run without PYTHONPATH workarounds. +- Use bundled scn library (VTK_MODULE_USE_EXTERNAL_VTK_scn=OFF); + scn 4.0.0 is not yet available as a system package. + +------------------------------------------------------------------- Old: ---- VTK-9.5.2.tar.gz New: ---- 0001-Link-jawt-unconditionally-on-all-platforms.patch VTK-9.6.1.tar.gz ----------(New B)---------- New:- Add patches: * 0001-Link-jawt-unconditionally-on-all-platforms.patch: Remove the Linux exclusion for linking libjawt. Modern ELF ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ vtk.spec ++++++ --- /var/tmp/diff_new_pack.Ffq9yO/_old 2026-05-13 17:24:22.703835369 +0200 +++ /var/tmp/diff_new_pack.Ffq9yO/_new 2026-05-13 17:24:22.719836033 +0200 @@ -1,7 +1,7 @@ # # spec file for package vtk # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2026 SUSE LLC # Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties @@ -103,9 +103,9 @@ %define shlib %{vtklib} Name: vtk%{?my_suffix} -Version: 9.5.2 +Version: 9.6.1 Release: 0 -%define series 9.5 +%define series 9.6 Summary: The Visualization Toolkit - A high level 3D visualization library # This is a variant BSD license, a cross between BSD and ZLIB. # For all intents, it has the same rights and restrictions as BSD. @@ -123,14 +123,16 @@ Patch8: 0001-Correct-GL_BACK-GL_BACK_LEFT-mapping-on-GLES.patch # PATCH-FIX-UPSTREAM -- Fix building with Qt GLES builds Patch9: 0002-Use-GL_DRAW_BUFFER0-instead-of-GL_DRAW_BUFFER-for-GL.patch -# PATCH-FIX-UPSTREAM -- Always create python package metadata (egg-info) +# PATCH-FIX-UPSTREAM -- Always generate Python Metadata when WRAP_PYTHON is active Patch17: 0001-Always-generate-Python-Metadata-when-WRAP_PYTHON-is-.patch -# PATCH-FIX-UPSTREAM -- Copy generated metadata to the right directory +# PATCH-FIX-OPENSUSE -- Place Python metadata files alongside vtkmodules so setup.py can be run without PYTHONPATH tricks Patch18: 0001-Consider-VTK_PYTHON_SITE_PACKAGES_SUFFIX-for-Python-.patch # PATCH-FIX-UPSTREAM Patch19: 0001-Add-missing-libm-link-library-for-bundled-ExodusII.patch # PATCH-FIX-OPENSUSE Patch20: 0001-Fix-missing-GLAD-symbol-mangling-in-Rendering-GL2PSO.patch +# PATCH-FIX-OPENSUSE -- Link jawt unconditionally; modern linkers reject undefined refs +Patch21: 0001-Link-jawt-unconditionally-on-all-platforms.patch BuildRequires: cgns-devel BuildRequires: chrpath BuildRequires: cmake >= 3.12 @@ -537,6 +539,7 @@ -DVTK_MODULE_USE_EXTERNAL_VTK_nlohmannjson=%{?with_nlohmann:ON}%{!?with_nlohmann:OFF} \ -DVTK_MODULE_USE_EXTERNAL_VTK_pegtl=%{?with_system_pegtl:YES}%{!?with_system_pegtl:NO} \ -DVTK_MODULE_USE_EXTERNAL_VTK_pugixml=%{?with_pugixml:ON}%{!?with_pugixml:OFF} \ + -DVTK_MODULE_USE_EXTERNAL_VTK_scn:BOOL=OFF \ -DVTK_MODULE_USE_EXTERNAL_VTK_sqlite:BOOL=ON \ -DVTK_MODULE_USE_EXTERNAL_VTK_token:BOOL=OFF \ -DVTK_MODULE_USE_EXTERNAL_VTK_verdict=%{?with_verdict:ON}%{!?with_verdict:OFF} \ @@ -618,7 +621,8 @@ mv %{buildroot}%{my_datadir}/licenses/VTK %{buildroot}%{_licensedir}/%{name} %if ! %{with mpi} -# Generate and install python distribution metadata +# Generate and install python distribution metadata. +# setup.py and vtk_features.py are generated alongside vtkmodules by Patch18. pushd build/%{_lib}/python%{python3_version}/site-packages/ python3 setup.py install_egg_info -d %{buildroot}%{python3_sitearch} popd @@ -673,6 +677,7 @@ # Should go into java-devel, but referenced by VTK-targets*.cmake %{my_bindir}/%{pkgname}WrapJava %{my_bindir}/%{pkgname}ParseJava +%{my_bindir}/%{pkgname}WrapJavaScript %{my_bindir}/%{pkgname}WrapPython %{my_bindir}/%{pkgname}WrapPythonInit %{my_bindir}/%{pkgname}WrapSerDes ++++++ 0001-Always-generate-Python-Metadata-when-WRAP_PYTHON-is-.patch ++++++ --- /var/tmp/diff_new_pack.Ffq9yO/_old 2026-05-13 17:24:23.095851630 +0200 +++ /var/tmp/diff_new_pack.Ffq9yO/_new 2026-05-13 17:24:23.131853123 +0200 @@ -1,23 +1,3 @@ -From a08e2a67c1e6694ba2eb2631c7e8e371bd055b46 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <[email protected]> -Date: Sat, 20 Nov 2021 23:26:05 +0100 -Subject: [PATCH] Always generate Python Metadata when WRAP_PYTHON is active - -Python Metadata in accordance with PEP 314 is not only used by wheels -(PEP 427/PEP 491), but can also used for `python setup.py -install_egg_info`. - -The latter can be used to make a system wide VTK installation available -for other python packages (e.g. installed via pip) which require VTK. -Without the metadata, pip will not find it and always try to download the -wheel. ---- - CMake/vtkPythonMetadata.cmake | 17 +++++++++++++++++ - CMake/vtkWheelPreparation.cmake | 18 ----------------- - CMakeLists.txt | 3 ++- - 3 files changed, 19 insertions(+), 19 deletions(-) - create mode 100644 CMake/vtkPythonMetadata.cmake - diff --git a/CMake/vtkPythonMetadata.cmake b/CMake/vtkPythonMetadata.cmake new file mode 100644 index 0000000000..44fb591321 @@ -41,14 +21,12 @@ + "${CMAKE_BINARY_DIR}/README.md" + COPYONLY) + -diff --git a/CMake/vtkWheelPreparation.cmake b/CMake/vtkWheelPreparation.cmake -index 0a4c4786d0..df56a3d98c 100644 --- a/CMake/vtkWheelPreparation.cmake +++ b/CMake/vtkWheelPreparation.cmake -@@ -84,22 +84,4 @@ elseif (UNIX) +@@ -100,23 +100,6 @@ endif () set(VTK_PYTHON_OPTIONAL_LINK ON) - + -configure_file( - "${CMAKE_CURRENT_LIST_DIR}/setup.py.in" - "${CMAKE_BINARY_DIR}/setup.py" @@ -66,31 +44,27 @@ - "${CMAKE_BINARY_DIR}/README.md" - COPYONLY) - --unset(license_file) - unset(wheel_data_dir) -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 371ffd61a6..ccd4409251 100644 + # VTK wheel sdk + # All file must be relative from the pyproject.toml file, since we want to configure this file, + # we need to put all the sources of the wheel_sdks in the build dir too. --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -447,6 +447,8 @@ if (VTK_WRAP_PYTHON) +@@ -728,6 +728,8 @@ TARGET_SPECIFIC_COMPONENTS "${VTK_TARGET_SPECIFIC_COMPONENTS}" TARGET VTK::vtkpythonmodules) - + + include(vtkPythonMetadata) + if (APPLE AND VTK_WHEEL_BUILD) list(REMOVE_ITEM CMAKE_INSTALL_RPATH "@loader_path/.dylibs") -@@ -547,7 +549,7 @@ install( - +@@ -905,7 +907,7 @@ + # TODO: HeaderTest exclusions for memcheck. - + -if (VTK_WHEEL_BUILD) +if (VTK_WRAP_PYTHON) include(vtkWheelFinalization) endif () - --- -2.33.1 ++++++ 0001-Consider-VTK_PYTHON_SITE_PACKAGES_SUFFIX-for-Python-.patch ++++++ --- /var/tmp/diff_new_pack.Ffq9yO/_old 2026-05-13 17:24:23.327861254 +0200 +++ /var/tmp/diff_new_pack.Ffq9yO/_new 2026-05-13 17:24:23.371863079 +0200 @@ -1,20 +1,3 @@ -From 0cf33c4bf04596e368978e663aa4a2ea42289651 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <[email protected]> -Date: Sun, 21 Nov 2021 19:14:37 +0100 -Subject: [PATCH] Consider VTK_PYTHON_SITE_PACKAGES_SUFFIX for Python Metadata - files - -When building wheels, VTK_PYTHON_SITE_PACKAGES_SUFFIX is ".", so in this -case nothing is changed. For all other builds, e.g. setup.py should be -located in the same directory as e.g. vtk.py, otherwise setup.py fails. ---- - CMake/vtkPythonMetadata.cmake | 8 ++++---- - CMake/vtkWheelFinalization.cmake | 2 +- - CMakeLists.txt | 2 +- - 3 files changed, 6 insertions(+), 6 deletions(-) - -diff --git a/CMake/vtkPythonMetadata.cmake b/CMake/vtkPythonMetadata.cmake -index 44fb591321..f88f9e8aaa 100644 --- a/CMake/vtkPythonMetadata.cmake +++ b/CMake/vtkPythonMetadata.cmake @@ -1,17 +1,17 @@ @@ -39,22 +22,18 @@ + "${CMAKE_BINARY_DIR}/${VTK_PYTHON_SITE_PACKAGES_SUFFIX}/README.md" COPYONLY) -diff --git a/CMake/vtkWheelFinalization.cmake b/CMake/vtkWheelFinalization.cmake -index 23c17fd977..269b31e7d0 100644 --- a/CMake/vtkWheelFinalization.cmake +++ b/CMake/vtkWheelFinalization.cmake -@@ -62,5 +62,5 @@ foreach (vtk_feature IN LISTS vtk_features) +@@ -59,5 +59,5 @@ string(APPEND vtk_feature_entries " '${vtk_feature}': [],\n") endforeach () -file(WRITE "${CMAKE_BINARY_DIR}/vtk_features.py" +file(WRITE "${CMAKE_BINARY_DIR}/${VTK_PYTHON_SITE_PACKAGES_SUFFIX}/vtk_features.py" "FEATURES = {\n${vtk_feature_entries}}\n") -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 90c90f9d46..03f5836a0f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -450,15 +450,15 @@ if (VTK_WRAP_PYTHON) +@@ -660,7 +660,7 @@ list(REMOVE_DUPLICATES vtk_required_python_modules) endif () string(REPLACE ";" "\n" vtk_required_python_modules "${vtk_required_python_modules}") @@ -63,7 +42,7 @@ "${vtk_required_python_modules}\n") get_property(vtk_web_python_modules GLOBAL PROPERTY vtk_web_python_modules) - if (vtk_web_python_modules) +@@ -668,7 +668,7 @@ list(REMOVE_DUPLICATES vtk_web_python_modules) endif () string(REPLACE ";" "\n" vtk_web_python_modules "${vtk_web_python_modules}") @@ -72,7 +51,4 @@ "${vtk_web_python_modules}\n") get_property(vtk_soabi GLOBAL PROPERTY _vtk_python_soabi) --- -2.33.1 - ++++++ 0001-Link-jawt-unconditionally-on-all-platforms.patch ++++++ >From 0000000000000000000000000000000000000001 Mon Sep 17 00:00:00 2001 From: Vicente Bolea <[email protected]> Date: Mon, 05 May 2026 16:22:00 -0400 Subject: [PATCH] Link jawt unconditionally on all platforms Modern linkers on Linux reject undefined references in shared libraries. JAWT_GetAWT is called directly in vtkJavaAwt.h so libjawt must be linked explicitly rather than relying on runtime resolution. --- Utilities/Java/CMakeLists.txt | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) --- a/Utilities/Java/CMakeLists.txt +++ b/Utilities/Java/CMakeLists.txt @@ -24,19 +24,13 @@ ${JAVA_JVM_LIBRARY} ) -# On Windows and macOS, we need to link against jawt for JAWT_GetAWT. -# On Linux, avoid linking against AWT libraries - linking against -# JAVA_AWT_LIBRARY causes early loading of libawt_xawt.so which fails with -# "undefined symbol: JNU_ThrowNoSuchFieldError" on some JDK versions because -# the JVM's internal symbols aren't yet available. JAWT is loaded dynamically -# at runtime on Linux. -if (APPLE OR NOT UNIX) - if (JAVA_AWT_LIBRARY) - vtk_module_link(VTK::Java - PUBLIC - ${JAVA_AWT_LIBRARY} - ) - endif () +# Link against jawt for JAWT_GetAWT on all platforms. Modern linkers on Linux +# reject undefined references in shared libraries, so libjawt must be explicit. +if (JAVA_AWT_LIBRARY) + vtk_module_link(VTK::Java + PUBLIC + ${JAVA_AWT_LIBRARY} + ) endif () if (NOT VTK_ABI_NAMESPACE_NAME STREQUAL "<DEFAULT>" AND NOT DEFINED ENV{CI}) -- 2.43.0 ++++++ VTK-9.5.2.tar.gz -> VTK-9.6.1.tar.gz ++++++ /work/SRC/openSUSE:Factory/vtk/VTK-9.5.2.tar.gz /work/SRC/openSUSE:Factory/.vtk.new.1966/VTK-9.6.1.tar.gz differ: char 13, line 1
