After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 796755 - Unable to disable docs with meson
Unable to disable docs with meson
Status: RESOLVED OBSOLETE
Product: NetworkManager
Classification: Platform
Component: general
1.12.x
Other Linux
: Normal normal
: ---
Assigned To: NetworkManager maintainer(s)
NetworkManager maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2018-07-05 20:00 UTC by Jan Tojnar
Modified: 2020-11-12 14:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
meson: respect docs option for settings docs (3.31 KB, patch)
2018-07-05 20:01 UTC, Jan Tojnar
rejected Details | Review

Description Jan Tojnar 2018-07-05 20:00:34 UTC
When trying to build NM using meson with -Ddocs=false, it still runs generate-setting-docs.py.
Comment 1 Jan Tojnar 2018-07-05 20:01:39 UTC
Created attachment 372958 [details] [review]
meson: respect docs option for settings docs
Comment 2 Jan Tojnar 2018-07-05 20:22:46 UTC
Review of attachment 372958 [details] [review]:

This will not work since cli depends on settings-docs
Comment 3 Thomas Haller 2018-07-11 14:33:55 UTC
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.
Comment 4 Jan Tojnar 2018-07-11 14:40:08 UTC
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.
Comment 5 André Klapper 2020-11-12 14:25:17 UTC
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).