[evince/wip/appstream: 1/2] add appdata files
- From: Igor Gnatenko <ignatenko src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince/wip/appstream: 1/2] add appdata files
- Date: Mon, 16 Jun 2014 10:51:01 +0000 (UTC)
commit c348423d495fcbd8a43046d75bffa41bbae2789c
Author: Igor Gnatenko <i gnatenko brain gmail com>
Date: Mon Jun 16 14:46:11 2014 +0400
add appdata files
Reference: https://bugzilla.gnome.org/show_bug.cgi?id=731708
Signed-off-by: Igor Gnatenko <i gnatenko brain gmail com>
data/Makefile.am | 12 ++++++++++++
data/evince.appdata.xml.in | 19 +++++++++++++++++++
data/screenshot.png | Bin 0 -> 438122 bytes
po/POTFILES.in | 1 +
4 files changed, 32 insertions(+), 0 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 05e2fb7..06b400a 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -30,6 +30,16 @@ desktopdir = $(datadir)/applications
desktop_DATA = $(DESKTOP_FILES)
#
+# AppStream data
+#
+
+appstreamdir = $(datadir)/appdata
+appstream_in_files = evince.appdata.xml.in
+appstream_DATA = $(appstream_in_files:.xml.in=.xml)
+
+ INTLTOOL_XML_RULE@
+
+#
# DBus servide file
#
if ENABLE_DBUS
@@ -84,6 +94,7 @@ update-icon-cache:
EXTRA_DIST = \
$(ui_DATA) \
$(DESKTOP_IN_FILES) \
+ $(appstream_in_files) \
$(gsettingsschema_in_files) \
org.gnome.evince.Daemon.service.in \
$(man_MANS) \
@@ -97,6 +108,7 @@ EXTRA_DIST = \
DISTCLEANFILES = \
$(DESKTOP_FILES) \
+ $(appstream_DATA) \
$(gsettings_SCHEMAS) \
$(service_DATA)
diff --git a/data/evince.appdata.xml.in b/data/evince.appdata.xml.in
new file mode 100644
index 0000000..16a7823
--- /dev/null
+++ b/data/evince.appdata.xml.in
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2014 Igor Gnatenko <i gnatenko brain gmail com> -->
+<application>
+ <id type="desktop">evince.desktop</id>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-2.0+</project_license>
+ <description>
+ <_p>
+ Evince is a document viewer for multiple document formats.
+ The goal of evince is to replace the multiple document viewers that
+ exist with a single simple application.
+ </_p>
+ </description>
+ <screenshots>
+ <screenshot type="default">https://git.gnome.org/browse/evince/plain/data/screenshot.png</screenshot>
+ </screenshots>
+ <url type="homepage">https://wiki.gnome.org/Apps/Gedit</url>
+ <updatecontact>i gnatenko brain gmail com</updatecontact>
+</application>
diff --git a/data/screenshot.png b/data/screenshot.png
new file mode 100644
index 0000000..1b1596a
Binary files /dev/null and b/data/screenshot.png differ
diff --git a/po/POTFILES.in b/po/POTFILES.in
index ac41565..fff1af1 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -15,6 +15,7 @@ backend/tiff/tiff-document.c
[type: gettext/ini]backend/tiff/tiffdocument.evince-backend.in
[type: gettext/ini]backend/xps/xpsdocument.evince-backend.in
data/evince.desktop.in.in
+data/evince.appdata.xml.in
data/evince-previewer.desktop.in.in
data/org.gnome.Evince.gschema.xml.in
libdocument/ev-attachment.c
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]