[gedit/zbrown/deteplification-src: 344/633] build: simplify generation of org.gnome.gedit.enums.xml (gschema)
- From: Zander Brown <zbrown src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/zbrown/deteplification-src: 344/633] build: simplify generation of org.gnome.gedit.enums.xml (gschema)
- Date: Sat, 10 Apr 2021 12:48:02 +0000 (UTC)
commit cb0e1b6a412e69917af2dcf83e7c0c149e170bfe
Author: Sébastien Wilmet <swilmet gnome org>
Date: Fri May 8 22:44:39 2020 +0200
build: simplify generation of org.gnome.gedit.enums.xml (gschema)
Only enum="org.gnome.gedit.GeditNotebookShowTabsModeType" is used in the
*.gschema.xml.
gedit/meson.build | 19 ++-----------------
1 file changed, 2 insertions(+), 17 deletions(-)
---
diff --git a/gedit/meson.build b/gedit/meson.build
index ca4323fd1..d322aba24 100644
--- a/gedit/meson.build
+++ b/gedit/meson.build
@@ -237,22 +237,10 @@ pkg_config.generate(
install_dir: get_option('libdir') / 'pkgconfig'
)
-libgedit_sources = [
- libgedit_public_sources,
- libgedit_private_sources,
- libgedit_public_enum_types[0],
- libgedit_private_enum_types[0],
- libgedit_gresources[0],
-]
-
-libgedit_public_headers += [
- libgedit_public_enum_types[1],
-]
-
# FIXME: https://github.com/mesonbuild/meson/issues/1687
custom_target(
'org.gnome.gedit.enums.xml',
- input : libgedit_sources + libgedit_public_headers + ['gedit-notebook.h'],
+ input : ['gedit-notebook.h'],
output: 'org.gnome.gedit.enums.xml',
capture: true,
command: [
@@ -266,10 +254,7 @@ custom_target(
'@INPUT@'
],
install: true,
- install_dir: join_paths(
- glibdir,
- 'schemas',
- )
+ install_dir: get_option('datadir') / 'glib-2.0/schemas'
)
gedit_sources = [
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]