[polari] data: Install an appdata file



commit b791431decc80fba7113ae2dff9245f24c3cb241
Author: Florian Müllner <fmuellner gnome org>
Date:   Mon Sep 30 00:59:11 2013 +0200

    data: Install an appdata file
    
    We are slowly getting into shape to consider a preview release, in
    which case we want to show up nicely in GNOME Software, so provide
    a minimal appdata file.

 .gitignore                                   |    1 +
 configure.ac                                 |    1 +
 data/Makefile.am                             |    2 +-
 data/appdata/Makefile.am                     |    8 ++++++++
 data/appdata/org.gnome.Polari.appdata.xml.in |   19 +++++++++++++++++++
 data/appdata/polari-connections.png          |  Bin 0 -> 105133 bytes
 data/appdata/polari-main.png                 |  Bin 0 -> 97570 bytes
 data/appdata/polari-user-list.png            |  Bin 0 -> 119155 bytes
 po/POTFILES.in                               |    1 +
 9 files changed, 31 insertions(+), 1 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 70ac9a2..0f12f61 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,6 +14,7 @@ aclocal.m4
 autom4te.cache/
 config.*
 configure
+data/appdata/*.appdata.xml
 data/*.desktop
 data/*.gresource
 data/*.gschema.valid
diff --git a/configure.ac b/configure.ac
index da938cd..e1a9026 100644
--- a/configure.ac
+++ b/configure.ac
@@ -40,6 +40,7 @@ AC_PATH_PROG(DESKTOP_FILE_VALIDATE, desktop-file-validate)
 AC_CONFIG_FILES([
 Makefile
 data/Makefile
+data/appdata/Makefile
 data/icons/Makefile
 po/Makefile.in
 src/Makefile
diff --git a/data/Makefile.am b/data/Makefile.am
index 505e9ec..63d778c 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS = icons
+SUBDIRS = appdata icons
 
 desktopdir = $(datadir)/applications
 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
diff --git a/data/appdata/Makefile.am b/data/appdata/Makefile.am
new file mode 100644
index 0000000..567c1e9
--- /dev/null
+++ b/data/appdata/Makefile.am
@@ -0,0 +1,8 @@
+appdatadir = $(datadir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+appdata_in_files = org.gnome.Polari.appdata.xml.in
+
+ INTLTOOL_XML_RULE@
+
+EXTRA_DIST = $(appdata_in_files)
+CLEANFILES = $(appdata_DATA)
diff --git a/data/appdata/org.gnome.Polari.appdata.xml.in b/data/appdata/org.gnome.Polari.appdata.xml.in
new file mode 100644
index 0000000..281d06c
--- /dev/null
+++ b/data/appdata/org.gnome.Polari.appdata.xml.in
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application>
+  <id type="desktop">org.gnome.Polari.desktop</id>
+  <licence>CC0</licence>
+  <description>
+    <_p>
+      A simple Internet Relay Chat (IRC) client that is designed to integrate
+      seamlessly with GNOME; it features a simple and beautiful interface which
+      allows you to focus on your conversations.
+    </_p>
+  </description>
+  <screenshots>
+    <screenshot type="default" width="1176" 
height="650">https://git.gnome.org/browse/polari/plain/data/appdata/polari-main.png</screenshot>
+    <screenshot type="default" width="1176" 
height="650">https://git.gnome.org/browse/polari/plain/data/appdata/polari-user-list.png</screenshot>
+    <screenshot type="default" width="1176" 
height="650">https://git.gnome.org/browse/polari/plain/data/appdata/polari-connections.png</screenshot>
+  </screenshots>
+  <url type="homepage">https://wiki.gnome.org/Apps/Polari</url>
+  <updatecontact>fmuellner gnome org</updatecontact>
+</application>
diff --git a/data/appdata/polari-connections.png b/data/appdata/polari-connections.png
new file mode 100644
index 0000000..ea6fb55
Binary files /dev/null and b/data/appdata/polari-connections.png differ
diff --git a/data/appdata/polari-main.png b/data/appdata/polari-main.png
new file mode 100644
index 0000000..6fd6911
Binary files /dev/null and b/data/appdata/polari-main.png differ
diff --git a/data/appdata/polari-user-list.png b/data/appdata/polari-user-list.png
new file mode 100644
index 0000000..898e1c8
Binary files /dev/null and b/data/appdata/polari-user-list.png differ
diff --git a/po/POTFILES.in b/po/POTFILES.in
index d3598f2..c10fd5a 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,3 +1,4 @@
+data/appdata/org.gnome.Polari.appdata.xml.in
 data/org.gnome.polari.gschema.xml
 data/org.gnome.Polari.desktop.in
 [type: gettext/glade]data/resources/app-menu.ui


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