Control: tags 1128057 + patch Control: tags 1128057 + pending Dear maintainer,
I've prepared an NMU for screengrab (versioned as 3.0.0-1.1) and uploaded it to DELAYED/2. Please feel free to tell me if I should cancel it. cu Adrian
diffstat for screengrab-3.0.0 screengrab-3.0.0 changelog | 8 ++++ patches/0001-cmake-fix-build-with-Qt-6.10-434.patch | 33 ++++++++++++++++++++ patches/series | 1 3 files changed, 42 insertions(+) diff -Nru screengrab-3.0.0/debian/changelog screengrab-3.0.0/debian/changelog --- screengrab-3.0.0/debian/changelog 2025-08-17 18:02:19.000000000 +0300 +++ screengrab-3.0.0/debian/changelog 2026-03-24 13:46:59.000000000 +0200 @@ -1,3 +1,11 @@ +screengrab (3.0.0-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Backport upstream fix for FTBFS with Qt 6.10, thanks to + Patrick Franz. (Closes: #1128057) + + -- Adrian Bunk <[email protected]> Tue, 24 Mar 2026 13:46:59 +0200 + screengrab (3.0.0-1) unstable; urgency=medium * New upstream version 3.0.0. (Closes:#1097864) diff -Nru screengrab-3.0.0/debian/patches/0001-cmake-fix-build-with-Qt-6.10-434.patch screengrab-3.0.0/debian/patches/0001-cmake-fix-build-with-Qt-6.10-434.patch --- screengrab-3.0.0/debian/patches/0001-cmake-fix-build-with-Qt-6.10-434.patch 1970-01-01 02:00:00.000000000 +0200 +++ screengrab-3.0.0/debian/patches/0001-cmake-fix-build-with-Qt-6.10-434.patch 2026-03-24 13:46:08.000000000 +0200 @@ -0,0 +1,33 @@ +From 7ddbdb63bc5c96b299418b9aa83a97283c6b1cca Mon Sep 17 00:00:00 2001 +From: Chiitoo <[email protected]> +Date: Wed, 8 Oct 2025 19:45:54 +0300 +Subject: cmake: fix build with Qt 6.10 (#434) + +The 'Qt6FooPrivate' targets have been split into separate CMake files +in Qt 6.9, and require a 'find_package(Qt6FooPrivate)' call starting +with Qt 6.10. + +See also: https://bugreports.qt.io/browse/QTBUG-87776 +--- + CMakeLists.txt | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 8e4113e..759947f 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -28,6 +28,11 @@ find_package(LayerShellQt ${SHELLQT_MINIMUM_VERSION} REQUIRED) + find_package(KF6WindowSystem ${KF6_MINIMUM_VERSION} REQUIRED) + find_package(lxqt2-build-tools ${LXQTBT_MINIMUM_VERSION} REQUIRED) + ++if (Qt6Gui_VERSION VERSION_GREATER_EQUAL "6.10.0") ++ find_package(Qt6GuiPrivate REQUIRED) ++ find_package(Qt6WaylandClientPrivate REQUIRED) ++endif() ++ + # right now we declare it as required + find_package(X11 REQUIRED) + set(HAVE_X11 1) +-- +2.47.3 + diff -Nru screengrab-3.0.0/debian/patches/series screengrab-3.0.0/debian/patches/series --- screengrab-3.0.0/debian/patches/series 1970-01-01 02:00:00.000000000 +0200 +++ screengrab-3.0.0/debian/patches/series 2026-03-24 13:46:59.000000000 +0200 @@ -0,0 +1 @@ +0001-cmake-fix-build-with-Qt-6.10-434.patch

