Skip to contentSkip to conversation

Wayland updates

PATCH In review Ross Burton 2 participants 9 messages May 31, 2013 – Jun 1, 2013

lore
Share & tools
lore
#0 lore raw

cover Wayland updates

Hi,

Another revision of this branch with more improvements and Weston 1.1 (now that the GTK+ issue was resolved).

Ross

The following changes since commit ea281d3b8e5f2ae21b37ea2ad4d440bf9c6427ff:

bitbake: Added distroy signal to information dialogs (2013-05-31 08:25:40 +0100)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib ross/wayland

for you to fetch changes up to 299fde808fbdca44b396fc35f0df196cad73dec9:

weston: update to 1.1.0 (2013-05-31 16:02:43 +0100)

----------------------------------------------------------------
Ross Burton (7):
mesa: upgrade to 9.1.3
mesa: update git recipe to 9.1.3 release
wayland: update to 1.1.0
weston: install the examples into weston-examples
weston: add a weston-launch group
weston: clean up and add comments
weston: update to 1.1.0

 meta/recipes-graphics/mesa/mesa-9.0.2.inc          |   13 -
 meta/recipes-graphics/mesa/mesa-git.inc            |    9 +-
 .../mesa/mesa/0002-cross-compile.patch             |   94 ---
 ...ate-NativeDisplayType-depending-on-config.patch |  358 +++++++++++
 meta/recipes-graphics/mesa/mesa/cross-glsl.patch   |  632 --------------------
 .../mesa/dont-fail-if-libX11-isnt-installed.patch  |   36 --
 .../fix-egl-compilation-without-x11-headers.patch  |   32 -
 .../mesa/mesa/fix-glsl-cross.patch                 |   43 ++
 meta/recipes-graphics/mesa/mesa_9.0.2.bb           |    4 -
 meta/recipes-graphics/mesa/mesa_9.1.3.bb           |   14 +
 .../wayland/{wayland_1.0.6.bb => wayland_1.1.0.bb} |    6 +-
 .../wayland/weston/install-examples.patch          |   18 +
 .../wayland/{weston_1.0.6.bb => weston_1.1.0.bb}   |   38 +-
 13 files changed, 471 insertions(+), 826 deletions(-)
 delete mode 100644 meta/recipes-graphics/mesa/mesa-9.0.2.inc
 delete mode 100644 meta/recipes-graphics/mesa/mesa/0002-cross-compile.patch
 create mode 100644 meta/recipes-graphics/mesa/mesa/EGL-Mutate-NativeDisplayType-depending-on-config.patch
 delete mode 100644 meta/recipes-graphics/mesa/mesa/cross-glsl.patch
 delete mode 100644 meta/recipes-graphics/mesa/mesa/dont-fail-if-libX11-isnt-installed.patch
 delete mode 100644 meta/recipes-graphics/mesa/mesa/fix-egl-compilation-without-x11-headers.patch
 create mode 100644 meta/recipes-graphics/mesa/mesa/fix-glsl-cross.patch
 delete mode 100644 meta/recipes-graphics/mesa/mesa_9.0.2.bb
 create mode 100644 meta/recipes-graphics/mesa/mesa_9.1.3.bb
 rename meta/recipes-graphics/wayland/{wayland_1.0.6.bb => wayland_1.1.0.bb} (91%)
 create mode 100644 meta/recipes-graphics/wayland/weston/install-examples.patch
 rename meta/recipes-graphics/wayland/{weston_1.0.6.bb => weston_1.1.0.bb} (63%)

