[pan2] Add appdata support for Pan



commit 08068057348b1041613f55c332fdb95f9189cb28
Author: Petr Kovar <pknbe volny cz>
Date:   Mon Dec 21 00:18:46 2015 +0100

    Add appdata support for Pan

 Makefile.am        |   10 ++++++++++
 pan.appdata.xml.in |   23 +++++++++++++++++++++++
 po/POTFILES.in     |    1 +
 3 files changed, 34 insertions(+), 0 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index fac16ea..26b5d36 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -5,6 +5,15 @@ SUBDIRS = po uulib pan
 DESKTOP_IN_FILES=pan.desktop.in
 DESKTOP_FILES=$(DESKTOP_IN_FILES:.desktop.in=.desktop)
 
+ INTLTOOL_XML_RULE@
+appdatadir = $(datadir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+appdata_in_files = pan.appdata.xml.in
+
+CLEANFILES = \
+ $(srcdir)/pan.appdata.xml \
+ $(appdata_DATA)
+
 DISTCLEANFILES = \
  $(srcdir)/intltool-extract \
  $(srcdir)/intltool-merge \
@@ -33,6 +42,7 @@ EXTRA_DIST = \
  ChangeLog \
  Pan.ico \
  pan.png \
+ $(appdata_in_files) \
  $(DESKTOP_IN_FILES) \
  $(DESKTOP_FILES) \
  intltool-extract.in intltool-merge.in intltool-update.in \
diff --git a/pan.appdata.xml.in b/pan.appdata.xml.in
new file mode 100644
index 0000000..e5f8f6c
--- /dev/null
+++ b/pan.appdata.xml.in
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application>
+ <id type="desktop">pan.desktop</id>
+ <licence>CC0</licence>
+ <_name>Pan Newsreader</_name>
+ <_summary>Read and post Usenet articles</_summary>
+ <description>
+  <_p>
+  Pan is a Usenet newsreader that is good at both text and binaries. It supports
+  offline reading, scoring and killfiles, yEnc, NZB, binary uploading, PGP
+  handling, multiserver, and secure connections.
+  </_p>
+  <_p>
+  It is also the only Unix newsreader to get a perfect score on the Good
+  Net-Keeping Seal of Approval evaluations.
+  </_p>
+ </description>
+ <screenshots>
+  <screenshot type="default" width="800" 
height="607">http://pan.rebelbase.com/screenshots/screenshot.png</screenshot>
+ </screenshots>
+ <url type="homepage">http://pan.rebelbase.com/</url>
+ <updatecontact>pan-devel nongnu org</updatecontact>
+</application>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 9f5b466..a5a4cfd 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,4 +1,5 @@
 [encoding: UTF-8]
+pan.appdata.xml.in
 pan.desktop.in
 pan/data/article-cache.cc
 pan/data/cert-store.cc


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