[recipes] Compile the GSettings schema



commit 6a9ab9afac8cdad51bc391bcee0711e7ed33b862
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Mar 9 12:23:43 2017 -0500

    Compile the GSettings schema
    
    For the meson build, we need to add this to the post install script.
    This showed up in the flatpak build, where we already use meson.

 tools/meson_post_install.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/tools/meson_post_install.py b/tools/meson_post_install.py
index 3d4d975..2c0fc89 100755
--- a/tools/meson_post_install.py
+++ b/tools/meson_post_install.py
@@ -15,3 +15,7 @@ if 'DESTDIR' not in os.environ:
     print('Updating desktop database...')
     subprocess.call(['update-desktop-database', '-q',
                     os.path.join(datadir, 'applications')])
+
+    print('Compiling GSettings schemas...')
+    subprocess.call(['glib-compile-schemas',
+                    os.path.join(datadir, 'glib-2.0', 'schemas')])


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]