[smuxi] Frontend-GNOME: ship and install AppData file



commit eb57d30a4a2f820205e26554d66d37e67c564925
Author: Mirco Bauer <meebey meebey net>
Date:   Mon Jan 26 17:46:43 2015 +0100

    Frontend-GNOME: ship and install AppData file
    
    AppData file for the Smuxi GNOME frontend as defined per AppData specification:
    http://people.freedesktop.org/~hughsient/appdata/
    
    This file is used by Fedora's and GNOME's software center.

 po-Frontend-GNOME/POTFILES.in                      |    1 +
 src/Frontend-GNOME/Makefile.am                     |   10 +++++-
 .../smuxi-frontend-gnome.appdata.xml.in            |   29 ++++++++++++++++++++
 3 files changed, 38 insertions(+), 2 deletions(-)
---
diff --git a/po-Frontend-GNOME/POTFILES.in b/po-Frontend-GNOME/POTFILES.in
index ea6c50c..16305b1 100644
--- a/po-Frontend-GNOME/POTFILES.in
+++ b/po-Frontend-GNOME/POTFILES.in
@@ -1,5 +1,6 @@
 glade/smuxi-frontend-gnome.glade
 src/Frontend-GNOME/smuxi-frontend-gnome.desktop.in
+src/Frontend-GNOME/smuxi-frontend-gnome.appdata.xml.in
 src/Frontend-GNOME/AboutDialog.cs
 src/Frontend-GNOME/CrashDialog.cs
 src/Frontend-GNOME/EngineManagerDialog.cs
diff --git a/src/Frontend-GNOME/Makefile.am b/src/Frontend-GNOME/Makefile.am
index e1a79fb..aae285d 100644
--- a/src/Frontend-GNOME/Makefile.am
+++ b/src/Frontend-GNOME/Makefile.am
@@ -1,5 +1,5 @@
 TARGET_DIR = $(top_builddir)/bin/$(PROFILE)
-EXTRA_DIST = $(WIN_ICON) $(DESKTOP_FILE).in $(man_MANS)
+EXTRA_DIST = $(WIN_ICON) $(DESKTOP_FILE).in $(man_MANS) $(appdata_in_files)
 man_MANS = smuxi-frontend-gnome.1
 
 ICON_NAME = smuxi-frontend-gnome
@@ -46,6 +46,11 @@ desktop_in_files = $(DESKTOP_FILE).in
 desktop_DATA = $(DESKTOP_FILE)
 build_datafiles = $(DESKTOP_FILE)
 
+ INTLTOOL_XML_RULE@
+appdatadir = $(datarootdir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+appdata_in_files = smuxi-frontend-gnome.appdata.xml.in
+
 FRONTEND_GNOME_EXE_CONFIG_SOURCE = smuxi-frontend-gnome.exe.config
 FRONTEND_GNOME_EXE_CONFIG = $(BUILD_DIR)/smuxi-frontend-gnome.exe.config
 
@@ -228,7 +233,8 @@ DLL_REFERENCES = $(MESSAGINGMENU_SHARP_INCLUDED_LIBS)
 
 CLEANFILES = $(LINUX_DESKTOPAPPLICATIONS) $(PROGRAMFILES) $(BINARIES) \
        $(top_builddir)/images/256/$(GROUP_CHAT_ICON_NAME).png \
-       $(top_builddir)/images/256/$(PERSON_CHAT_ICON_NAME).png
+       $(top_builddir)/images/256/$(PERSON_CHAT_ICON_NAME).png \
+       $(appdata_DATA)
 
 include $(top_srcdir)/Makefile.include
 
diff --git a/src/Frontend-GNOME/smuxi-frontend-gnome.appdata.xml.in 
b/src/Frontend-GNOME/smuxi-frontend-gnome.appdata.xml.in
new file mode 100644
index 0000000..c5e7abd
--- /dev/null
+++ b/src/Frontend-GNOME/smuxi-frontend-gnome.appdata.xml.in
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2015 Mirco Bauer <meebey meebey net> -->
+<component type="desktop">
+  <id>smuxi-frontend-gnome.desktop</id>
+  <metadata_license>CC0-1.0</metadata_license>
+  <project_license>GPL-2.0+</project_license>
+  <name>Smuxi</name>
+  <summary>Chat with other people on IRC, Twitter, Jabber and Campfire</summary>
+  <description>
+    <_p>
+      Smuxi is an open-source, distributed and user-friendly chat client for
+      IRC, Twitter, Jabber/XMPP, Campfire and SignalR's JabbR.
+    </_p>
+    <_p>
+      Inspired by the combination of screen and irssi, Smuxi has a detachable
+      server (or like a "normal" client) that stays connected when you aren't,
+      and can allow multiple Smuxi frontends to be connected and in sync. This
+      is similar to screen+irssi or IRC bouncers, but more elegant and powerful.
+    </_p>
+  </description>
+  <screenshots>
+    <screenshot type="default">
+      <image>https://smuxi.im/screenshots/appdata/main-window.png</image>
+      <_caption>The main window showing an IRC channel</_caption>
+    </screenshot>
+  </screenshots>
+  <url type="homepage">https://smuxi.im/</url>
+  <updatecontact>mmmbauer gnome org</updatecontact>
+</component>


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