diff options
| author | Martin Jansa <Martin.Jansa@gmail.com> | 2013-04-13 14:59:30 +0200 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-04-15 16:22:05 +0200 |
| commit | 61241113169b676b8c8c5989017262de0e9ca9b1 (patch) | |
| tree | c3ae209b5409b6e25dfa8b40c6972ce1787d4533 | |
| parent | 2db07ef244ef4ae249e954bcda93f83052bb96a0 (diff) | |
| download | meta-openembedded-61241113169b676b8c8c5989017262de0e9ca9b1.tar.gz | |
lxdm: move systemd support from meta-systemd back to meta-oe
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
| -rw-r--r-- | meta-oe/recipes-graphics/lxdm/lxdm_git.bb | 12 | ||||
| -rw-r--r-- | meta-systemd/meta-oe/recipes-graphics/lxdm/lxdm_git.bbappend | 10 |
2 files changed, 8 insertions, 14 deletions
diff --git a/meta-oe/recipes-graphics/lxdm/lxdm_git.bb b/meta-oe/recipes-graphics/lxdm/lxdm_git.bb index be83146b0c..a6f266cc38 100644 --- a/meta-oe/recipes-graphics/lxdm/lxdm_git.bb +++ b/meta-oe/recipes-graphics/lxdm/lxdm_git.bb | |||
| @@ -15,19 +15,18 @@ LXDM_PAM = "${@base_contains("DISTRO_TYPE", "debug", "lxdm-pam-debug", "lxdm-pam | |||
| 15 | SRCREV = "65e7cc8fdc150c2b925eb348ce82de17dee5eb0b" | 15 | SRCREV = "65e7cc8fdc150c2b925eb348ce82de17dee5eb0b" |
| 16 | PV = "0.4.2+git${SRCPV}" | 16 | PV = "0.4.2+git${SRCPV}" |
| 17 | PE = "1" | 17 | PE = "1" |
| 18 | PR = "r3" | 18 | PR = "r6" |
| 19 | 19 | ||
| 20 | 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" |
| 21 | 21 | ||
| 22 | # combine oe-core way with angstrom DISTRO_TYPE | 22 | # combine oe-core way with angstrom DISTRO_TYPE |
| 23 | DISTRO_TYPE ?= "${@base_contains("IMAGE_FEATURES", "debug-tweaks", "debug", "",d)}" | 23 | DISTRO_TYPE ?= "${@base_contains("IMAGE_FEATURES", "debug-tweaks", "debug", "",d)}" |
| 24 | 24 | ||
| 25 | inherit autotools gettext | 25 | inherit autotools gettext systemd |
| 26 | 26 | ||
| 27 | S = "${WORKDIR}/git" | 27 | S = "${WORKDIR}/git" |
| 28 | 28 | ||
| 29 | SYSTEMD_UNITDIR ??= "no" | 29 | EXTRA_OECONF += "${@base_contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/', '--without-systemdsystemunitdir', d)}" |
| 30 | EXTRA_OECONF = "--with-systemdsystemunitdir=${SYSTEMD_UNITDIR}" | ||
| 31 | 30 | ||
| 32 | do_compile_append() { | 31 | do_compile_append() { |
| 33 | # default background configured not available / no password field available / no default screensaver | 32 | # default background configured not available / no password field available / no default screensaver |
| @@ -66,3 +65,8 @@ sed -i "s:last_langs=.*$:last_langs=$langs:g" ${localstatedir}/lib/lxdm/lxdm.con | |||
| 66 | } | 65 | } |
| 67 | 66 | ||
| 68 | RDEPENDS_${PN} = "pam-plugin-loginuid setxkbmap" | 67 | RDEPENDS_${PN} = "pam-plugin-loginuid setxkbmap" |
| 68 | |||
| 69 | RPROVIDES_${PN} += "${PN}-systemd" | ||
| 70 | RREPLACES_${PN} += "${PN}-systemd" | ||
| 71 | RCONFLICTS_${PN} += "${PN}-systemd" | ||
| 72 | SYSTEMD_SERVICE_${PN} = "lxdm.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 deleted file mode 100644 index a3e97bb0bd..0000000000 --- a/meta-systemd/meta-oe/recipes-graphics/lxdm/lxdm_git.bbappend +++ /dev/null | |||
| @@ -1,10 +0,0 @@ | |||
| 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
| 2 | PRINC := "${@int(PRINC) + 2}" | ||
| 3 | |||
| 4 | inherit systemd | ||
| 5 | |||
| 6 | SYSTEMD_UNITDIR = "${systemd_unitdir}/system" | ||
| 7 | RPROVIDES_${PN} += "${PN}-systemd" | ||
| 8 | RREPLACES_${PN} += "${PN}-systemd" | ||
| 9 | RCONFLICTS_${PN} += "${PN}-systemd" | ||
| 10 | SYSTEMD_SERVICE_${PN} = "lxdm.service" | ||