Ross Burton (7):
mesa: upgrade to 9.1.3
mesa: update git recipe to 9.1.3 release
wayland: update to 1.1.0
weston: install the examples into weston-examples
weston: add a weston-launch group
weston: clean up and add comments
weston: update to 1.1.0

 meta/recipes-graphics/mesa/mesa-9.0.2.inc          |   13 -
 meta/recipes-graphics/mesa/mesa-git.inc            |    9 +-
 .../mesa/mesa/0002-cross-compile.patch             |   94 ---
 ...ate-NativeDisplayType-depending-on-config.patch |  358 +++++++++++
 meta/recipes-graphics/mesa/mesa/cross-glsl.patch   |  632 --------------------
 .../mesa/dont-fail-if-libX11-isnt-installed.patch  |   36 --
 .../fix-egl-compilation-without-x11-headers.patch  |   32 -
 .../mesa/mesa/fix-glsl-cross.patch                 |   43 ++
 meta/recipes-graphics/mesa/mesa_9.0.2.bb           |    4 -
 meta/recipes-graphics/mesa/mesa_9.1.3.bb           |   14 +
 .../wayland/{wayland_1.0.6.bb => wayland_1.1.0.bb} |    6 +-
 .../wayland/weston/install-examples.patch          |   18 +
 .../wayland/{weston_1.0.6.bb => weston_1.1.0.bb}   |   38 +-
 13 files changed, 471 insertions(+), 826 deletions(-)
 delete mode 100644 meta/recipes-graphics/mesa/mesa-9.0.2.inc
 delete mode 100644 meta/recipes-graphics/mesa/mesa/0002-cross-compile.patch
 create mode 100644 meta/recipes-graphics/mesa/mesa/EGL-Mutate-NativeDisplayType-depending-on-config.patch
 delete mode 100644 meta/recipes-graphics/mesa/mesa/cross-glsl.patch
 delete mode 100644 meta/recipes-graphics/mesa/mesa/dont-fail-if-libX11-isnt-installed.patch
 delete mode 100644 meta/recipes-graphics/mesa/mesa/fix-egl-compilation-without-x11-headers.patch
 create mode 100644 meta/recipes-graphics/mesa/mesa/fix-glsl-cross.patch
 delete mode 100644 meta/recipes-graphics/mesa/mesa_9.0.2.bb
 create mode 100644 meta/recipes-graphics/mesa/mesa_9.1.3.bb
 rename meta/recipes-graphics/wayland/{wayland_1.0.6.bb => wayland_1.1.0.bb} (91%)
 create mode 100644 meta/recipes-graphics/wayland/weston/install-examples.patch
 rename meta/recipes-graphics/wayland/{weston_1.0.6.bb => weston_1.1.0.bb} (63%)
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/7 mesa: upgrade to 9.1.3

Merge mesa-PV.bb and mesa-PV.inc as the is no point to the split now we're only building one variant of Mesa.

Drop 0002-cross-compile.patch isn't needed as libtool is used instead of mklib. However, as libtool is used instead of mklib add fix-glsl-cross.patch to work around build failures caused by the cross libtool being used to build host binaries.

Add EGL-Mutate-NativeDisplayType-depending-on-config.patch to build correctly in a non-X11 environment.

Drop dont-fail-if-libX11-isnt-installed.patch and fix-egl-compilation-without-x11-headers.patch as they were backports.

license.html had some formatting and typo fixes, update the checksum.

---
 meta/recipes-graphics/mesa/mesa-9.0.2.inc          |   13 -
 .../mesa/mesa/0002-cross-compile.patch             |   94 ---
 ...ate-NativeDisplayType-depending-on-config.patch |  358 +++++++++++
 meta/recipes-graphics/mesa/mesa/cross-glsl.patch   |  632 --------------------
 .../mesa/dont-fail-if-libX11-isnt-installed.patch  |   36 --
 .../fix-egl-compilation-without-x11-headers.patch  |   32 -
 .../mesa/mesa/fix-glsl-cross.patch                 |   43 ++
 meta/recipes-graphics/mesa/mesa_9.0.2.bb           |    4 -
 meta/recipes-graphics/mesa/mesa_9.1.3.bb           |   14 +
 9 files changed, 415 insertions(+), 811 deletions(-)
 delete mode 100644 meta/recipes-graphics/mesa/mesa-9.0.2.inc
 delete mode 100644 meta/recipes-graphics/mesa/mesa/0002-cross-compile.patch
 create mode 100644 meta/recipes-graphics/mesa/mesa/EGL-Mutate-NativeDisplayType-depending-on-config.patch
 delete mode 100644 meta/recipes-graphics/mesa/mesa/cross-glsl.patch
 delete mode 100644 meta/recipes-graphics/mesa/mesa/dont-fail-if-libX11-isnt-installed.patch
 delete mode 100644 meta/recipes-graphics/mesa/mesa/fix-egl-compilation-without-x11-headers.patch
 create mode 100644 meta/recipes-graphics/mesa/mesa/fix-glsl-cross.patch
 delete mode 100644 meta/recipes-graphics/mesa/mesa_9.0.2.bb
 create mode 100644 meta/recipes-graphics/mesa/mesa_9.1.3.bb
