Control: tags 1125541 + patch
Control: tags 1125541 + pending

Dear maintainer,

I've prepared an NMU for kproperty (versioned as 3.2.0-3.1) and uploaded 
it to DELAYED/14. Please feel free to tell me if I should cancel it.

cu
Adrian
diffstat for kproperty-3.2.0 kproperty-3.2.0

 changelog                                |    7 +++++++
 patches/0001-cmake-SET-CMP0059-NEW.patch |   25 +++++++++++++++++++++++++
 patches/series                           |    1 +
 3 files changed, 33 insertions(+)

diff -Nru kproperty-3.2.0/debian/changelog kproperty-3.2.0/debian/changelog
--- kproperty-3.2.0/debian/changelog	2025-10-06 21:07:41.000000000 +0300
+++ kproperty-3.2.0/debian/changelog	2026-03-30 13:46:22.000000000 +0300
@@ -1,3 +1,10 @@
+kproperty (3.2.0-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Backport upstream fix for FTBFS with CMake 4. (Closes: #1125541)
+
+ -- Adrian Bunk <[email protected]>  Mon, 30 Mar 2026 13:46:22 +0300
+
 kproperty (3.2.0-3) unstable; urgency=medium
 
   * Drop Rules-Requires-Root: no, no more needed since Debian trixie.
diff -Nru kproperty-3.2.0/debian/patches/0001-cmake-SET-CMP0059-NEW.patch kproperty-3.2.0/debian/patches/0001-cmake-SET-CMP0059-NEW.patch
--- kproperty-3.2.0/debian/patches/0001-cmake-SET-CMP0059-NEW.patch	1970-01-01 02:00:00.000000000 +0200
+++ kproperty-3.2.0/debian/patches/0001-cmake-SET-CMP0059-NEW.patch	2026-03-30 13:45:34.000000000 +0300
@@ -0,0 +1,25 @@
+From d05db27a5e48c365161315da58631359b247291a Mon Sep 17 00:00:00 2001
+From: Jaroslaw Staniek <[email protected]>
+Date: Sun, 10 Apr 2022 22:46:41 +0200
+Subject: cmake: SET CMP0059 NEW
+
+---
+ cmake/modules/SetKPropertyCMakePolicies.cmake | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/cmake/modules/SetKPropertyCMakePolicies.cmake b/cmake/modules/SetKPropertyCMakePolicies.cmake
+index bc28d8a..85370c2 100644
+--- a/cmake/modules/SetKPropertyCMakePolicies.cmake
++++ b/cmake/modules/SetKPropertyCMakePolicies.cmake
+@@ -9,7 +9,7 @@ cmake_policy(SET CMP0053 NEW) # TODO remove, temporary fix for a bug in Qt 5.8's
+                               # "Simplify variable reference and escape sequence evaluation"
+ 
+ if(POLICY CMP0059) # Don’t treat DEFINITIONS as a built-in directory property.
+-    cmake_policy(SET CMP0059 OLD)
++    cmake_policy(SET CMP0059 NEW)
+ endif()
+ if(POLICY CMP0063) # Honor visibility properties for all target types (since cmake 3.3)
+     cmake_policy(SET CMP0063 NEW)
+-- 
+2.47.3
+
diff -Nru kproperty-3.2.0/debian/patches/series kproperty-3.2.0/debian/patches/series
--- kproperty-3.2.0/debian/patches/series	2019-10-10 08:41:59.000000000 +0300
+++ kproperty-3.2.0/debian/patches/series	2026-03-30 13:46:19.000000000 +0300
@@ -1 +1,2 @@
 upstream_Restore-KPropertyDoubleSpinBox-resizeEvent-override.patch
+0001-cmake-SET-CMP0059-NEW.patch

Reply via email to