[OE-core] [PATCH 1/1] weston: disable-egl when no wayland

Martin Jansa martin.jansa at gmail.com
Mon Feb 24 16:12:51 UTC 2014


On Mon, Feb 24, 2014 at 05:29:42PM +0200, Valentin Popa wrote:
> On 02/24/2014 04:44 PM, Valentin Popa wrote:
> > On 02/24/2014 11:26 AM, Robert Yang wrote:
> >> There was a configure error when build weston without wayland:
> >>
> >> configure: error: Package requirements (egl >= 7.10 glesv2 
> >> wayland-client wayland-egl) were not met:
> >>
> >> No package 'wayland-egl' found
> >>
> >> [YOCTO #5867]
> >>
> >> Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
> >> ---
> >>   meta/recipes-graphics/wayland/weston_1.4.0.bb |    2 +-
> >>   1 file changed, 1 insertion(+), 1 deletion(-)
> >>
> >> diff --git a/meta/recipes-graphics/wayland/weston_1.4.0.bb 
> >> b/meta/recipes-graphics/wayland/weston_1.4.0.bb
> >> index 5c389a0..e0c354d 100644
> >> --- a/meta/recipes-graphics/wayland/weston_1.4.0.bb
> >> +++ b/meta/recipes-graphics/wayland/weston_1.4.0.bb
> >> @@ -39,7 +39,7 @@ PACKAGECONFIG ??= 
> >> "${@base_contains('DISTRO_FEATURES', 'wayland', 'kms fbdev way
> >>   # Weston on KMS
> >>   PACKAGECONFIG[kms] = 
> >> "--enable-drm-compositor,--disable-drm-compositor,drm udev 
> >> virtual/mesa mtdev"
> >>   # Weston on Wayland (nested Weston)
> >> -PACKAGECONFIG[wayland] = 
> >> "--enable-wayland-compositor,--disable-wayland-compositor,virtual/mesa"
> >> +PACKAGECONFIG[wayland] = "--enable-wayland-compositor,--disable-egl 
> >> --disable-wayland-compositor,virtual/mesa"
> >>   # Weston on X11
> >>   PACKAGECONFIG[x11] = 
> >> "--enable-x11-compositor,--disable-x11-compositor,virtual/libx11 
> >> libxcb libxcb libxcursor cairo"
> >>   # Headless Weston
> > How did you build weston without wayland?
> > Have you built wayland without libwayland-egl and then tried to build 
> > weston?
> > _______________________________________________
> > Openembedded-core mailing list
> > Openembedded-core at lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-core
> 
> 
> I got it, so you are building with :
> DISTRO_FEATURES_remove="wayland"
> DISTRO_FEATURES_append = " x11"

BTW: This is the reason why weston was failing in:
http://www.openembedded.org/wiki/Bitbake_World_Status

> and mesa doesn't build libwayland-egl, but weston checks for EGL.
> 
> Looks good to me, but the subject/message is not so clear. Can you 
> please modify it and resend?
> 
> Thanks!
> 
> 
> 
> _______________________________________________
> 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: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20140224/1064fcf8/attachment-0002.sig>


More information about the Openembedded-core mailing list