From 0099f8d5f37acb402bc98c0fae24f0ffb27bc48f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 27 Sep 2025 07:38:26 +0200 Subject: Fix FTBFS with CMmake 4 --- debian/patches/0005-cmake_fix_ftbfs.patch | 13 +++++++++++++ debian/patches/series | 1 + 2 files changed, 14 insertions(+) create mode 100644 debian/patches/0005-cmake_fix_ftbfs.patch (limited to 'debian/patches') diff --git a/debian/patches/0005-cmake_fix_ftbfs.patch b/debian/patches/0005-cmake_fix_ftbfs.patch new file mode 100644 index 0000000..f5aa075 --- /dev/null +++ b/debian/patches/0005-cmake_fix_ftbfs.patch @@ -0,0 +1,13 @@ +Index: trunk/CMakeLists.txt +=================================================================== +--- trunk.orig/CMakeLists.txt ++++ trunk/CMakeLists.txt +@@ -4,7 +4,7 @@ + + project("gnomepie" C) + +-cmake_minimum_required(VERSION 2.6) ++cmake_minimum_required(VERSION 3.2...3.31) + + # Location where cmake first looks for modules. + list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/vala) diff --git a/debian/patches/series b/debian/patches/series index 6df8e3f..fc58f89 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,4 +1,5 @@ #0110-Fix-Build-error.patch +0005-cmake_fix_ftbfs.patch 0900-fix_it_po.patch 0700-ayatana-appindicator.patch 0105-spelling_errors.patch -- cgit v1.2.3 From e0c14ca1cc19501eb1df8598c69a4a517cc2255b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 27 Sep 2025 08:49:16 +0200 Subject: d/patches: Remove unused 0110-Fix-Build-error.patch --- debian/patches/0005-cmake_fix_ftbfs.patch | 8 ++++++++ debian/patches/0110-Fix-Build-error.patch | 19 ------------------- debian/patches/series | 1 - 3 files changed, 8 insertions(+), 20 deletions(-) delete mode 100644 debian/patches/0110-Fix-Build-error.patch (limited to 'debian/patches') diff --git a/debian/patches/0005-cmake_fix_ftbfs.patch b/debian/patches/0005-cmake_fix_ftbfs.patch index f5aa075..e583bf6 100644 --- a/debian/patches/0005-cmake_fix_ftbfs.patch +++ b/debian/patches/0005-cmake_fix_ftbfs.patch @@ -1,3 +1,11 @@ +Description: Fix FTBFS with CMake 4 +Author: Jörg Frings-Fürst +Bug: +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1112967 +Forwarded: not-needed, project archived. +Last-Update: 2025-09-27 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ Index: trunk/CMakeLists.txt =================================================================== --- trunk.orig/CMakeLists.txt diff --git a/debian/patches/0110-Fix-Build-error.patch b/debian/patches/0110-Fix-Build-error.patch deleted file mode 100644 index 0ec2925..0000000 --- a/debian/patches/0110-Fix-Build-error.patch +++ /dev/null @@ -1,19 +0,0 @@ -Description: Fix build errors -Author: Jörg Frings-Fürst -forwarded: https://github.com/Simmesimme/Gnome-Pie/issues/177 -Last-Update: 2020-05-31 ---- -This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ -Index: trunk/src/actions/action.vala -=================================================================== ---- trunk.orig/src/actions/action.vala -+++ trunk/src/actions/action.vala -@@ -69,7 +69,7 @@ public abstract class Action : GLib.Obje - /// C'tor, initializes all members. - ///////////////////////////////////////////////////////////////////// - -- public Action(string name, string icon, bool is_quickaction) { -+ Action(string name, string icon, bool is_quickaction) { - GLib.Object(name : name, icon : icon, is_quickaction : is_quickaction); - } - diff --git a/debian/patches/series b/debian/patches/series index fc58f89..4f5e20f 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,4 +1,3 @@ -#0110-Fix-Build-error.patch 0005-cmake_fix_ftbfs.patch 0900-fix_it_po.patch 0700-ayatana-appindicator.patch -- cgit v1.2.3 From 45d86c27fd2a59ab0dab3155fb286b61e532080f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 27 Sep 2025 09:30:16 +0200 Subject: d/control: Remove redundant Rules-Requires-Root field --- debian/patches/0005-cmake_fix_ftbfs.patch | 1 - 1 file changed, 1 deletion(-) (limited to 'debian/patches') diff --git a/debian/patches/0005-cmake_fix_ftbfs.patch b/debian/patches/0005-cmake_fix_ftbfs.patch index e583bf6..716f335 100644 --- a/debian/patches/0005-cmake_fix_ftbfs.patch +++ b/debian/patches/0005-cmake_fix_ftbfs.patch @@ -1,6 +1,5 @@ Description: Fix FTBFS with CMake 4 Author: Jörg Frings-Fürst -Bug: Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1112967 Forwarded: not-needed, project archived. Last-Update: 2025-09-27 -- cgit v1.2.3