diff options
| author | Radu Moisan <radu.moisan@intel.com> | 2012-07-31 09:23:23 +0300 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-31 11:59:06 +0100 |
| commit | f8d40ab395ffb8ed12731e318354fb3d30447e84 (patch) | |
| tree | 596b30fa9f3047ad6e9ac4f3b5295de80a0df3a1 /meta | |
| parent | c5d8b0b9d97c7a4c3a71713708b97d1f1b917c12 (diff) | |
| download | poky-f8d40ab395ffb8ed12731e318354fb3d30447e84.tar.gz | |
dbus: include dbus-launch in the main dbus package
Followed suggestions from Bugz 2261:
2) make the virtual/libx11 DEPENDS conditional based on the x11 distro feature.
This makes the build dependencies reflect the feature list.
3) remove dbus-x11, meaning that dbus-launch with its potential X11 dependency
is now back in dbus where is belongs.
4) make dbus provide dbus-x11, for compatibility.
Fixes [Yocto #2261]
(From OE-Core rev: c02364f36e228835ea5d7fd4e1d347fd451f8544)
Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/recipes-core/dbus/dbus.inc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc index a75583d6a3..164c4d358d 100644 --- a/meta/recipes-core/dbus/dbus.inc +++ b/meta/recipes-core/dbus/dbus.inc | |||
| @@ -31,10 +31,11 @@ CONFFILES_${PN} = "${sysconfdir}/dbus-1/system.conf ${sysconfdir}/dbus-1/session | |||
| 31 | 31 | ||
| 32 | DEBIANNAME_${PN} = "dbus-1" | 32 | DEBIANNAME_${PN} = "dbus-1" |
| 33 | 33 | ||
| 34 | PACKAGES =+ "${PN}-lib ${PN}-systemd ${@base_contains('DISTRO_FEATURES', 'x11', '${PN}-x11', '', d)}" | 34 | PACKAGES =+ "${PN}-lib ${PN}-systemd" |
| 35 | 35 | ||
| 36 | FILES_${PN}-x11 = "${bindir}/dbus-launch" | 36 | # for compatibility |
| 37 | RDEPENDS_${PN}-x11 = "${PN}" | 37 | RPROVIDES_${PN} = "dbus-x11" |
| 38 | RREPLACES_${PN} += "dbus-x11" | ||
| 38 | 39 | ||
| 39 | FILES_${PN}-systemd = "${systemd_unitdir}/system/" | 40 | FILES_${PN}-systemd = "${systemd_unitdir}/system/" |
| 40 | 41 | ||
| @@ -43,6 +44,7 @@ FILES_${PN} = "${bindir}/dbus-daemon* \ | |||
| 43 | ${bindir}/dbus-cleanup-sockets \ | 44 | ${bindir}/dbus-cleanup-sockets \ |
| 44 | ${bindir}/dbus-send \ | 45 | ${bindir}/dbus-send \ |
| 45 | ${bindir}/dbus-monitor \ | 46 | ${bindir}/dbus-monitor \ |
| 47 | ${bindir}/dbus-launch \ | ||
| 46 | ${libexecdir}/dbus* \ | 48 | ${libexecdir}/dbus* \ |
| 47 | ${sysconfdir} \ | 49 | ${sysconfdir} \ |
| 48 | ${localstatedir} \ | 50 | ${localstatedir} \ |
| @@ -59,7 +61,7 @@ pkg_postinst_dbus() { | |||
| 59 | } | 61 | } |
| 60 | 62 | ||
| 61 | EXTRA_OECONF_X = "${@base_contains('DISTRO_FEATURES', 'x11', '--with-x', '--without-x', d)}" | 63 | EXTRA_OECONF_X = "${@base_contains('DISTRO_FEATURES', 'x11', '--with-x', '--without-x', d)}" |
| 62 | EXTRA_OECONF_X_virtclass-native = "--without-x" | 64 | EXTRA_OECONF_X_virtclass-native = "--disable-x11-autolaunch" |
| 63 | 65 | ||
| 64 | EXTRA_OECONF = "--disable-tests \ | 66 | EXTRA_OECONF = "--disable-tests \ |
| 65 | --disable-checks \ | 67 | --disable-checks \ |
