[gnome-tour/bilelmoussaoui/design-review] Remove unneded gschema
- From: Bilal Elmoussaoui <bilelmoussaoui src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-tour/bilelmoussaoui/design-review] Remove unneded gschema
- Date: Wed, 29 Jan 2020 14:29:14 +0000 (UTC)
commit 0efcc48e41652a036ef32dbafab36828946a5c89
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date: Wed Jan 29 15:28:28 2020 +0100
Remove unneded gschema
build-aux/meson_post_install.py | 2 --
data/meson.build | 22 ----------------------
data/org.gnome.Tour.gschema.xml.in | 30 ------------------------------
meson.build | 1 -
4 files changed, 55 deletions(-)
---
diff --git a/build-aux/meson_post_install.py b/build-aux/meson_post_install.py
index 9028aec..e7ab5b1 100755
--- a/build-aux/meson_post_install.py
+++ b/build-aux/meson_post_install.py
@@ -8,7 +8,5 @@ if not environ.get('DESTDIR', ''):
DATA_DIR = path.join(PREFIX, 'share')
print('Updating icon cache...')
call(['gtk-update-icon-cache', '-qtf', path.join(DATA_DIR, 'icons/hicolor')])
- print("Compiling new schemas...")
- call(["glib-compile-schemas", path.join(DATA_DIR, 'glib-2.0/schemas')])
print("Updating desktop database...")
call(["update-desktop-database", path.join(DATA_DIR, 'applications')])
diff --git a/data/meson.build b/data/meson.build
index e3faae7..d71b4a3 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -50,28 +50,6 @@ if appstream_util.found()
)
endif
-# GSchema
-gschema_conf = configuration_data()
-gschema_conf.set('app-id', application_id)
-gschema_conf.set('gettext-package', gettext_package)
-configure_file(
- input: '@0 gschema xml in'.format(base_id),
- output: '@0 gschema xml'.format(application_id),
- configuration: gschema_conf,
- install: true,
- install_dir: datadir / 'glib-2.0' / 'schemas'
-)
-
-# Validata GSchema
-if glib_compile_schemas.found()
- test(
- 'validate-gschema', glib_compile_schemas,
- args: [
- '--strict', '--dry-run', meson.current_source_dir()
- ]
- )
-endif
-
# Resources
resources = gnome.compile_resources(
'resources',
diff --git a/meson.build b/meson.build
index e27f839..ebf60c1 100644
--- a/meson.build
+++ b/meson.build
@@ -16,7 +16,6 @@ dependency('gtk4', version: '>= 3.96.0')
glib_compile_resources = find_program('glib-compile-resources', required: true)
-glib_compile_schemas = find_program('glib-compile-schemas', required: true)
desktop_file_validate = find_program('desktop-file-validate', required: false)
appstream_util = find_program('appstream-util', required: false)
cargo = find_program('cargo', required: false)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]