[file-roller] Modernize metainfo file
- From: Matthias Klumpp <mak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller] Modernize metainfo file
- Date: Fri, 4 Aug 2017 01:02:28 +0000 (UTC)
commit cb97eb6b69c578a3b218e4296856a66882b42a8b
Author: Matthias Klumpp <matthias tenstral net>
Date: Thu Aug 3 21:02:14 2017 -0400
Modernize metainfo file
data/Makefile.am | 2 +-
data/org.gnome.FileRoller.appdata.xml.in | 21 ++++++++++++++++-----
2 files changed, 17 insertions(+), 6 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 63b6ecd..50c3323 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -17,7 +17,7 @@ service_DATA = $(service_in_files:.service.in=.service)
gsettings_SCHEMAS = org.gnome.FileRoller.gschema.xml
-appdatadir = $(datadir)/appdata
+appdatadir = $(datadir)/metainfo
appdata_DATA = $(appdata_in_files:.xml.in=.xml)
appdata_in_files = org.gnome.FileRoller.appdata.xml.in
diff --git a/data/org.gnome.FileRoller.appdata.xml.in b/data/org.gnome.FileRoller.appdata.xml.in
index c15a889..b8826a4 100644
--- a/data/org.gnome.FileRoller.appdata.xml.in
+++ b/data/org.gnome.FileRoller.appdata.xml.in
@@ -1,10 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2014 Richard Hughes <richard hughsie com>
Copyright 2014 Paolo Bacchilega <paobac src gnome org> -->
-<application>
- <id type="desktop">org.gnome.FileRoller.desktop</id>
+<component type="desktop-application">
+ <id>org.gnome.FileRoller</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0+</project_license>
+
+ <_name>File Roller</_name>
<_summary>Open, modify and create compressed archive files</_summary>
<description>
<_p>
@@ -21,11 +23,16 @@
<_li>xz archives (.tar.xz)</_li>
</ul>
</description>
+
+ <launchable type="desktop-id">org.gnome.FileRoller.desktop</launchable>
<url type="homepage">https://wiki.gnome.org/Apps/FileRoller</url>
<screenshots>
- <screenshot
type="default">https://wiki.gnome.org/Apps/FileRoller?action=AttachFile&do=get&target=file-roller.png</screenshot>
+ <screenshot type="default">
+
<image>https://wiki.gnome.org/Apps/FileRoller?action=AttachFile&do=get&target=file-roller.png</image>
+ </screenshot>
</screenshots>
- <updatecontact>paobac_at_src.gnome.org</updatecontact>
+
+ <update_contact>paobac_at_src.gnome.org</update_contact>
<kudos>
<kudo>AppMenu</kudo>
<kudo>HiDpiIcon</kudo>
@@ -35,4 +42,8 @@
</kudos>
<project_group>GNOME</project_group>
<translation type="gettext">file-roller</translation>
-</application>
+
+ <provides>
+ <id>org.gnome.FileRoller.desktop</id>
+ </provides>
+</component>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]