[GNOME-ABRT PATCH 1/2] Add AppData file

Jakub Filak jfilak at redhat.com
Tue Sep 10 08:43:24 UTC 2013


Closes rhbz#1004830

Signed-off-by: Jakub Filak <jfilak at redhat.com>
---
 po/POTFILES.in                |  1 +
 src/Makefile.am               |  9 ++++++++-
 src/gnome-abrt.appdata.xml.in | 19 +++++++++++++++++++
 3 files changed, 28 insertions(+), 1 deletion(-)
 create mode 100644 src/gnome-abrt.appdata.xml.in

diff --git a/po/POTFILES.in b/po/POTFILES.in
index 0f30622..0820dd1 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,4 +1,5 @@
 src/gnome-abrt.desktop.in
+src/gnome-abrt.appdata.xml.in
 
 src/gnome_abrt/dbus_problems.py
 src/gnome_abrt/dialogs.py
diff --git a/src/Makefile.am b/src/Makefile.am
index f8ab66b..89aa65b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -2,12 +2,19 @@ SUBDIRS = gnome_abrt
 
 bin_SCRIPTS=gnome-abrt
 
+ at INTLTOOL_XML_RULE@
+
+appdatadir = $(datadir)/appdata
+app_data_in_files = gnome-abrt.appdata.xml.in
+appdata_DATA = $(app_data_in_files:.xml.in=.xml)
+
 @INTLTOOL_DESKTOP_RULE@
+
 desktopdir = $(datadir)/applications
 desktop_in_files = gnome-abrt.desktop.in
 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
 
-EXTRA_DIST = $(bin_SCRIPTS) $(desktop_in_files)
+EXTRA_DIST = $(bin_SCRIPTS) $(desktop_in_files) $(app_data_in_files)
 
 check-local: $(bin_SCRIPTS)
 if USE_PYLINT
diff --git a/src/gnome-abrt.appdata.xml.in b/src/gnome-abrt.appdata.xml.in
new file mode 100644
index 0000000..1a756eb
--- /dev/null
+++ b/src/gnome-abrt.appdata.xml.in
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application>
+<id type="desktop">gnome-abrt.desktop</id>
+<licence>CC0</licence>
+<description>
+  <_p>
+  Collection of software tools designed for collecting, analyzing and reporting of
+  software issues.
+  </_p>
+  <_p>
+  It's main purpose is to ease the process of reporting an issue and finding a solution.
+  </_p>
+</description>
+<url type="homepage">https://github.com/abrt/gnome-abrt</url>
+<screenshots>
+<screenshot type="default">http://jfilak.fedorapeople.org/media/gnome-abrt.png</screenshot>
+</screenshots>
+<updatecontact>crash-catcher at lists.fedorahosted.org</updatecontact>
+</application>
-- 
1.8.3.1



More information about the Crash-catcher mailing list