gnome-session 2.32.1: add pam-plugin-ck-connector dependency when using pam
authorKoen Kooi <koen@dominion.thruhere.net>
Sat, 25 Jun 2011 10:44:25 +0000 (12:44 +0200)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:13:37 +0000 (08:13 -0800)
without this apps can't authenticate to the session leading to timeouts and crashes

(From meta-openembedded rev: f7fd6e43e07b96dfc1e53ffa8dfb75c1e9594964)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-gnome/recipes-gnome/gnome-session/gnome-session_2.32.1.bb

index e382384..fe199a8 100644 (file)
@@ -2,6 +2,8 @@ DESCRIPTION = "Gnome session manager"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
+PR = "r1"
+
 SECTION = "x11/gnome"
 DEPENDS = "gtk+ glib-2.0 upower dbus-glib gconf pango gdk-pixbuf-native startup-notification"
 
@@ -19,5 +21,6 @@ do_configure_append() {
        done    
 }
 
+RRECOMMENDS_${PN} += "${@base_contains('DISTRO_FEATURES', 'pam', 'pam-plugin-ck-connector', '', d)}"
 FILES_${PN} += "${datadir}/xsessions ${datadir}/icons ${datadir}/gnome ${libdir}/gnome-session/helpers"
 FILES_${PN}-dbg += "${libexecdir}/gnome-session/helpers/.debug"