GNOME Bugzilla – Bug 796755
Unable to disable docs with meson
Last modified: 2020-11-12 14:25:17 UTC
When trying to build NM using meson with -Ddocs=false, it still runs generate-setting-docs.py.
Created attachment 372958 [details] [review] meson: respect docs option for settings docs
Review of attachment 372958 [details] [review]: This will not work since cli depends on settings-docs
nmcli does not depend on settings-docs. The source-tree has "clients/common/settings-docs.h.in". If introspection is not enabled (which is required to generate the file), then autotools build uses the .in file, see https://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/Makefile.am?id=2abf4652d43651e014d99e5fac8de9df10df9bbb#n3489 But I think, the patch is not fully sufficient to achive that.
We need introspection enabled for GNOME Shell and others, though. We just cannot use the file during build because we have patched g-ir-scanner to produce absolute paths: <namespace name="NetworkManager" version="1.0" shared-library="/nix/store/ymnmr44i3iipzvx5vsqvfghfrvmldjir-network-manager-1.10.6/lib/libnm-util.so.2" and those do not exist at the build time yet.
bugzilla.gnome.org is being shut down in favor of a GitLab instance. We are closing all old bug reports and feature requests in GNOME Bugzilla which have not seen updates for a long time. If you still use NetworkManager and if you still see this bug / want this feature in a recent and supported version of NetworkManager, then please feel free to report it at https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/ Thank you for creating this report and we are sorry it could not be implemented (workforce and time is unfortunately limited).