[gnome-dictionary] Added AppData file



commit 171155e74185f3b58d0a4878e165e19b6787d298
Author: Daniel Mustieles <daniel mustieles gmail com>
Date:   Tue Jan 21 13:24:12 2014 +0100

    Added AppData file

 data/Makefile.am                     |   10 ++++++++--
 data/gnome-dictionary.appdata.xml.in |   18 ++++++++++++++++++
 po/POTFILES.in                       |    1 +
 3 files changed, 27 insertions(+), 2 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 5dbe875..863049b 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -16,6 +16,12 @@ $(gdictapp_in_files): $(gdictapp_in_files:.desktop.in=.desktop.in.in)
 
 @INTLTOOL_DESKTOP_RULE@
 
+ INTLTOOL_XML_RULE@
+appdatadir = $(datadir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+appdata_in_files = gnome-dictionary.appdata.xml.in
+EXTRA_DIST += $(appdata_in_files)
+
 # dictionary sources definitions
 dictsourcedir = $(datadir)/gdict-1.0/sources
 dictsource_in_files = \
@@ -43,9 +49,9 @@ gsettings_SCHEMAS = org.gnome.dictionary.gschema.xml
 CLEANFILES += $(gsettings_SCHEMAS) \
        $(dictsource_DATA) \
        $(gdictapp_in_files) \
-       $(gdictapp_DATA)
+       $(gdictapp_DATA) \
+       $(appdata_in_files)
        
- INTLTOOL_XML_NOMERGE_RULE@
 @GSETTINGS_RULES@
 
 -include $(top_srcdir)/git.mk
diff --git a/data/gnome-dictionary.appdata.xml.in b/data/gnome-dictionary.appdata.xml.in
new file mode 100644
index 0000000..5fe1362
--- /dev/null
+++ b/data/gnome-dictionary.appdata.xml.in
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application>
+<id type="desktop">gnome-dictionary.desktop</id>
+<licence>CC0</licence>
+<description>
+<_p>
+GNOME Dictionary is a simple dictionary application that looks up definitions of words online.
+Though it looks up English definitions by default, you can easily switch to
+Spanish or add other online dictionaries using the DICT protocol to suit your
+needs.
+</_p>
+</description>
+<url type="homepage">https://wiki.gnome.org/Dictionary</url>
+<screenshots>
+<screenshot 
type="default">https://wiki.gnome.org/Dictionary?action=AttachFile&amp;do=get&amp;target=Dictionary-window.png</screenshot>
+</screenshots>
+<updatecontact>sindhus live in</updatecontact>
+</application>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 7ffea9d..bd162d8 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -2,6 +2,7 @@
 # Please keep this file sorted alphabetically.
 data/default.desktop.in
 data/gnome-dictionary.desktop.in.in
+data/gnome-dictionary.appdata.xml.in
 [type: gettext/glade]data/gnome-dictionary-menus.ui
 [type: gettext/glade]data/gnome-dictionary-preferences.ui
 [type: gettext/glade]data/gnome-dictionary-source.ui


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