GNOME Bugzilla – Bug 797229
--without-gnome configure switch
Last modified: 2018-09-30 11:18:43 UTC
Created attachment 373813 [details] [review] --without-gnome patch Please find attached a patch which doesn't build the GNOME based properties/ directory if --without-gnome is specified. With current source, using the --without-gnome configure switch and building without GNOME based package dependencies installed results in the following error : CC shared/nm-utils/properties_libnm_vpn_plugin_pptp_editor_la-nm-shared-utils.lo In file included from shared/nm-utils/nm-shared-utils.c:22:0: ./shared/nm-default.h:105:10: fatal error: nma-ui-utils.h: No such file or directory #include <nma-ui-utils.h> ^~~~~~~~~~~~~~~~
The patch is not entirely right. +if WITH_GNOME plugin_LTLIBRARIES += properties/libnm-vpn-plugin-pptp.la +endif libnm-vpn-plugin-pptp is the core part of the plugin. It has no GTK (Gnome) dependencies. It can always be built as it has no dependencies that wouldn't be satisfied already. Merged to master with modification: https://gitlab.gnome.org/GNOME/NetworkManager-pptp/commit/28317b93099106b0e73323e99113e56f0e7240c6 Thanks!!