[accerciser/gnome-3-22] Fix appdata file name to match the desktop file name



commit 683603325ce282d441c2bd30961f74609e92daf9
Author: Kalev Lember <klember redhat com>
Date:   Thu Oct 13 00:33:57 2016 +0200

    Fix appdata file name to match the desktop file name
    
    The .desktop and .appdata.xml names have to match, otherwise the
    appstream builder rejects it as invalid.

 Makefile.am                                        |    2 +-
 ...ser.appdata.xml.in => accerciser.appdata.xml.in |    2 +-
 po/POTFILES.in                                     |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 73f86e2..d1962fc 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -17,7 +17,7 @@ gsettings_SCHEMAS = $(gsettings_files:.xml.in=.xml)
 
 appdatadir = $(datadir)/appdata
 appdata_DATA = $(appdata_in_files:.xml.in=.xml)
-appdata_in_files = org.gnome.accerciser.appdata.xml.in
+appdata_in_files = accerciser.appdata.xml.in
 @INTLTOOL_XML_RULE@
 
 %.gschema.xml: %.gschema.xml.in
diff --git a/org.gnome.accerciser.appdata.xml.in b/accerciser.appdata.xml.in
similarity index 95%
rename from org.gnome.accerciser.appdata.xml.in
rename to accerciser.appdata.xml.in
index 1d823cf..ffa3c74 100644
--- a/org.gnome.accerciser.appdata.xml.in
+++ b/accerciser.appdata.xml.in
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Copyright 2014 Daniel Mustieles <daniel mustieles gmail com> -->
 <application>
-  <id type="desktop">org.gnome.accerciser.desktop</id>
+  <id type="desktop">accerciser.desktop</id>
   <metadata_license>CC0-1.0</metadata_license>
   <_name>Accerciser</_name>
   <_summary>Accessibility explorer for the GNOME desktop</_summary>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 86f2b8f..126a173 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,7 +1,7 @@
 [encoding: UTF-8]
+accerciser.appdata.xml.in
 accerciser.desktop.in.in
 org.a11y.Accerciser.gschema.xml.in
-org.gnome.accerciser.appdata.xml.in
 plugins/api_view.py
 plugins/console.py
 [type: gettext/glade]plugins/event_monitor.ui


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