[gimp] desktop: update the appdata to take care of the id change.
- From: Jehan Pagès <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] desktop: update the appdata to take care of the id change.
- Date: Sun, 14 Jan 2018 01:38:18 +0000 (UTC)
commit 54dda25cfcebedd6f2353f95170ebe904eb6906a
Author: Jehan <jehan girinstud io>
Date: Sat Jan 13 04:37:38 2018 +0100
desktop: update the appdata to take care of the id change.
From AppStream docs:
«
In previous AppStream releases, the <id/> was used to associate metainfo
files with their .desktop files to merge in data from .desktop files
into the AppStream generator's final output. In modern metainfo files,
the component-ID for desktop-application components can be an arbitrary
string (matching the naming rules applying to all AppStream metadata),
while the <launchable/> tag is used to associate .desktop files with
their metainfo files.
»
desktop/gimp.appdata.xml.in | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/desktop/gimp.appdata.xml.in b/desktop/gimp.appdata.xml.in
index 4930932..502ec1b 100644
--- a/desktop/gimp.appdata.xml.in
+++ b/desktop/gimp.appdata.xml.in
@@ -62,6 +62,15 @@
</kudos>
<project_group>GNOME</project_group>
<translation type="gettext">gimp20</translation>
+
+ <launchable type="desktop-id">gimp.desktop</launchable>
+ <provides>
+ <binary>@GIMP_COMMAND@</binary>
+ <!-- Fix the ID renaming, and things like past reviews made on the
+ older ID in software installers. -->
+ <id>gimp.desktop</id>
+ <provides>
+
<releases>
<!--
<release version="2.10.0" date="TODO">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]