diff options
author | Oleksandr Suvorov <oleksandr.suvorov@foundries.io> | 2024-02-17 14:34:16 +0200 |
---|---|---|
committer | Oleksandr Suvorov <oleksandr.suvorov@foundries.io> | 2024-02-17 14:49:17 +0200 |
commit | d81f7b158462b450c0adbb33327be990ccfe06d0 (patch) | |
tree | f3e91811616119fcb5fc7d09c7cbc1008f5e4545 | |
parent | 61b0a60c8f503a53abe175768a1554a0b24ab97e (diff) | |
download | meta-freescale-d81f7b158462b450c0adbb33327be990ccfe06d0.tar.gz |
cairo: Return back packageconfigs for 1.16.0
The master branch of meta-freescale is compatible with multiply Yocto releases since Kirstone.
Before Scarthgap cairo needs to be compiled with egl/gles. Return
back replacing GL libraries for cairo 1.16.0 to fix rhe building
issue [1].
[1]
2024-01-13 03:04:58 - INFO - | cairo/1.16.0/recipe-sysroot-native/usr/bin/aarch64-lms-linux/../../libexec/aarch64-lms-linux/gcc/aarch64-lms-linux/13.2.0/ld: ../../boilerplate/.libs/libcairoboilerplate.a(cairo-boilerplate-glx.o): in function `_cairo_boilerplate_gl_cleanup':
2024-01-13 03:04:58 - INFO - | cairo/1.16.0-r0/boilerplate/cairo-boilerplate-glx.c:60:(.text+0x16c): undefined reference to `glXDestroyContext'
2024-01-13 03:04:58 - INFO - | cairo/1.16.0/recipe-sysroot-native/usr/bin/aarch64-lms-linux/../../libexec/aarch64-lms-linux/gcc/aarch64-lms-linux/13.2.0/ld: ../../boilerplate/.libs/libcairoboilerplate.a(cairo-boilerplate-glx.o): in function `_cairo_boilerplate_gl_create_surface':
2024-01-13 03:04:58 - INFO - | cairo/1.16.0-r0/boilerplate/cairo-boilerplate-glx.c:123:(.text+0x288): undefined reference to `glXChooseVisual'
...
2024-01-13 03:04:58 - INFO - | collect2: error: ld returned 1 exit status
Fixes: 0e478bde ("cairo: Drop the removed packageconfigs")
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
-rw-r--r-- | recipes-graphics/cairo/cairo_%.bbappend | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes-graphics/cairo/cairo_%.bbappend b/recipes-graphics/cairo/cairo_%.bbappend index bf8c38fc..cdf228a3 100644 --- a/recipes-graphics/cairo/cairo_%.bbappend +++ b/recipes-graphics/cairo/cairo_%.bbappend | |||
@@ -1,3 +1,8 @@ | |||
1 | # Cairo 1.16.0 used in kirkstone, langdale, mickledore and nanbield still | ||
2 | # requires to replace opengl with the egl/gles for success building. | ||
3 | PACKAGECONFIG:append:imxgpu3d = " ${@bb.utils.contains('PV', '1.16.0', 'egl glesv2', '', d)}" | ||
4 | PACKAGECONFIG:remove:imxgpu3d = " ${@bb.utils.contains('PV', '1.16.0', 'opengl', '', d)}" | ||
5 | |||
1 | # links with imx-gpu libs which are pre-built for glibc | 6 | # links with imx-gpu libs which are pre-built for glibc |
2 | # gcompat will address it during runtime | 7 | # gcompat will address it during runtime |
3 | LDFLAGS:append:imxgpu:libc-musl = " -Wl,--allow-shlib-undefined" | 8 | LDFLAGS:append:imxgpu:libc-musl = " -Wl,--allow-shlib-undefined" |