[recipes] build: Install appstream metadata to non-deprecated location
- From: Jeremy Bicha <jbicha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [recipes] build: Install appstream metadata to non-deprecated location
- Date: Sat, 24 Feb 2018 18:07:22 +0000 (UTC)
commit a34157f99e3ee231cfce3494be2f1cada7870c5c
Author: Jeremy Bicha <jbicha ubuntu com>
Date: Sun Nov 26 18:42:53 2017 -0500
build: Install appstream metadata to non-deprecated location
https://bugzilla.gnome.org/show_bug.cgi?id=790871
Closes: https://gitlab.gnome.org/GNOME/recipes/issues/54
data/meson.build | 2 +-
src/gr-appdata.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/meson.build b/data/meson.build
index 00fb0a8..df77569 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -57,7 +57,7 @@ custom_target('appdata',
output: 'org.gnome.Recipes.appdata.xml',
input: files('appdata/org.gnome.Recipes.appdata.xml.in'),
install: true,
- install_dir: join_paths([datadir,'appdata']),
+ install_dir: join_paths([datadir,'metainfo']),
command: [msgfmt, '--xml', '-d', '../po', '--template', '@INPUT@', '-o', '@OUTPUT@'])
configure_file(input: 'org.gnome.Recipes.service.in',
diff --git a/src/gr-appdata.c b/src/gr-appdata.c
index 4a3e40a..4f2ca84 100644
--- a/src/gr-appdata.c
+++ b/src/gr-appdata.c
@@ -258,7 +258,7 @@ get_release_info (const char *new_version,
{
g_autofree char *file = NULL;
- file = g_build_filename (DATADIR, "appdata", "org.gnome.Recipes.appdata.xml", NULL);
+ file = g_build_filename (DATADIR, "metainfo", "org.gnome.Recipes.appdata.xml", NULL);
g_info ("Loading release information for version %s to %s from %s", old_version, new_version, file);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]