[network-manager-pptp/lr/appdata] appdata: add appstream metadata
- From: Lubomir Rintel <lkundrak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-pptp/lr/appdata] appdata: add appstream metadata
- Date: Tue, 12 Apr 2016 19:50:02 +0000 (UTC)
commit fdcb032350e622ac73568efa56a3657cf64c6964
Author: Lubomir Rintel <lkundrak v3 sk>
Date: Tue Apr 12 21:40:26 2016 +0200
appdata: add appstream metadata
.gitignore | 1 +
Makefile.am | 11 ++++++-
appdata/network-manager-pptp.appdata.xml.in | 41 +++++++++++++++++++++++++++
appdata/pptp-advanced.png | Bin 0 -> 46800 bytes
appdata/pptp.png | Bin 0 -> 30546 bytes
po/POTFILES.in | 3 +-
6 files changed, 54 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index af5b842..4a24af4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -26,6 +26,7 @@ m4/gtk-doc.m4
m4/intltool.m4
m4/libtool.m4
m4/lt*.m4
+appdata/network-manager-pptp.appdata.xml
auth-dialog/nm-pptp-auth-dialog
nm-pptp-service.name
diff --git a/Makefile.am b/Makefile.am
index 099b5a4..4f56273 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -17,6 +17,11 @@ nmvpnoldservicedir = $(sysconfdir)/NetworkManager/VPN
nmvpnoldservice_DATA = nm-pptp-service.name
endif
+appdatadir = $(datadir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+appdata_in_files = appdata/network-manager-pptp.appdata.xml.in
+ INTLTOOL_XML_RULE@
+
nm-pptp-service.name: $(srcdir)/nm-pptp-service.name.in
sed -e 's|[ ]LIBEXECDIR[@]|$(libexecdir)|g' \
-e 's|[ ]PLUGINDIR[@]|$(libdir)/NetworkManager|g' \
@@ -26,11 +31,15 @@ DISTCHECK_CONFIGURE_FLAGS = --enable-more-warnings=yes
EXTRA_DIST = nm-pptp-service.name.in \
$(dbusservice_DATA) \
+ $(appdata_in_files) \
+ $(appdata_DATA) \
intltool-extract.in \
intltool-merge.in \
intltool-update.in
-CLEANFILES = $(nmvpnservice_DATA) *~
+CLEANFILES = $(nmvpnservice_DATA) \
+ $(appdata_DATA)
+
DISTCLEANFILES = intltool-extract intltool-merge intltool-update
ACLOCAL_AMFLAGS = -I m4
diff --git a/appdata/network-manager-pptp.appdata.xml.in b/appdata/network-manager-pptp.appdata.xml.in
new file mode 100644
index 0000000..43be655
--- /dev/null
+++ b/appdata/network-manager-pptp.appdata.xml.in
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright Lubomir Rintel 2016 -->
+<component type="addon">
+ <id>network-manager-pptp</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>PPTP VPN client</_name>
+ <_summary>Client for PPTP virtual private networks</_summary>
+
+ <keywords>
+ <keyword>network</keyword>
+ <keyword>manager</keyword>
+ <keyword>NetworkManager</keyword>
+ <keyword>connection</keyword>
+ <keyword>VPN</keyword>
+ <keyword>PPTP</keyword>
+ </keywords>
+
+ <description>
+ <_p>Support for configuring PPTP virtual private network connections.</_p>
+ <_p>Compatible with Microsoft PPTP servers.</_p>
+ </description>
+
+ <screenshots>
+ <screenshot type="default">
+ <image width="800"
height="619">https://git.gnome.org/browse/network-manager-pptp/plain/appdata/pptp.png</image>
+ </screenshot>
+ <screenshot>
+ <caption>The advanced options dialog</caption>
+ <image width="800"
height="498">https://git.gnome.org/browse/network-manager-pptp/plain/appdata/pptp-advanced.png</image>
+ </screenshot>
+ </screenshots>
+
+ <url type="homepage">https://wiki.gnome.org/Projects/NetworkManager/VPN</url>
+ <url type="bugtracker">https://bugzilla.gnome.org/enter_bug.cgi?product=NetworkManager</url>
+ <update_contact>networkmanager-maint gnome bugs</update_contact>
+ <translation type="gettext">NetworkManager-pptp</translation>
+ <_developer_name>The NetworkManager Developers</_developer_name>
+</component>
diff --git a/appdata/pptp-advanced.png b/appdata/pptp-advanced.png
new file mode 100644
index 0000000..ef6a9f5
Binary files /dev/null and b/appdata/pptp-advanced.png differ
diff --git a/appdata/pptp.png b/appdata/pptp.png
new file mode 100644
index 0000000..d05fdf4
Binary files /dev/null and b/appdata/pptp.png differ
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 5233556..af2a711 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,7 +1,8 @@
# List of source files containing translatable strings.
# Please keep this file sorted alphabetically.
+appdata/network-manager-pptp.appdata.xml.in
auth-dialog/main.c
properties/advanced-dialog.c
properties/nm-pptp.c
-[type: gettext/glade]properties/nm-pptp-dialog.ui
src/nm-pptp-service.c
+[type: gettext/glade]properties/nm-pptp-dialog.ui
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]