[gvfs/wip/oholy/readonly-lockdown: 20/21] build: Add dependency on gsettings-desktop-schemas
- From: Ondrej Holy <oholy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs/wip/oholy/readonly-lockdown: 20/21] build: Add dependency on gsettings-desktop-schemas
- Date: Mon, 8 Jul 2019 07:50:39 +0000 (UTC)
commit 0a472befb82d69ebc7aeea855227d1fad51897b8
Author: Ondrej Holy <oholy redhat com>
Date: Thu May 16 10:56:14 2019 +0200
build: Add dependency on gsettings-desktop-schemas
Lockdown settings provided by gsettings-desktop-schemas are used in
the code, however, gsettings-desktop-schemas dependency is missing,
which can lead to "Settings schema 'org.gnome.desktop.lockdown' does
not contain a key named 'disable-writing-to-devices'" errors. Let's
add the dependency to prevent such errors.
daemon/meson.build | 1 +
meson.build | 1 +
monitor/udisks2/meson.build | 1 +
3 files changed, 3 insertions(+)
---
diff --git a/daemon/meson.build b/daemon/meson.build
index b0adb620..2d253e3b 100644
--- a/daemon/meson.build
+++ b/daemon/meson.build
@@ -99,6 +99,7 @@ sources = files(
deps = socket_deps + [
gio_unix_dep,
libgvfscommon_dep,
+ gsettings_desktop_schemas_dep,
]
if enable_gcr
diff --git a/meson.build b/meson.build
index fba25d9d..805982aa 100644
--- a/meson.build
+++ b/meson.build
@@ -234,6 +234,7 @@ gio_dep = dependency('gio-2.0')
gio_unix_dep = dependency('gio-unix-2.0')
glib_dep = dependency('glib-2.0', version: '>= 2.57.2')
gobject_dep = dependency('gobject-2.0')
+gsettings_desktop_schemas_dep = dependency('gsettings-desktop-schemas', version: '>= 3.33.0')
config_h.set('HAVE_G_UNIX_MOUNT_GET_ROOT_PATH', cc.has_function('g_unix_mount_get_root_path', dependencies:
gio_dep))
diff --git a/monitor/udisks2/meson.build b/monitor/udisks2/meson.build
index bbcfb255..52f0f018 100644
--- a/monitor/udisks2/meson.build
+++ b/monitor/udisks2/meson.build
@@ -15,6 +15,7 @@ deps = [
libgvfscommon_monitor_dep,
libgvfsproxyvolumemonitordaemon_noin_dep,
udisks2_dep,
+ gsettings_desktop_schemas_dep,
]
if enable_logind
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]