From e4f2edf9bd56fa7a4af40a3959bbfb6359089b19 Mon Sep 17 00:00:00 2001 From: dcz Date: Fri, 5 Apr 2024 16:17:56 +0000 Subject: [PATCH] gsettings: Use strict compilation Without this flag, changes resulting in invalid gschemas are ignored and easily lost within the compilation input. In CI and some development workflows this may let bad builds through. Part-of: --- data/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/meson.build b/data/meson.build index 254c46013..0307613e7 100644 --- a/data/meson.build +++ b/data/meson.build @@ -126,5 +126,5 @@ endif custom_target('compile-schemas', input: schema, output: 'gschemas.compiled', - command: [find_program('glib-compile-schemas'), data_builddir], + command: [find_program('glib-compile-schemas'), '--strict', data_builddir], build_by_default: true)