meta/recipes-graphics/mesa/mesa-9.0.2.inc deleted +0 -13
deleted file mode 100644
index b88bc42..0000000
@@ -1,13 +0,0 @@
-SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2 \
-           file://0002-cross-compile.patch \
-           file://cross-glsl.patch \
-           file://dont-fail-if-libX11-isnt-installed.patch \
-           file://fix-egl-compilation-without-x11-headers.patch \
-           "
-
-SRC_URI[md5sum] = "dc45d1192203e418163e0017640e1cfc"
-SRC_URI[sha256sum] = "75bf31f26c6e7b5515e610c1005fd1be1f7eeb2c9e6859848dab879c355ad64e"
-
-LIC_FILES_CHKSUM = "file://docs/license.html;md5=012f69938d81b766472fd0d240df38a4"
-
-S = "${WORKDIR}/Mesa-${PV}"
meta/recipes-graphics/mesa/mesa/0002-cross-compile.patch deleted +0 -94

94 lines not on this page · raw message

meta/recipes-graphics/mesa/mesa/EGL-Mutate-NativeDisplayType-depending-on-config.patch new file +358 -0

358 lines not on this page · raw message

meta/recipes-graphics/mesa/mesa/cross-glsl.patch deleted +0 -632

632 lines not on this page · raw message

meta/recipes-graphics/mesa/mesa/dont-fail-if-libX11-isnt-installed.patch deleted +0 -36
deleted file mode 100644
index 80735a6..0000000
@@ -1,36 +0,0 @@
-Upstream-Status: Backport
-
-From d6b06474f69129eb41ecd85d6b3bb0eb7b9dccb3 Mon Sep 17 00:00:00 2001
-From: Daniel Stone <[email protected]>
-Date: Tue, 9 Oct 2012 14:27:06 +1100
-Subject: [PATCH] build: Don't fail if libX11 isn't installed
-
-configure.ac would previously refuse to complete if libX11 wasn't
-installed, even if we'd disabled GLX and weren't building an X11 EGL
-platform.  Make the check simply set the no_x variable that's used (but
-never set) immediately below for what looks like this very case.
-
-Signed-off-by: Daniel Stone <[email protected]>
-Reviewed-by: Matt Turner <[email protected]>
-Reviewed-by: Dan Nicholson <[email protected]>
-(cherry picked from commit 4004620d34a580c8fdb965d9b640e97453fc8b28)
----
- configure.ac |    2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/configure.ac b/configure.ac
-index eb273b9..b384b44 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -836,7 +836,7 @@ if test "x$enable_dri" = xyes; then
- fi
- 
- dnl Find out if X is available.
--PKG_CHECK_MODULES([X11], [x11])
-+PKG_CHECK_MODULES([X11], [x11], [no_x=no], [no_x=yes])
- 
- dnl Try to tell the user that the --x-* options are only used when
- dnl pkg-config is not available. This must be right after AC_PATH_XTRA.
--- 
-1.7.10.4
-
meta/recipes-graphics/mesa/mesa/fix-egl-compilation-without-x11-headers.patch deleted +0 -32
deleted file mode 100644
index 6436b59..0000000
@@ -1,32 +0,0 @@
-Upstream-Status: Submitted
-
-Picked from mesa-dev mailing list: http://marc.info/?l=mesa3d-dev&m=133053004130468
-
-From: Benjamin Franzke <[email protected]>
-Date: Wed, 29 Feb 2012 15:36:23 +0100
-Subject: [PATCH] configure: Fix egl compilation without x11 headers
-
-We dont want eglplatform.h to typedef egl native types
-to x11 types, when x11 headers are not available.
----
- configure.ac |    4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/configure.ac b/configure.ac
-index b384b44..8eb8459 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -1262,6 +1262,10 @@ if test "x$enable_egl" = xyes; then
- 
-     AC_CHECK_FUNC(mincore, [DEFINES="$DEFINES -DHAVE_MINCORE"])
- 
-+    if test "$have_x" != yes; then
-+        DEFINES="$DEFINES -DMESA_EGL_NO_X11_HEADERS"
-+    fi
-+
-     if test "$enable_static" != yes; then
-         # build egl_glx when libGL is built
-         if test "x$enable_glx" = xyes; then
--- 
-1.7.10.4
-
meta/recipes-graphics/mesa/mesa/fix-glsl-cross.patch new file +43 -0

