summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2014-10-29 15:54:22 +0100
committerStefan Agner <stefan.agner@toradex.com>2014-10-29 15:54:22 +0100
commit9546fc6aa55c9dd516151900f7f467c8a6d53fb6 (patch)
treea2f2b81d8953e06d760d741d225c63b1092e4045
parentf940b80f92c3ef8829a66599731a0b59bec32561 (diff)
lxpolkit: disable XDG autostart
Disable XDG autostart of lxpolkit. lxsessions starts lxpolkit automatically without the need of a extra XDG autostart file.
-rw-r--r--recipes-lxde/lxpolkit/lxpolkit-0.1.0/lxpolkit-disable-autostart.patch10
-rw-r--r--recipes-lxde/lxpolkit/lxpolkit_0.1.0.bb3
2 files changed, 12 insertions, 1 deletions
diff --git a/recipes-lxde/lxpolkit/lxpolkit-0.1.0/lxpolkit-disable-autostart.patch b/recipes-lxde/lxpolkit/lxpolkit-0.1.0/lxpolkit-disable-autostart.patch
new file mode 100644
index 0000000..3146741
--- /dev/null
+++ b/recipes-lxde/lxpolkit/lxpolkit-0.1.0/lxpolkit-disable-autostart.patch
@@ -0,0 +1,10 @@
+diff --git a/data/lxpolkit.desktop.in.in b/data/lxpolkit.desktop.in.in
+index d8ddb75..a28531d 100644
+--- a/data/lxpolkit.desktop.in.in
++++ b/data/lxpolkit.desktop.in.in
+@@ -4,4 +4,4 @@ _Name=LXPolKit
+ _Comment=Policykit Authentication Agent
+ Exec=@FULL_LIBEXECDIR@/lxpolkit
+ Icon=gtk-dialog-authentication
+-NotShowIn=GNOME;KDE;
++NotShowIn=GNOME;KDE;LXDE;
diff --git a/recipes-lxde/lxpolkit/lxpolkit_0.1.0.bb b/recipes-lxde/lxpolkit/lxpolkit_0.1.0.bb
index 4395560..d310511 100644
--- a/recipes-lxde/lxpolkit/lxpolkit_0.1.0.bb
+++ b/recipes-lxde/lxpolkit/lxpolkit_0.1.0.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "Simple PolicyKit authentication agent"
HOMEPAGE = "http://lxde.org/"
SECTION = "x11"
-PR = "r2"
+PR = "r3"
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
@@ -13,6 +13,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/lxde/${P}.tar.gz \
file://lxpolkit_missing_am_prog_cc_c_0.patch \
file://lxpolkit_remove_gnu_make_extension.patch \
file://lxpolkit-configure-ac.patch \
+ file://lxpolkit-disable-autostart.patch \
"
SRC_URI[md5sum] = "2597b00035fe1d695219e0f9bfa8c26f"
SRC_URI[sha256sum] = "511affca8f55adc67031fb3627b9889064c685e4b983737d8deecdf4f94f008b"