summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mustieles <daniel.mustieles@gmail.com>2014-09-12 12:22:04 +0200
committerKalev Lember <klember@redhat.com>2018-03-23 16:45:15 +0100
commit92645b012abd631a2356be74f9522ee187a0f46b (patch)
tree778db5dad84fc2b591ed9fec2c2f5f3fab5167c8
parenteb2e56bdf28c494558f80bee48b2c8acd5b00607 (diff)
downloadyelp-92645b012abd631a2356be74f9522ee187a0f46b.tar.gz
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
-rw-r--r--Makefile.am8
-rw-r--r--configure.ac1
-rw-r--r--data/yelp.appdata.xml.in29
-rw-r--r--po/POTFILES.in1
4 files changed, 39 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 7b82649d..89b4d6a3 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 aa4de07b..351c3b1a 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 00000000..b0cd0739
--- /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 b17af0f7..76572b24 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