43 lines not on this page · raw message

meta/recipes-graphics/mesa/mesa_9.0.2.bb deleted +0 -4
deleted file mode 100644
index 6671f99..0000000
@@ -1,4 +0,0 @@
-require mesa-common.inc
-require mesa-${PV}.inc
-require mesa.inc
-PR = "${INC_PR}.1"
meta/recipes-graphics/mesa/mesa_9.1.3.bb new file +14 -0
new file mode 100644
index 0000000..60a90a3
@@ -0,0 +1,14 @@
+SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2 \
+           file://EGL-Mutate-NativeDisplayType-depending-on-config.patch \
+           file://fix-glsl-cross.patch \
+           "
+
+SRC_URI[md5sum] = "952ccd03547ed72333b64e1746cf8ada"
+SRC_URI[sha256sum] = "8d5dac2202d0355bff5cfd183582ec8167d1d1227b7bb7a669acecbeaa52d766"
+
+LIC_FILES_CHKSUM = "file://docs/license.html;md5=42d77d95cba529a3637129be87d6555d"
+
+S = "${WORKDIR}/Mesa-${PV}"
+
+require mesa-common.inc
+require mesa.inc
Signature · 1 line
1.7.10.4
#2 lore raw

Re: [PATCH 1/7] mesa: upgrade to 9.1.3

Quoted 28 lines · Ross Burton

Merge mesa-PV.bb and mesa-PV.inc as the is no point to the split now we're only building one variant of Mesa.

Drop 0002-cross-compile.patch isn't needed as libtool is used instead of mklib. However, as libtool is used instead of mklib add fix-glsl-cross.patch to work around build failures caused by the cross libtool being used to build host binaries.

Add EGL-Mutate-NativeDisplayType-depending-on-config.patch to build correctly in a non-X11 environment.

Drop dont-fail-if-libX11-isnt-installed.patch and fix-egl-compilation-without-x11-headers.patch as they were backports.

license.html had some formatting and typo fixes, update the checksum.

---
  meta/recipes-graphics/mesa/mesa-9.0.2.inc          |   13 -
  .../mesa/mesa/0002-cross-compile.patch             |   94 ---
  ...ate-NativeDisplayType-depending-on-config.patch |  358 +++++++++++
  meta/recipes-graphics/mesa/mesa/cross-glsl.patch   |  632 --------------------
  .../mesa/dont-fail-if-libX11-isnt-installed.patch  |   36 --
  .../fix-egl-compilation-without-x11-headers.patch  |   32 -
  .../mesa/mesa/fix-glsl-cross.patch                 |   43 ++
  meta/recipes-graphics/mesa/mesa_9.0.2.bb           |    4 -
  meta/recipes-graphics/mesa/mesa_9.1.3.bb           |   14 +
  9 files changed, 415 insertions(+), 811 deletions(-)
Quoted 9 lines

