summaryrefslogtreecommitdiffstats
path: root/meta-xfce
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@gmail.com>2018-01-17 09:34:21 +0100
committerArmin Kuster <akuster808@gmail.com>2018-01-22 19:40:02 -0800
commit9eb33e651aaf0067c32110977e8700aa16811c55 (patch)
tree8358d597de1e2424f15898f27ca1163d135e8ad7 /meta-xfce
parent2ce2e2f4d50d912eee79eaf0aae63dc98484c15d (diff)
downloadmeta-openembedded-9eb33e651aaf0067c32110977e8700aa16811c55.tar.gz
xfce-polkit: fix Name/Comment fields in desktop file
Without this xfce-polkit is displayed ad 'null' in autosatart dialog of xfce4-settings. Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-xfce')
-rw-r--r--meta-xfce/recipes-apps/xfce-polkit/files/0001-fix-Name-Comment-fields.patch34
-rw-r--r--meta-xfce/recipes-apps/xfce-polkit/xfce-polkit_0.2.bb5
2 files changed, 38 insertions, 1 deletions
diff --git a/meta-xfce/recipes-apps/xfce-polkit/files/0001-fix-Name-Comment-fields.patch b/meta-xfce/recipes-apps/xfce-polkit/files/0001-fix-Name-Comment-fields.patch
new file mode 100644
index 000000000..e872249d5
--- /dev/null
+++ b/meta-xfce/recipes-apps/xfce-polkit/files/0001-fix-Name-Comment-fields.patch
@@ -0,0 +1,34 @@
1From fb1f83c04dd5262897b09e60fa8b39090d0d4619 Mon Sep 17 00:00:00 2001
2From: Rex Dieter <rdieter@math.unl.edu>
3Date: Thu, 12 Nov 2015 13:53:03 -0600
4Subject: [PATCH] fix Name/Comment fields
5
6Validate as a valid .desktop file per
7http://standards.freedesktop.org/desktop-entry-spec/latest/
8
9See also issue #2
10
11Upstream-Status: Applied [1]
12
13[1] https://github.com/ncopa/xfce-polkit/commit/fb1f83c04dd5262897b09e60fa8b39090d0d4619
14---
15 xfce-polkit.desktop.in | 4 ++--
16 1 file changed, 2 insertions(+), 2 deletions(-)
17
18diff --git a/xfce-polkit.desktop.in b/xfce-polkit.desktop.in
19index 8575896..dd9f09c 100644
20--- a/xfce-polkit.desktop.in
21+++ b/xfce-polkit.desktop.in
22@@ -1,7 +1,7 @@
23 [Desktop Entry]
24 Type=Application
25-_Name=XFCE PolKit
26-_Comment=Policykit Authentication Agent
27+Name=XFCE PolKit
28+Comment=Policykit Authentication Agent
29 Exec=@xfce_polkit_libexecdir@/xfce-polkit
30 Icon=gtk-dialog-authentication
31 NotShowIn=GNOME;KDE;
32--
332.14.3
34
diff --git a/meta-xfce/recipes-apps/xfce-polkit/xfce-polkit_0.2.bb b/meta-xfce/recipes-apps/xfce-polkit/xfce-polkit_0.2.bb
index 1fb4a5be2..54bf7c752 100644
--- a/meta-xfce/recipes-apps/xfce-polkit/xfce-polkit_0.2.bb
+++ b/meta-xfce/recipes-apps/xfce-polkit/xfce-polkit_0.2.bb
@@ -6,6 +6,9 @@ DEPENDS = "libxfce4ui polkit"
6 6
7inherit xfce-app 7inherit xfce-app
8 8
9SRC_URI = "git://github.com/ncopa/${BPN}.git" 9SRC_URI = " \
10 git://github.com/ncopa/${BPN}.git \
11 file://0001-fix-Name-Comment-fields.patch \
12"
10SRCREV = "6ad1ee833c9e22e4dd72a8f7d54562d046965283" 13SRCREV = "6ad1ee833c9e22e4dd72a8f7d54562d046965283"
11S = "${WORKDIR}/git" 14S = "${WORKDIR}/git"