[network-manager-openvpn/lr/appdata] appdata: add appstream metadata



commit 8d0b36363edb7f5a41752c60b32e8845508471a0
Author: Lubomir Rintel <lkundrak v3 sk>
Date:   Tue Apr 12 21:40:28 2016 +0200

    appdata: add appstream metadata

 .gitignore                                     |    1 +
 Makefile.am                                    |   11 ++++++-
 appdata/network-manager-openvpn.appdata.xml.in |   40 ++++++++++++++++++++++++
 appdata/openvpn-advanced.png                   |  Bin 0 -> 58868 bytes
 appdata/openvpn.png                            |  Bin 0 -> 47720 bytes
 po/POTFILES.in                                 |    3 +-
 6 files changed, 53 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 44e1c15..b5aa144 100644
--- a/.gitignore
+++ b/.gitignore
@@ -28,6 +28,7 @@ m4/gtk-doc.m4
 m4/intltool.m4
 m4/libtool.m4
 m4/lt*.m4
+appdata/network-manager-openvpn.appdata.xml
 
 /cscope.files
 /cscope.in.out
diff --git a/Makefile.am b/Makefile.am
index 26a4ba0..99ef33c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -17,6 +17,11 @@ nmvpnoldservicedir = $(sysconfdir)/NetworkManager/VPN
 nmvpnoldservice_DATA = nm-openvpn-service.name
 endif
 
+appdatadir = $(datadir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+appdata_in_files = appdata/network-manager-openvpn.appdata.xml.in
+ INTLTOOL_XML_RULE@
+
 nm-openvpn-service.name: $(srcdir)/nm-openvpn-service.name.in
        sed -e 's|[ ]LIBEXECDIR[@]|$(libexecdir)|g' \
            -e 's|[ ]PLUGINDIR[@]|$(libdir)/NetworkManager|g' \
@@ -28,11 +33,15 @@ DISTCHECK_CONFIGURE_FLAGS = \
 
 EXTRA_DIST = nm-openvpn-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-openvpn.appdata.xml.in b/appdata/network-manager-openvpn.appdata.xml.in
new file mode 100644
index 0000000..6229b47
--- /dev/null
+++ b/appdata/network-manager-openvpn.appdata.xml.in
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright Lubomir Rintel 2016 -->
+<component type="addon">
+  <id>network-manager-openvpn</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>OpenVPN client</_name>
+  <_summary>Client for OpenVPN virtual private networks</_summary>
+
+  <keywords>
+    <keyword>network</keyword>
+    <keyword>manager</keyword>
+    <keyword>NetworkManager</keyword>
+    <keyword>connection</keyword>
+    <keyword>VPN</keyword>
+    <keyword>OpenVPN</keyword>
+  </keywords>
+
+  <description>
+    <_p>Support for configuring OpenVPN virtual private network connections.</_p>
+  </description>
+
+  <screenshots>
+    <screenshot type="default">
+      <image width="800" 
height="658">https://git.gnome.org/browse/network-manager-openvpn/plain/appdata/openvpn.png</image>
+    </screenshot>
+    <screenshot>
+      <caption>The advanced options dialog</caption>
+      <image width="800" 
height="604">https://git.gnome.org/browse/network-manager-openvpn/plain/appdata/openvpn-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-openvpn</translation>
+  <_developer_name>The NetworkManager Developers</_developer_name>
+</component>
diff --git a/appdata/openvpn-advanced.png b/appdata/openvpn-advanced.png
new file mode 100644
index 0000000..744a749
Binary files /dev/null and b/appdata/openvpn-advanced.png differ
diff --git a/appdata/openvpn.png b/appdata/openvpn.png
new file mode 100644
index 0000000..2ff454d
Binary files /dev/null and b/appdata/openvpn.png differ
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 90ae330..a8a2987 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,10 +1,11 @@
 # List of source files containing translatable strings.
 # Please keep this file sorted alphabetically.
+appdata/network-manager-openvpn.appdata.xml.in
 auth-dialog/main.c
 properties/auth-helpers.c
 properties/import-export.c
 properties/nm-openvpn.c
-[type: gettext/glade]properties/nm-openvpn-dialog.ui
 shared/nm-shared-utils.c
 src/nm-openvpn-service.c
 src/nm-openvpn-service-openvpn-helper.c
+[type: gettext/glade]properties/nm-openvpn-dialog.ui


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