Source: cmake Version: 3.31.5-2 Severity: wishlist Hi!
Do you think it'd be feasable to package CMake 4.0 for trixie?Despite its scary-looking name, it doesn't seem to be that big of a release, and doesn't break much. The main change, as far as I can tell, is the removal of compatibility with a CMake Policy version older than 3.5 (i.e., projects declaring `cmake_minimum_required(VERSION 3.0)` will no longer build).
While this might sound scary, CMake 4.0 also introduced a variable named `CMAKE_POLICY_VERSION_MINIMUM`, which can override the `cmake_minimum_required` call of built projects.
In other words, upgrading to CMake 4.0 will require Debian to either:1. Patch all CMake-based projects to call at least `cmake_minimum_required(VERSION 3.5)`, or 2. Patch debhelper to pass `-DCMAKE_POLICY_VERSION_MINIMUM=3.5` when building.
Either way, there's a possibility that some projects will not build with the above fix. Still, I find it quite unlikely.
Let me know! Bye :)
signature.asc
Description: PGP signature