summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-graphics/wayland/weston/0001-remove-dependence-on-wayland-scanner-flags.patch30
-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 @@
1From a0335393ddde2228c84eda1081b5d7b175f78a94 Mon Sep 17 00:00:00 2001
2From: Valentin Popa <valentin.popa@intel.com>
3Date: Fri, 7 Feb 2014 16:59:58 +0200
4Subject: [PATCH] remove dependence on wayland-scanner flags
5
6weston doesn't make use of wayland-scanner flags,
7it only uses the -native- wayland-scanner for protocol.
8
9Upstream-Status: Pending
10Signed-off-by: Valentin Popa <valentin.popa@intel.com>
11---
12 configure.ac | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/configure.ac b/configure.ac
16index 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--
291.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
8SRC_URI = "http://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \ 8SRC_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 \
11SRC_URI[md5sum] = "ffe7c3bc0e7eb39a305cbbea8c7766f3" 11 file://0001-remove-dependence-on-wayland-scanner-flags.patch"
12SRC_URI[sha256sum] = "f7141334b141ae1a6435bd03bfdb01b7fb628f39259164f201e7e71c8d815bc7" 12SRC_URI[md5sum] = "4438d2b1f3c9ba9a4a2b10d89fac6fd0"
13SRC_URI[sha256sum] = "74a2319d98e9cdb1acf24659699719aa89ac268cf549759271e326edc5f9ed64"
13 14
14 15
15inherit autotools pkgconfig useradd 16inherit autotools pkgconfig useradd
@@ -18,18 +19,17 @@ DEPENDS = "libxkbcommon gdk-pixbuf pixman cairo glib-2.0 jpeg"
18DEPENDS += "wayland virtual/egl pango" 19DEPENDS += "wayland virtual/egl pango"
19 20
20EXTRA_OECONF = "--enable-setuid-install \ 21EXTRA_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
32PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'wayland', 'kms wayland', '', d)} \ 32PACKAGECONFIG ??= "${@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 "