[vinagre] Add AppData XML, bug 722893



commit 5c20d763649d71232e5b7c4ba568117bc1af17a8
Author: David King <amigadave amigadave com>
Date:   Mon Feb 17 12:12:44 2014 +0000

    Add AppData XML, bug 722893

 .gitignore                  |    3 +++
 Makefile.am                 |    8 +++++++-
 configure.ac                |    2 ++
 data/vinagre.appdata.xml.in |   21 +++++++++++++++++++++
 po/POTFILES.in              |    1 +
 5 files changed, 34 insertions(+), 1 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 887bc43..af4b114 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,6 +16,8 @@ Makefile.in
 /configure
 /data/org.freedesktop.Telepathy.Client.Vinagre.service
 /data/org.gnome.Vinagre.gschema.valid
+/data/vinagre.appdata.valid
+/data/vinagre.appdata.xml
 /data/vinagre-file.desktop
 /data/vinagre-file.desktop.in
 /data/vinagre-mime.xml
@@ -55,6 +57,7 @@ Makefile.in
 /po/quot.sed
 /po/stamp-it
 /po/*.gmo
+/po/vinagre.pot
 /stamp-h1
 /vinagre/*.o
 /vinagre/.deps
diff --git a/Makefile.am b/Makefile.am
index 5c11e5b..7e518de 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,7 +2,7 @@ ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
 SUBDIRS = help po
 
 DISTCHECK_CONFIGURE_FLAGS = \
-       --disable-scrollkeeper \
+       --enable-appdata-validate \
        --enable-compile-warnings=maximum
 
 vinagre_vinagre_CPPFLAGS = \
@@ -255,6 +255,10 @@ nodist_desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
 mimedir = $(datadir)/mime/packages
 nodist_mime_DATA = data/vinagre-mime.xml
 
+ APPDATA_XML_RULES@
+appdata_in_files = data/vinagre.appdata.xml.in
+appdata_XML = $(appdata_in_files:.appdata.xml.in=.appdata.xml)
+
 gsettings_SCHEMAS = data/org.gnome.Vinagre.gschema.xml
 
 @GSETTINGS_RULES@
@@ -291,6 +295,7 @@ dist-changelog:
        else rm -f .ChangeLog.tmp; exit 1; fi
 
 dist_noinst_DATA = \
+       $(appdata_in_files) \
        $(noinst_vinagreh_headers) \
        $(vinagre_vala_sources) \
        vinagre/vinagre-vala.h \
@@ -308,6 +313,7 @@ dist_noinst_DATA = \
        vinagre.doap
 
 CLEANFILES = \
+       $(appdata_XML) \
        $(nodist_desktop_DATA) \
        $(nodist_mime_DATA) \
        $(nodist_pkgconfig_DATA) \
diff --git a/configure.ac b/configure.ac
index 1878bb7..3f2c894 100644
--- a/configure.ac
+++ b/configure.ac
@@ -218,6 +218,8 @@ YELP_HELP_INIT
 
 GLIB_GSETTINGS
 
+APPDATA_XML
+
 AC_CONFIG_FILES([
 Makefile
 data/vinagre.desktop.in
diff --git a/data/vinagre.appdata.xml.in b/data/vinagre.appdata.xml.in
new file mode 100644
index 0000000..a8ba921
--- /dev/null
+++ b/data/vinagre.appdata.xml.in
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2014 David King <amigadave amigadave com> -->
+<application>
+    <id type="desktop">vinagre.desktop</id>
+    <licence>CC0</licence>
+<!-- Both taken from the desktop file.
+    <name>Remote Desktop Viewer</name>
+    <summary></summary>
+-->
+    <description>
+        <_p>Vinagre shows remote Windows, Mac OS X and Linux desktops.</_p>
+        <_p>It uses the VNC, RDP and SPICE protocols, and can even be used to
+        connect to SSH servers.</_p>
+    </description>
+    <url type="homepage">https://wiki.gnome.org/Apps/Vinagre</url>
+    <screenshots>
+        <screenshot type="default">http://amigadave.com/temp/vinagre-default.png</screenshot>
+    </screenshots>
+    <updatecontact>amigadave amigadave com</updatecontact>
+    <project_group>GNOME</project_group>
+</application>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index e4bf8fb..f8fde0f 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,6 +1,7 @@
 # List of source files containing translatable strings.
 
 data/org.gnome.Vinagre.gschema.xml
+data/vinagre.appdata.xml.in
 data/vinagre.desktop.in.in
 data/vinagre-file.desktop.in.in
 [type: gettext/glade]data/vinagre.ui


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