/pidgin/main: 35d15be861cd: Add an AppData description file from...

Elliott Sales de Andrade qulogic at pidgin.im
Sat Nov 8 02:07:01 EST 2014


Changeset: 35d15be861cd583ed36f4f5a21f1d3c0890d2070
Author:	 Elliott Sales de Andrade <qulogic at pidgin.im>
Date:	 2014-11-08 01:42 -0500
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/35d15be861cd

Description:

Add an AppData description file from Richard Hughes.

diffstat:

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

diffs (83 lines):

diff --git a/.hgignore b/.hgignore
--- a/.hgignore
+++ b/.hgignore
@@ -113,6 +113,7 @@ pidgin-[0-9a-z.-]+/
 pidgin.apspec$
 pidgin/.*\.html\.h$
 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
@@ -5,6 +5,7 @@ EXTRA_DIST = \
 		gtk3compat.h \
 		gtkdebug.html \
 		Makefile.mingw \
+		data/pidgin.appdata.xml.in \
 		data/pidgin.desktop.in \
 		data/pidgin-3.pc.in \
 		data/pidgin-3-uninstalled.pc.in \
@@ -246,8 +247,15 @@ apps_DATA = $(apps_in_files:.desktop.in=
 %.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po)
 	$(AM_V_GEN) LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@ > /dev/null
 
+appdatadir = $(datarootdir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+appdata_in_files = data/pidgin.appdata.xml.in
+
+ at 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 <richard at hughsie.com> -->
+<!-- Copyright 2014 Pidgin Developers <devel at pidgin.im> -->
+
+<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>devel at pidgin.im</updatecontact>
+</application>
diff --git a/po/POTFILES.in b/po/POTFILES.in
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -208,6 +208,7 @@ libpurple/util.c
 libpurple/win32/libc_interface.c
 libpurple/xfer.c
 libpurple/xmlnode.c
+pidgin/data/pidgin.appdata.xml.in
 pidgin/data/pidgin.desktop.in
 pidgin/gtkaccount.c
 pidgin/gtkblist-theme.c



More information about the Commits mailing list