[network-manager-iodine/lr/nm-1-2: 3/4] appdata: add AppStream metadata



commit 4bc0a17d55bfae3bed5cae3a518e26612de5144d
Author: Lubomir Rintel <lkundrak v3 sk>
Date:   Fri Apr 22 13:03:13 2016 +0200

    appdata: add AppStream metadata
    
    This will ensure the Iodine NetworkManager plugin will be easily
    installable from the app stores such as GNOME Software.

 .gitignore                                    |    2 +
 Makefile.am                                   |   12 +++++++-
 appdata/iodine.png                            |  Bin 0 -> 31950 bytes
 appdata/network-manager-iodine.appdata.xml.in |   40 +++++++++++++++++++++++++
 po/POTFILES.in                                |    1 +
 5 files changed, 54 insertions(+), 1 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a4f09a5..c0feb08 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,12 +21,14 @@ stamp-*
 TAGS
 autom4te.cache
 intltool-*
+po/NetworkManager-iodine.pot
 po/*.gmo
 po/.intltool-merge-cache
 m4/gtk-doc.m4
 m4/intltool.m4
 m4/libtool.m4
 m4/lt*.m4
+network-manager-iodine.appdata.xml
 
 nm-iodine-service.name
 src/nm-iodine-service
diff --git a/Makefile.am b/Makefile.am
index ad796f9..35a5565 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -31,6 +31,11 @@ uninstall-hook:
        rm -f $(DESTDIR)$(sysconfdir)/NetworkManager/VPN/nm-iodine-service.name
 endif
 
+appdatadir = $(datadir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+appdata_in_files = appdata/network-manager-iodine.appdata.xml.in
+ INTLTOOL_XML_RULE@
+
 nm-iodine-service.name: $(srcdir)/nm-iodine-service.name.in
        sed -e 's|[ ]LIBEXECDIR[@]|$(libexecdir)|g' \
            -e 's|[ ]PLUGINDIR[@]/|@NM_PLUGIN_DIR@|g' \
@@ -42,11 +47,16 @@ EXTRA_DIST = nm-iodine-service.name.in \
              $(dbusservice_DATA)  \
              $(desktop_in_files)  \
              $(icon_DATA)         \
+             $(appdata_in_files)  \
+             $(appdata_DATA)      \
              intltool-extract.in  \
              intltool-merge.in    \
              intltool-update.in
 
-CLEANFILES = $(nmvpnservice_DATA) $(desktop_DATA) *~
+CLEANFILES = $(nmvpnservice_DATA) \
+             $(desktop_DATA)      \
+             $(appdata_DATA)
+
 DISTCLEANFILES = intltool-extract intltool-merge intltool-update
 
 ACLOCAL_AMFLAGS = -I m4
diff --git a/appdata/iodine.png b/appdata/iodine.png
new file mode 100644
index 0000000..ee82651
Binary files /dev/null and b/appdata/iodine.png differ
diff --git a/appdata/network-manager-iodine.appdata.xml.in b/appdata/network-manager-iodine.appdata.xml.in
new file mode 100644
index 0000000..3caf667
--- /dev/null
+++ b/appdata/network-manager-iodine.appdata.xml.in
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright Lubomir Rintel 2016 -->
+<component type="addon">
+  <id>network-manager-iodine</id>
+  <project_license>GPL-2.0+</project_license>
+  <metadata_license>CC0-1.0</metadata_license>
+  <extends>nm-connection-editor.desktop</extends>
+  <extends>gnome-control-center.desktop</extends>
+  <_name>Iodine DNS Tunnel</_name>
+  <_summary>Client for Iodine DNS Tunnel</_summary>
+
+  <keywords>
+    <keyword>network</keyword>
+    <keyword>manager</keyword>
+    <keyword>NetworkManager</keyword>
+    <keyword>connection</keyword>
+    <keyword>VPN</keyword>
+    <keyword>Fortinet</keyword>
+    <keyword>openfortivpn</keyword>
+    <keyword>SSLVPN</keyword>
+  </keywords>
+
+  <description>
+    <_p>Support for tunnelling IP traffice via DNS using Iodine.</_p>
+    <_p>This is useful to get useful connectivity in cases where Internet 
+    access is severely filtered.</_p>
+  </description>
+
+  <screenshots>
+    <screenshot type="default">
+      <image width="800" 
height="514">https://git.gnome.org/browse/network-manager-iodine/plain/appdata/iodine.png</image>
+    </screenshot>
+  </screenshots>
+
+  <url type="homepage">https://honk.sigxcpu.org/piki/projects/network-manager-iodine/</url>
+  <url type="bugtracker">https://bugzilla.gnome.org/enter_bug.cgi?product=NetworkManager</url>
+  <update_contact>agx sigxcpu org</update_contact>
+  <translation type="gettext">NetworkManager-iodine</translation>
+  <_developer_name>Guido G√ľnther</_developer_name>
+</component>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 9b5980e..7dd1feb 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,5 +1,6 @@
 # List of source files containing translatable strings.
 # Please keep this file sorted alphabetically.
+appdata/network-manager-iodine.appdata.xml.in
 auth-dialog/main.c
 properties/nm-iodine.c
 [type: gettext/glade]properties/nm-iodine-dialog.ui


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