diff options
| author | Andreas Müller <schnitzeltony@gmail.com> | 2018-01-17 09:34:21 +0100 |
|---|---|---|
| committer | Armin Kuster <akuster808@gmail.com> | 2018-01-22 19:40:02 -0800 |
| commit | 9eb33e651aaf0067c32110977e8700aa16811c55 (patch) | |
| tree | 8358d597de1e2424f15898f27ca1163d135e8ad7 | |
| parent | 2ce2e2f4d50d912eee79eaf0aae63dc98484c15d (diff) | |
| download | meta-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>
| -rw-r--r-- | meta-xfce/recipes-apps/xfce-polkit/files/0001-fix-Name-Comment-fields.patch | 34 | ||||
| -rw-r--r-- | meta-xfce/recipes-apps/xfce-polkit/xfce-polkit_0.2.bb | 5 |
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 0000000000..e872249d52 --- /dev/null +++ b/meta-xfce/recipes-apps/xfce-polkit/files/0001-fix-Name-Comment-fields.patch | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | From fb1f83c04dd5262897b09e60fa8b39090d0d4619 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Rex Dieter <rdieter@math.unl.edu> | ||
| 3 | Date: Thu, 12 Nov 2015 13:53:03 -0600 | ||
| 4 | Subject: [PATCH] fix Name/Comment fields | ||
| 5 | |||
| 6 | Validate as a valid .desktop file per | ||
| 7 | http://standards.freedesktop.org/desktop-entry-spec/latest/ | ||
| 8 | |||
| 9 | See also issue #2 | ||
| 10 | |||
| 11 | Upstream-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 | |||
| 18 | diff --git a/xfce-polkit.desktop.in b/xfce-polkit.desktop.in | ||
| 19 | index 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 | -- | ||
| 33 | 2.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 1fb4a5be25..54bf7c7529 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 | ||
| 7 | inherit xfce-app | 7 | inherit xfce-app |
| 8 | 8 | ||
| 9 | SRC_URI = "git://github.com/ncopa/${BPN}.git" | 9 | SRC_URI = " \ |
| 10 | git://github.com/ncopa/${BPN}.git \ | ||
| 11 | file://0001-fix-Name-Comment-fields.patch \ | ||
| 12 | " | ||
| 10 | SRCREV = "6ad1ee833c9e22e4dd72a8f7d54562d046965283" | 13 | SRCREV = "6ad1ee833c9e22e4dd72a8f7d54562d046965283" |
| 11 | S = "${WORKDIR}/git" | 14 | S = "${WORKDIR}/git" |