delete mode 100644 meta/recipes-graphics/mesa/mesa-9.0.2.inc
delete mode 100644 meta/recipes-graphics/mesa/mesa/0002-cross-compile.patch
create mode 100644 meta/recipes-graphics/mesa/mesa/EGL-Mutate-NativeDisplayType-depending-on-config.patch delete mode 100644 meta/recipes-graphics/mesa/mesa/cross-glsl.patch
delete mode 100644 meta/recipes-graphics/mesa/mesa/dont-fail-if-libX11-isnt-installed.patch delete mode 100644 meta/recipes-graphics/mesa/mesa/fix-egl-compilation-without-x11-headers.patch create mode 100644 meta/recipes-graphics/mesa/mesa/fix-glsl-cross.patch
delete mode 100644 meta/recipes-graphics/mesa/mesa_9.0.2.bb
create mode 100644 meta/recipes-graphics/mesa/mesa_9.1.3.bb

configure: WARNING: unrecognized options: --disable-glu, --disable-glw, --disable-glut

Regards,
Jonathan

#3 lore raw

PATCH 2/7 mesa: update git recipe to 9.1.3 release

In reply to Ross Burton

It's not bleeding edge but it's better than the previous pre-9.1 commit.

---
 meta/recipes-graphics/mesa/mesa-git.inc |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
meta/recipes-graphics/mesa/mesa-git.inc +5 -4
index ee9a552..c5507ce 100644
@@ -1,11 +1,12 @@
-# Current pre-9.1 commit
-SRCREV = "1665af3066f3d58c42e9d5b13098f13615a7672c"
-PV = "9.1~git${SRCPV}"
+# 9.1.3 commit
+SRCREV = "f32ec82a8cfcabc5b7596796f36afe7986651f02"
+PV = "9.1.3+git${SRCPV}"
 
 LIC_FILES_CHKSUM = "file://docs/license.html;md5=42d77d95cba529a3637129be87d6555d"
 
 SRC_URI = "git://anongit.freedesktop.org/git/mesa/mesa;protocol=git \
-           file://0002-cross-compile.patch \
+           file://EGL-Mutate-NativeDisplayType-depending-on-config.patch \
+           file://fix-glsl-cross.patch \
            "
 
 S = "${WORKDIR}/git"
Signature · 1 line
1.7.10.4
#4 lore raw

PATCH 3/7 wayland: update to 1.1.0

In reply to Ross Burton
---
 .../wayland/{wayland_1.0.6.bb => wayland_1.1.0.bb}               |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
 rename meta/recipes-graphics/wayland/{wayland_1.0.6.bb => wayland_1.1.0.bb} (91%)
meta/recipes-graphics/wayland/wayland_1.1.0.bb renamed from meta/recipes-graphics/wayland/wayland_1.0.6.bb +2 -4
similarity index 91%
rename from meta/recipes-graphics/wayland/wayland_1.0.6.bb
rename to meta/recipes-graphics/wayland/wayland_1.1.0.bb
index 7c18979..a71402e 100644
@@ -10,11 +10,9 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://COPYING;md5=1d4476a7d98dd5691c53d4d43a510c72 \
                     file://src/wayland-server.c;endline=21;md5=079ae21dbf98ada52ec23744851b0a5c"
 
-PR = "r1"
-
 SRC_URI = "http://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz"
-SRC_URI[md5sum] = "936a2590aea69fa3c0cf234d54b9137c"
-SRC_URI[sha256sum] = "f52a012df699eff434b0f49e56000d6978b5f781048402ca8e0232242970fc49"
+SRC_URI[md5sum] = "d2dc9398a83692cafc16eba6e45f85d8"
+SRC_URI[sha256sum] = "2ef587cf1a0e52b6dee44eeb9c288110e8180819abf4e419d247dfe234867a5c"
 
 SRC_URI_append_class-native = " file://just-scanner.patch"
 
Signature · 1 line
1.7.10.4
#5 lore raw

PATCH 4/7 weston: install the examples into weston-examples

In reply to Ross Burton
---
 .../wayland/weston/install-examples.patch            |   18 ++++++++++++++++++
 meta/recipes-graphics/wayland/weston_1.0.6.bb        |    6 +++++-
 2 files changed, 23 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-graphics/wayland/weston/install-examples.patch
