Control: tags 1112948 + patch Control: tags 1112948 + pending Dear maintainer,
I've prepared an NMU for getdp (versioned as 3.5.0+dfsg1-4.1) and uploaded it to DELAYED/14. Please feel free to tell me if I should cancel it. cu Adrian
diffstat for getdp-3.5.0+dfsg1 getdp-3.5.0+dfsg1 changelog | 7 + patches/0001-bump-min-cmake-to-3.5-so-that-we-support-cmake-4.0-o.patch | 40 ++++++++++ patches/series | 1 3 files changed, 48 insertions(+) diff -Nru getdp-3.5.0+dfsg1/debian/changelog getdp-3.5.0+dfsg1/debian/changelog --- getdp-3.5.0+dfsg1/debian/changelog 2025-04-23 14:47:39.000000000 +0300 +++ getdp-3.5.0+dfsg1/debian/changelog 2025-10-11 11:52:40.000000000 +0300 @@ -1,3 +1,10 @@ +getdp (3.5.0+dfsg1-4.1) unstable; urgency=medium + + * Non-maintainer upload. + * Backport upstream fix for FTBFS with CMake 4. (Closes: #1112948) + + -- Adrian Bunk <[email protected]> Sat, 11 Oct 2025 11:52:40 +0300 + getdp (3.5.0+dfsg1-4) unstable; urgency=medium * Team upload. diff -Nru getdp-3.5.0+dfsg1/debian/patches/0001-bump-min-cmake-to-3.5-so-that-we-support-cmake-4.0-o.patch getdp-3.5.0+dfsg1/debian/patches/0001-bump-min-cmake-to-3.5-so-that-we-support-cmake-4.0-o.patch --- getdp-3.5.0+dfsg1/debian/patches/0001-bump-min-cmake-to-3.5-so-that-we-support-cmake-4.0-o.patch 1970-01-01 02:00:00.000000000 +0200 +++ getdp-3.5.0+dfsg1/debian/patches/0001-bump-min-cmake-to-3.5-so-that-we-support-cmake-4.0-o.patch 2025-10-11 11:50:55.000000000 +0300 @@ -0,0 +1,40 @@ +From 4930f9e206c18dabdc2f549afc99679899fcd9c2 Mon Sep 17 00:00:00 2001 +From: Christophe Geuzaine <[email protected]> +Date: Wed, 2 Apr 2025 16:27:24 +0200 +Subject: bump min cmake to 3.5 so that we support cmake 4.0 out of the box + +--- + CMakeLists.txt | 10 ++-------- + 1 file changed, 2 insertions(+), 8 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 46a17934..9c5ea80e 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -3,7 +3,7 @@ + # See the LICENSE.txt file for license information. Please report all + # issues on https://gitlab.onelab.info/getdp/getdp/issues. + +-cmake_minimum_required(VERSION 3.3 FATAL_ERROR) ++cmake_minimum_required(VERSION 3.5 FATAL_ERROR) + + # if CMAKE_BUILD_TYPE is specified use it; otherwise set the default + # build type to "RelWithDebInfo" ("-O2 -g" with gcc) prior to calling +@@ -96,13 +96,7 @@ if(ENABLE_PRIVATE_API) + ${CMAKE_CURRENT_BINARY_DIR}/src/common/GetDPVersion.h) + endif() + +-if(${CMAKE_MAJOR_VERSION} GREATER 2) +- string(TIMESTAMP DATE "%Y%m%d") +-else() +- execute_process(COMMAND date "+%Y%m%d" OUTPUT_VARIABLE DATE +- OUTPUT_STRIP_TRAILING_WHITESPACE) +-endif() +- ++string(TIMESTAMP DATE "%Y%m%d") + if(NOT DATE) + set(DATE "unknown") + endif() +-- +2.30.2 + diff -Nru getdp-3.5.0+dfsg1/debian/patches/series getdp-3.5.0+dfsg1/debian/patches/series --- getdp-3.5.0+dfsg1/debian/patches/series 2025-04-23 14:46:49.000000000 +0300 +++ getdp-3.5.0+dfsg1/debian/patches/series 2025-10-11 11:52:37.000000000 +0300 @@ -2,3 +2,4 @@ localise_toplevel_htmldoc.patch link_fortran.patch add_eigen_include_directories.patch +0001-bump-min-cmake-to-3.5-so-that-we-support-cmake-4.0-o.patch

