[gnome-chess] Move gresource.xml to data/
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-chess] Move gresource.xml to data/
- Date: Thu, 24 Dec 2020 21:14:57 +0000 (UTC)
commit b9d34b35c883d54a95bc26cab43a13c1482ce986
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Thu Dec 24 13:07:13 2020 -0600
Move gresource.xml to data/
{src => data}/chess.gresource.xml | 1 -
data/meson.build | 6 ++++++
src/meson.build | 7 -------
3 files changed, 6 insertions(+), 8 deletions(-)
---
diff --git a/src/chess.gresource.xml b/data/chess.gresource.xml
similarity index 97%
rename from src/chess.gresource.xml
rename to data/chess.gresource.xml
index 42d9db1..0671d8c 100644
--- a/src/chess.gresource.xml
+++ b/data/chess.gresource.xml
@@ -3,7 +3,6 @@
<gresource prefix="/org/gnome/Chess/ui">
<file preprocess="xml-stripblanks">gnome-chess.ui</file>
<file preprocess="xml-stripblanks">preferences.ui</file>
- <file preprocess="xml-stripblanks">promotion-type-selector.ui</file>
</gresource>
<gresource prefix="/org/gnome/Chess/pieces">
<file preprocess="xml-stripblanks" alias="fancy/blackBishop.svg">pieces/fancy/blackBishop.svg</file>
diff --git a/data/meson.build b/data/meson.build
index ce1f983..06d3dcf 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -1,5 +1,11 @@
subdir('icons')
+# The resource file
+resource_files = files('chess.gresource.xml')
+resources = gnome.compile_resources(application_id, resource_files,
+ c_name: 'resources'
+)
+
# The engines.conf file
install_data('engines.conf',
install_dir: pkgsysconfdir,
diff --git a/src/meson.build b/src/meson.build
index bd1166a..b2daee6 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -1,10 +1,3 @@
-# The resource file
-resource_files = files('chess.gresource.xml')
-resources = gnome.compile_resources(application_id, resource_files,
- source_dir: '../data',
- c_name: 'resources'
-)
-
# The gnome-chess binary
chess_sources = [
resources,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]