[polari] appdata: Use app ID
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari] appdata: Use app ID
- Date: Thu, 10 Jan 2019 01:29:59 +0000 (UTC)
commit 320143956078b75fcba318b03e1cd6b8987054dd
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date: Mon Dec 10 17:21:23 2018 +0000
appdata: Use app ID
We still include the .desktop suffix in the appdata ID as recommended
by older versions of the AppStream spec. However as the spec gained a
dedicated "launchable" tag in version 0.11 (nearly two years ago), we
can use that to point to the desktop file and use the regular app ID.
This is in line with the current recommendations in the spec:
https://www.freedesktop.org/software/appstream/docs/chap-Quickstart.html
https://gitlab.gnome.org/GNOME/polari/merge_requests/81
data/appdata/org.gnome.Polari.appdata.xml.in | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/data/appdata/org.gnome.Polari.appdata.xml.in b/data/appdata/org.gnome.Polari.appdata.xml.in
index f07e7bd..b334826 100644
--- a/data/appdata/org.gnome.Polari.appdata.xml.in
+++ b/data/appdata/org.gnome.Polari.appdata.xml.in
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2014 Florian Müllner <fmuellner gnome org> -->
<component type="desktop">
- <id>org.gnome.Polari.desktop</id>
+ <id>org.gnome.Polari</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0+ and LGPL-2.1+</project_license>
<name>Polari</name>
@@ -37,6 +37,7 @@
<image>https://gitlab.gnome.org/GNOME/polari/raw/master/data/appdata/polari-connection-properties.png</image>
</screenshot>
</screenshots>
+ <launchable type="desktop-id">org.gnome.Polari.desktop</launchable>
<url type="homepage">https://wiki.gnome.org/Apps/Polari</url>
<url type="bugtracker">https://gitlab.gnome.org/GNOME/polari/issues/new</url>
<url type="help">https://help.gnome.org/users/polari/stable/</url>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]