Control: tags 1112865 + patch
Control: tags 1112865 + pending

Dear maintainer,

I've prepared an NMU for edb-debugger (versioned as 1.3.0-2.2) and 
uploaded it to DELAYED/2. Please feel free to tell me if I should
cancel it.

cu
Adrian
diffstat for edb-debugger-1.3.0 edb-debugger-1.3.0

 changelog             |    7 +
 patches/cmake-4.patch |  228 ++++++++++++++++++++++++++++++++++++++++++++++++++
 patches/series        |    1 
 3 files changed, 236 insertions(+)

diff -Nru edb-debugger-1.3.0/debian/changelog edb-debugger-1.3.0/debian/changelog
--- edb-debugger-1.3.0/debian/changelog	2023-07-11 14:10:57.000000000 +0300
+++ edb-debugger-1.3.0/debian/changelog	2025-11-19 21:11:25.000000000 +0200
@@ -1,3 +1,10 @@
+edb-debugger (1.3.0-2.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with CMake 4. (Closes: #1112865)
+
+ -- Adrian Bunk <[email protected]>  Wed, 19 Nov 2025 21:11:25 +0200
+
 edb-debugger (1.3.0-2.1) unstable; urgency=medium
 
   * Non-maintainer upload
diff -Nru edb-debugger-1.3.0/debian/patches/cmake-4.patch edb-debugger-1.3.0/debian/patches/cmake-4.patch
--- edb-debugger-1.3.0/debian/patches/cmake-4.patch	1970-01-01 02:00:00.000000000 +0200
+++ edb-debugger-1.3.0/debian/patches/cmake-4.patch	2025-11-19 21:11:25.000000000 +0200
@@ -0,0 +1,228 @@
+Description: Fix FTBFS with CMake 4
+Author: Adrian Bunk <[email protected]>
+Bug-Debian: https://bugs.debian.org/1112865
+
+--- edb-debugger-1.3.0.orig/CMakeLists.txt
++++ edb-debugger-1.3.0/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required (VERSION 3.1)
++cmake_minimum_required (VERSION 3.5)
+ project (edb CXX)
+ 
+ enable_testing()
+--- edb-debugger-1.3.0.orig/libELF/CMakeLists.txt
++++ edb-debugger-1.3.0/libELF/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 3.1)
++cmake_minimum_required(VERSION 3.5)
+ 
+ add_library(ELF INTERFACE
+ )
+--- edb-debugger-1.3.0.orig/libPE/CMakeLists.txt
++++ edb-debugger-1.3.0/libPE/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 3.1)
++cmake_minimum_required(VERSION 3.5)
+ 
+ add_library(PE INTERFACE
+ )
+--- edb-debugger-1.3.0.orig/plugins/Analyzer/CMakeLists.txt
++++ edb-debugger-1.3.0/plugins/Analyzer/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required (VERSION 3.1)
++cmake_minimum_required (VERSION 3.5)
+ include("GNUInstallDirs")
+ 
+ set(CMAKE_INCLUDE_CURRENT_DIR ON)
+--- edb-debugger-1.3.0.orig/plugins/Assembler/CMakeLists.txt
++++ edb-debugger-1.3.0/plugins/Assembler/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required (VERSION 3.1)
++cmake_minimum_required (VERSION 3.5)
+ include("GNUInstallDirs")
+ 
+ set(CMAKE_INCLUDE_CURRENT_DIR ON)
+--- edb-debugger-1.3.0.orig/plugins/Backtrace/CMakeLists.txt
++++ edb-debugger-1.3.0/plugins/Backtrace/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required (VERSION 3.1)
++cmake_minimum_required (VERSION 3.5)
+ include("GNUInstallDirs")
+ 
+ set(CMAKE_INCLUDE_CURRENT_DIR ON)
+--- edb-debugger-1.3.0.orig/plugins/BinaryInfo/CMakeLists.txt
++++ edb-debugger-1.3.0/plugins/BinaryInfo/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required (VERSION 3.1)
++cmake_minimum_required (VERSION 3.5)
+ include("GNUInstallDirs")
+ 
+ set(CMAKE_INCLUDE_CURRENT_DIR ON)
+--- edb-debugger-1.3.0.orig/plugins/BinarySearcher/CMakeLists.txt
++++ edb-debugger-1.3.0/plugins/BinarySearcher/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required (VERSION 3.1)
++cmake_minimum_required (VERSION 3.5)
+ include("GNUInstallDirs")
+ 
+ set(CMAKE_INCLUDE_CURRENT_DIR ON)
+--- edb-debugger-1.3.0.orig/plugins/Bookmarks/CMakeLists.txt
++++ edb-debugger-1.3.0/plugins/Bookmarks/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required (VERSION 3.1)
++cmake_minimum_required (VERSION 3.5)
+ include("GNUInstallDirs")
+ 
+ set(CMAKE_INCLUDE_CURRENT_DIR ON)
+--- edb-debugger-1.3.0.orig/plugins/BreakpointManager/CMakeLists.txt
++++ edb-debugger-1.3.0/plugins/BreakpointManager/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required (VERSION 3.1)
++cmake_minimum_required (VERSION 3.5)
+ include("GNUInstallDirs")
+ 
+ set(CMAKE_INCLUDE_CURRENT_DIR ON)
+--- edb-debugger-1.3.0.orig/plugins/CMakeLists.txt
++++ edb-debugger-1.3.0/plugins/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required (VERSION 3.1)
++cmake_minimum_required (VERSION 3.5)
+ 
+ add_definitions(-DQT_PLUGIN)
+ 
+--- edb-debugger-1.3.0.orig/plugins/CheckVersion/CMakeLists.txt
++++ edb-debugger-1.3.0/plugins/CheckVersion/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required (VERSION 3.1)
++cmake_minimum_required (VERSION 3.5)
+ include("GNUInstallDirs")
+ 
+ set(CMAKE_INCLUDE_CURRENT_DIR ON)
+--- edb-debugger-1.3.0.orig/plugins/DebuggerCore/CMakeLists.txt
++++ edb-debugger-1.3.0/plugins/DebuggerCore/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required (VERSION 3.1)
++cmake_minimum_required (VERSION 3.5)
+ include("GNUInstallDirs")
+ 
+ set(CMAKE_INCLUDE_CURRENT_DIR ON)
+--- edb-debugger-1.3.0.orig/plugins/DebuggerErrorConsole/CMakeLists.txt
++++ edb-debugger-1.3.0/plugins/DebuggerErrorConsole/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required (VERSION 3.1)
++cmake_minimum_required (VERSION 3.5)
+ include("GNUInstallDirs")
+ 
+ set(CMAKE_INCLUDE_CURRENT_DIR ON)
+--- edb-debugger-1.3.0.orig/plugins/DumpState/CMakeLists.txt
++++ edb-debugger-1.3.0/plugins/DumpState/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required (VERSION 3.1)
++cmake_minimum_required (VERSION 3.5)
+ include("GNUInstallDirs")
+ 
+ set(CMAKE_INCLUDE_CURRENT_DIR ON)
+--- edb-debugger-1.3.0.orig/plugins/FasLoader/CMakeLists.txt
++++ edb-debugger-1.3.0/plugins/FasLoader/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required (VERSION 3.1)
++cmake_minimum_required (VERSION 3.5)
+ include("GNUInstallDirs")
+ 
+ set(CMAKE_INCLUDE_CURRENT_DIR ON)
+--- edb-debugger-1.3.0.orig/plugins/FunctionFinder/CMakeLists.txt
++++ edb-debugger-1.3.0/plugins/FunctionFinder/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required (VERSION 3.1)
++cmake_minimum_required (VERSION 3.5)
+ include("GNUInstallDirs")
+ 
+ set(CMAKE_INCLUDE_CURRENT_DIR ON)
+--- edb-debugger-1.3.0.orig/plugins/HardwareBreakpoints/CMakeLists.txt
++++ edb-debugger-1.3.0/plugins/HardwareBreakpoints/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required (VERSION 3.1)
++cmake_minimum_required (VERSION 3.5)
+ include("GNUInstallDirs")
+ 
+ set(CMAKE_INCLUDE_CURRENT_DIR ON)
+--- edb-debugger-1.3.0.orig/plugins/HeapAnalyzer/CMakeLists.txt
++++ edb-debugger-1.3.0/plugins/HeapAnalyzer/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required (VERSION 3.1)
++cmake_minimum_required (VERSION 3.5)
+ include("GNUInstallDirs")
+ 
+ set(CMAKE_INCLUDE_CURRENT_DIR ON)
+--- edb-debugger-1.3.0.orig/plugins/InstructionInspector/CMakeLists.txt
++++ edb-debugger-1.3.0/plugins/InstructionInspector/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required (VERSION 3.1)
++cmake_minimum_required (VERSION 3.5)
+ include("GNUInstallDirs")
+ 
+ set(CMAKE_INCLUDE_CURRENT_DIR ON)
+--- edb-debugger-1.3.0.orig/plugins/ODbgRegisterView/CMakeLists.txt
++++ edb-debugger-1.3.0/plugins/ODbgRegisterView/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required (VERSION 3.1)
++cmake_minimum_required (VERSION 3.5)
+ include("GNUInstallDirs")
+ 
+ set(CMAKE_INCLUDE_CURRENT_DIR ON)
+--- edb-debugger-1.3.0.orig/plugins/OpcodeSearcher/CMakeLists.txt
++++ edb-debugger-1.3.0/plugins/OpcodeSearcher/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required (VERSION 3.1)
++cmake_minimum_required (VERSION 3.5)
+ include("GNUInstallDirs")
+ 
+ set(CMAKE_INCLUDE_CURRENT_DIR ON)
+--- edb-debugger-1.3.0.orig/plugins/ProcessProperties/CMakeLists.txt
++++ edb-debugger-1.3.0/plugins/ProcessProperties/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required (VERSION 3.1)
++cmake_minimum_required (VERSION 3.5)
+ include("GNUInstallDirs")
+ 
+ set(CMAKE_INCLUDE_CURRENT_DIR ON)
+--- edb-debugger-1.3.0.orig/plugins/ROPTool/CMakeLists.txt
++++ edb-debugger-1.3.0/plugins/ROPTool/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required (VERSION 3.1)
++cmake_minimum_required (VERSION 3.5)
+ include("GNUInstallDirs")
+ 
+ set(CMAKE_INCLUDE_CURRENT_DIR ON)
+--- edb-debugger-1.3.0.orig/plugins/References/CMakeLists.txt
++++ edb-debugger-1.3.0/plugins/References/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required (VERSION 3.1)
++cmake_minimum_required (VERSION 3.5)
+ include("GNUInstallDirs")
+ 
+ set(CMAKE_INCLUDE_CURRENT_DIR ON)
+--- edb-debugger-1.3.0.orig/plugins/SymbolViewer/CMakeLists.txt
++++ edb-debugger-1.3.0/plugins/SymbolViewer/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required (VERSION 3.1)
++cmake_minimum_required (VERSION 3.5)
+ include("GNUInstallDirs")
+ 
+ set(CMAKE_INCLUDE_CURRENT_DIR ON)
+--- edb-debugger-1.3.0.orig/src/CMakeLists.txt
++++ edb-debugger-1.3.0/src/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required (VERSION 3.1)
++cmake_minimum_required (VERSION 3.5)
+ include("GNUInstallDirs")
+ include("DetectGitBranch")
+ 
+--- edb-debugger-1.3.0.orig/src/test/CMakeLists.txt
++++ edb-debugger-1.3.0/src/test/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required (VERSION 3.1)
++cmake_minimum_required (VERSION 3.5)
+ 
+ add_executable(ValueTest
+ 	Test.cpp
diff -Nru edb-debugger-1.3.0/debian/patches/series edb-debugger-1.3.0/debian/patches/series
--- edb-debugger-1.3.0/debian/patches/series	2023-07-11 14:10:57.000000000 +0300
+++ edb-debugger-1.3.0/debian/patches/series	2025-11-19 21:11:25.000000000 +0200
@@ -5,3 +5,4 @@
 #0004-widgets-QDisassemblyView-include-QPainterPath.patch
 fix_capstone_5.patch
 fix_gcc_13.patch
+cmake-4.patch

Reply via email to