meta/recipes-graphics/wayland/weston/install-examples.patch new file +18 -0
new file mode 100644
index 0000000..3e2852c
@@ -0,0 +1,18 @@
+Install the examples so we can package them.
+
+Upstream-Status: Pending
+Signed-off-by: Ross Burton <[email protected]>
+
+diff --git a/clients/Makefile.am b/clients/Makefile.am
+index 621c7c3..749ef20 100644
+--- a/clients/Makefile.am
++++ b/clients/Makefile.am
+@@ -2,7 +2,7 @@ bin_PROGRAMS =					\
+ 	weston-info				\
+ 	$(terminal)
+ 
+-noinst_PROGRAMS =				\
++bin_PROGRAMS +=				\
+ 	$(clients_programs)			\
+ 	$(poppler_programs)			\
+ 	$(simple_clients_programs)		\
meta/recipes-graphics/wayland/weston_1.0.6.bb +5 -1
index cb41e05..dd17c03 100644
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=275efac2559a224527bd4fd593d38466 \
                     file://src/compositor.c;endline=23;md5=aa98a8db03480fe7d500d0b1f4b8850c"
 
 SRC_URI = "http://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \
+           file://install-examples.patch \
            file://weston.png \
            file://weston.desktop"
 SRC_URI[md5sum] = "63202129d66d5514e572814da5dfa1f7"
@@ -49,7 +50,10 @@ do_install_append() {
 	done
 }
 
-FILES_${PN} += "${datadir}/applications ${datadir}/icons"
+PACKAGES += "${PN}-examples"
+
+FILES_${PN} = "${bindir}/weston* ${bindir}/wcap-decode ${libexecdir} ${datadir}"
+FILES_${PN}-examples = "${bindir}/*"
 
 RDEPENDS_${PN} += "xkeyboard-config"
 RRECOMMENDS_${PN} = "liberation-fonts"
Signature · 1 line
1.7.10.4
#6 lore raw

PATCH 5/7 weston: add a weston-launch group

In reply to Ross Burton

For weston-launch to be used by a non-root user, the user either needs to be a member of the weston-launch group or own an active systemd user session. Create this group so users can be members of it.

---
 meta/recipes-graphics/wayland/weston_1.0.6.bb |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta/recipes-graphics/wayland/weston_1.0.6.bb +4 -1
index dd17c03..07811f2 100644
@@ -12,7 +12,7 @@ SRC_URI = "http://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \
 SRC_URI[md5sum] = "63202129d66d5514e572814da5dfa1f7"
 SRC_URI[sha256sum] = "c833bc4dc8667561d2639b57220541531c039aa9332ce2a7022a3c466eb894f1"
 
-inherit autotools pkgconfig
+inherit autotools pkgconfig useradd
 
 DEPENDS = "libxkbcommon gdk-pixbuf pixman cairo glib-2.0 mtdev jpeg"
 DEPENDS += "wayland mesa virtual/egl"
@@ -57,3 +57,6 @@ FILES_${PN}-examples = "${bindir}/*"
 
 RDEPENDS_${PN} += "xkeyboard-config"
 RRECOMMENDS_${PN} = "liberation-fonts"
+
+USERADD_PACKAGES = "${PN}"
+GROUPADD_PARAM_${PN} = "--system weston-launch"
Signature · 1 line
1.7.10.4
#7 lore raw

PATCH 6/7 weston: clean up and add comments

In reply to Ross Burton
---
 meta/recipes-graphics/wayland/weston_1.0.6.bb |   14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)
meta/recipes-graphics/wayland/weston_1.0.6.bb +11 -3
index 07811f2..9d5d626 100644
@@ -17,14 +17,21 @@ inherit autotools pkgconfig useradd
 DEPENDS = "libxkbcommon gdk-pixbuf pixman cairo glib-2.0 mtdev jpeg"
 DEPENDS += "wayland mesa virtual/egl"
 
