On Mon, Jan 8, 2024 at 6:02 PM Fabio Estevam <[email protected]> wrote:

> Hi Martin,
>
> On Mon, Jan 8, 2024 at 1:21 PM Martin Jansa <[email protected]>
> wrote:
> >
> > Hi,
> >
> > can you please set PV to something else than "git"? meson.build says
> version : '0.0.1'
>
> Yes, I can do that.
>
> > The last commit from the new 3 is causing build failure on some setups
> without GL/gl.h:
> >
> > kmscube/git/git $ git log --oneline
> ea6c5d1eeefbfb0a1c27ab74a6e4621f1d9adf4c..96d63eb59e34c647cda1cbb489265f8c536ae055
> > 96d63eb kmscube: Add gears mode
> > d93842d es: Update to prepare for gears mode
> > b076d85 ci: enable MR pipelines
> >
> > Until "96d63eb kmscube: Add gears mode" it was using only EGL:
> >
> > kmscube/git/git $ git grep "gl\.h"
> > common.h:#include <EGL/egl.h>
> > cube-gears.c:#include <GL/gl.h>
> > esUtil.h:#include <EGL/egl.h>
>
> Does the change below fix (add virtual/libgl to DEPENDS) the problem?
>
> --- a/meta/recipes-graphics/kmscube/kmscube_git.bb
> +++ b/meta/recipes-graphics/kmscube/kmscube_git.bb
> @@ -6,7 +6,7 @@ OpenGL or OpenGL ES."
>  HOMEPAGE = "https://cgit.freedesktop.org/mesa/kmscube/";
>  LICENSE = "MIT"
>  SECTION = "graphics"
> -DEPENDS = "virtual/libgles3 virtual/libgles2 virtual/egl libdrm
> virtual/libgbm"
> +DEPENDS = "virtual/libgles3 virtual/libgles2 virtual/egl libdrm
> virtual/libgbm virtual/libgl"
>
>  LIC_FILES_CHKSUM =
>
> "file://kmscube.c;beginline=1;endline=23;md5=8b309d4ee67b7315ff7381270dd631fb"
>

On this platform it doesn't as GL/gl.h is not available, but it builds fine
after replacing GL/gl.h with GLES3/gl3.h (for GL_DEPTH24_STENCIL8).
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#193428): 
https://lists.openembedded.org/g/openembedded-core/message/193428
Mute This Topic: https://lists.openembedded.org/mt/103368830/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to