mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-05-17 10:45:45 +00:00
lxdm: bugfixes by updating to latest git
* make keyboard layout combobox display languages properly * systemd-support is included mainline * autologin for timeouts < 5s works as expected Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
parent
946c52ccf1
commit
3f2736b481
@ -12,8 +12,10 @@ SRC_URI = " \
|
||||
|
||||
LXDM_PAM = "${@base_contains("DISTRO_TYPE", "debug", "lxdm-pam-debug", "lxdm-pam",d)}"
|
||||
|
||||
SRCREV = "d681bc90b62ec2e13ed62fc30cdaf5dbbba23cdc"
|
||||
SRCREV = "65e7cc8fdc150c2b925eb348ce82de17dee5eb0b"
|
||||
PV = "0.4.2+git${SRCPV}"
|
||||
PE = "1"
|
||||
PR = "r1"
|
||||
|
||||
DEPENDS = "cairo consolekit dbus gdk-pixbuf glib-2.0 gtk+ virtual/libx11 libxcb pango"
|
||||
|
||||
@ -24,10 +26,14 @@ inherit autotools gettext
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
SYSTEMD_UNITDIR ??= "no"
|
||||
EXTRA_OECONF = "--with-systemdsystemunitdir=${SYSTEMD_UNITDIR}"
|
||||
|
||||
do_compile_append() {
|
||||
# default background configured not available / no password field available
|
||||
sed -i -e 's,bg=,# bg=,g' \
|
||||
-e 's,# skip_password=,skip_password=,g' \
|
||||
-e 's,keyboard=0,keyboard=1,g' \
|
||||
${S}/data/lxdm.conf.in
|
||||
# add default configuration
|
||||
oe_runmake -C ${S}/data lxdm.conf
|
||||
@ -59,4 +65,4 @@ done
|
||||
sed -i "s:last_langs=.*$:last_langs=$langs:g" ${localstatedir}/lib/lxdm/lxdm.conf
|
||||
}
|
||||
|
||||
RDEPENDS_${PN} = "pam-plugin-loginuid"
|
||||
RDEPENDS_${PN} = "pam-plugin-loginuid setxkbmap"
|
||||
|
||||
@ -1,10 +0,0 @@
|
||||
[Unit]
|
||||
Description=LXDE Display Manager
|
||||
After=systemd-user-sessions.service
|
||||
|
||||
[Service]
|
||||
ExecStart=%sbindir%/lxdm
|
||||
StandardOutput=syslog
|
||||
|
||||
[Install]
|
||||
Alias=display-manager.service
|
||||
@ -3,14 +3,6 @@ PRINC := "${@int(PRINC) + 1}"
|
||||
|
||||
inherit systemd
|
||||
|
||||
SRC_URI += "file://lxdm.service.in"
|
||||
|
||||
do_install_append() {
|
||||
install -d ${D}${systemd_unitdir}/system
|
||||
sed -e 's,%sbindir%,${sbindir},g' \
|
||||
< ${WORKDIR}/lxdm.service.in \
|
||||
> ${D}${systemd_unitdir}/system/lxdm.service
|
||||
}
|
||||
|
||||
SYSTEMD_UNITDIR = "${systemd_unitdir}/system"
|
||||
SYSTEMD_PACKAGES = "${PN}-systemd"
|
||||
SYSTEMD_SERVICE = "lxdm.service"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user