-EXTRA_OECONF  = "--disable-android-compositor --enable-setuid-install"
-EXTRA_OECONF += "--disable-tablet-shell --disable-xwayland"
-EXTRA_OECONF += "--enable-simple-clients --enable-clients --disable-simple-egl-clients"
+EXTRA_OECONF = "--disable-android-compositor \
+                --enable-setuid-install \
+                --disable-tablet-shell \
+                --disable-xwayland \
+                --enable-simple-clients \
+                --enable-clients \
+                --disable-simple-egl-clients"
 
 PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'wayland', 'kms wayland', '', d)} \
                    ${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
                    ${@base_contains('DISTRO_FEATURES', 'opengles2', 'gles', '', d)} \
                   "
+#
+# Compositor choices
+#
 # Weston on KMS
 PACKAGECONFIG[kms] = "--enable-drm-compositor --enable-weston-launch,--disable-drm-compositor --disable-weston-launch,drm udev mesa libpam"
 # Weston on Wayland (nested Weston)
@@ -32,6 +39,7 @@ PACKAGECONFIG[wayland] = "--enable-wayland-compositor,--disable-wayland-composit
 # Weston on X11
 PACKAGECONFIG[x11] = "--enable-x11-compositor,--disable-x11-compositor,virtual/libx11 libxcb libxcb libxcursor cairo"
 
+# Use cairo-gl or cairo-glesv2
 PACKAGECONFIG[gles] = "--with-cairo-glesv2,,virtual/libgles2"
 
 do_install_append() {
Signature · 1 line
1.7.10.4
#8 lore raw

PATCH 7/7 weston: update to 1.1.0

In reply to Ross Burton

Upgrade to 1.1.0, and disable the RaspberryPi and RDP compositors. Hopefully the RPi community can send a patch to add a PACKAGECONFIG for them.

---
 .../wayland/{weston_1.0.6.bb => weston_1.1.0.bb}        |   15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)
 rename meta/recipes-graphics/wayland/{weston_1.0.6.bb => weston_1.1.0.bb} (82%)
meta/recipes-graphics/wayland/weston_1.1.0.bb renamed from meta/recipes-graphics/wayland/weston_1.0.6.bb +12 -3
similarity index 82%
rename from meta/recipes-graphics/wayland/weston_1.0.6.bb
rename to meta/recipes-graphics/wayland/weston_1.1.0.bb
index 9d5d626..026f136 100644
@@ -9,8 +9,9 @@ SRC_URI = "http://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \
            file://install-examples.patch \
            file://weston.png \
            file://weston.desktop"
-SRC_URI[md5sum] = "63202129d66d5514e572814da5dfa1f7"
-SRC_URI[sha256sum] = "c833bc4dc8667561d2639b57220541531c039aa9332ce2a7022a3c466eb894f1"
+SRC_URI[md5sum] = "dd9f3043fc5228c6bc4e99873fae2254"
+SRC_URI[sha256sum] = "e7715d2c731f77a729c994a599ffdaebac1307b2dd9336136706869fa53618b4"
+
 
 inherit autotools pkgconfig useradd
 
@@ -23,7 +24,11 @@ EXTRA_OECONF = "--disable-android-compositor \
                 --disable-xwayland \
                 --enable-simple-clients \
                 --enable-clients \
-                --disable-simple-egl-clients"
+                --disable-simple-egl-clients \
+                --disable-libunwind \
+                --disable-rpi-compositor \
+                --disable-rdp-compositor"
+
 
 PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'wayland', 'kms wayland', '', d)} \
                    ${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
@@ -38,6 +43,10 @@ PACKAGECONFIG[kms] = "--enable-drm-compositor --enable-weston-launch,--disable-d
 PACKAGECONFIG[wayland] = "--enable-wayland-compositor,--disable-wayland-compositor,mesa"
 # Weston on X11
 PACKAGECONFIG[x11] = "--enable-x11-compositor,--disable-x11-compositor,virtual/libx11 libxcb libxcb libxcursor cairo"
+# Headless Weston
+PACKAGECONFIG[headless] = "--enable-headless-compositor,--disable-headless-compositor"
+# Weston on framebuffer
+PACKAGECONFIG[fbdev] = "--enable-fbdev-compositor,--disable-fbdev-compositor,udev mtdev"
 
 # Use cairo-gl or cairo-glesv2
 PACKAGECONFIG[gles] = "--with-cairo-glesv2,,virtual/libgles2"
Signature · 1 line
1.7.10.4