summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Pablo Ugarte <juanpablougarte@gmail.com>2013-09-24 17:19:07 -0300
committerJuan Pablo Ugarte <juanpablougarte@gmail.com>2013-10-03 17:21:40 -0300
commit68cb484b0e70294a039f0894dcfdf886278ffd93 (patch)
treeec68af80689a4037786c04e9985f45cda9a3d665
parentc5cbf9a6b2f45bfab4658a96c0f06770fd5a7a42 (diff)
downloadglade-68cb484b0e70294a039f0894dcfdf886278ffd93.tar.gz
Added AppData for gnome-software to pick up glade
Fixes bug 708641 "Please include an AppData file"
-rw-r--r--configure.ac1
-rw-r--r--data/Makefile.am9
-rw-r--r--data/glade.appdata.xml.in26
3 files changed, 34 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index cbfd0775..a0334ce2 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 9de92fa3..5a225c66 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 00000000..cfc7b6ac
--- /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