Control: tags 1112974 + patch
Control: tags 1112974 + pending

Dear maintainer,

I've prepared an NMU for gpick (versioned as 0.2.6-1.2) and uploaded
it to DELAYED/15. Please feel free to tell me if I should cancel it.

cu
Adrian
diffstat for gpick-0.2.6 gpick-0.2.6

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

diff -Nru gpick-0.2.6/debian/changelog gpick-0.2.6/debian/changelog
--- gpick-0.2.6/debian/changelog	2024-04-14 14:17:18.000000000 +0300
+++ gpick-0.2.6/debian/changelog	2025-10-28 12:56:29.000000000 +0200
@@ -1,3 +1,10 @@
+gpick (0.2.6-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with CMake 4. (Closes: #1112974)
+
+ -- Adrian Bunk <[email protected]>  Tue, 28 Oct 2025 12:56:29 +0200
+
 gpick (0.2.6-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru gpick-0.2.6/debian/patches/cmake-4.patch gpick-0.2.6/debian/patches/cmake-4.patch
--- gpick-0.2.6/debian/patches/cmake-4.patch	1970-01-01 02:00:00.000000000 +0200
+++ gpick-0.2.6/debian/patches/cmake-4.patch	2025-10-28 12:56:29.000000000 +0200
@@ -0,0 +1,36 @@
+Description: Fix FTBFS with CMake 4
+Author: Adrian Bunk <[email protected]>
+Bug-Debian: https://bugs.debian.org/1112974
+
+--- gpick-0.2.6.orig/CMakeLists.txt
++++ gpick-0.2.6/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 3.1)
++cmake_minimum_required(VERSION 3.5)
+ project(gpick)
+ option(ENABLE_NLS "compile with gettext support" true)
+ option(USE_GTK3 "use GTK3 instead of GTK2" true)
+--- gpick-0.2.6.orig/cmake/FindGettext.cmake
++++ gpick-0.2.6/cmake/FindGettext.cmake
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 2.8)
++cmake_minimum_required(VERSION 3.5)
+ find_program(MSGMERGE_EXECUTABLE NAMES msgmerge)
+ find_program(MSGFMT_EXECUTABLE NAMES msgfmt)
+ find_program(MSGCAT_EXECUTABLE NAMES msgcat)
+--- gpick-0.2.6.orig/cmake/FindRagel.cmake
++++ gpick-0.2.6/cmake/FindRagel.cmake
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 2.8)
++cmake_minimum_required(VERSION 3.5)
+ find_program(RAGEL_EXECUTABLE NAMES ragel DOC "path to the ragel executable")
+ mark_as_advanced(RAGEL_EXECUTABLE)
+ if (RAGEL_EXECUTABLE)
+--- gpick-0.2.6.orig/cmake/Version.cmake
++++ gpick-0.2.6/cmake/Version.cmake
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 2.8)
++cmake_minimum_required(VERSION 3.5)
+ find_program(GIT_EXECUTABLE git DOC "Git version control")
+ mark_as_advanced(GIT_EXECUTABLE)
+ find_file(GITDIR NAMES .git PATHS ${CMAKE_CURRENT_SOURCE_DIR} NO_DEFAULT_PATH)
diff -Nru gpick-0.2.6/debian/patches/series gpick-0.2.6/debian/patches/series
--- gpick-0.2.6/debian/patches/series	1970-01-01 02:00:00.000000000 +0200
+++ gpick-0.2.6/debian/patches/series	2025-10-28 12:56:29.000000000 +0200
@@ -0,0 +1 @@
+cmake-4.patch

Reply via email to