[OE-core] freetype: add pixmap to PACKAGECONFIG

Jacob Kroon jacob.kroon at gmail.com
Tue Mar 3 17:41:57 UTC 2020


On 3/1/20 12:47 AM, Matt Ranostay wrote:
> Add pixmap to PACKAGECONFIG defaults to allow consumers to
> render color emojis without distro changes.
> 
> Signed-off-by: Matt Ranostay <matt.ranostay at konsulko.com>
> ---
>   meta/recipes-graphics/freetype/freetype_2.10.1.bb | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-graphics/freetype/freetype_2.10.1.bb b/meta/recipes-graphics/freetype/freetype_2.10.1.bb
> index b179a0ed47..d1c093054b 100644
> --- a/meta/recipes-graphics/freetype/freetype_2.10.1.bb
> +++ b/meta/recipes-graphics/freetype/freetype_2.10.1.bb
> @@ -27,7 +27,7 @@ AUTOTOOLS_SCRIPT_PATH = "${S}/builds/unix"
>   CONFIGURE_SCRIPT = "${S}/configure"
>   EXTRA_AUTORECONF += "--exclude=autoheader --exclude=automake"
>   
> -PACKAGECONFIG ??= "zlib"
> +PACKAGECONFIG ??= "zlib pixmap"
>   
>   PACKAGECONFIG[bzip2] = "--with-bzip2,--without-bzip2,bzip2"
>   # harfbuzz results in a circular dependency so enabling is non-trivial
> 

My distro does not care about rendering color emojis. Building my image 
now pulls in libpng unless I remove the packageconfig in a distro conf.

The pixmap packageconfig has defaulted to being off since it was added 
in 2013 in commmit 7cbf6060ac14b0f4d2f038f821ca980be0d46cb0. Wouldn't it 
make sense to keep it off by default and let whoever needs it enable it ?

/Jacob


More information about the Openembedded-core mailing list