summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2018-01-22 09:53:30 +0100
committerGuido Günther <agx@sigxcpu.org>2018-01-22 09:55:36 +0100
commitdf1281ae871a51c7a6c27f7a77a6930827d6ee44 (patch)
tree9db895a5d3818cf2d237ce2b03e9f08a198873be /debian
parent9a47274db184627cd3f8e93c44d9fd9c4c33cfbe (diff)
Install appdata into metainfo/
Diffstat (limited to 'debian')
-rw-r--r--debian/network-manager-iodine.install2
-rw-r--r--debian/patches/Install-appdata-into-metainfo.patch21
-rw-r--r--debian/patches/series1
3 files changed, 23 insertions, 1 deletions
diff --git a/debian/network-manager-iodine.install b/debian/network-manager-iodine.install
index 3f02c70..45bda8d 100644
--- a/debian/network-manager-iodine.install
+++ b/debian/network-manager-iodine.install
@@ -1,5 +1,5 @@
etc
usr/lib/NetworkManager/nm-iodine-service
usr/lib/NetworkManager/VPN/nm-iodine-service.name
-usr/share/appdata/network-manager-iodine.metainfo.xml
+usr/share/metainfo/
usr/share/locale/
diff --git a/debian/patches/Install-appdata-into-metainfo.patch b/debian/patches/Install-appdata-into-metainfo.patch
new file mode 100644
index 0000000..2462e8e
--- /dev/null
+++ b/debian/patches/Install-appdata-into-metainfo.patch
@@ -0,0 +1,21 @@
+From: =?utf-8?q?Guido_G=C3=BCnther?= <agx@sigxcpu.org>
+Date: Mon, 22 Jan 2018 09:53:17 +0100
+Subject: Install appdata into metainfo/
+
+---
+ Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 357132d..5a9228f 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -31,7 +31,7 @@ uninstall-hook:
+ rm -f $(DESTDIR)$(sysconfdir)/NetworkManager/VPN/nm-iodine-service.name
+ endif
+
+-appdatadir = $(datadir)/appdata
++appdatadir = $(datadir)/metainfo
+ appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+ appdata_in_files = appdata/network-manager-iodine.metainfo.xml.in
+ @INTLTOOL_XML_RULE@
diff --git a/debian/patches/series b/debian/patches/series
index 93ab732..24e51a0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
appdata-rename-the-xml-file.patch
Let-dh-handle-any-autoreconf-configure-invocations.patch
+Install-appdata-into-metainfo.patch