[OE-core] [PATCH] dbus: Ensure dbus-nativesdk doesn't RPROVIDE dbus-x11

Richard Purdie richard.purdie at linuxfoundation.org
Wed Aug 1 22:09:22 UTC 2012


On Thu, 2012-08-02 at 00:03 +0200, Martin Jansa wrote:
> On Wed, Aug 01, 2012 at 10:54:43PM +0100, Richard Purdie wrote:
> > 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 at linuxfoundation.org>
> > ---
> > 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}"
> 
> what about this?
> http://lists.linuxtogo.org/pipermail/openembedded-core/2012-August/026947.html

They're each different ways to fix the problem. The above just kills the
nativesdk version since I don't think anyone will feel strongly about it
but I don't have strong feelings. I notice Marcin also has a patch out,
for some reason I didn't see that initially :(.

Cheers,

Richard





More information about the Openembedded-core mailing list