[krb5-auth-dialog] Move schema to data/



commit a2aeee14b0a1eb2891c9bb07645e995a6949af62
Author: Guido Günther <agx sigxcpu org>
Date:   Sun Feb 14 16:11:03 2021 +0100

    Move schema to data/

 data/meson.build                                  | 14 ++++++++++++++
 {src => data}/org.gnome.KrbAuthDialog.gschema.xml |  0
 src/meson.build                                   | 14 --------------
 3 files changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/data/meson.build b/data/meson.build
index e178f4f..a35dc64 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -16,3 +16,17 @@ if appstream_util.found()
     args: ['validate', '--nonet', appstream_file]
   )
 endif
+
+schema_src = 'org.gnome.KrbAuthDialog.gschema.xml'
+compiled = gnome.compile_schemas(build_by_default: true,
+                                 depend_files: files(schema_src))
+install_data(schema_src,
+  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
diff --git a/src/org.gnome.KrbAuthDialog.gschema.xml b/data/org.gnome.KrbAuthDialog.gschema.xml
similarity index 100%
rename from src/org.gnome.KrbAuthDialog.gschema.xml
rename to data/org.gnome.KrbAuthDialog.gschema.xml
diff --git a/src/meson.build b/src/meson.build
index 7578a27..5fe16a9 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -28,20 +28,6 @@ configure_file(
   install_dir: join_paths(get_option('datadir'), 'dbus-1', 'services'),
 )
 
-schema_src = 'org.gnome.KrbAuthDialog.gschema.xml'
-compiled = gnome.compile_schemas(build_by_default: true,
-                                 depend_files: files(schema_src))
-install_data(schema_src,
-  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
-
 krb5_auth_dialog_resources = gnome.compile_resources(
   'krb5-auth-dialog-resource',
   'krb5-auth-dialog.gresource.xml',


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