[OE-core] [PATCH] libx11-trim/diet: Add RPROVIDES for libx11-dev

Martin Jansa martin.jansa at gmail.com
Thu Mar 1 12:02:29 UTC 2012


On Thu, Mar 01, 2012 at 11:55:16AM +0000, Richard Purdie wrote:
> We have things that depend on libx11-dev, this patch ensures the -trim
> and -diet versions provide it. This resolves some multiple providers
> warnings.
> 
> Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

It's probably fine now as only libx11_1.4.4.bb has
BBCLASSEXTENDS = "nativesdk native"
but can we use RPROVIDES_${BPN}-dev = "libx11-dev"
?

Cheers,

> ---
> 
> Koen/Saul: This is how I think we should be fixing the libx11 issues...
> 
> 
> diff --git a/meta/recipes-graphics/xorg-lib/libx11-diet_1.4.4.bb b/meta/recipes-graphics/xorg-lib/libx11-diet_1.4.4.bb
> index 6106986..4bab148 100644
> --- a/meta/recipes-graphics/xorg-lib/libx11-diet_1.4.4.bb
> +++ b/meta/recipes-graphics/xorg-lib/libx11-diet_1.4.4.bb
> @@ -14,6 +14,7 @@ SRC_URI += "file://x11_disable_makekeys.patch \
>              file://fix-utf8-wrong-define.patch \
>             "
>  
> +RPROVIDES_${PN}-dev = "libx11-dev"
>  
>  SRC_URI[md5sum] = "ed7c382cbf8c13425b6a66bcac0ca5d9"
>  SRC_URI[sha256sum] = "7fe62180f08ef5f0a0062fb444591e349cae2ab5af6ad834599f5c654e6c840d"
> diff --git a/meta/recipes-graphics/xorg-lib/libx11-trim_1.4.4.bb b/meta/recipes-graphics/xorg-lib/libx11-trim_1.4.4.bb
> index 3fd5d82..b2c753d 100644
> --- a/meta/recipes-graphics/xorg-lib/libx11-trim_1.4.4.bb
> +++ b/meta/recipes-graphics/xorg-lib/libx11-trim_1.4.4.bb
> @@ -5,7 +5,7 @@ DESCRIPTION += " Support for XCMS is disabled in this version."
>  LICENSE = "MIT & MIT-style & BSD"
>  LIC_FILES_CHKSUM = "file://COPYING;md5=172255dee66bb0151435b2d5d709fcf7"
>  
> -PR = "r0"
> +PR = "r1"
>  
>  DEPENDS += "libxcb xproto xextproto xtrans libxau kbproto inputproto xf86bigfontproto xproto-native"
>  
> @@ -13,6 +13,7 @@ SRC_URI += "file://x11_disable_makekeys.patch \
>              file://keysymdef_include.patch \
>              file://makekeys_crosscompile.patch"
>  
> +RPROVIDES_${PN}-dev = "libx11-dev"
>  
>  SRC_URI[md5sum] = "ed7c382cbf8c13425b6a66bcac0ca5d9"
>  SRC_URI[sha256sum] = "7fe62180f08ef5f0a0062fb444591e349cae2ab5af6ad834599f5c654e6c840d"
> 
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20120301/001e09f6/attachment-0002.sig>


More information about the Openembedded-core mailing list