diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2015-05-11 00:12:01 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-05-16 22:31:50 +0100 |
commit | 05ea29b4406613ea45bb0cb7aec57c22e55b9969 (patch) | |
tree | 9b5efc4c0e9d44e283b5dbd62d2d98d11e5fbd6c /meta/recipes-graphics/xorg-xserver | |
parent | 24b8347724b3482dd2a1f6e7d69ac41aa437ade0 (diff) | |
download | poky-05ea29b4406613ea45bb0cb7aec57c22e55b9969.tar.gz |
xserver-xorg: add PACKAGECONFIG for wayland and add xserver-xorg-xwayland
Fixed do_compile error:
hw/xwayland/xwayland.h:36:28: fatal error: wayland-client.h: No such file or directory
#include <wayland-client.h>
^
compilation terminated.
Conditionally add xserver-xorg-xwayland pkg which contains
/usr/bin/Xwayland.
(From OE-Core rev: 10c379cb3b9aae093f82d75c583dfe93fcea0c18)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/xorg-xserver')
-rw-r--r-- | meta/recipes-graphics/xorg-xserver/xserver-xorg.inc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc index 30299c2921..cc95da6394 100644 --- a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc +++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc | |||
@@ -47,6 +47,7 @@ PACKAGES =+ "${PN}-security-policy \ | |||
47 | ${PN}-xvfb \ | 47 | ${PN}-xvfb \ |
48 | ${PN}-utils \ | 48 | ${PN}-utils \ |
49 | ${PN}-xephyr \ | 49 | ${PN}-xephyr \ |
50 | ${PN}-xwayland \ | ||
50 | ${PN}-multimedia-modules \ | 51 | ${PN}-multimedia-modules \ |
51 | ${PN}-extension-dri \ | 52 | ${PN}-extension-dri \ |
52 | ${PN}-extension-dri2 \ | 53 | ${PN}-extension-dri2 \ |
@@ -81,6 +82,7 @@ FILES_${PN}-fbdev = "${bindir}/Xfbdev" | |||
81 | FILES_${PN}-xvfb = "${bindir}/Xvfb" | 82 | FILES_${PN}-xvfb = "${bindir}/Xvfb" |
82 | FILES_${PN}-utils = "${bindir}/scanpci ${bindir}/pcitweak ${bindir}/ioport ${bindir}/in[bwl] ${bindir}/out[bwl] ${bindir}/mmap[rw] ${bindir}/gtf ${bindir}/getconfig ${bindir}/getconfig.pl" | 83 | FILES_${PN}-utils = "${bindir}/scanpci ${bindir}/pcitweak ${bindir}/ioport ${bindir}/in[bwl] ${bindir}/out[bwl] ${bindir}/mmap[rw] ${bindir}/gtf ${bindir}/getconfig ${bindir}/getconfig.pl" |
83 | FILES_${PN}-xephyr = "${bindir}/Xephyr" | 84 | FILES_${PN}-xephyr = "${bindir}/Xephyr" |
85 | FILES_${PN}-xwayland = "${bindir}/Xwayland" | ||
84 | FILES_${PN}-multimedia-modules = "${libdir}/xorg/modules/multimedia/*drv*" | 86 | FILES_${PN}-multimedia-modules = "${libdir}/xorg/modules/multimedia/*drv*" |
85 | FILES_${PN}-extension-dri = "${libdir}/xorg/modules/extensions/libdri.so" | 87 | FILES_${PN}-extension-dri = "${libdir}/xorg/modules/extensions/libdri.so" |
86 | FILES_${PN}-extension-dri2 = "${libdir}/xorg/modules/extensions/libdri2.so" | 88 | FILES_${PN}-extension-dri2 = "${libdir}/xorg/modules/extensions/libdri2.so" |
@@ -115,7 +117,9 @@ EXTRA_OECONF += "--with-fop=no \ | |||
115 | ac_cv_file__usr_share_sgml_X11_defs_ent=no \ | 117 | ac_cv_file__usr_share_sgml_X11_defs_ent=no \ |
116 | " | 118 | " |
117 | 119 | ||
118 | PACKAGECONFIG ??= "udev ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'dri dri2 glx', '', d)}" | 120 | PACKAGECONFIG ??= "udev ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'dri dri2 glx', '', d)} \ |
121 | ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "xwayland", "", d)} \ | ||
122 | " | ||
119 | 123 | ||
120 | PACKAGECONFIG[udev] = "--enable-config-udev,--disable-config-udev,udev" | 124 | PACKAGECONFIG[udev] = "--enable-config-udev,--disable-config-udev,udev" |
121 | PACKAGECONFIG[dri] = "--enable-dri,--disable-dri,glproto virtual/mesa xf86driproto" | 125 | PACKAGECONFIG[dri] = "--enable-dri,--disable-dri,glproto virtual/mesa xf86driproto" |
@@ -128,6 +132,7 @@ PACKAGECONFIG[xshmfence] = "--enable-xshmfence,--disable-xshmfence,libxshmfence" | |||
128 | PACKAGECONFIG[xmlto] = "--with-xmlto, --without-xmlto, xmlto-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native" | 132 | PACKAGECONFIG[xmlto] = "--with-xmlto, --without-xmlto, xmlto-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native" |
129 | PACKAGECONFIG[systemd-logind] = "--enable-systemd-logind=yes,--enable-systemd-logind=no,dbus," | 133 | PACKAGECONFIG[systemd-logind] = "--enable-systemd-logind=yes,--enable-systemd-logind=no,dbus," |
130 | PACKAGECONFIG[xinerama] = "--enable-xinerama,--disable-xinerama,xineramaproto" | 134 | PACKAGECONFIG[xinerama] = "--enable-xinerama,--disable-xinerama,xineramaproto" |
135 | PACKAGECONFIG[xwayland] = "--enable-xwayland,--disable-xwayland,wayland libepoxy" | ||
131 | 136 | ||
132 | do_install_append () { | 137 | do_install_append () { |
133 | # Its assumed base-files creates this for us | 138 | # Its assumed base-files creates this for us |