[glade/css] Added AppData for gnome-software to pick up glade Fixes bug 708641 "Please include an AppData file"



commit 68cb484b0e70294a039f0894dcfdf886278ffd93
Author: Juan Pablo Ugarte <juanpablougarte gmail com>
Date:   Tue Sep 24 17:19:07 2013 -0300

    Added AppData for gnome-software to pick up glade
    Fixes bug 708641 "Please include an AppData file"

 configure.ac              |    1 +
 data/Makefile.am          |    9 +++++++--
 data/glade.appdata.xml.in |   26 ++++++++++++++++++++++++++
 3 files changed, 34 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index cbfd077..a0334ce 100644
--- a/configure.ac
+++ b/configure.ac
@@ -307,6 +307,7 @@ AC_CONFIG_FILES([
 Makefile
 data/gladeui-2.0.pc
 data/glade.desktop.in
+data/glade.appdata.xml
 data/Makefile
 data/icons/Makefile
 data/icons/hicolor/Makefile
diff --git a/data/Makefile.am b/data/Makefile.am
index 9de92fa..5a225c6 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -10,10 +10,15 @@ desktop_DATA = $(desktop_in_files:.desktop.in.in=.desktop)
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = gladeui-2.0.pc
 
+appdatadir = $(datadir)/appdata
+appdata_DATA = glade.appdata.xml
+
 EXTRA_DIST =                           \
        $(desktop_in_files)             \
-       gladeui-2.0.pc.in
+       gladeui-2.0.pc.in               \
+       glade.appdata.xml.in
 
 CLEANFILES =                           \
        $(desktop_DATA)                 \
-       $(pkgconfig_DATA)
+       $(pkgconfig_DATA)               \
+       $(appdata_DATA)
diff --git a/data/glade.appdata.xml.in b/data/glade.appdata.xml.in
new file mode 100644
index 0000000..cfc7b6a
--- /dev/null
+++ b/data/glade.appdata.xml.in
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application>
+  <id type="desktop">glade.desktop</id>
+  <licence>CC0</licence>
+  <description>
+    <p>
+      Glade is a RAD tool to enable quick &amp; easy development of user interfaces
+      for the GTK+ 3 toolkit and the GNOME desktop environment. 
+    </p>
+    <p>
+      The user interfaces designed in Glade are saved as XML and these can be
+      loaded by applications dynamically as needed by using GtkBuilder or used
+      directly to define a new GtkWidget derived object class using
+      Gtk+ new template feature.
+    </p>
+    <p>
+      By using GtkBuilder, Glade XML files can be used in numerous programming 
+      languages including C, C++, C#, Vala, Java, Perl, Python,and others. 
+    </p>
+  </description>
+  <screenshots>
+    <screenshot type="default">https://glade.gnome.org/images/glade-main-page.png</screenshot>
+  </screenshots>
+  <url type="homepage">http://glade.gnome.org/</url>
+  <updatecontact>juanpablougarte_at_gmail.com</updatecontact>
+</application>
\ No newline at end of file


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