[gnome-klotski] Unrelax the appdata validation.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-klotski] Unrelax the appdata validation.
- Date: Wed, 7 Aug 2019 09:17:13 +0000 (UTC)
commit 9ec24c3fa8c7ba8c961e4376ea90a4103b5a6faf
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Wed Aug 7 10:45:51 2019 +0200
Unrelax the appdata validation.
data/meson.build | 4 +---
data/org.gnome.Klotski.appdata.xml.in | 4 ++++
meson.build | 9 ++++++++-
3 files changed, 13 insertions(+), 4 deletions(-)
---
diff --git a/data/meson.build b/data/meson.build
index c7d7047..4a9e55c 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -35,7 +35,6 @@ desktop_file = i18n.merge_file(
)
# Validate desktop file
-desktop_file_validate = find_program('desktop-file-validate', required: false)
if desktop_file_validate.found()
test(
'validate-desktop',
@@ -56,12 +55,11 @@ appdata_file = i18n.merge_file(
)
# Validate AppData file
-appstream_util = find_program('appstream-util', required: false)
if appstream_util.found()
test(
'validate-appdata', appstream_util,
args: [
- 'validate-relax', '--nonet', appdata_file.full_path()
+ 'validate', '--nonet', appdata_file.full_path()
]
)
endif
diff --git a/data/org.gnome.Klotski.appdata.xml.in b/data/org.gnome.Klotski.appdata.xml.in
index f5497b8..47571c1 100644
--- a/data/org.gnome.Klotski.appdata.xml.in
+++ b/data/org.gnome.Klotski.appdata.xml.in
@@ -64,4 +64,8 @@
<content_attribute id="money-purchasing">none</content_attribute>
<content_attribute id="money-gambling">none</content_attribute>
</content_rating>
+
+ <releases>
+ <release version="3.32.0" date="2019-03-11" type="stable" urgency="medium"/>
+ </releases>
</component>
diff --git a/meson.build b/meson.build
index cde9ac4..9a9f4b7 100644
--- a/meson.build
+++ b/meson.build
@@ -2,8 +2,11 @@ project('gnome-klotski', 'vala', 'c',
version: '3.32.0')
project_id = 'org.gnome.Klotski'
-i18n = import('i18n')
+
+# used to install help
gnome = import('gnome')
+# used for internationalization
+i18n = import('i18n')
# used to run post install script
python3 = import('python3')
@@ -14,6 +17,10 @@ gtk_dependency = dependency('gtk+-3.0', version: '>= 3.12.0')
rsvg_dependency = dependency('librsvg-2.0', version: '>= 2.32.0')
posix_dependency = meson.get_compiler('vala').find_library('posix')
+appstream_util = find_program('appstream-util', required: false)
+desktop_file_validate = find_program('desktop-file-validate', required: false)
+glib_compile_schema = find_program('glib-compile-schemas', required: true) # useful?
+
# Set gettext package name
add_global_arguments('-DGETTEXT_PACKAGE="@0@"'.format (meson.project_name()), language: 'c')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]