[OE-core] [PATCH 2/3] xserver-xorg: disable xwayland
Robert Yang
liezhi.yang at windriver.com
Tue May 12 02:42:15 UTC 2015
On 05/11/2015 07:22 PM, Burton, Ross wrote:
>
> On 11 May 2015 at 09:32, Robert Yang <liezhi.yang at windriver.com
> <mailto:liezhi.yang at windriver.com>> wrote:
>
> The default is auto, we can disable it rather than depend on wayland or
> add a PACKAGECONFIG since they are two display servers.
>
> Fixed do_compile error:
> hw/xwayland/xwayland.h:36:28: fatal error: wayland-client.h: No such file or
> directory
> #include <wayland-client.h>
>
>
> And XWayland is the migration path from a pure X world to a pure Wayland world.
> Please add this as a PACKAGECONFIG.
Thanks, updated it in the repo:
git://git.openembedded.org/openembedded-core-contrib rbt/3fixes
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
index 30299c2..f3b2453 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
@@ -115,7 +115,9 @@ EXTRA_OECONF += "--with-fop=no \
ac_cv_file__usr_share_sgml_X11_defs_ent=no \
"
-PACKAGECONFIG ??= "udev ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'dri
dri2 glx', '', d)}"
+PACKAGECONFIG ??= "udev ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'dri
dri2 glx', '', d)} \
+ ${@bb.utils.contains("DISTRO_FEATURES", "wayland",
"xwayland", "", d)} \
+"
PACKAGECONFIG[udev] = "--enable-config-udev,--disable-config-udev,udev"
PACKAGECONFIG[dri] = "--enable-dri,--disable-dri,glproto virtual/mesa
xf86driproto"
@@ -128,6 +130,7 @@ PACKAGECONFIG[xshmfence] =
"--enable-xshmfence,--disable-xshmfence,libxshmfence"
PACKAGECONFIG[xmlto] = "--with-xmlto, --without-xmlto, xmlto-native
docbook-xml-dtd4-native docbook-xsl-stylesheets-native"
PACKAGECONFIG[systemd-logind] =
"--enable-systemd-logind=yes,--enable-systemd-logind=no,dbus,"
PACKAGECONFIG[xinerama] = "--enable-xinerama,--disable-xinerama,xineramaproto"
+PACKAGECONFIG[xwayland] = "--enable-xwayland,--disable-xwayland,wayland"
do_install_append () {
# Its assumed base-files creates this for us
// Robert
>
> Ross
More information about the Openembedded-core
mailing list