[OE-core] [PATCH 3/3] liberation-fonts: can't be allarch

Martin Jansa martin.jansa at gmail.com
Thu Jan 7 11:11:20 UTC 2016


On Wed, Jan 06, 2016 at 11:45:24PM -0800, Robert Yang wrote:
> liberation-fonts inherit fontcache which would depend on fontconfig, and
> fontconfig is not allarch, so that liberation-fonts can't be allarch.
> 
> It caused a problem:
> $ bitbake lib32-core-image-sato
> 
> Both lib32-fontconfig and fontconfig would be built, but fontconfig
> shouldn't, this patch can fix the problem.
> 
> [YOCTO #8882]

liberation-fonts excludes fontconfig dependency since:
commit 0b5e868d160faca041cda42b670066facd4db531
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Tue Aug 25 17:58:12 2015 +0100

    layer.conf: Add several allarch dependency exclusions

If it doesn't work then you probably should remove the entry from
layer.conf as well.

> 
> Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
> ---
>  .../ttf-fonts/liberation-fonts_1.04.bb             |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb b/meta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb
> index bda82e7..f64748c 100644
> --- a/meta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb
> +++ b/meta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb
> @@ -13,7 +13,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
>  PR = "r4"
>  PE = "1"
>  
> -inherit allarch fontcache
> +inherit fontcache
>  
>  FONT_PACKAGES = "${PN}"
>  
> -- 
> 1.7.9.5
> 
> -- 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/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: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160107/65d1a997/attachment-0002.sig>


More information about the Openembedded-core mailing list