Re: Proposal to Update Minimum CMake Version to 3.22

2025-04-04 Thread Ingo Klöcker
On Sonntag, 30. März 2025 14:13:23 Mitteleuropäische Sommerzeit Ömer Fadıl 
USTA wrote:
> I hope this message finds you well. I would like to propose an update to
> the minimum required version of CMake for KDE Frameworks and KDE Plasma
> projects, raising it from 3.16 to 3.22.
> 
> The primary reason for this change is that there are currently no
> distributions that still utilize CMake 3.16. While this transition may be
> considered late for KDE 6.4, it is essential for KDE 6.5. Our existing
> Continuous Integration (CI) systems are already using versions of CMake
> that are newer than 3.16, meaning we do not perform checks for CMake 3.16
> compu7yyyatibility.

For what it's worth: Our AppImage CD image (based on SLES 15 SP5) currently 
provides cmake-3.20.4-150400.4.6.1.x86_64.

I have no idea what version of cmake SLES 15 SP6 provides. In either case it 
means someone would need to update the image to SLES 15 SP6 (if this version 
provides cmake 3.22+) or someone needs to ensure we compile cmake ourselves 
for the image (which is probably fairly easy for the AppImage CD image since 
it uses Craft).

Regards,
Ingo

signature.asc
Description: This is a digitally signed message part.


Re: Proposal to Update Minimum CMake Version to 3.22

2025-04-04 Thread Albert Astals Cid
El diumenge, 30 de març del 2025, a les 14:13:23 (Hora d’estiu d’Europa 
central), Ömer Fadıl USTA va escriure:
> Dear KDE Core Development Team,
> 
> I hope this message finds you well. I would like to propose an update to
> the minimum required version of CMake for KDE Frameworks and KDE Plasma
> projects, raising it from 3.16 to 3.22.
> 
> The primary reason for this change is that there are currently no
> distributions that still utilize CMake 3.16. While this transition may be
> considered late for KDE 6.4, it is essential for KDE 6.5.

Can you please use proper naming when trying to convince us to change minimum 
required dependencies for major KDE projects?

There is nothing called KDE 6.4.

Assuming you mean Plasma, can you please explain why the update is essential?

Best Regards,
  Albert


> Our existing
> Continuous Integration (CI) systems are already using versions of CMake
> that are newer than 3.16, meaning we do not perform checks for CMake 3.16
> compu7yyyatibility.
> 
> Furthermore, with the release of Qt 6.9 stable, the minimum required
> version of CMake for building Qt has been updated to 3.22, as noted in the
> Qt 6.9 release notes[1]. This change emphasizes the need for us to align
> our CMake version with the latest requirements to ensure compatibility and
> maintainability.
> 
> It is important to note that while this change primarily affects KDE
> Frameworks and KDE Plasma, we are not directly responsible for pushing this
> change across all KDE projects, such as KDE Gears (KDE Apps). Some
> projects, like Kdenlive and Krita, may be resistant to this change or may
> prefer a slower transition. However, I believe that updating the minimum
> CMake version to 3.22 will ultimately benefit our development process and
> ensure that we are using a more modern and supported build system.
> 
> Additionally, with the release of CMake 4.0, support for versions below 3.5
> has been officially dropped[2]. This further underscores the importance of
> keeping our CMake version up to date.
> 
> Thank you for considering this proposal. I look forward to your feedback.
> 
> [1] :
> https://doc-snapshots.qt.io/qt6-6.9/whatsnew69.html#build-system-changes
> [2]:
> https://cmake.org/cmake/help/latest/release/4.0.html#deprecated-and-removed-> 
> features
> 
> Ps: Sorry for crossposting to kde-core-devel and kde-devel lists.
> 
> Best regards,
> 
> Ömer Fadıl Usta
> PGP key : 0xfd11561976b1690b
> about.me/omerusta