diff options
| author | Andreas Müller <schnitzeltony@googlemail.com> | 2012-11-21 13:16:45 +0000 |
|---|---|---|
| committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-11-29 11:03:35 +0100 |
| commit | 3f2736b481787ec2b8c8b00f670cac8aae681cd4 (patch) | |
| tree | 14689a6494baa2e4c0851032b7c6c0d449eacbed | |
| parent | 946c52ccf1cbdaa1d6337486e9ac3a1b0f3bb8a5 (diff) | |
| download | meta-openembedded-3f2736b481787ec2b8c8b00f670cac8aae681cd4.tar.gz | |
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>
3 files changed, 9 insertions, 21 deletions
diff --git a/meta-oe/recipes-graphics/lxdm/lxdm_git.bb b/meta-oe/recipes-graphics/lxdm/lxdm_git.bb index fd28c41c91..f3d4effa7a 100644 --- a/meta-oe/recipes-graphics/lxdm/lxdm_git.bb +++ b/meta-oe/recipes-graphics/lxdm/lxdm_git.bb | |||
| @@ -12,8 +12,10 @@ SRC_URI = " \ | |||
| 12 | 12 | ||
| 13 | LXDM_PAM = "${@base_contains("DISTRO_TYPE", "debug", "lxdm-pam-debug", "lxdm-pam",d)}" | 13 | LXDM_PAM = "${@base_contains("DISTRO_TYPE", "debug", "lxdm-pam-debug", "lxdm-pam",d)}" |
| 14 | 14 | ||
| 15 | SRCREV = "d681bc90b62ec2e13ed62fc30cdaf5dbbba23cdc" | 15 | SRCREV = "65e7cc8fdc150c2b925eb348ce82de17dee5eb0b" |
| 16 | PV = "0.4.2+git${SRCPV}" | 16 | PV = "0.4.2+git${SRCPV}" |
| 17 | PE = "1" | ||
| 18 | PR = "r1" | ||
| 17 | 19 | ||
| 18 | DEPENDS = "cairo consolekit dbus gdk-pixbuf glib-2.0 gtk+ virtual/libx11 libxcb pango" | 20 | DEPENDS = "cairo consolekit dbus gdk-pixbuf glib-2.0 gtk+ virtual/libx11 libxcb pango" |
| 19 | 21 | ||
| @@ -24,10 +26,14 @@ inherit autotools gettext | |||
| 24 | 26 | ||
| 25 | S = "${WORKDIR}/git" | 27 | S = "${WORKDIR}/git" |
| 26 | 28 | ||
| 29 | SYSTEMD_UNITDIR ??= "no" | ||
| 30 | EXTRA_OECONF = "--with-systemdsystemunitdir=${SYSTEMD_UNITDIR}" | ||
| 31 | |||
| 27 | do_compile_append() { | 32 | do_compile_append() { |
| 28 | # default background configured not available / no password field available | 33 | # default background configured not available / no password field available |
| 29 | sed -i -e 's,bg=,# bg=,g' \ | 34 | sed -i -e 's,bg=,# bg=,g' \ |
| 30 | -e 's,# skip_password=,skip_password=,g' \ | 35 | -e 's,# skip_password=,skip_password=,g' \ |
| 36 | -e 's,keyboard=0,keyboard=1,g' \ | ||
| 31 | ${S}/data/lxdm.conf.in | 37 | ${S}/data/lxdm.conf.in |
| 32 | # add default configuration | 38 | # add default configuration |
| 33 | oe_runmake -C ${S}/data lxdm.conf | 39 | oe_runmake -C ${S}/data lxdm.conf |
| @@ -59,4 +65,4 @@ done | |||
| 59 | sed -i "s:last_langs=.*$:last_langs=$langs:g" ${localstatedir}/lib/lxdm/lxdm.conf | 65 | sed -i "s:last_langs=.*$:last_langs=$langs:g" ${localstatedir}/lib/lxdm/lxdm.conf |
| 60 | } | 66 | } |
| 61 | 67 | ||
| 62 | RDEPENDS_${PN} = "pam-plugin-loginuid" | 68 | RDEPENDS_${PN} = "pam-plugin-loginuid setxkbmap" |
diff --git a/meta-systemd/meta-oe/recipes-graphics/lxdm/lxdm/lxdm.service.in b/meta-systemd/meta-oe/recipes-graphics/lxdm/lxdm/lxdm.service.in deleted file mode 100644 index 0bc6774f32..0000000000 --- a/meta-systemd/meta-oe/recipes-graphics/lxdm/lxdm/lxdm.service.in +++ /dev/null | |||
| @@ -1,10 +0,0 @@ | |||
| 1 | [Unit] | ||
| 2 | Description=LXDE Display Manager | ||
| 3 | After=systemd-user-sessions.service | ||
| 4 | |||
| 5 | [Service] | ||
| 6 | ExecStart=%sbindir%/lxdm | ||
| 7 | StandardOutput=syslog | ||
| 8 | |||
| 9 | [Install] | ||
| 10 | Alias=display-manager.service | ||
diff --git a/meta-systemd/meta-oe/recipes-graphics/lxdm/lxdm_git.bbappend b/meta-systemd/meta-oe/recipes-graphics/lxdm/lxdm_git.bbappend index e4cf44d3ff..2828a7034f 100644 --- a/meta-systemd/meta-oe/recipes-graphics/lxdm/lxdm_git.bbappend +++ b/meta-systemd/meta-oe/recipes-graphics/lxdm/lxdm_git.bbappend | |||
| @@ -3,14 +3,6 @@ PRINC := "${@int(PRINC) + 1}" | |||
| 3 | 3 | ||
| 4 | inherit systemd | 4 | inherit systemd |
| 5 | 5 | ||
| 6 | SRC_URI += "file://lxdm.service.in" | 6 | SYSTEMD_UNITDIR = "${systemd_unitdir}/system" |
| 7 | |||
| 8 | do_install_append() { | ||
| 9 | install -d ${D}${systemd_unitdir}/system | ||
| 10 | sed -e 's,%sbindir%,${sbindir},g' \ | ||
| 11 | < ${WORKDIR}/lxdm.service.in \ | ||
| 12 | > ${D}${systemd_unitdir}/system/lxdm.service | ||
| 13 | } | ||
| 14 | |||
| 15 | SYSTEMD_PACKAGES = "${PN}-systemd" | 7 | SYSTEMD_PACKAGES = "${PN}-systemd" |
| 16 | SYSTEMD_SERVICE = "lxdm.service" | 8 | SYSTEMD_SERVICE = "lxdm.service" |
