[gnome-packagekit] Modernize metainfo files



commit 7e35effd2a2a8da63aacd4679481b9db0c6bf202
Author: Matthias Klumpp <matthias tenstral net>
Date:   Mon Oct 3 22:15:49 2016 +0200

    Modernize metainfo files

 data/appdata/Makefile.am                           |    2 +-
 .../org.gnome.PackageUpdater.appdata.xml.in        |    8 ++++----
 data/appdata/org.gnome.Packages.appdata.xml.in     |    8 ++++----
 3 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/data/appdata/Makefile.am b/data/appdata/Makefile.am
index 26a5301..9fc0b9e 100644
--- a/data/appdata/Makefile.am
+++ b/data/appdata/Makefile.am
@@ -1,5 +1,5 @@
 @INTLTOOL_XML_RULE@
-appdatadir = $(datadir)/appdata
+appdatadir = $(datadir)/metainfo
 appdata_DATA = $(appdata_in_files:.xml.in=.xml)
 appdata_in_files =                                     \
        org.gnome.Packages.appdata.xml.in               \
diff --git a/data/appdata/org.gnome.PackageUpdater.appdata.xml.in 
b/data/appdata/org.gnome.PackageUpdater.appdata.xml.in
index c1a53c6..b7abc30 100644
--- a/data/appdata/org.gnome.PackageUpdater.appdata.xml.in
+++ b/data/appdata/org.gnome.PackageUpdater.appdata.xml.in
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Copyright 2013 Richard Hughes <richard hughsie com> -->
-<application>
-  <id type="desktop">org.gnome.PackageUpdater.desktop</id>
+<component type="desktop">
+  <id>org.gnome.PackageUpdater.desktop</id>
   <metadata_license>CC0-1.0</metadata_license>
   <project_license>GPL-2.0+</project_license>
   <_name>GNOME Package Updater</_name>
@@ -124,5 +124,5 @@
     <kudo>ModernToolkit</kudo>
   </kudos>
   <url type="homepage">http://www.packagekit.org/</url>
-  <updatecontact>richard_at_hughsie.com</updatecontact>
-</application>
+  <update_contact>richard_at_hughsie.com</update_contact>
+</component>
diff --git a/data/appdata/org.gnome.Packages.appdata.xml.in b/data/appdata/org.gnome.Packages.appdata.xml.in
index 311e19b..829ff99 100644
--- a/data/appdata/org.gnome.Packages.appdata.xml.in
+++ b/data/appdata/org.gnome.Packages.appdata.xml.in
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Copyright 2013 Richard Hughes <richard hughsie com> -->
-<application>
-  <id type="desktop">org.gnome.Packages.desktop</id>
+<component type="desktop">
+  <id>org.gnome.Packages.desktop</id>
   <metadata_license>CC0-1.0</metadata_license>
   <project_license>GPL-2.0+</project_license>
   <_name>GNOME Packages</_name>
@@ -113,7 +113,7 @@
     <kudo>Notifications</kudo>
   </kudos>
   <url type="homepage">http://www.packagekit.org/</url>
-  <updatecontact>richard_at_hughsie.com</updatecontact>
+  <update_contact>richard_at_hughsie.com</update_contact>
   <project_group>GNOME</project_group>
   <translation type="gettext">gnome-packagekit</translation>
-</application>
+</component>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]