Hello,

meson 0.47.0 has new option type - feature
<https://mesonbuild.com/Release-notes-for-0-47-0.html#new-type-of-build-option-for-features>
(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@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org/message/SVURE6JRDBTFKHJAPFBYRZ62JQ56OLEG/

Reply via email to