Control: tags 1139140 + patch Control: tags 1139140 + pending Control: tags 1142180 + patch Control: tags 1142180 + pending
Dear maintainer, I've prepared an NMU for opencv (versioned as 4.10.0+dfsg-7.1) and uploaded it to DELAYED/2. Please feel free to tell me if I should cancel it. cu Adrian
diffstat for opencv-4.10.0+dfsg opencv-4.10.0+dfsg changelog | 8 ++++++++ control | 3 +-- patches/series | 1 + patches/vtk-9.6.patch | 44 ++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 54 insertions(+), 2 deletions(-) diff -Nru opencv-4.10.0+dfsg/debian/changelog opencv-4.10.0+dfsg/debian/changelog --- opencv-4.10.0+dfsg/debian/changelog 2025-12-18 13:30:00.000000000 +0200 +++ opencv-4.10.0+dfsg/debian/changelog 2026-07-17 23:13:10.000000000 +0300 @@ -1,3 +1,11 @@ +opencv (4.10.0+dfsg-7.1) unstable; urgency=medium + + * Non-maintainer upload. + * Fix FTBFS with VTK 9.6. (Closes: #1142180) + * Update the Uploaders list. (Closes: #1139140) + + -- Adrian Bunk <[email protected]> Fri, 17 Jul 2026 23:13:10 +0300 + opencv (4.10.0+dfsg-7) unstable; urgency=medium * Team upload. diff -Nru opencv-4.10.0+dfsg/debian/control opencv-4.10.0+dfsg/debian/control --- opencv-4.10.0+dfsg/debian/control 2025-12-18 11:00:00.000000000 +0200 +++ opencv-4.10.0+dfsg/debian/control 2026-07-17 23:13:10.000000000 +0300 @@ -1,7 +1,6 @@ Source: opencv Maintainer: Debian Science Team <[email protected]> -Uploaders: Sam Hocevar (Debian packages) <[email protected]>, - Nobuhiro Iwamatsu <[email protected]>, +Uploaders: Nobuhiro Iwamatsu <[email protected]>, Mo Zhou <[email protected]> Section: devel Priority: optional diff -Nru opencv-4.10.0+dfsg/debian/patches/series opencv-4.10.0+dfsg/debian/patches/series --- opencv-4.10.0+dfsg/debian/patches/series 2025-12-18 11:00:00.000000000 +0200 +++ opencv-4.10.0+dfsg/debian/patches/series 2026-07-17 23:13:10.000000000 +0300 @@ -9,3 +9,4 @@ cmake-4.patch ffmpeg-8.0-compat-1.patch ffmpeg-8.0-compat-2.patch +vtk-9.6.patch diff -Nru opencv-4.10.0+dfsg/debian/patches/vtk-9.6.patch opencv-4.10.0+dfsg/debian/patches/vtk-9.6.patch --- opencv-4.10.0+dfsg/debian/patches/vtk-9.6.patch 1970-01-01 02:00:00.000000000 +0200 +++ opencv-4.10.0+dfsg/debian/patches/vtk-9.6.patch 2026-07-17 23:13:10.000000000 +0300 @@ -0,0 +1,44 @@ +Description: Fix FTBFS with VTK 9.6 +Author: Adrian Bunk <[email protected]> +Bug-Debian: https://bugs.debian.org/1142180 + +--- opencv-4.10.0+dfsg.orig/contrib/modules/viz/src/vtk/vtkVizInteractorStyle.cpp ++++ opencv-4.10.0+dfsg/contrib/modules/viz/src/vtk/vtkVizInteractorStyle.cpp +@@ -45,6 +45,8 @@ + + #include "../precomp.hpp" + ++#include <iostream> ++ + namespace cv { namespace viz + { + vtkStandardNewMacro(vtkVizInteractorStyle) +@@ -96,7 +98,7 @@ void cv::viz::vtkVizInteractorStyle::sav + snapshot_writer->SetFileName(file.c_str()); + snapshot_writer->Write(); + +- cout << "Screenshot successfully captured (" << file.c_str() << ")" << endl; ++ std::cout << "Screenshot successfully captured (" << file.c_str() << ")" << endl; + } + + ////////////////////////////////////////////////////////////////////////////////////////////// +@@ -118,7 +120,7 @@ void cv::viz::vtkVizInteractorStyle::exp + exporter->SetInput(Interactor->GetRenderWindow()); + exporter->Write(); + +- cout << "Scene successfully exported (" << file.c_str() << ")" << endl; ++ std::cout << "Scene successfully exported (" << file.c_str() << ")" << endl; + } + + void cv::viz::vtkVizInteractorStyle::exportScene() +--- opencv-4.10.0+dfsg.orig/contrib/modules/viz/src/widget.cpp ++++ opencv-4.10.0+dfsg/contrib/modules/viz/src/widget.cpp +@@ -45,6 +45,8 @@ + + #include "precomp.hpp" + ++#include <iostream> ++ + /////////////////////////////////////////////////////////////////////////////////////////////// + /// widget implementation +

