2017-05-24 20:16:27 -04:00
|
|
|
project('gnome-shell', 'c',
|
2023-08-10 18:02:10 -04:00
|
|
|
version: '45.beta.1',
|
2021-12-22 20:40:22 -05:00
|
|
|
meson_version: '>= 0.58.0',
|
2017-05-24 20:16:27 -04:00
|
|
|
license: 'GPLv2+'
|
|
|
|
)
|
|
|
|
|
2019-07-23 16:34:58 -04:00
|
|
|
split_version = meson.project_version().split('.')
|
|
|
|
|
2017-05-24 20:16:27 -04:00
|
|
|
# We depend on a specific version of the libmutter API. The mutter variants of
|
|
|
|
# the Cogl and Clutter libraries also use this API version.
|
2021-10-14 12:53:17 -04:00
|
|
|
# The API version is increased each development cycle,
|
2019-07-23 16:34:58 -04:00
|
|
|
# starting with 0 in 3.23.x
|
2023-07-03 14:33:00 -04:00
|
|
|
mutter_api_version = '13'
|
2017-05-24 20:16:27 -04:00
|
|
|
|
|
|
|
clutter_pc = 'mutter-clutter-' + mutter_api_version
|
|
|
|
cogl_pc = 'mutter-cogl-' + mutter_api_version
|
|
|
|
cogl_pango_pc = 'mutter-cogl-pango-' + mutter_api_version
|
|
|
|
libmutter_pc = 'libmutter-' + mutter_api_version
|
2021-05-06 17:17:40 -04:00
|
|
|
libmutter_test_pc = 'libmutter-test-' + mutter_api_version
|
2017-05-24 20:16:27 -04:00
|
|
|
|
2019-04-18 10:21:43 -04:00
|
|
|
ecal_req = '>= 3.33.1'
|
2020-04-02 03:24:28 -04:00
|
|
|
eds_req = '>= 3.33.1'
|
2022-07-19 12:31:04 -04:00
|
|
|
gcr_req = '>= 3.90.0'
|
2018-03-19 16:44:41 -04:00
|
|
|
gio_req = '>= 2.56.0'
|
2017-05-24 20:16:27 -04:00
|
|
|
gi_req = '>= 1.49.1'
|
2022-07-06 09:22:37 -04:00
|
|
|
gjs_req = '>= 1.73.1'
|
2023-04-13 16:39:29 -04:00
|
|
|
gtk_req = '>= 4.0'
|
2023-08-10 18:02:10 -04:00
|
|
|
mutter_req = '>= 45.beta.1'
|
2017-05-24 20:16:27 -04:00
|
|
|
polkit_req = '>= 0.100'
|
2022-02-14 17:37:03 -05:00
|
|
|
schemas_req = '>= 42.beta'
|
2017-05-24 20:16:27 -04:00
|
|
|
startup_req = '>= 0.11'
|
2023-06-16 10:23:30 -04:00
|
|
|
systemd_req = '>= 246'
|
2021-07-27 10:52:32 -04:00
|
|
|
ibus_req = '>= 1.5.19'
|
2023-02-21 19:39:21 -05:00
|
|
|
gnome_desktop_req = '>= 40'
|
2023-07-09 15:14:25 -04:00
|
|
|
pipewire_req = '>= 0.3.49'
|
2017-05-24 20:16:27 -04:00
|
|
|
|
2018-01-11 04:50:45 -05:00
|
|
|
nm_req = '>= 1.10.4'
|
2017-05-24 20:16:27 -04:00
|
|
|
secret_req = '>= 0.18'
|
|
|
|
|
2020-12-15 13:23:14 -05:00
|
|
|
fs = import('fs')
|
2017-05-24 20:16:27 -04:00
|
|
|
gnome = import('gnome')
|
|
|
|
i18n = import('i18n')
|
|
|
|
|
|
|
|
prefix = get_option('prefix')
|
|
|
|
|
|
|
|
bindir = join_paths(prefix, get_option('bindir'))
|
|
|
|
datadir = join_paths(prefix, get_option('datadir'))
|
|
|
|
libdir = join_paths(prefix, get_option('libdir'))
|
|
|
|
libexecdir = join_paths(prefix, get_option('libexecdir'))
|
|
|
|
mandir = join_paths(prefix, get_option('mandir'))
|
2018-07-18 13:27:29 -04:00
|
|
|
sysconfdir = join_paths(prefix, get_option('sysconfdir'))
|
2017-05-24 20:16:27 -04:00
|
|
|
|
|
|
|
pkgdatadir = join_paths(datadir, meson.project_name())
|
|
|
|
pkglibdir = join_paths(libdir, meson.project_name())
|
|
|
|
|
2018-07-18 13:27:29 -04:00
|
|
|
autostartdir = join_paths(sysconfdir, 'xdg', 'autostart')
|
2017-05-24 20:16:27 -04:00
|
|
|
desktopdir = join_paths(datadir, 'applications')
|
2020-01-24 12:09:34 -05:00
|
|
|
icondir = join_paths(datadir, 'icons')
|
2017-05-24 20:16:27 -04:00
|
|
|
ifacedir = join_paths(datadir, 'dbus-1', 'interfaces')
|
|
|
|
localedir = join_paths(datadir, 'locale')
|
2020-03-12 15:27:32 -04:00
|
|
|
metainfodir = join_paths(datadir, 'metainfo')
|
2017-07-19 19:43:38 -04:00
|
|
|
portaldir = join_paths(datadir, 'xdg-desktop-portal', 'portals')
|
2017-05-24 20:16:27 -04:00
|
|
|
schemadir = join_paths(datadir, 'glib-2.0', 'schemas')
|
|
|
|
servicedir = join_paths(datadir, 'dbus-1', 'services')
|
|
|
|
|
|
|
|
keybindings_dep = dependency('gnome-keybindings', required: false)
|
|
|
|
if keybindings_dep.found()
|
2021-12-22 20:40:22 -05:00
|
|
|
keysdir = keybindings_dep.get_variable('keysdir', pkgconfig_define: ['datadir', datadir])
|
2017-05-24 20:16:27 -04:00
|
|
|
else
|
|
|
|
keysdir = join_paths(datadir, 'gnome-control-center', 'keybindings')
|
|
|
|
endif
|
|
|
|
|
|
|
|
atk_bridge_dep = dependency('atk-bridge-2.0')
|
2019-04-18 10:21:43 -04:00
|
|
|
ecal_dep = dependency('libecal-2.0', version: ecal_req)
|
2017-05-24 20:16:27 -04:00
|
|
|
eds_dep = dependency('libedataserver-1.2', version: eds_req)
|
2022-07-19 12:31:04 -04:00
|
|
|
gcr_dep = dependency('gcr-4', version: gcr_req)
|
2017-05-24 20:16:27 -04:00
|
|
|
gdk_x11_dep = dependency('gdk-x11-3.0')
|
|
|
|
gdk_pixbuf_dep = dependency('gdk-pixbuf-2.0')
|
|
|
|
gi_dep = dependency('gobject-introspection-1.0', version: gi_req)
|
|
|
|
gio_dep = dependency('gio-2.0', version: gio_req)
|
|
|
|
gio_unix_dep = dependency('gio-unix-2.0', version: gio_req)
|
|
|
|
gjs_dep = dependency('gjs-1.0', version: gjs_req)
|
2023-04-13 16:39:29 -04:00
|
|
|
gtk_dep = dependency('gtk4', version: gtk_req)
|
2017-05-24 20:16:27 -04:00
|
|
|
libxml_dep = dependency('libxml-2.0')
|
|
|
|
clutter_dep = dependency(clutter_pc, version: mutter_req)
|
|
|
|
cogl_dep = dependency(cogl_pc, version: mutter_req)
|
|
|
|
cogl_pango_dep = dependency(cogl_pango_pc, version: mutter_req)
|
|
|
|
mutter_dep = dependency(libmutter_pc, version: mutter_req)
|
|
|
|
polkit_dep = dependency('polkit-agent-1', version: polkit_req)
|
|
|
|
startup_dep = dependency('libstartup-notification-1.0', version: startup_req)
|
2018-01-17 11:01:24 -05:00
|
|
|
ibus_dep = dependency('ibus-1.0', version: ibus_req)
|
2017-05-24 20:16:27 -04:00
|
|
|
x11_dep = dependency('x11')
|
|
|
|
schemas_dep = dependency('gsettings-desktop-schemas', version: schemas_req)
|
2023-02-21 19:39:21 -05:00
|
|
|
gnome_desktop_dep = dependency('gnome-desktop-4', version: gnome_desktop_req)
|
2017-05-24 20:16:27 -04:00
|
|
|
|
|
|
|
nm_deps = []
|
2017-11-25 01:15:39 -05:00
|
|
|
if get_option('networkmanager')
|
2017-10-31 06:38:20 -04:00
|
|
|
nm_deps += dependency('libnm', version: nm_req)
|
2017-11-25 01:15:39 -05:00
|
|
|
nm_deps += dependency('libsecret-1', version: secret_req)
|
2017-05-24 20:16:27 -04:00
|
|
|
|
|
|
|
have_networkmanager = true
|
|
|
|
else
|
2018-01-21 15:04:37 -05:00
|
|
|
have_networkmanager = false
|
2017-12-11 12:37:45 -05:00
|
|
|
endif
|
|
|
|
|
2023-07-09 15:14:25 -04:00
|
|
|
if get_option('camera_monitor')
|
|
|
|
libpipewire_dep = dependency('libpipewire-0.3', version: pipewire_req)
|
|
|
|
have_pipewire = true
|
|
|
|
else
|
|
|
|
libpipewire_dep = []
|
|
|
|
have_pipewire = false
|
|
|
|
endif
|
|
|
|
|
2017-11-25 01:15:39 -05:00
|
|
|
if get_option('systemd')
|
2023-06-16 10:23:30 -04:00
|
|
|
libsystemd_dep = dependency('libsystemd', version: systemd_req)
|
|
|
|
systemd_dep = dependency('systemd', version: systemd_req)
|
2021-12-22 20:40:22 -05:00
|
|
|
systemduserunitdir = systemd_dep.get_variable('systemduserunitdir',
|
|
|
|
pkgconfig_define: ['prefix', prefix])
|
2018-01-17 10:56:17 -05:00
|
|
|
have_systemd = true
|
2017-05-24 20:16:27 -04:00
|
|
|
else
|
2018-01-17 10:56:17 -05:00
|
|
|
libsystemd_dep = []
|
2017-05-24 20:16:27 -04:00
|
|
|
have_systemd = false
|
|
|
|
endif
|
|
|
|
|
2017-11-25 01:10:26 -05:00
|
|
|
if get_option('man')
|
2020-12-15 13:23:14 -05:00
|
|
|
if fs.exists('man/gnome-shell.1')
|
|
|
|
install_man('man/gnome-shell.1')
|
|
|
|
else
|
|
|
|
a2x = find_program('a2x')
|
|
|
|
subdir('man')
|
|
|
|
endif
|
2017-05-24 20:16:27 -04:00
|
|
|
endif
|
|
|
|
|
2021-12-22 20:40:22 -05:00
|
|
|
mutter_typelibdir = mutter_dep.get_variable('typelibdir')
|
2017-05-24 20:16:27 -04:00
|
|
|
python = find_program('python3')
|
2020-03-03 21:06:57 -05:00
|
|
|
gjs = find_program('gjs')
|
2017-05-24 20:16:27 -04:00
|
|
|
|
|
|
|
cc = meson.get_compiler('c')
|
|
|
|
|
|
|
|
m_dep = cc.find_library('m', required: false)
|
|
|
|
|
|
|
|
cdata = configuration_data()
|
|
|
|
cdata.set_quoted('GETTEXT_PACKAGE', meson.project_name())
|
|
|
|
cdata.set_quoted('VERSION', meson.project_version())
|
|
|
|
cdata.set_quoted('PACKAGE_VERSION', meson.project_version())
|
|
|
|
|
|
|
|
cdata.set('HAVE_NETWORKMANAGER', have_networkmanager)
|
2023-07-09 15:14:25 -04:00
|
|
|
cdata.set('HAVE_PIPEWIRE', have_pipewire)
|
2017-05-24 20:16:27 -04:00
|
|
|
cdata.set('HAVE_SYSTEMD', have_systemd)
|
|
|
|
|
shell-app: remove child_setup from app launching
When the amount of free memory on the system is somewhat low, gnome-shell
will sometimes fail to launch apps, reporting the error:
fork(): Cannot allocate memory
fork() is failing here because while cloning the process virtual address
space, Linux worries that the thread being forked may end up COWing the
entire address space of the parent process (gnome-shell, which is
memory-hungry), and there is not enough free memory to permit that to
happen. This check is somewhat irrelevant because we are only forking
to immediately exec(), which will discard the whole virtual address
space anyway.
This issue can be avoided by using a new optimized gspawn codepath in
the latest glib development version, which uses posix_spawn() internally.
For the optimized codepath to be used, we must not pass a child_setup
function, so the the file descriptor management is reimplemented here
using new glib API to pass fds to the child process. The old API will
continue to be used on older glib versions.
We must also change the spawn flags for this code path to be hit.
I checked that gnome-shell's open file descriptors are all CLOEXEC
so using G_SPAWN_LEAVE_DESCRIPTORS_OPEN should be safe.
This will result in more resilient app launching when memory is low,
since the optimized spawn path avoids cloning the virtual address
space of the parent process (gnome-shell) and avoids the irrelevant
memory overcommit check.
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/132
2018-06-06 09:07:17 -04:00
|
|
|
# New API added in glib-2.57.2
|
|
|
|
cdata.set('HAVE_GIO_DESKTOP_LAUNCH_URIS_WITH_FDS',
|
|
|
|
cc.has_function('g_desktop_app_info_launch_uris_as_manager_with_fds',
|
|
|
|
dependencies : gio_dep)
|
|
|
|
)
|
2017-05-24 20:16:27 -04:00
|
|
|
cdata.set('HAVE_FDWALK', cc.has_function('fdwalk'))
|
|
|
|
cdata.set('HAVE_MALLINFO', cc.has_function('mallinfo'))
|
2021-03-31 19:08:12 -04:00
|
|
|
cdata.set('HAVE_MALLINFO2', cc.has_function('mallinfo2'))
|
2017-05-24 20:16:27 -04:00
|
|
|
cdata.set('HAVE_SYS_RESOURCE_H', cc.has_header('sys/resource.h'))
|
main: Prepend RPATH or RUNPATH paths to gir search paths
If one wants to run tests the non-installed gnome-shell, that currently
fails as gnome-shell the executable attempts to link against
./build/src/libgnome-shell.so, but when GObject introspection tries to
find what library to link to for Shell, it goes to the installed
libgnome-shell.so, causing two different versions of libgnome-shell.so
to be loaded.
This, however, can be avoided thanks to meson adding $ORIGIN paths to
relevant libraries before installing an executable. What this means in
practice is that we can inspect ourself upon startup, discover whether
the RPATH/RUNPATH header contains $ORIGIN, and if so, expand it to the
directory containing the executable, and prepend the introspection
search paths with said directory.
This effectively means that the introspection machinery now finds the
same library that the linker linked the gnome-shell executable with,
making it run successfully.
It's not possible to use $GI_TYPELIB_PATH since
g_irepository_prepend_library_path() takes precedence. There is no
"append" variant of that API.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1349>
2022-08-17 15:43:21 -04:00
|
|
|
cdata.set('HAVE_EXE_INTROSPECTION',
|
|
|
|
cc.has_header('elf.h') and cc.has_header('link.h'))
|
2017-05-24 20:16:27 -04:00
|
|
|
cdata.set('HAVE__NL_TIME_FIRST_WEEKDAY',
|
|
|
|
cc.has_header_symbol('langinfo.h', '_NL_TIME_FIRST_WEEKDAY')
|
|
|
|
)
|
|
|
|
|
2018-07-27 12:30:22 -04:00
|
|
|
cdata.set('HAVE_FDWALK',
|
|
|
|
cc.has_function('fdwalk')
|
|
|
|
)
|
|
|
|
|
2022-05-17 09:36:43 -04:00
|
|
|
polkit_has_autocleanup = cc.compiles(
|
2022-06-28 12:59:05 -04:00
|
|
|
'''
|
|
|
|
#define POLKIT_AGENT_I_KNOW_API_IS_SUBJECT_TO_CHANGE
|
2022-05-17 09:36:43 -04:00
|
|
|
#include <polkitagent/polkitagent.h>
|
2022-06-28 12:59:05 -04:00
|
|
|
void main(void) { g_autoptr(PolkitAgentListener) agent = NULL; }
|
|
|
|
''',
|
2022-05-17 09:36:43 -04:00
|
|
|
dependencies: polkit_dep)
|
|
|
|
cdata.set('HAVE_POLKIT_AUTOCLEANUP', polkit_has_autocleanup)
|
|
|
|
|
2019-04-29 06:59:56 -04:00
|
|
|
buildtype = get_option('buildtype')
|
|
|
|
if buildtype != 'plain'
|
|
|
|
all_warnings = [
|
|
|
|
'-fno-strict-aliasing',
|
|
|
|
'-Wpointer-arith',
|
|
|
|
'-Wmissing-declarations',
|
|
|
|
'-Wimplicit-function-declaration',
|
|
|
|
'-Wformat=2',
|
|
|
|
'-Wformat-nonliteral',
|
|
|
|
'-Wformat-security',
|
|
|
|
'-Wstrict-prototypes',
|
|
|
|
'-Wmissing-prototypes',
|
|
|
|
'-Wnested-externs',
|
|
|
|
'-Wold-style-definition',
|
|
|
|
'-Wundef',
|
|
|
|
'-Wunused',
|
|
|
|
'-Wcast-align',
|
|
|
|
'-Wmissing-noreturn',
|
|
|
|
'-Wmissing-format-attribute',
|
|
|
|
'-Wmissing-include-dirs',
|
|
|
|
'-Wlogical-op',
|
|
|
|
'-Wignored-qualifiers',
|
|
|
|
'-Werror=redundant-decls',
|
|
|
|
'-Werror=implicit',
|
|
|
|
'-Werror=nonnull',
|
|
|
|
'-Werror=init-self',
|
|
|
|
'-Werror=main',
|
|
|
|
'-Werror=missing-braces',
|
|
|
|
'-Werror=sequence-point',
|
|
|
|
'-Werror=return-type',
|
|
|
|
'-Werror=trigraphs',
|
|
|
|
'-Werror=array-bounds',
|
|
|
|
'-Werror=write-strings',
|
|
|
|
'-Werror=address',
|
|
|
|
'-Werror=int-to-pointer-cast',
|
|
|
|
'-Werror=pointer-to-int-cast',
|
|
|
|
'-Werror=empty-body',
|
|
|
|
'-Werror=write-strings',
|
|
|
|
]
|
|
|
|
supported_warnings = cc.get_supported_arguments(all_warnings)
|
|
|
|
add_project_arguments(supported_warnings, language: 'c')
|
|
|
|
endif
|
2019-03-05 17:46:47 -05:00
|
|
|
|
2019-03-17 09:38:39 -04:00
|
|
|
if get_option('debug')
|
|
|
|
debug_c_args = [
|
|
|
|
'-DG_ENABLE_DEBUG',
|
|
|
|
'-fno-omit-frame-pointer'
|
|
|
|
]
|
|
|
|
supported_debug_c_args = cc.get_supported_arguments(debug_c_args)
|
|
|
|
add_project_arguments(supported_debug_c_args, language: 'c')
|
|
|
|
endif
|
|
|
|
|
2017-05-24 20:16:27 -04:00
|
|
|
config_h = configure_file(
|
|
|
|
input: 'config.h.meson',
|
|
|
|
output: 'config.h',
|
|
|
|
configuration: cdata
|
|
|
|
)
|
|
|
|
|
|
|
|
conf_inc = include_directories('.')
|
|
|
|
|
|
|
|
libgvc = subproject('gvc',
|
|
|
|
default_options: [
|
2018-01-30 07:37:38 -05:00
|
|
|
'package_name=' + meson.project_name(),
|
|
|
|
'package_version=' + meson.project_version(),
|
2017-05-24 20:16:27 -04:00
|
|
|
'pkgdatadir=' + pkgdatadir,
|
|
|
|
'pkglibdir=' + pkglibdir,
|
|
|
|
'static=false',
|
2018-01-30 07:37:38 -05:00
|
|
|
'introspection=true',
|
2018-01-26 05:24:03 -05:00
|
|
|
'alsa=false'
|
2017-05-24 20:16:27 -04:00
|
|
|
]
|
|
|
|
)
|
|
|
|
libgvc_gir = libgvc.get_variable('libgvc_gir')
|
|
|
|
|
2020-03-04 22:52:09 -05:00
|
|
|
libshew = subproject('shew',
|
|
|
|
default_options: [
|
|
|
|
'package_name=@0@'.format(meson.project_name()),
|
|
|
|
]
|
|
|
|
)
|
|
|
|
|
|
|
|
libshew_version = libshew.get_variable('package_version')
|
|
|
|
assert(libshew_version == meson.project_version(),
|
|
|
|
'shew version does not match project version')
|
|
|
|
|
2019-12-02 18:07:01 -05:00
|
|
|
if get_option('extensions_tool')
|
2020-03-07 19:57:34 -05:00
|
|
|
extension_tool = subproject('extensions-tool',
|
2019-12-02 18:07:01 -05:00
|
|
|
default_options: [
|
|
|
|
'package_name=@0@'.format(meson.project_name()),
|
|
|
|
]
|
|
|
|
)
|
2020-03-07 19:57:34 -05:00
|
|
|
|
|
|
|
extension_tool_version = extension_tool.get_variable('package_version')
|
|
|
|
assert(extension_tool_version == meson.project_version(),
|
|
|
|
'extension-tool version does not match project version'
|
|
|
|
)
|
2019-12-02 18:07:01 -05:00
|
|
|
endif
|
|
|
|
|
2019-11-30 21:01:02 -05:00
|
|
|
if get_option('extensions_app')
|
|
|
|
extensions_app = subproject('extensions-app',
|
|
|
|
default_options: [
|
|
|
|
'package_name=@0@'.format(meson.project_name()),
|
|
|
|
]
|
|
|
|
)
|
|
|
|
|
|
|
|
extensions_app_version = extensions_app.get_variable('package_version')
|
|
|
|
assert(extensions_app_version == meson.project_version(),
|
|
|
|
'Extensions app version does not match project version'
|
|
|
|
)
|
|
|
|
endif
|
|
|
|
|
2023-02-23 22:32:08 -05:00
|
|
|
if get_option('tests')
|
|
|
|
common_test_env = environment()
|
|
|
|
common_test_env.set('GSETTINGS_SCHEMA_DIR', meson.project_build_root() / 'data')
|
|
|
|
common_test_env.set('GSETTINGS_BACKEND', 'memory')
|
|
|
|
|
|
|
|
add_test_setup('default',
|
|
|
|
is_default: true,
|
|
|
|
env: common_test_env,
|
|
|
|
)
|
|
|
|
endif
|
2019-12-02 18:07:01 -05:00
|
|
|
|
2019-04-26 06:33:58 -04:00
|
|
|
po_dir = join_paths(meson.current_source_dir(), 'po')
|
|
|
|
|
2017-05-24 20:16:27 -04:00
|
|
|
subdir('js')
|
|
|
|
subdir('src')
|
|
|
|
subdir('po')
|
|
|
|
subdir('data')
|
|
|
|
|
2021-09-05 18:57:33 -04:00
|
|
|
if get_option('tests')
|
|
|
|
subdir('tests')
|
|
|
|
endif
|
|
|
|
|
2017-11-25 01:10:26 -05:00
|
|
|
if get_option('gtk_doc')
|
2017-05-24 20:16:27 -04:00
|
|
|
subdir('docs/reference')
|
|
|
|
endif
|
2018-03-18 17:07:32 -04:00
|
|
|
|
2021-12-22 14:11:31 -05:00
|
|
|
gnome.post_install(
|
|
|
|
glib_compile_schemas: true,
|
|
|
|
gtk_update_icon_cache: true
|
|
|
|
)
|
|
|
|
|
2020-12-15 13:23:14 -05:00
|
|
|
meson.add_dist_script('meson/generate-manpages.py')
|
2020-12-28 18:01:03 -05:00
|
|
|
meson.add_dist_script('meson/generate-stylesheets.py')
|
2021-08-31 06:21:02 -04:00
|
|
|
meson.add_dist_script('meson/check-version.py', meson.project_version(), 'NEWS')
|
2020-03-05 06:44:35 -05:00
|
|
|
|
|
|
|
summary_options = {
|
2023-07-09 15:14:25 -04:00
|
|
|
'camera_monitor': get_option('camera_monitor'),
|
2020-03-05 06:44:35 -05:00
|
|
|
'networkmanager': get_option('networkmanager'),
|
|
|
|
'systemd': get_option('systemd'),
|
2019-11-30 21:01:02 -05:00
|
|
|
'extensions_app': get_option('extensions_app'),
|
2020-03-05 06:44:35 -05:00
|
|
|
'extensions_tool': get_option('extensions_tool'),
|
|
|
|
'man': get_option('man'),
|
|
|
|
'gtk_doc': get_option('gtk_doc'),
|
|
|
|
}
|
|
|
|
|
|
|
|
summary_build = {
|
|
|
|
'buildtype': get_option('buildtype'),
|
|
|
|
'debug': get_option('debug'),
|
|
|
|
}
|
|
|
|
|
|
|
|
summary_dirs = {
|
|
|
|
'prefix': get_option('prefix'),
|
|
|
|
'bindir': get_option('bindir'),
|
|
|
|
'libdir': get_option('libdir'),
|
|
|
|
'libexecdir': get_option('libexecdir'),
|
|
|
|
'datadir': get_option('datadir'),
|
|
|
|
'sysconfdir': get_option('sysconfdir'),
|
|
|
|
}
|
|
|
|
|
|
|
|
if get_option('man')
|
|
|
|
summary_dirs += { 'mandir': get_option('mandir') }
|
|
|
|
endif
|
|
|
|
|
2020-03-05 09:35:48 -05:00
|
|
|
summary(summary_dirs, section: 'Directories')
|
|
|
|
summary(summary_build, section: 'Build Configuration')
|
|
|
|
summary(summary_options, section: 'Build Options')
|