[yelp] Add AppData file



commit 92645b012abd631a2356be74f9522ee187a0f46b
Author: Daniel Mustieles <daniel mustieles gmail com>
Date:   Fri Sep 12 12:22:04 2014 +0200

    Add AppData file
    
    Various fixes and appdata updates by Kalev Lember <klember redhat com>
    and David King <amigadave amigadave com>.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=722763

 Makefile.am              |    8 ++++++++
 configure.ac             |    1 +
 data/yelp.appdata.xml.in |   29 +++++++++++++++++++++++++++++
 po/POTFILES.in           |    1 +
 4 files changed, 39 insertions(+), 0 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 7b82649..89b4d6a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -284,6 +284,12 @@ desktopdir = $(datadir)/applications
 desktop_in_files=yelp.desktop.in.in
 desktop_DATA = $(desktop_in_files:.desktop.in.in=.desktop)
 
+@INTLTOOL_XML_RULE@
+
+appstream_in_files = data/yelp.appdata.xml.in
+appstream_XML = $(appstream_in_files:.appdata.xml.in=.appdata.xml)
+@APPSTREAM_XML_RULES@
+
 @INTLTOOL_SCHEMAS_RULE@
 
 gsettings_SCHEMAS = data/org.gnome.yelp.gschema.xml
@@ -683,6 +689,7 @@ xsl_DATA = \
        data/xslt/yelp-common.xsl
 
 dist_noinst_DATA = \
+       $(appstream_in_files) \
        $(desktop_in_files) \
        $(gsettings_SCHEMAS) \
        $(libyelp_libyelp_la_headers) \
@@ -859,6 +866,7 @@ dist_noinst_SCRIPTS = \
        autogen.sh
 
 CLEANFILES = \
+       $(appstream_XML) \
        $(desktop_DATA) \
        $(enum_data) \
        $(marshal_data)
diff --git a/configure.ac b/configure.ac
index aa4de07..351c3b1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,6 +20,7 @@ AC_PROG_CC
 AC_PROG_CC_C_O
 AC_PROG_LN_S
 GLIB_GSETTINGS
+APPSTREAM_XML
 
 # Library dependecies
 LT_LIB_M
diff --git a/data/yelp.appdata.xml.in b/data/yelp.appdata.xml.in
new file mode 100644
index 0000000..b0cd073
--- /dev/null
+++ b/data/yelp.appdata.xml.in
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application>
+  <id type="desktop">yelp.desktop</id>
+  <metadata_license>CC0-1.0</metadata_license>
+  <project_license>GPL-2.0+</project_license>
+  <_name>GNOME Help</_name>
+  <_summary>Help viewer for GNOME</_summary>
+  <description>
+    <_p>
+      Yelp is the GNOME help viewer. It is the default Mallard viewer, but it
+      can also display DocBook, info, man, and HTML documentation.
+    </_p>
+    <_p>
+      It makes it easy to find the documentation you need, with interactive
+      search and bookmarks.
+    </_p>
+    <_p>
+      It also has an editor mode, which shows editorial comments and revision
+      statuses when editing Mallard documents.
+    </_p>
+  </description>
+  <screenshots>
+    <screenshot 
type="default">https://wiki.gnome.org/Apps/Yelp?action=AttachFile&amp;do=get&amp;target=yelp_screenshot.png</screenshot>
+  </screenshots>
+  <url type="homepage">https://wiki.gnome.org/Apps/Yelp</url>
+  <updatecontact>gnome-doc-devel-list gnome org</updatecontact>
+  <translation type="gettext">yelp</translation>
+  <_developer_name>The GNOME Project</_developer_name>
+</application>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index b17af0f..76572b2 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -2,6 +2,7 @@
 # Please keep this file sorted alphabetically.
 [encoding: UTF-8]
 data/domains/yelp.pot
+data/yelp.appdata.xml.in
 libyelp/yelp-bz2-decompressor.c
 libyelp/yelp-debug.c
 libyelp/yelp-docbook-document.c


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