[eog] Add an AppData file



commit 44866d5177903e79d0fb1b9f2e313ae087bc3358
Author: Richard Hughes <richard hughsie com>
Date:   Wed Sep 25 15:55:12 2013 +0100

    Add an AppData file
    
    See http://people.freedesktop.org/~hughsient/appdata/ for details.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=708757

 data/Makefile.am        |    8 ++++++++
 data/eog.appdata.xml.in |   23 +++++++++++++++++++++++
 po/POTFILES.in          |    1 +
 3 files changed, 32 insertions(+), 0 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index ab41e1b..5982c7f 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -8,6 +8,11 @@ DESKTOP_FILES= $(DESKTOP_IN_FILES:.desktop.in.in=.desktop)
 desktopdir = $(datadir)/applications
 desktop_DATA = $(DESKTOP_FILES)
 
+ INTLTOOL_XML_NOMERGE_RULE@
+appdatadir = $(datadir)/appdata
+dist_appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+appdata_in_files = eog.appdata.xml.in
+
 gsettings_ENUM_NAMESPACE = org.gnome.eog
 gsettings_ENUM_FILES = $(top_srcdir)/src/eog-scroll-view.h     \
                        $(top_srcdir)/src/eog-window.h
@@ -39,6 +44,9 @@ EXTRA_DIST =                  \
         $(DESKTOP_IN_FILES)    \
        eog.convert
 
+CLEANFILES =                   \
+       eog.appdata.xml
+
 DISTCLEANFILES =               \
         $(DESKTOP_FILES)        \
         $(gsettings_SCHEMAS)
diff --git a/data/eog.appdata.xml.in b/data/eog.appdata.xml.in
new file mode 100644
index 0000000..1c9e72f
--- /dev/null
+++ b/data/eog.appdata.xml.in
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application>
+  <id type="desktop">eog.desktop</id>
+  <licence>CC0</licence>
+  <description>
+    <_p>
+      The Eye of GNOME is the official image viewer for the GNOME desktop.
+      It integrates with the GTK+ look and feel of GNOME, and supports many image
+      formats for viewing single images or images in a collection.
+    </_p>
+    <_p>
+      The Eye of GNOME also allows to view the images in a fullscreen slideshow mode
+      or set an image as the desktop wallpaper.
+      It reads the camera tags to automatically rotate your images in the correct
+      portrait or landscape orientation.
+    </_p>
+  </description>
+  <url type="homepage">https://projects.gnome.org/eog/</url>
+  <screenshots>
+    <screenshot type="default">https://projects.gnome.org/eog/images/eog-screenshot.png</screenshot>
+  </screenshots>
+  <updatecontact>eog-list gnome org</updatecontact>
+</application>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 2580d3f..c9083b1 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -4,6 +4,7 @@
 cut-n-paste/toolbar-editor/egg-editable-toolbar.c
 cut-n-paste/toolbar-editor/egg-toolbar-editor.c
 [type: gettext/glade]data/eog-app-menu.xml
+data/eog.appdata.xml.in
 data/eog.desktop.in.in
 [type: gettext/glade]data/eog-image-properties-dialog.ui
 [type: gettext/glade]data/eog-multiple-save-as-dialog.ui


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