diff options
author | Valentin Popa <valentin.popa@intel.com> | 2014-02-13 15:45:20 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-17 15:28:59 +0000 |
commit | c8cf900e4e1b51515d9a08dd32740f52c467fe7f (patch) | |
tree | fbe8054d6d9b9f130cc656cb218d8892271987e0 | |
parent | a204c1e1be8b3ef9f565b0e07e6123e739d02fd0 (diff) | |
download | poky-c8cf900e4e1b51515d9a08dd32740f52c467fe7f.tar.gz |
weston: upgrade to 1.4.0
(*) added fbdev backend in case the user will
want to use weston even if drm fails.
(*) removed tablet-shell flag because in 1.4
tablet-shell has been removed from src.
(*) tested on qemux86 and genericx86 with
core-image-weston and core-image-sato.
(From OE-Core rev: 270ed9322dbd40b61e31ee9ab27cf7af5d433c1c)
Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-graphics/wayland/weston/0001-remove-dependence-on-wayland-scanner-flags.patch | 30 | ||||
-rw-r--r-- | meta/recipes-graphics/wayland/weston_1.4.0.bb (renamed from meta/recipes-graphics/wayland/weston_1.3.1.bb) | 12 |
2 files changed, 36 insertions, 6 deletions
diff --git a/meta/recipes-graphics/wayland/weston/0001-remove-dependence-on-wayland-scanner-flags.patch b/meta/recipes-graphics/wayland/weston/0001-remove-dependence-on-wayland-scanner-flags.patch new file mode 100644 index 0000000000..14606c86c3 --- /dev/null +++ b/meta/recipes-graphics/wayland/weston/0001-remove-dependence-on-wayland-scanner-flags.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From a0335393ddde2228c84eda1081b5d7b175f78a94 Mon Sep 17 00:00:00 2001 | ||
2 | From: Valentin Popa <valentin.popa@intel.com> | ||
3 | Date: Fri, 7 Feb 2014 16:59:58 +0200 | ||
4 | Subject: [PATCH] remove dependence on wayland-scanner flags | ||
5 | |||
6 | weston doesn't make use of wayland-scanner flags, | ||
7 | it only uses the -native- wayland-scanner for protocol. | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | Signed-off-by: Valentin Popa <valentin.popa@intel.com> | ||
11 | --- | ||
12 | configure.ac | 2 +- | ||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/configure.ac b/configure.ac | ||
16 | index cce1850..8775eb9 100644 | ||
17 | --- a/configure.ac | ||
18 | +++ b/configure.ac | ||
19 | @@ -482,7 +482,7 @@ if test x$wayland_scanner = x; then | ||
20 | AC_MSG_ERROR([wayland-scanner is needed to compile weston]) | ||
21 | fi | ||
22 | |||
23 | -PKG_CHECK_MODULES(WAYLAND_SCANNER, wayland-scanner) | ||
24 | +#PKG_CHECK_MODULES(WAYLAND_SCANNER, wayland-scanner) | ||
25 | AC_PATH_PROG(XMLLINT, xmllint) | ||
26 | AC_ARG_WITH([dtddir], | ||
27 | AS_HELP_STRING([--with-dtddir], | ||
28 | -- | ||
29 | 1.8.3.2 | ||
30 | |||
diff --git a/meta/recipes-graphics/wayland/weston_1.3.1.bb b/meta/recipes-graphics/wayland/weston_1.4.0.bb index 585de66261..5c389a0e04 100644 --- a/meta/recipes-graphics/wayland/weston_1.3.1.bb +++ b/meta/recipes-graphics/wayland/weston_1.4.0.bb | |||
@@ -7,9 +7,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=275efac2559a224527bd4fd593d38466 \ | |||
7 | 7 | ||
8 | SRC_URI = "http://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \ | 8 | SRC_URI = "http://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \ |
9 | file://weston.png \ | 9 | file://weston.png \ |
10 | file://weston.desktop" | 10 | file://weston.desktop \ |
11 | SRC_URI[md5sum] = "ffe7c3bc0e7eb39a305cbbea8c7766f3" | 11 | file://0001-remove-dependence-on-wayland-scanner-flags.patch" |
12 | SRC_URI[sha256sum] = "f7141334b141ae1a6435bd03bfdb01b7fb628f39259164f201e7e71c8d815bc7" | 12 | SRC_URI[md5sum] = "4438d2b1f3c9ba9a4a2b10d89fac6fd0" |
13 | SRC_URI[sha256sum] = "74a2319d98e9cdb1acf24659699719aa89ac268cf549759271e326edc5f9ed64" | ||
13 | 14 | ||
14 | 15 | ||
15 | inherit autotools pkgconfig useradd | 16 | inherit autotools pkgconfig useradd |
@@ -18,18 +19,17 @@ DEPENDS = "libxkbcommon gdk-pixbuf pixman cairo glib-2.0 jpeg" | |||
18 | DEPENDS += "wayland virtual/egl pango" | 19 | DEPENDS += "wayland virtual/egl pango" |
19 | 20 | ||
20 | EXTRA_OECONF = "--enable-setuid-install \ | 21 | EXTRA_OECONF = "--enable-setuid-install \ |
21 | --disable-tablet-shell \ | ||
22 | --disable-xwayland \ | 22 | --disable-xwayland \ |
23 | --enable-simple-clients \ | 23 | --enable-simple-clients \ |
24 | --enable-clients \ | 24 | --enable-clients \ |
25 | --enable-demo-clients \ | 25 | --enable-demo-clients-install \ |
26 | --disable-simple-egl-clients \ | 26 | --disable-simple-egl-clients \ |
27 | --disable-libunwind \ | 27 | --disable-libunwind \ |
28 | --disable-rpi-compositor \ | 28 | --disable-rpi-compositor \ |
29 | --disable-rdp-compositor" | 29 | --disable-rdp-compositor" |
30 | 30 | ||
31 | 31 | ||
32 | PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'wayland', 'kms wayland', '', d)} \ | 32 | PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'wayland', 'kms fbdev wayland', '', d)} \ |
33 | ${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \ | 33 | ${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \ |
34 | ${@base_contains('DISTRO_FEATURES', 'pam', 'launch', '', d)} \ | 34 | ${@base_contains('DISTRO_FEATURES', 'pam', 'launch', '', d)} \ |
35 | " | 35 | " |