summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2016-04-22 13:03:13 +0200
committerLubomir Rintel <lkundrak@v3.sk>2016-04-22 13:40:16 +0200
commit97c13ca6b388df7858f7f1b999f8b3861f0cd254 (patch)
tree94b5d84a69e2e202c2665e75cafae2f394157e17
parent88c24c694d8ef0930e3b025bfc538b166a99e460 (diff)
appdata: add AppStream metadata
This will ensure the Iodine NetworkManager plugin will be easily installable from the app stores such as GNOME Software.
-rw-r--r--.gitignore2
-rw-r--r--Makefile.am12
-rw-r--r--appdata/iodine.pngbin0 -> 31950 bytes
-rw-r--r--appdata/network-manager-iodine.appdata.xml.in39
-rw-r--r--po/POTFILES.in1
5 files changed, 53 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
--- /dev/null
+++ b/appdata/iodine.png
Binary files 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..4286cc9
--- /dev/null
+++ b/appdata/network-manager-iodine.appdata.xml.in
@@ -0,0 +1,39 @@
+<?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>Iodine</keyword>
+ <keyword>DNS</keyword>
+ </keywords>
+
+ <description>
+ <_p>Support for tunnelling IP traffic 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