/pidgin/main: cd6ec0a2dfd5: Add an AppData description file from...

Elliott Sales de Andrade <[email protected]>
Newsgroups gmane.comp.gnome.gaim.cvs
Message-ID <[email protected]>
Changeset: cd6ec0a2dfd55b15e1d26d9ce9bd364c75c40a2e
Author:	 Elliott Sales de Andrade <[email protected]>
Date:	 2014-11-08 01:42 -0500
Branch:	 release-2.x.y
URL: https://hg.pidgin.im/pidgin/main/rev/cd6ec0a2dfd5

Description:

Add an AppData description file from Richard Hughes.

diffstat:

 .hgignore                         |   1 +
 pidgin/Makefile.am                |   9 +++++++++
 pidgin/data/pidgin.appdata.xml.in |  29 +++++++++++++++++++++++++++++
 po/POTFILES.in                    |   1 +
 4 files changed, 40 insertions(+), 0 deletions(-)

diffs (84 lines):

diff --git a/.hgignore b/.hgignore
--- a/.hgignore
+++ b/.hgignore
@@ -89,6 +89,7 @@ pidgin-[0-9a-z.-]+/
 pidgin.apspec$
 pidgin.spec$
 pidgin/pidgin$
+pidgin/data/pidgin.appdata.xml$
 pidgin/data/pidgin.desktop$
 pidgin/data/pidgin.desktop.in$
 pidgin/pixmaps/emotes/default/24/theme
diff --git a/pidgin/Makefile.am b/pidgin/Makefile.am
--- a/pidgin/Makefile.am
+++ b/pidgin/Makefile.am
@@ -3,6 +3,7 @@ EXTRA_DIST = \
 		getopt.h \
 		getopt1.c \
 		Makefile.mingw \
+		data/pidgin.appdata.xml.in \
 		data/pidgin.desktop.in \
 		data/pidgin.pc.in \
 		data/pidgin-uninstalled.pc.in \
@@ -186,8 +187,16 @@ appsdir = $(datadir)/applications
 apps_in_files = data/pidgin.desktop.in
 apps_DATA = $(apps_in_files:.desktop.in=.desktop)
 @INTLTOOL_DESKTOP_RULE@
+
+appdatadir = $(datarootdir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+appdata_in_files = data/pidgin.appdata.xml.in
+
+@INTLTOOL_XML_RULE@
+
 endif # INSTALL_I18N
 
+CLEANFILES = $(appdata_DATA)
 DISTCLEANFILES = $(DESKTOP_FILE)
 
 endif  # ENABLE_GTK
diff --git a/pidgin/data/pidgin.appdata.xml.in b/pidgin/data/pidgin.appdata.xml.in
new file mode 100644
--- /dev/null
+++ b/pidgin/data/pidgin.appdata.xml.in
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2014 Richard Hughes <[email protected]> -->
+<!-- Copyright 2014 Pidgin Developers <[email protected]> -->
+
+<application>
+  <id type="desktop">pidgin.desktop</id>
+  <metadata_license>CC0-1.0</metadata_license>
+  <project_license>GPL-2.0</project_license>
+  <_summary>Instant Messaging Client</_summary>
+  <description>
+    <_p>
+      Pidgin is a chat program which lets you log in to accounts on multiple
+      chat networks simultaneously.
+    </_p>
+    <_p>
+      This means that you can be chatting with friends on MSN, talking to a
+      friend on Google Talk, and sitting in a Yahoo chat room all at the same
+      time.
+    </_p>
+  </description>
+  <url type="homepage">http://www.pidgin.im/</url>
+  <screenshots>
+    <screenshot type="default">
+      <image>http://www.pidgin.im/shared/img/contact_window.png</image>
+      <_caption>The buddy list showing friends on different networks.</_caption>
+    </screenshot>
+  </screenshots>
+  <updatecontact>[email protected]</updatecontact>
+</application>
diff --git a/po/POTFILES.in b/po/POTFILES.in
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -193,6 +193,7 @@ libpurple/status.c
 libpurple/util.c
 libpurple/win32/libc_interface.c
 libpurple/xmlnode.c
+pidgin/data/pidgin.appdata.xml.in
 pidgin/data/pidgin.desktop.in
 pidgin/gtkaccount.c
 pidgin/gtkblist-theme.c
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.