]> git.ipfire.org Git - people/ms/strongswan.git/commitdiff
nm: Migrate appdata to metainfo
authorTobias Brunner <tobias@strongswan.org>
Mon, 11 May 2020 07:48:27 +0000 (09:48 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 11 May 2020 07:57:37 +0000 (09:57 +0200)
The path '/usr/share/appdata' is deprecated as is the .appdata.xml
extension, files should be in installed in '/usr/share/metainfo' with
a .metainfo.xml extension.

According to the docs, the metainfo path should be well supported even
by older distros like Ubuntu 16.04.

Reference: 2.1.2. Filesystem locations
https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html

src/frontends/gnome/.gitignore
src/frontends/gnome/Makefile.am
src/frontends/gnome/NetworkManager-strongswan.metainfo.xml.in [moved from src/frontends/gnome/NetworkManager-strongswan.appdata.xml.in with 100% similarity]
src/frontends/gnome/po/POTFILES.in
src/frontends/gnome/po/de.po

index 38b1b30288d59f0f7daa311d4f0e749e166c6696..386bd1eb2efedbc62495eed7af56263f682a94b8 100644 (file)
@@ -9,5 +9,5 @@ nm-strongswan-service.name
 stamp-h1
 config.guess.cdbs-orig
 config.sub.cdbs-orig
-NetworkManager-strongswan.appdata.xml
+NetworkManager-strongswan.metainfo.xml
 NetworkManager-strongswan.pot
index 9b8c6765a306a7074fac869b8929dd7b018ea03c..646d913a24aaaeb1877f72ac1224338442f3308d 100644 (file)
@@ -6,9 +6,9 @@ nmvpnservice_DATA = nm-strongswan-service.name
 
 @INTLTOOL_DESKTOP_RULE@
 
-appdatadir = $(datadir)/appdata
-appdata_DATA = $(appdata_in_files:.xml.in=.xml)
-appdata_in_files = NetworkManager-strongswan.appdata.xml.in
+metainfodir = $(datadir)/metainfo
+metainfo_DATA = $(metainfo_in_files:.xml.in=.xml)
+metainfo_in_files = NetworkManager-strongswan.metainfo.xml.in
 @INTLTOOL_XML_RULE@
 
 if WITH_LIBNM_GLIB
@@ -37,12 +37,12 @@ nm-strongswan-service.name: $(srcdir)/nm-strongswan-service.name.in
 
 EXTRA_DIST = \
     nm-strongswan-service.name.in  \
-    $(appdata_in_files)  \
+    $(metainfo_in_files)  \
     intltool-extract.in  \
     intltool-merge.in    \
     intltool-update.in
 
-CLEANFILES = $(nmvpnservice_DATA) $(appdata_DATA) *~
+CLEANFILES = $(nmvpnservice_DATA) $(metainfo_DATA) *~
 DISTCLEANFILES = intltool-extract intltool-merge intltool-update
 
 ACLOCAL_AMFLAGS = -I m4
index 8c56a1307598ec8d6184f974db9d0699977ee323..1b05c101e5745df197ea4246622677b18d3134d6 100644 (file)
@@ -3,4 +3,4 @@
 properties/nm-strongswan.c
 [type: gettext/glade]properties/nm-strongswan-dialog.ui
 auth-dialog/main.c
-NetworkManager-strongswan.appdata.xml.in
+NetworkManager-strongswan.metainfo.xml.in
index 91486faf03a0aa790f5b74f0177fcbe6c25df10e..544546a6ca917d024bb632357346fd840d6ee1fb 100644 (file)
@@ -304,27 +304,27 @@ msgstr ""
 "Die Konfiguration verwendet ssh-agent für die Authentisierung, aber ssh-"
 "agent ist nicht gestartet!"
 
-#: ../NetworkManager-strongswan.appdata.xml.in.h:1
+#: ../NetworkManager-strongswan.metainfo.xml.in.h:1
 msgid "strongSwan VPN client"
 msgstr "strongSwan VPN Client"
 
-#: ../NetworkManager-strongswan.appdata.xml.in.h:2
+#: ../NetworkManager-strongswan.metainfo.xml.in.h:2
 msgid "strongSwan based client for IPsec virtual private networks"
 msgstr "Auf strongSwan basierender Client für IPsec VPNs"
 
-#: ../NetworkManager-strongswan.appdata.xml.in.h:3
+#: ../NetworkManager-strongswan.metainfo.xml.in.h:3
 msgid ""
 "Support for configuring IPsec based virtual private network connections."
 msgstr ""
 "Unterstützung für die Konfiguration von IPsec-basierten VPN Verbindungen."
 
-#: ../NetworkManager-strongswan.appdata.xml.in.h:4
+#: ../NetworkManager-strongswan.metainfo.xml.in.h:4
 msgid ""
 "Compatible with IKEv2 key exchange and multiple authentication mechanisms."
 msgstr ""
 "Kompatibel mit dem IKEv2 Schlüsselaustausch-Protokoll und verschiedenen "
 "Authentisierungsmethoden."
 
-#: ../NetworkManager-strongswan.appdata.xml.in.h:5
+#: ../NetworkManager-strongswan.metainfo.xml.in.h:5
 msgid "strongSwan Developers"
 msgstr "strongSwan Entwickler"