[baobab] Ship Appdata file



commit f4a47a12bffb54c56858e8d26e44f39ceeecbe67
Author: Stefano Facchini <stefano facchini gmail com>
Date:   Mon Sep 2 22:41:18 2013 +0200

    Ship Appdata file

 data/Makefile.am           |   16 +++++++++++++---
 data/baobab.appdata.xml.in |   17 +++++++++++++++++
 data/baobab.png            |  Bin 0 -> 151420 bytes
 po/POTFILES.in             |    1 +
 4 files changed, 31 insertions(+), 3 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 328e946..02c368d 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,7 +1,10 @@
+NULL =
+
 baobabicondir = $(datadir)/icons/hicolor/scalable/actions/
 baobabicon_DATA = \
        view-ringschart-symbolic.svg    \
-       view-treemap-symbolic.svg
+       view-treemap-symbolic.svg       \
+       $(NULL)
 
 baobabappdir = $(datadir)/applications
 baobabapp_in_files = baobab.desktop.in
@@ -12,6 +15,9 @@ $(baobabapp_in_files): $(baobabapp_in_files:.desktop.in=.desktop.in.in)
 
 @INTLTOOL_DESKTOP_RULE@
 
+appdatadir = $(datadir)/appdata
+appdata_DATA = baobab.appdata.xml
+
 gsettingsschema_in_files = org.gnome.baobab.gschema.xml.in
 gsettings_SCHEMAS = $(gsettingsschema_in_files:.xml.in=.xml)
 .PRECIOUS: $(gsettings_SCHEMAS)
@@ -26,11 +32,15 @@ EXTRA_DIST =                                \
        baobab.desktop.in.in            \
        $(gsettingsschema_in_files)     \
        $(man_MANS)                     \
-       $(baobabicon_DATA)
+       $(baobabicon_DATA)              \
+       baobab.appdata.xml.in           \
+       $(NULL)
 
 CLEANFILES =                           \
        $(baobabapp_in_files)           \
        $(baobabapp_DATA)               \
-       $(gsettings_SCHEMAS)
+       $(gsettings_SCHEMAS)            \
+       $(appdata_DATA)                 \
+       $(NULL)
 
 -include $(top_srcdir)/git.mk
diff --git a/data/baobab.appdata.xml.in b/data/baobab.appdata.xml.in
new file mode 100644
index 0000000..a011530
--- /dev/null
+++ b/data/baobab.appdata.xml.in
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application>
+  <id type="desktop">baobab.desktop</id>
+  <licence>CC0</licence>
+  <description>
+    <_p>
+      A simple application which can scan either specific folders
+      (local or remote) or volumes and give a graphical representation
+      including each directory size or percentage.
+    </_p>
+  </description>
+  <screenshots>
+    <screenshot type="default" width="1124" 
height="678">https://git.gnome.org/browse/baobab/plain/data/baobab.png</screenshot>
+  </screenshots>
+  <url type="homepage">https://wiki.gnome.org/Apps/Baobab</url>
+  <updatecontact>stefano.facchini_at_gmail.com</updatecontact>
+</application>
diff --git a/data/baobab.png b/data/baobab.png
new file mode 100644
index 0000000..a00426b
Binary files /dev/null and b/data/baobab.png differ
diff --git a/po/POTFILES.in b/po/POTFILES.in
index d2def78..732dce8 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,5 +1,6 @@
 # List of source files containing translatable strings.
 # Please keep this file sorted alphabetically.
+data/baobab.appdata.xml.in
 data/baobab.desktop.in.in
 data/org.gnome.baobab.gschema.xml.in.in
 src/baobab-application.vala


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