xserver: Branch 'master'
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Sep 8 22:43:21 UTC 2022
meson_options.txt | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
New commits:
commit f5b4b79dcf6323731cae765e06c6b58fea0ce747
Author: Eli Schwartz <eschwartz93 at gmail.com>
Date: Sun Jul 31 13:23:22 2022 -0400
meson: fix types for some build options
Booleans are supposed to be actual booleans, not strings describing
their value, but Meson has a bug where it silently accepts either one.
It's still wrong to do it though, and other implementations of Meson
such as muon choke on it.
Signed-off-by: Eli Schwartz <eschwartz93 at gmail.com>
diff --git a/meson_options.txt b/meson_options.txt
index 16377dcc3..ed3b11677 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -61,12 +61,12 @@ option('listen_local', type: 'boolean', value: true,
option('int10', type: 'combo', choices: ['stub', 'x86emu', 'vm86', 'auto', 'false'],
value: 'auto',
description: 'Xorg int10 backend (default: usually x86emu)')
-option('suid_wrapper', type: 'boolean', value: 'false',
+option('suid_wrapper', type: 'boolean', value: false,
description: 'SUID wrapper for legacy driver support')
-option('pciaccess', type: 'boolean', value: 'true',
+option('pciaccess', type: 'boolean', value: true,
description: 'Xorg pciaccess support')
-option('udev', type: 'boolean', value: 'true')
-option('udev_kms', type: 'boolean', value: 'true')
+option('udev', type: 'boolean', value: true)
+option('udev_kms', type: 'boolean', value: true)
option('hal', type: 'combo', choices: ['true', 'false', 'auto'], value: 'auto',
description: 'Enable HAL integration')
option('systemd_logind', type: 'combo', choices: ['true', 'false', 'auto'], value: 'auto',
@@ -111,7 +111,7 @@ option('xf86-input-inputtest', type: 'boolean', value: true,
option('dri1', type: 'combo', choices: ['true', 'false', 'auto'], value: 'auto', description: 'Build DRI1 extension (default: auto)')
option('dri2', type: 'combo', choices: ['true', 'false', 'auto'], value: 'auto', description: 'Build DRI2 extension (default: auto)')
option('dri3', type: 'combo', choices: ['true', 'false', 'auto'], value: 'auto', description: 'Build DRI3 extension (default: auto)')
-option('drm', type: 'boolean', value: 'true',
+option('drm', type: 'boolean', value: true,
description: 'Build Xorg with libdrm support')
option('apple-applications-dir', type: 'string', value: '/Applications/Utilities',
More information about the xorg-commit
mailing list