[bijiben] Ship appdata information



commit bbd4f768932648948aba77badf9b3e7ae6427182
Author: Pierre-Yves Luyten <py luyten fr>
Date:   Fri Aug 30 22:50:04 2013 +0200

    Ship appdata information
    
    bijiben.appdata.xml for AppStream

 .gitignore                  |    1 +
 data/Makefile.am            |   14 ++++++++++++--
 data/bijiben.appdata.xml.in |   18 ++++++++++++++++++
 po/POTFILES.in              |    1 +
 4 files changed, 32 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 5a475f7..486a38e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -27,6 +27,7 @@ aclocal.m4
 Makefile
 Makefile.in
 data/bijiben.xml
+data/bijiben.appdata.xml
 data/bijiben.desktop
 data/bijiben.desktop.in
 data/org.gnome.bijiben.gschema.valid
diff --git a/data/Makefile.am b/data/Makefile.am
index 58196ba..84a78b7 100755
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -4,6 +4,10 @@ SUBDIRS = icons
 xml_in_files = bijiben.xml.in
 xml_files = $(xml_in_files:.xml.in=.xml)
 
+app_data_in_files = bijiben.appdata.xml.in
+app_data_files = $(app_data_in_files:.xml.in=.xml)
+
+
 @INTLTOOL_XML_RULE@
 
 @INTLTOOL_DESKTOP_RULE@
@@ -14,6 +18,10 @@ desktop_files    = $(desktop_in_files:.desktop.in=.desktop)
 desktopdir   = $(datadir)/applications
 desktop_DATA = $(desktop_files)
 
+appdatadir = $(datadir)/appdata
+appdata_DATA = $(app_data_files)
+
+
 servicedir = $(datadir)/dbus-1/services
 service_DATA = $(service_in_files:.service.in=.service)
 service_in_files =                             \
@@ -44,13 +52,15 @@ EXTRA_DIST =                            \
        shell-search-provider-dbus-interfaces.xml \
        $(service_in_files)             \
        $(searchprovider_DATA) \
-       $(xml_in_files)
+       $(xml_in_files) \
+       $(app_data_in_files)
 
 DISTCLEANFILES =                        \
        $(desktop_files)                \
        $(gsettings_SCHEMAS)            \
        $(service_DATA)   \
-       $(xml_files)
+       $(xml_files) \
+       $(app_data_files)
 
 install-data-hook:
 if ENABLE_UPDATE_MIMEDB
diff --git a/data/bijiben.appdata.xml.in b/data/bijiben.appdata.xml.in
new file mode 100644
index 0000000..cd369c8
--- /dev/null
+++ b/data/bijiben.appdata.xml.in
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application>
+ <id type="desktop">bijiben.desktop</id>
+ <licence>CC0</licence>
+ <name>Notes</name>
+ <summary>Quickly jot notes</summary>
+ <description>
+  <_p>
+   Notes is an editor allowing to make simple lists for later use.
+  </_p>
+  <_p>It allows to use ownCloud as a storage location and online editor.</_p>
+ </description>
+ <screenshots>
+  <screenshot type="default" width="627" 
height="396">http://py.luyten.fr/Publique/bijiben-notes-scr.png</screenshot>
+ </screenshots>
+ <url type="homepage">https://wiki.gnome.org/Apps/Bijiben</url>
+ <updatecontact>py_at_luyten.fr</updatecontact>
+</application>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index dafc1ff..ee4b8b6 100755
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,4 +1,5 @@
 # List of source files containing translatable strings.
+data/bijiben.appdata.xml.in
 data/bijiben.desktop.in.in
 data/bijiben.xml.in
 src/bjb-app-menu.c


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