Skip to contentSkip to conversation

weston: disable-egl when no wayland

PATCH In review Robert Yang 3 participants 6 messages Feb 24, 2014 – Feb 25, 2014

lore
Share & tools
lore
#0 lore raw

cover weston: disable-egl when no wayland

The following changes since commit 6a708c3edb5da3d73730eaf21d8c6c4f79972e9d:

x246: Disable Altivec asm when SPE is enabled. (2014-02-22 15:22:24 +0000)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib rbt/weston
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=rbt/weston

Robert Yang (1):
weston: disable-egl when no wayland

 meta/recipes-graphics/wayland/weston_1.4.0.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 weston: disable-egl when no wayland

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]

---
 meta/recipes-graphics/wayland/weston_1.4.0.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-graphics/wayland/weston_1.4.0.bb +1 -1
index 5c389a0..e0c354d 100644
@@ -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
Signature · 1 line
1.7.10.4
#2 lore raw
Quoted 18 lines · Robert Yang

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]

---
  meta/recipes-graphics/wayland/weston_1.4.0.bb |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-graphics/wayland/weston_1.4.0.bb +0 -0
index 5c389a0..e0c354d 100644

meta/recipes-graphics/wayland/weston_1.4.0.bb PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'wayland', 'kms fbdev way · line 45

Quoted 8 lines
meta/recipes-graphics/wayland/weston_1.4.0.bb +1 -1
@@ -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?

#3 lore raw
Quoted 30 lines · Valentin Popa
Quoted 29 lines · Robert Yang

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]

---
  meta/recipes-graphics/wayland/weston_1.4.0.bb |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-graphics/wayland/weston_1.4.0.bb +0 -0
index 5c389a0..e0c354d 100644
@@ -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] =

Quoted 8 lines
Quoted 2 lines

"--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 [email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

I got it, so you are building with :
DISTRO_FEATURES_remove="wayland"
DISTRO_FEATURES_append = " x11"

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!

#4 lore raw
Quoted 46 lines · Valentin Popa
Quoted 35 lines · Valentin Popa
Quoted 34 lines · Robert Yang

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]

---
  meta/recipes-graphics/wayland/weston_1.4.0.bb |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-graphics/wayland/weston_1.4.0.bb +0 -0
index 5c389a0..e0c354d 100644
@@ -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"

Quoted 8 lines
Quoted 1 line

# 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 [email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Quoted 3 lines

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

Quoted 13 lines

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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#5 lore raw
In reply to Valentin Popa
Quoted 44 lines · Valentin Popa
Quoted 33 lines · Valentin Popa
Quoted 32 lines · Robert Yang

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]

---
  meta/recipes-graphics/wayland/weston_1.4.0.bb |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-graphics/wayland/weston_1.4.0.bb +0 -0
index 5c389a0..e0c354d 100644
@@ -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

Quoted 8 lines
Quoted 2 lines

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 [email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Quoted 9 lines

I got it, so you are building with :
DISTRO_FEATURES_remove="wayland"
DISTRO_FEATURES_append = " x11"

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, I updated the subject to:

weston: fix build without wayland in distro_features

And also updated the repo:

git://git.pokylinux.org/poky-contrib rbt/weston

// Robert

Quoted 5 lines

Thanks!