[krb5-auth-dialog] Add appdata



commit badb4b5882531c1f33d67726d01dc37dba367ac3
Author: Guido Günther <agx sigxcpu org>
Date:   Tue Oct 1 23:57:13 2013 +0200

    Add appdata

 po/POTFILES.in                      |    1 +
 src/Makefile.am                     |   12 +++++++++++-
 src/krb5-auth-dialog.appdata.xml.in |   23 +++++++++++++++++++++++
 3 files changed, 35 insertions(+), 1 deletions(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index b65ce3d..fb15bbf 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -7,5 +7,6 @@ src/ka-tools.c
 src/ka-main-window.c
 src/ka-preferences.c
 src/krb5-auth-dialog.desktop.in
+src/krb5-auth-dialog.appdata.xml.in
 src/org.gnome.KrbAuthDialog.gschema.xml
 secmem/util.c
diff --git a/src/Makefile.am b/src/Makefile.am
index 3cf1a7d..fd055cb 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -25,6 +25,11 @@ service_DATA     = $(service_in_files:.service.in=.service)
 $(service_DATA): $(service_in_files) Makefile
        sed -e "s|\ BINDIR\@|$(bindir)|" $< > $@
 
+ INTLTOOL_XML_RULE@
+appdatadir       = $(datadir)/appdata
+appdata_in_files = krb5-auth-dialog.appdata.xml.in
+appdata_DATA     = $(appdata_in_files:.xml.in=.xml)
+
 krb5_auth_dialog_SOURCES =     \
        ka-kerberos.c           \
        ka-kerberos.h           \
@@ -100,11 +105,16 @@ EXTRA_DIST = \
        $(schema_in_files) \
        $(autostart_in_files) \
        $(service_in_files) \
+       $(appdata_in_files) \
        org.gnome.KrbAuthDialog.gschema.xml \
        krb5-auth-dialog.1.in \
        $(NULL)
 
-CLEANFILES = $(schema_DATA) $(service_DATA)
+CLEANFILES = $(schema_DATA) \
+       $(service_DATA) \
+       $(appdata_DATA) \
+       $(NULL)
+
 DISTCLEANFILES = \
        krb5-auth-dialog.desktop \
        $(NULL)
diff --git a/src/krb5-auth-dialog.appdata.xml.in b/src/krb5-auth-dialog.appdata.xml.in
new file mode 100644
index 0000000..0e4ef2d
--- /dev/null
+++ b/src/krb5-auth-dialog.appdata.xml.in
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2013 Guido Günther <agx sigxcpu org> -->
+<application>
+  <id type="desktop">krb5-auth-dialog.desktop</id>
+  <licence>CC0</licence>
+  <description>
+    <_p>
+      Kerberos Authentication allows you to list your current Kerberos tickets,
+      and to request a new ticket (authenticate to the Kerberos Server). It also
+      notifies you when your Kerberos credentials are about to expire and renews
+      your ticket automatically if possible.
+    </_p>
+    <_p>
+      This is useful if you need to authenticate to a Kerberos Server (KDC)
+      after your login to the desktop (e.g. on a mobile device).
+    </_p>
+  </description>
+  <screenshots>
+    <screenshot type="default" width="330" 
height="176">http://honk.sigxcpu.org/con/images/krb5-auth-dialog-pkinit.png</screenshot>
+  </screenshots>
+  <url type="homepage">https://honk.sigxcpu.org/piki/projects/krb5-auth-dialog/</url>
+  <updatecontact>agx_at_sigxcpu.org</updatecontact>
+</application>


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