[gdm: 9/11] meson: Print a summary of configured features (if on meson >= 0.53)
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm: 9/11] meson: Print a summary of configured features (if on meson >= 0.53)
- Date: Mon, 31 Aug 2020 13:28:03 +0000 (UTC)
commit a2d7dc274a9fc834776a74692bc0cdc14ce1a337
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date: Fri Aug 28 17:36:37 2020 +0200
meson: Print a summary of configured features (if on meson >= 0.53)
GDM has a quite complex configuration and it might be hard to spot some
values from the log, so having a summary makes sense.
Meson introduced it starting from 0.53, but we can enable it without bumping
the dependency by using a dynamic version check.
meson.build | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
---
diff --git a/meson.build b/meson.build
index 707c3021..16e5a9c8 100644
--- a/meson.build
+++ b/meson.build
@@ -273,3 +273,58 @@ if xdmcp_dep.found()
subdir('chooser')
endif
subdir('docs')
+
+if meson.version().version_compare('>= 0.53')
+summary({
+ 'datadir': gdm_prefix / get_option('datadir'),
+ 'sysconfdir': gdm_prefix / get_option('sysconfdir'),
+ 'bindir': gdm_prefix / get_option('bindir'),
+ 'libdir': gdm_prefix / get_option('libdir'),
+ 'libexecdir': gdm_prefix / get_option('libexecdir'),
+ 'logdir': get_option('log-dir'),
+ 'System DBus': dbus_sys_dir,
+ 'DM conf': dmconfdir,
+ 'GDM conf': gdmconfdir,
+ 'GDM Screenshot ': gdm_screenshot_dir,
+ 'GDM Xauth': gdm_xauth_dir,
+ 'GDM RanOnceMarker': ran_once_marker_dir,
+ 'GDM Run': gdm_run_dir,
+ 'GDM PID file': gdm_pid_file,
+ 'GDM Defaults config': gdm_defaults_conf,
+ 'GDM Custom config': gdm_custom_conf,
+ 'GDM Runtime config': gdm_runtime_conf,
+ 'GDM Session default path': get_option('default-path'),
+ 'GDM Working dir': working_dir,
+ 'GNOME locale': gdm_prefix / get_option('datadir') / get_option('localedir'),
+ 'GNOME Settings Daemon': gnome_settings_daemon_dir,
+ 'AT SPI registryd': at_spi_registryd_dir,
+ 'Check Accelerated': check_accelerated_dir,
+ 'Lang config file': lang_config_file,
+ 'Pam MOD': pam_mod_dir,
+ 'Udev rules': udev_dir,
+ 'XServer': x_bin,
+ 'XPath': x_path,
+ 'Systemd XServer': systemd_x_server,
+ },
+ section: 'Paths',
+)
+
+summary({
+ 'ADT': have_adt,
+ 'PAM Syslog': have_pam_syslog,
+ 'Supports PAM Extensions': pam_extensions_supported,
+ 'SeLinux': libselinux_dep.found(),
+ 'Use UserDisplayServer': get_option('user-display-server'),
+ 'Use SystemdJournal': get_option('systemd-journal'),
+ 'Use WaylandSupport': get_option('wayland-support'),
+ 'Use Profiling': get_option('profiling'),
+ 'Initial VT': get_option('initial-vt'),
+ 'Username': get_option('user'),
+ 'Groupname': get_option('group'),
+ 'Plymouth': plymouth_dep.found(),
+ 'Use ipv6': get_option('ipv6'),
+ },
+ section: 'Features',
+ bool_yn: true,
+)
+endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]