[gnome-text-editor: 1/3] Meson: Use gnome.compile_schemas()
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-text-editor: 1/3] Meson: Use gnome.compile_schemas()
- Date: Wed, 29 Sep 2021 18:39:25 +0000 (UTC)
commit f7be1ddbbaa265611ea6eb3631752f1d9f4fdf8b
Author: Xavier Claessens <xavier claessens collabora com>
Date: Wed Jun 23 13:56:00 2021 -0400
Meson: Use gnome.compile_schemas()
This has the advantage to be able to run gnome-text-editor uninstalled
using "meson devenv" command.
data/meson.build | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
---
diff --git a/data/meson.build b/data/meson.build
index 58daee1..9c48946 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -47,17 +47,11 @@ if appstream_util.found()
)
endif
+gnome.compile_schemas(build_by_default: true)
install_data('org.gnome.TextEditor.gschema.xml',
install_dir: join_paths(get_option('datadir'), 'glib-2.0/schemas')
)
-compile_schemas = find_program('glib-compile-schemas', required: false)
-if compile_schemas.found()
- test('Validate schema file', compile_schemas,
- args: ['--strict', '--dry-run', meson.current_source_dir()]
- )
-endif
-
# D-Bus service file.
dbusconf = configuration_data()
dbusconf.set('bindir', join_paths(get_option('prefix'), get_option('bindir')))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]