diff options
author | Michael Catanzaro <mcatanzaro@redhat.com> | 2022-08-15 12:27:55 -0500 |
---|---|---|
committer | Marge Bot <marge-bot@gnome.org> | 2022-10-12 19:43:06 +0000 |
commit | 4cbc05cf75f2d49d8ec1d8c0942c819351361f0d (patch) | |
tree | a5a4c19fa9cf3ee6999fd419d672bb804c97ec8e /meson_options.txt | |
parent | 2595bf00dec7b4ebb3866d82dbc285066e430886 (diff) | |
download | glib-networking-4cbc05cf75f2d49d8ec1d8c0942c819351361f0d.tar.gz |
Remove auto features
I tried to be too clever here and enabled environment proxy support by
default whenever libproxy is disabled. This strategy fails because all
distros enable auto features:
https://gitlab.gnome.org/GNOME/glib-networking/-/merge_requests/217#note_1529568
The solution is to enable libproxy by default, and disable environment
proxy by default. This leaves only two remaining auto features: GnuTLS,
which is almost always wanted, and GNOME proxy, which is also almost
always wanted. Just pick the right defaults. If you don't want these
enabled, pass the flag to disable them. Simple
Part-of: <https://gitlab.gnome.org/GNOME/glib-networking/-/merge_requests/220>
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meson_options.txt b/meson_options.txt index c566ccd..7f244aa 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -4,11 +4,11 @@ # # The environment variable proxy backend is intended for use if you are building # without libproxy. -option('gnutls', type: 'feature', value: 'auto', description: 'support for GnuTLS networking configration') +option('gnutls', type: 'feature', value: 'enabled', description: 'support for GnuTLS networking configration') option('openssl', type: 'feature', value: 'disabled', description: 'support for OpenSSL networking configration') -option('environment_proxy', type: 'feature', value: 'auto', description: 'support for environment variable proxy configuration') -option('libproxy', type: 'feature', value: 'auto', description: 'support for libproxy proxy configration') -option('gnome_proxy', type: 'feature', value: 'auto', description: 'support for GNOME desktop proxy configuration') +option('environment_proxy', type: 'feature', value: 'disabled', description: 'support for environment variable proxy configuration') +option('libproxy', type: 'feature', value: 'enabled', description: 'support for libproxy proxy configration') +option('gnome_proxy', type: 'feature', value: 'enabled', description: 'support for GNOME desktop proxy configuration') option('installed_tests', type: 'boolean', value: false, description: 'enable installed tests') option('debug_logs', type: 'boolean', value: false, description: 'enable debug log messages (slow)') |