[evince] appdata: Add rudimentary appdata file



commit b8a42fec41fd4ff02918e3df799a685c5356bbad
Author: Christian Persch <chpe gnome org>
Date:   Mon Jun 16 13:55:04 2014 +0200

    appdata: Add rudimentary appdata file
    
    https://bugzilla.gnome.org/show_bug.cgi?id=708760

 Makefile.am           |   13 +++++++++++++
 evince.appdata.xml.in |   39 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+), 0 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index fd3ab97..c9c0733 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -43,6 +43,14 @@ header_DATA = \
        evince-view.h \
        $(NULL)
 
+# Appdata files
+
+appdatadir = $(datadir)/appdata
+appdata_in_files = evince.appdata.xml.in
+nodist_appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+
+ INTLTOOL_XML_RULE@
+
 # Applications 
 
 intltool_extra = intltool-extract.in intltool-merge.in intltool-update.in
@@ -50,9 +58,14 @@ intltool_extra = intltool-extract.in intltool-merge.in intltool-update.in
 EXTRA_DIST = \
        $(intltool_extra) \
        $(header_DATA) \
+       $(appdata_in_files) \
        autogen.sh \
        MAINTAINERS
 
+CLEANFILES = \
+       $(nodist_appdata_DATA) \
+       $(NULL)
+
 DISTCLEANFILES =               \
        intltool-extract        \
        intltool-merge          \
diff --git a/evince.appdata.xml.in b/evince.appdata.xml.in
new file mode 100644
index 0000000..284fb1e
--- /dev/null
+++ b/evince.appdata.xml.in
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright © 2014 Christian Persch
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License as published by
+  the Free Software Foundation; either version 2, or (at your option)
+  any later version.
+
+  This program is distributed in the hope conf it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  GNU General Public License for more details.
+
+  You should have received a copy of the GNU General Public License
+  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+-->
+<!-- FIXME: the xmlns for appdata is made-up -->
+<application
+  xmlns="https://www.freedesktop.org/standards/appdata/1.0";
+  xmlns:xi="http://www.w3.org/2001/XInclude";
+  xmlns:its="http://www.w3.org/2005/11/its";>
+  <id type="desktop">evince.desktop</id>
+  <metadata_license>GPL-2.0+</metadata_license>
+  <project_license>GPL-2.0+</project_license>
+  <_name>Document Viewer</_name>
+  <_summary>Document viewer for popular document formats</_summary>
+  <description>
+    <_p>This is a document viewer for the GNOME desktop.</_p>
+    <_p>It supports the following document formats: PDF, PS, EPS, XPS, DjVu, TIFF, DVI (with SyncTeX), and 
Comic Books archives (CBR, CBT, CBZ, CB7).</_p>
+  </description>
+  <!-- <screenshots>
+    <screenshot type="default">https://</screenshot>
+  </screenshots>
+  -->
+  <url type="homepage">https://wiki.gnome.org/Apps/Evince</url>
+  <project_group>GNOME</project_group>
+  <updatecontact>https://wiki.gnome.org/Apps/Evince/ReportingBugs</updatecontact>
+</application>


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