Patchwork [denzil,2/2] dbus: Ensure dbus-nativesdk doesn't RPROVIDE dbus-x11

login
register
mail settings
Submitter Franklin S. Cooper Jr
Date Sept. 17, 2012, 11:25 p.m.
Message ID <1347924353-11159-2-git-send-email-fcooper@ti.com>
Download mbox | patch
Permalink /patch/36691/
State New
Headers show

Comments

Franklin S. Cooper Jr - Sept. 17, 2012, 11:25 p.m.
From: Richard Purdie <richard.purdie@linuxfoundation.org>

dbus-x11 should not RPROVIDE dbus-x11 as this is incorrect and confuses
builds. This fixes the nativesdk case.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/recipes-core/dbus/dbus.inc |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

Patch

diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc
index 164c4d3..1984c74 100644
--- a/meta/recipes-core/dbus/dbus.inc
+++ b/meta/recipes-core/dbus/dbus.inc
@@ -33,9 +33,12 @@  DEBIANNAME_${PN} = "dbus-1"
 
 PACKAGES =+ "${PN}-lib ${PN}-systemd"
 
+OLDPKGNAME = "dbus-x11"
+OLDPKGNAME_virtclass-nativesdk = ""
+
 # for compatibility
-RPROVIDES_${PN} = "dbus-x11"
-RREPLACES_${PN} += "dbus-x11"
+RPROVIDES_${PN} = "${OLDPKGNAME}"
+RREPLACES_${PN} += "${OLDPKGNAME}"
 
 FILES_${PN}-systemd = "${systemd_unitdir}/system/"