RFC: Pass --auto-features=enabled in meson

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

 



Hello,

meson 0.47.0 has new option type - feature (tri-state option - enabled/disabled/auto). It is quite common that in autofoo and less in cmake worlds people rely on auto-detection of dependencies and enabling features based on those.

I believe that for distribution we should make sure that all default features are enabled and if not, packager should explicitly disable feature. For instance when I was testing some RPM patches for new compression types, it was disabling some default feature because the configure script was written in a wrong way.

It would be nice if we could have some standardized way of specifying options for buildsystems which would convert into autofoo/cmake/meson way of specifying parameters but this is topic for another discussion.

Thoughts? Objections?

Unless there is strong opposition, I'm going to switch this parameter in %meson macro and you would be able to change its value by redefining %__meson_auto_features.
--

-Igor Gnatenko

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx/message/SVURE6JRDBTFKHJAPFBYRZ62JQ56OLEG/

[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