[gnome-logs/wip/appdata] Add AppData description



commit bd4c69fdd30edf75228b40f9fedeb9b0737f6a84
Author: David King <davidk gnome org>
Date:   Thu Nov 7 18:57:49 2013 +0000

    Add AppData description

 .gitignore                     |    1 +
 Makefile.am                    |    8 ++++++++
 data/gnome-logs.appdata.xml.in |   21 +++++++++++++++++++++
 po/POTFILES.in                 |    1 +
 4 files changed, 31 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 919ea3c..3df3eaf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,6 +4,7 @@ Makefile
 /autom4te.cache/
 /build-aux/
 /data/.dstamp
+/data/gnome-logs.appdata.xml
 /data/gnome-logs.desktop
 /m4/
 /po/.intltool-merge-cache
diff --git a/Makefile.am b/Makefile.am
index 7b6d52b..767784c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -62,6 +62,12 @@ nodist_gnome_logs_headers = \
        $(AM_V_at)$(MKDIR_P) $(@D)
        $(AM_V_at)touch $@
 
+ INTLTOOL_XML_RULE@
+appdatadir = $(datadir)/appdata
+appdata_in_files = data/gnome-logs.appdata.xml.in
+$(appdata_in_files:.appdata.xml.in=.appdata.xml): data/.dstamp
+appdata_DATA = $(appdata_in_files:.appdata.xml.in=.appdata.xml)
+
 @INTLTOOL_DESKTOP_RULE@
 desktopdir = $(datadir)/applications
 desktop_in_files = data/gnome-logs.desktop.in
@@ -109,6 +115,7 @@ src/gl-resource.c src/gl-resource.h: data/gnome-logs.gresource.xml Makefile $(no
 dist_noinst_DATA = \
        $(noinst_gnome_logs_headers) \
        $(noinst_resource_files) \
+       $(appdata_in_files) \
        $(desktop_in_files) \
        data/gnome-logs.gresource.xml
 
@@ -130,6 +137,7 @@ git-changelog-hook:
        else rm -f .ChangeLog.tmp; exit 1; fi
 
 CLEANFILES = \
+       $(appdata_DATA) \
        $(desktop_DATA) \
        $(enum_data) \
        src/gl-resource.c \
diff --git a/data/gnome-logs.appdata.xml.in b/data/gnome-logs.appdata.xml.in
new file mode 100644
index 0000000..842da50
--- /dev/null
+++ b/data/gnome-logs.appdata.xml.in
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application>
+    <id type="desktop">gnome-logs.desktop</id>
+    <licence>CC0</licence>
+<!-- Both taken from desktop file.
+    <name>Logs</name>
+    <summary>View detailed event logs for the system</summary>
+-->
+    <description>
+        <_p>Logs shows events from the systemd journal, and sorts them into
+        categories, such as hardware and applications.</_p>
+        <_p>Using Logs you can search your logs by typing a search term, and
+        view detailed information about each event by clicking on it.</_p>
+    </description>
+    <screenshots>
+        <_screenshot type="default" width="1000" 
height="575">http://amigadave.com/temp/gnome-logs-default.png</_screenshot>
+    </screenshots>
+    <url type="homepage">https://wiki.gnome.org/Apps/Logs</url>
+    <updatecontact>davidk gnome org</updatecontact>
+    <project_group>GNOME</project_group>
+</application>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 7cfceb7..f278aa6 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,6 +1,7 @@
 [type: gettext/glade]data/appmenu.ui
 [type: gettext/glade]data/gl-categorylist.ui
 [type: gettext/glade]data/gl-eventtoolbar.ui
+data/gnome-logs.appdata.xml.in
 data/gnome-logs.desktop.in
 src/gl-application.c
 src/gl-eventview.c


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