Re: F42 Change Proposal: CMake drop non-standard variables (system-wide)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2025/04/17 10:28, Vitaly Zaitsev via devel wrote:

On 16/04/2025 13:47, Aoife Moloney wrote:
== Benefit to Fedora ==
* Avoid packaging issue due to the current assumption that the the
paths used are meant to be absolute paths.
* Encourage upstream build system modernization and standardization.

Sorry, but I'm still skeptical about this change. I don't see any real benefits for Fedora. I only see additional pain for maintainers.

I think these non-standard variables are better stay in cmake.macros rather than added to each individual package where they are required.

The goal is to fix them usptream for the benefit of upstream and other packaging ecosystems. Inevitably some upstreams are dead, in which case a downstream definition would be preferred, but also it's a good reminder to check if those packages are used anymore.

So far as I've raised this issue with upstream they were positive to the migration. Of course I had to be the one to write the PR for the migration, but I don't expect it to be any other way. This is why this change proposal does not have a deadline. Feel free to tag me on the upstream, if upstream is opposed.

As for downstream benefits, it is much easier to do fixes globally in the GNUInstallDirs or in the cmake package, where the definition of these variables is well documented and with the help of policy switches. I am also up to fixing some of the longstanding CMake issues that affect packaging, so feel free to ping me on some of them that I should investigate.

-- 
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux