Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/3] Initial wayland integration
@ 2012-12-20 16:48 Alex DAMIAN
  2012-12-20 16:48 ` [PATCH 1/3] Wayland userspace library initial 1.0.3 Alex DAMIAN
                   ` (5 more replies)
  0 siblings, 6 replies; 27+ messages in thread
From: Alex DAMIAN @ 2012-12-20 16:48 UTC (permalink / raw)
  To: openembedded-core, sgw, richard.purdie, ross.burton; +Cc: Alexandru DAMIAN

From: Alexandru DAMIAN <alexandru.damian@intel.com>

Hi,

This is a set of patches that integrate Wayland/Weston 1.0.3 into mainline.

All library dependencies are satisfied, and Weston works under X11 and DRM.

A user must install separately (no hard dependency) the hardware DRM drivers
to be able to run weston on barebone hardware. Hardware drivers built-in 
are the swrast, i915 and i965 (i965 is tested on real hardware).

There is no default integration in any distro, the packages may be installed
through the package manager.

Further improvements will include a wrapper script for weston and integration
in the distro features.

The following changes since commit 90c0eb29f0b41e4ac2d3d17ebad7295c2ebdc02a:

  rootfs_rpm.bbclass: remove debug code (2012-12-19 21:43:55 +0000)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib adamian/wayland/upstream.1
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=adamian/wayland/upstream.1

Alexandru DAMIAN (3):
  Wayland userspace library initial 1.0.3
  Initial commit for wayland/weston 1.0.3
  Prepare mesa-dri for weston compatibility

 meta/recipes-graphics/mesa/mesa-common.inc     |    5 +++-
 meta/recipes-graphics/mesa/mesa-dri.inc        |    1 +
 meta/recipes-graphics/mesa/mesa-dri_git.bb     |    3 ++-
 meta/recipes-graphics/wayland/wayland.inc      |   32 ++++++++++++++++++++++++
 meta/recipes-graphics/wayland/wayland_1.0.3.bb |    7 ++++++
 meta/recipes-graphics/wayland/weston.inc       |   23 +++++++++++++++++
 meta/recipes-graphics/wayland/weston_1.0.3.bb  |    9 +++++++
 7 files changed, 78 insertions(+), 2 deletions(-)
 create mode 100644 meta/recipes-graphics/wayland/wayland.inc
 create mode 100644 meta/recipes-graphics/wayland/wayland_1.0.3.bb
 create mode 100644 meta/recipes-graphics/wayland/weston.inc
 create mode 100644 meta/recipes-graphics/wayland/weston_1.0.3.bb

-- 
1.7.10.4




^ permalink raw reply	[flat|nested] 27+ messages in thread

* [PATCH 1/3] Wayland userspace library initial 1.0.3
  2012-12-20 16:48 [PATCH 0/3] Initial wayland integration Alex DAMIAN
@ 2012-12-20 16:48 ` Alex DAMIAN
  2012-12-20 16:48 ` [PATCH 2/3] Initial commit for wayland/weston 1.0.3 Alex DAMIAN
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 27+ messages in thread
From: Alex DAMIAN @ 2012-12-20 16:48 UTC (permalink / raw)
  To: openembedded-core, sgw, richard.purdie, ross.burton; +Cc: Alexandru DAMIAN

From: Alexandru DAMIAN <alexandru.damian@intel.com>

Wayland is a new protocol a protocol for a client application to
display user interface windows through the use of a compositing
window manager. This package include the specific set of server-side
and client-side C libraries that implement the protocol.

Wayland is hosted on http://wayland.freedesktop.org/

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
---
 meta/recipes-graphics/wayland/wayland.inc      |   32 ++++++++++++++++++++++++
 meta/recipes-graphics/wayland/wayland_1.0.3.bb |    7 ++++++
 2 files changed, 39 insertions(+)
 create mode 100644 meta/recipes-graphics/wayland/wayland.inc
 create mode 100644 meta/recipes-graphics/wayland/wayland_1.0.3.bb

diff --git a/meta/recipes-graphics/wayland/wayland.inc b/meta/recipes-graphics/wayland/wayland.inc
new file mode 100644
index 0000000..4f3ffa9
--- /dev/null
+++ b/meta/recipes-graphics/wayland/wayland.inc
@@ -0,0 +1,32 @@
+inherit autotools pkgconfig
+
+SUMMARY = "Wayland, a protocol between a compositor and clients"
+
+DESCRIPTION = "Wayland is a protocol for a compositor to talk to its clients \
+as well as a C library implementation of that protocol. The compositor can be \
+a standalone display server running on Linux kernel modesetting and evdev \
+input devices, an X application, or a wayland client itself. The clients can \
+be traditional applications, X servers (rootless or fullscreen) or other \
+display servers."
+
+HOMEPAGE = "http://wayland.freedesktop.org"
+SECTION = "wayland/base"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=1d4476a7d98dd5691c53d4d43a510c72"
+
+# needs wayland-native for the wayland-scanner utility
+BBCLASSEXTEND = "native"
+
+DEPENDS_virtclass-native = "expat-native"
+DEPENDS = "expat wayland-native"
+
+EXTRA_OECONF_virtclass-native = "--disable-documentation"
+EXTRA_OECONF = "--disable-documentation --disable-scanner"
+
+# wayland installs a m4 macro for other projects to use. This m4 macro
+# includes a path to a makefile fragment to get the rules to generate
+# stubs from protocol description files.
+do_install_append() {
+  sed -i -e '4,10s,prefix=.*$,prefix=${D}/${prefix},;4,10s,exec_prefix=,exec_prefix=${D}/${exec_prefix},' \
+    ${D}/${datadir}/aclocal/wayland-scanner.m4
+}
diff --git a/meta/recipes-graphics/wayland/wayland_1.0.3.bb b/meta/recipes-graphics/wayland/wayland_1.0.3.bb
new file mode 100644
index 0000000..28dd49b
--- /dev/null
+++ b/meta/recipes-graphics/wayland/wayland_1.0.3.bb
@@ -0,0 +1,7 @@
+require wayland.inc
+
+SRC_URI = "http://wayland.freedesktop.org/releases/wayland-1.0.3.tar.xz"
+SRC_URI[md5sum] = "eebe23571fd4f9ceacc583238e5a8ae9"
+SRC_URI[sha256sum] = "f6be5ee11ba534baaa116350b5efb874bf9963bf3fb18bcf40130317e83a5913"
+
+PR = "r0"
-- 
1.7.10.4




^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [PATCH 2/3] Initial commit for wayland/weston 1.0.3
  2012-12-20 16:48 [PATCH 0/3] Initial wayland integration Alex DAMIAN
  2012-12-20 16:48 ` [PATCH 1/3] Wayland userspace library initial 1.0.3 Alex DAMIAN
@ 2012-12-20 16:48 ` Alex DAMIAN
  2012-12-20 16:48 ` [PATCH 3/3] Prepare mesa-dri for weston compatibility Alex DAMIAN
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 27+ messages in thread
From: Alex DAMIAN @ 2012-12-20 16:48 UTC (permalink / raw)
  To: openembedded-core, sgw, richard.purdie, ross.burton; +Cc: Alexandru DAMIAN

From: Alexandru DAMIAN <alexandru.damian@intel.com>

This patch adds the Weston reference compositing
manager from Wayland.

We add version 1.0.3 which is the latest stable release
in Dec 2012. See the upstream at:

http://wayland.freedesktop.org/releases.html

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
---
 meta/recipes-graphics/wayland/weston.inc      |   23 +++++++++++++++++++++++
 meta/recipes-graphics/wayland/weston_1.0.3.bb |    9 +++++++++
 2 files changed, 32 insertions(+)
 create mode 100644 meta/recipes-graphics/wayland/weston.inc
 create mode 100644 meta/recipes-graphics/wayland/weston_1.0.3.bb

diff --git a/meta/recipes-graphics/wayland/weston.inc b/meta/recipes-graphics/wayland/weston.inc
new file mode 100644
index 0000000..7d26f7f
--- /dev/null
+++ b/meta/recipes-graphics/wayland/weston.inc
@@ -0,0 +1,23 @@
+inherit autotools pkgconfig
+
+SUMMARY = "Weston, a Wayland compositor"
+DESCRIPTION = "Weston is the reference implementation of a Wayland compositor"
+HOMEPAGE = "http://wayland.freedesktop.org"
+SECTION = "wayland/base"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=275efac2559a224527bd4fd593d38466"
+
+DEPENDS = "wayland libxkbcommon gdk-pixbuf pixman cairo glib-2.0 mtdev jpeg"
+DEPENDS += "virtual/egl"
+
+EXTRA_OECONF  = "--enable-wayland-compositor --disable-android-compositor"
+EXTRA_OECONF += "--enable-setuid-install --enable-simple-clients"
+EXTRA_OECONF += "--enable-clients --disable-xwayland"
+
+PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'wayland', 'kms', '', d)} \
+                   ${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
+                   ${@base_contains('DISTRO_FEATURES', 'opengles2', 'gles', '', d)} \
+                  "
+PACKAGECONFIG[kms] = "--enable-drm-compositor,--disable-drm-compositor,drm libgbm libglapi udev wayland-egl libpam"
+PACKAGECONFIG[x11] = "--enable-x11-compositor,--disable-x11-compositor,virtual/libx11 libxcb libxcb libxcursor cairo"
+PACKAGECONFIG[gles] = "--with-cairo-glesv2,,virtual/libgles2"
diff --git a/meta/recipes-graphics/wayland/weston_1.0.3.bb b/meta/recipes-graphics/wayland/weston_1.0.3.bb
new file mode 100644
index 0000000..625965b
--- /dev/null
+++ b/meta/recipes-graphics/wayland/weston_1.0.3.bb
@@ -0,0 +1,9 @@
+require weston.inc
+
+SRC_URI = "http://wayland.freedesktop.org/releases/weston-1.0.3.tar.xz \
+	  "
+SRC_URI[md5sum] = "f82ac2e013e6b6a6303ac4ba7b64c7f2"
+SRC_URI[sha256sum] = "3136a7d2f654ea3e946d4217f7e25321248ad2921f1f4e2504dda58968e04853"
+
+PR = "r0"
+
-- 
1.7.10.4




^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [PATCH 3/3] Prepare mesa-dri for weston compatibility
  2012-12-20 16:48 [PATCH 0/3] Initial wayland integration Alex DAMIAN
  2012-12-20 16:48 ` [PATCH 1/3] Wayland userspace library initial 1.0.3 Alex DAMIAN
  2012-12-20 16:48 ` [PATCH 2/3] Initial commit for wayland/weston 1.0.3 Alex DAMIAN
@ 2012-12-20 16:48 ` Alex DAMIAN
  2012-12-20 17:17   ` Martin Jansa
  2012-12-20 17:20   ` Burton, Ross
  2012-12-21 11:37 ` [PATCH v2 0/3] Initial wayland integration Alex DAMIAN
                   ` (2 subsequent siblings)
  5 siblings, 2 replies; 27+ messages in thread
From: Alex DAMIAN @ 2012-12-20 16:48 UTC (permalink / raw)
  To: openembedded-core, sgw, richard.purdie, ross.burton; +Cc: Alexandru DAMIAN

From: Alexandru DAMIAN <alexandru.damian@intel.com>

This patch enables mesa-git to build wayland-compatible
packages for usage with weston.

It adds wayland platform support, packs the wayland-egl
files, and sets the -git version as preffered provider.

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
---
 meta/recipes-graphics/mesa/mesa-common.inc |    5 ++++-
 meta/recipes-graphics/mesa/mesa-dri.inc    |    1 +
 meta/recipes-graphics/mesa/mesa-dri_git.bb |    3 ++-
 3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-graphics/mesa/mesa-common.inc b/meta/recipes-graphics/mesa/mesa-common.inc
index 70957eb..db1bec4 100644
--- a/meta/recipes-graphics/mesa/mesa-common.inc
+++ b/meta/recipes-graphics/mesa/mesa-common.inc
@@ -18,7 +18,7 @@ PE = "2"
 DEPENDS = "libxml2-native makedepend-native flex-native bison-native"
 
 PROVIDES = "virtual/libgl virtual/libgles1 virtual/libgles2 virtual/egl"
-
+PROVIDES += "wayland-egl libgbm libglapi"
 # for mesa-dri and mesa-xlib
 FILESEXTRAPATHS_append := "${THISDIR}/mesa:"
 
@@ -49,6 +49,7 @@ PACKAGES =+ "libegl-mesa libegl-mesa-dev \
              libgles1-mesa libgles1-mesa-dev \
              libgles2-mesa libgles2-mesa-dev \
              libgles3-mesa libgles3-mesa-dev \
+             wayland-egl wayland-egl-dev \
             "
 
 do_install_append () {
@@ -90,8 +91,10 @@ FILES_libgles2-mesa = "${libdir}/libGLESv2.so.*"
 FILES_libgl-mesa = "${libdir}/libGL.so.*"
 FILES_libglapi = "${libdir}/libglapi.so.*"
 FILES_libosmesa = "${libdir}/libOSMesa.so.*"
+FILES_wayland-egl = "${libdir}/libwayland-egl.so.*"
 
 FILES_${PN}-dev = "${libdir}/pkgconfig/dri.pc"
+FILES_wayland-egl-dev = "${libdir}/pkgconfig/wayland-egl.pc ${libdir}/libwayland-egl.*"
 FILES_libdricore-dev = "${libdir}/libdricore*.*"
 FILES_libegl-mesa-dev = "${libdir}/libEGL.* ${includedir}/EGL ${includedir}/KHR ${libdir}/pkgconfig/egl.pc"
 FILES_libgbm-dev = "${libdir}/libgbm.* ${libdir}/pkgconfig/gbm.pc ${includedir}/gbm.h"
diff --git a/meta/recipes-graphics/mesa/mesa-dri.inc b/meta/recipes-graphics/mesa/mesa-dri.inc
index 07544ab..1f6ec78 100644
--- a/meta/recipes-graphics/mesa/mesa-dri.inc
+++ b/meta/recipes-graphics/mesa/mesa-dri.inc
@@ -13,6 +13,7 @@ PACKAGECONFIG[gles] = "--enable-gles1 --enable-gles2, --disable-gles1 --disable-
 
 EGL_PLATFORMS  = "drm"
 EGL_PLATFORMS .="${@base_contains('DISTRO_FEATURES', 'x11', ',x11', '', d)}"
+EGL_PLATFORMS .="${@base_contains('DISTRO_FEATURES', 'wayland', ',wayland', '', d)}"
 PACKAGECONFIG[egl] = "--enable-egl --with-egl-platforms=${EGL_PLATFORMS}, --disable-egl"
 
 python populate_packages_prepend() {
diff --git a/meta/recipes-graphics/mesa/mesa-dri_git.bb b/meta/recipes-graphics/mesa/mesa-dri_git.bb
index 69a433e..7fd0d39 100644
--- a/meta/recipes-graphics/mesa/mesa-dri_git.bb
+++ b/meta/recipes-graphics/mesa/mesa-dri_git.bb
@@ -3,6 +3,7 @@ require mesa-git.inc
 require mesa-dri.inc
 
 # this needs to be lower than -1 because all mesa-dri have -1 and git version has highest PV, but shouldn't be default
-DEFAULT_PREFERENCE = "-2"
+# adamian - switch to git version
+DEFAULT_PREFERENCE = "1"
 
 PR = "${INC_PR}.0"
-- 
1.7.10.4




^ permalink raw reply related	[flat|nested] 27+ messages in thread

* Re: [PATCH 3/3] Prepare mesa-dri for weston compatibility
  2012-12-20 16:48 ` [PATCH 3/3] Prepare mesa-dri for weston compatibility Alex DAMIAN
@ 2012-12-20 17:17   ` Martin Jansa
  2012-12-20 17:20   ` Burton, Ross
  1 sibling, 0 replies; 27+ messages in thread
From: Martin Jansa @ 2012-12-20 17:17 UTC (permalink / raw)
  To: Alex DAMIAN; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 3801 bytes --]

On Thu, Dec 20, 2012 at 06:48:38PM +0200, Alex DAMIAN wrote:
> From: Alexandru DAMIAN <alexandru.damian@intel.com>
> 
> This patch enables mesa-git to build wayland-compatible
> packages for usage with weston.
> 
> It adds wayland platform support, packs the wayland-egl
> files, and sets the -git version as preffered provider.
> 
> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
> ---
>  meta/recipes-graphics/mesa/mesa-common.inc |    5 ++++-
>  meta/recipes-graphics/mesa/mesa-dri.inc    |    1 +
>  meta/recipes-graphics/mesa/mesa-dri_git.bb |    3 ++-
>  3 files changed, 7 insertions(+), 2 deletions(-)
> 
> diff --git a/meta/recipes-graphics/mesa/mesa-common.inc b/meta/recipes-graphics/mesa/mesa-common.inc
> index 70957eb..db1bec4 100644
> --- a/meta/recipes-graphics/mesa/mesa-common.inc
> +++ b/meta/recipes-graphics/mesa/mesa-common.inc
> @@ -18,7 +18,7 @@ PE = "2"
>  DEPENDS = "libxml2-native makedepend-native flex-native bison-native"
>  
>  PROVIDES = "virtual/libgl virtual/libgles1 virtual/libgles2 virtual/egl"
> -
> +PROVIDES += "wayland-egl libgbm libglapi"
>  # for mesa-dri and mesa-xlib
>  FILESEXTRAPATHS_append := "${THISDIR}/mesa:"
>  
> @@ -49,6 +49,7 @@ PACKAGES =+ "libegl-mesa libegl-mesa-dev \
>               libgles1-mesa libgles1-mesa-dev \
>               libgles2-mesa libgles2-mesa-dev \
>               libgles3-mesa libgles3-mesa-dev \
> +             wayland-egl wayland-egl-dev \
>              "
>  
>  do_install_append () {
> @@ -90,8 +91,10 @@ FILES_libgles2-mesa = "${libdir}/libGLESv2.so.*"
>  FILES_libgl-mesa = "${libdir}/libGL.so.*"
>  FILES_libglapi = "${libdir}/libglapi.so.*"
>  FILES_libosmesa = "${libdir}/libOSMesa.so.*"
> +FILES_wayland-egl = "${libdir}/libwayland-egl.so.*"
>  
>  FILES_${PN}-dev = "${libdir}/pkgconfig/dri.pc"
> +FILES_wayland-egl-dev = "${libdir}/pkgconfig/wayland-egl.pc ${libdir}/libwayland-egl.*"
>  FILES_libdricore-dev = "${libdir}/libdricore*.*"
>  FILES_libegl-mesa-dev = "${libdir}/libEGL.* ${includedir}/EGL ${includedir}/KHR ${libdir}/pkgconfig/egl.pc"
>  FILES_libgbm-dev = "${libdir}/libgbm.* ${libdir}/pkgconfig/gbm.pc ${includedir}/gbm.h"
> diff --git a/meta/recipes-graphics/mesa/mesa-dri.inc b/meta/recipes-graphics/mesa/mesa-dri.inc
> index 07544ab..1f6ec78 100644
> --- a/meta/recipes-graphics/mesa/mesa-dri.inc
> +++ b/meta/recipes-graphics/mesa/mesa-dri.inc
> @@ -13,6 +13,7 @@ PACKAGECONFIG[gles] = "--enable-gles1 --enable-gles2, --disable-gles1 --disable-
>  
>  EGL_PLATFORMS  = "drm"
>  EGL_PLATFORMS .="${@base_contains('DISTRO_FEATURES', 'x11', ',x11', '', d)}"
> +EGL_PLATFORMS .="${@base_contains('DISTRO_FEATURES', 'wayland', ',wayland', '', d)}"
>  PACKAGECONFIG[egl] = "--enable-egl --with-egl-platforms=${EGL_PLATFORMS}, --disable-egl"
>  
>  python populate_packages_prepend() {
> diff --git a/meta/recipes-graphics/mesa/mesa-dri_git.bb b/meta/recipes-graphics/mesa/mesa-dri_git.bb
> index 69a433e..7fd0d39 100644
> --- a/meta/recipes-graphics/mesa/mesa-dri_git.bb
> +++ b/meta/recipes-graphics/mesa/mesa-dri_git.bb
> @@ -3,6 +3,7 @@ require mesa-git.inc
>  require mesa-dri.inc
>  
>  # this needs to be lower than -1 because all mesa-dri have -1 and git version has highest PV, but shouldn't be default
> -DEFAULT_PREFERENCE = "-2"
> +# adamian - switch to git version
> +DEFAULT_PREFERENCE = "1"

Isn't default preference 0 good enough? as meta-dri_git also has highest
PV?

>  
>  PR = "${INC_PR}.0"
> -- 
> 1.7.10.4
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PATCH 3/3] Prepare mesa-dri for weston compatibility
  2012-12-20 16:48 ` [PATCH 3/3] Prepare mesa-dri for weston compatibility Alex DAMIAN
  2012-12-20 17:17   ` Martin Jansa
@ 2012-12-20 17:20   ` Burton, Ross
  2012-12-21 10:10     ` Damian, Alexandru
  1 sibling, 1 reply; 27+ messages in thread
From: Burton, Ross @ 2012-12-20 17:20 UTC (permalink / raw)
  To: Alex DAMIAN; +Cc: openembedded-core

On 20 December 2012 16:48, Alex DAMIAN <alexandru.damian@intel.com> wrote:
> +PROVIDES += "wayland-egl libgbm libglapi"

Remove this.

>  # this needs to be lower than -1 because all mesa-dri have -1 and git version has highest PV, but shouldn't be default
> -DEFAULT_PREFERENCE = "-2"
> +# adamian - switch to git version
> +DEFAULT_PREFERENCE = "1"

Please don't touch this, we can document at the moment that people
need to use mesa-dri-git until the tarball is sufficient (9.0.2 should
work).

I also don't see anything that adds a build-dependency on wayland for
the Wayland EGL backend to build successfully.

Ross



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PATCH 3/3] Prepare mesa-dri for weston compatibility
  2012-12-20 17:20   ` Burton, Ross
@ 2012-12-21 10:10     ` Damian, Alexandru
  2012-12-21 10:53       ` Burton, Ross
  0 siblings, 1 reply; 27+ messages in thread
From: Damian, Alexandru @ 2012-12-21 10:10 UTC (permalink / raw)
  To: Burton, Ross; +Cc: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 1475 bytes --]

On Thu, Dec 20, 2012 at 7:20 PM, Burton, Ross <ross.burton@intel.com> wrote:

> On 20 December 2012 16:48, Alex DAMIAN <alexandru.damian@intel.com> wrote:
> > +PROVIDES += "wayland-egl libgbm libglapi"
>
> Remove this.


Mesa-dri provides these packages, why shouldn't we let the system know ?


> >  # this needs to be lower than -1 because all mesa-dri have -1 and git
> version has highest PV, but shouldn't be default
> > -DEFAULT_PREFERENCE = "-2"
> > +# adamian - switch to git version
> > +DEFAULT_PREFERENCE = "1"
>
> Please don't touch this, we can document at the moment that people
> need to use mesa-dri-git until the tarball is sufficient (9.0.2 should
> work).
>
> Is there any way to prevent weston being built based on mesa-dri version ?


> I also don't see anything that adds a build-dependency on wayland for
> the Wayland EGL backend to build successfully.
>

It fails gracefully if wayland isn't selected.

Alex


>
> Ross
> ---------------------------------------------------------------------
> Intel Corporation (UK) Limited
> Registered No. 1134945 (England)
> Registered Office: Pipers Way, Swindon SN3 1RJ
> VAT No: 860 2173 47
>
> This e-mail and any attachments may contain confidential material for
> the sole use of the intended recipient(s). Any review or distribution
> by others is strictly prohibited. If you are not the intended
> recipient, please contact the sender and delete all copies.
>

[-- Attachment #2: Type: text/html, Size: 2458 bytes --]

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PATCH 3/3] Prepare mesa-dri for weston compatibility
  2012-12-21 10:10     ` Damian, Alexandru
@ 2012-12-21 10:53       ` Burton, Ross
  0 siblings, 0 replies; 27+ messages in thread
From: Burton, Ross @ 2012-12-21 10:53 UTC (permalink / raw)
  To: Damian, Alexandru; +Cc: Patches and discussions about the oe-core layer

On 21 December 2012 10:10, Damian, Alexandru <alexandru.damian@intel.com> wrote:
> Mesa-dri provides these packages, why shouldn't we let the system know ?

Because build-time dependencies are expressed as source packages, not
binary packages.  If you add them to mesa-dri then you'll have to
follow it up with a patch for every recipe that builds more than just
${PN}.

> Is there any way to prevent weston being built based on mesa-dri version ?

I don't see any reason to bother with that at the moment - we'll soon
have mesa 9.0.2 in oe-core so there won't be any problem.

>> I also don't see anything that adds a build-dependency on wayland for
>> the Wayland EGL backend to build successfully.
>
> It fails gracefully if wayland isn't selected.

mesa-dri needs wayland headers for the wayland backend to build, but
there isn't anything pulling in wayland if you enable the distro
feature.

All you need is:

+PACKAGECONFIG ??= "...
+                   ${@base_contains('DISTRO_FEATURES', 'wayland',
'wayland', '', d)} \
+                  "
+
+PACKAGECONFIG[wayland] = ",,wayland"

Ross



^ permalink raw reply	[flat|nested] 27+ messages in thread

* [PATCH v2 0/3] Initial wayland integration
  2012-12-20 16:48 [PATCH 0/3] Initial wayland integration Alex DAMIAN
                   ` (2 preceding siblings ...)
  2012-12-20 16:48 ` [PATCH 3/3] Prepare mesa-dri for weston compatibility Alex DAMIAN
@ 2012-12-21 11:37 ` Alex DAMIAN
  2012-12-21 11:38   ` [PATCH 1/3] Wayland userspace library initial 1.0.3 Alex DAMIAN
                     ` (2 more replies)
  2012-12-21 11:47 ` [PATCH 0/3] Initial wayland integration Burton, Ross
  2012-12-21 12:51 ` [PATCH v3 " Alex DAMIAN
  5 siblings, 3 replies; 27+ messages in thread
From: Alex DAMIAN @ 2012-12-21 11:37 UTC (permalink / raw)
  To: ross.burton, martin.jansa, richard.purdie, openembedded-core, sgw
  Cc: Alexandru DAMIAN

From: Alexandru DAMIAN <alexandru.damian@intel.com>

Hi,

This is a set of patches that integrate Wayland/Weston 1.0.3 into mainline.

All library dependencies are satisfied, and Weston works under X11 and DRM.

A user must install separately (no hard dependency) the hardware DRM drivers
to be able to run weston on barebone hardware. Hardware drivers built-in 
are the swrast, i915 and i965 (i965 is tested on real hardware).

There is no default integration in any distro, the packages may be installed
through the package manager.

Further improvements will include a wrapper script for weston and integration
in the distro features.

The following changes since commit 90c0eb29f0b41e4ac2d3d17ebad7295c2ebdc02a:

  rootfs_rpm.bbclass: remove debug code (2012-12-19 21:43:55 +0000)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib adamian/wayland/upstream.2
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=adamian/wayland/upstream.1

Alexandru DAMIAN (3):
  Wayland userspace library initial 1.0.3
  Initial commit for wayland/weston 1.0.3
  Prepare mesa-dri for weston compatibility

 meta/recipes-graphics/mesa/mesa-common.inc     |   13 +++++++---
 meta/recipes-graphics/mesa/mesa-dri.inc        |    1 +
 meta/recipes-graphics/wayland/wayland.inc      |   32 ++++++++++++++++++++++++
 meta/recipes-graphics/wayland/wayland_1.0.3.bb |    7 ++++++
 meta/recipes-graphics/wayland/weston.inc       |   23 +++++++++++++++++
 meta/recipes-graphics/wayland/weston_1.0.3.bb  |    9 +++++++
 6 files changed, 82 insertions(+), 3 deletions(-)
 create mode 100644 meta/recipes-graphics/wayland/wayland.inc
 create mode 100644 meta/recipes-graphics/wayland/wayland_1.0.3.bb
 create mode 100644 meta/recipes-graphics/wayland/weston.inc
 create mode 100644 meta/recipes-graphics/wayland/weston_1.0.3.bb

-- 
1.7.10.4




^ permalink raw reply	[flat|nested] 27+ messages in thread

* [PATCH 1/3] Wayland userspace library initial 1.0.3
  2012-12-21 11:37 ` [PATCH v2 0/3] Initial wayland integration Alex DAMIAN
@ 2012-12-21 11:38   ` Alex DAMIAN
  2012-12-21 11:46     ` Burton, Ross
  2012-12-21 11:38   ` [PATCH 2/3] Initial commit for wayland/weston 1.0.3 Alex DAMIAN
  2012-12-21 11:38   ` [PATCH 3/3] Prepare mesa-dri for weston compatibility Alex DAMIAN
  2 siblings, 1 reply; 27+ messages in thread
From: Alex DAMIAN @ 2012-12-21 11:38 UTC (permalink / raw)
  To: ross.burton, martin.jansa, richard.purdie, openembedded-core, sgw
  Cc: Alexandru DAMIAN

From: Alexandru DAMIAN <alexandru.damian@intel.com>

Wayland is a new protocol a protocol for a client application to
display user interface windows through the use of a compositing
window manager. This package include the specific set of server-side
and client-side C libraries that implement the protocol.

Wayland is hosted on http://wayland.freedesktop.org/

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
---
 meta/recipes-graphics/wayland/wayland.inc      |   32 ++++++++++++++++++++++++
 meta/recipes-graphics/wayland/wayland_1.0.3.bb |    7 ++++++
 2 files changed, 39 insertions(+)
 create mode 100644 meta/recipes-graphics/wayland/wayland.inc
 create mode 100644 meta/recipes-graphics/wayland/wayland_1.0.3.bb

diff --git a/meta/recipes-graphics/wayland/wayland.inc b/meta/recipes-graphics/wayland/wayland.inc
new file mode 100644
index 0000000..4f3ffa9
--- /dev/null
+++ b/meta/recipes-graphics/wayland/wayland.inc
@@ -0,0 +1,32 @@
+inherit autotools pkgconfig
+
+SUMMARY = "Wayland, a protocol between a compositor and clients"
+
+DESCRIPTION = "Wayland is a protocol for a compositor to talk to its clients \
+as well as a C library implementation of that protocol. The compositor can be \
+a standalone display server running on Linux kernel modesetting and evdev \
+input devices, an X application, or a wayland client itself. The clients can \
+be traditional applications, X servers (rootless or fullscreen) or other \
+display servers."
+
+HOMEPAGE = "http://wayland.freedesktop.org"
+SECTION = "wayland/base"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=1d4476a7d98dd5691c53d4d43a510c72"
+
+# needs wayland-native for the wayland-scanner utility
+BBCLASSEXTEND = "native"
+
+DEPENDS_virtclass-native = "expat-native"
+DEPENDS = "expat wayland-native"
+
+EXTRA_OECONF_virtclass-native = "--disable-documentation"
+EXTRA_OECONF = "--disable-documentation --disable-scanner"
+
+# wayland installs a m4 macro for other projects to use. This m4 macro
+# includes a path to a makefile fragment to get the rules to generate
+# stubs from protocol description files.
+do_install_append() {
+  sed -i -e '4,10s,prefix=.*$,prefix=${D}/${prefix},;4,10s,exec_prefix=,exec_prefix=${D}/${exec_prefix},' \
+    ${D}/${datadir}/aclocal/wayland-scanner.m4
+}
diff --git a/meta/recipes-graphics/wayland/wayland_1.0.3.bb b/meta/recipes-graphics/wayland/wayland_1.0.3.bb
new file mode 100644
index 0000000..28dd49b
--- /dev/null
+++ b/meta/recipes-graphics/wayland/wayland_1.0.3.bb
@@ -0,0 +1,7 @@
+require wayland.inc
+
+SRC_URI = "http://wayland.freedesktop.org/releases/wayland-1.0.3.tar.xz"
+SRC_URI[md5sum] = "eebe23571fd4f9ceacc583238e5a8ae9"
+SRC_URI[sha256sum] = "f6be5ee11ba534baaa116350b5efb874bf9963bf3fb18bcf40130317e83a5913"
+
+PR = "r0"
-- 
1.7.10.4




^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [PATCH 2/3] Initial commit for wayland/weston 1.0.3
  2012-12-21 11:37 ` [PATCH v2 0/3] Initial wayland integration Alex DAMIAN
  2012-12-21 11:38   ` [PATCH 1/3] Wayland userspace library initial 1.0.3 Alex DAMIAN
@ 2012-12-21 11:38   ` Alex DAMIAN
  2012-12-21 11:49     ` Burton, Ross
  2012-12-21 11:38   ` [PATCH 3/3] Prepare mesa-dri for weston compatibility Alex DAMIAN
  2 siblings, 1 reply; 27+ messages in thread
From: Alex DAMIAN @ 2012-12-21 11:38 UTC (permalink / raw)
  To: ross.burton, martin.jansa, richard.purdie, openembedded-core, sgw
  Cc: Alexandru DAMIAN

From: Alexandru DAMIAN <alexandru.damian@intel.com>

This patch adds the Weston reference compositing
manager from Wayland.

We add version 1.0.3 which is the latest stable release
in Dec 2012. See the upstream at:

http://wayland.freedesktop.org/releases.html

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
---
 meta/recipes-graphics/wayland/weston.inc      |   23 +++++++++++++++++++++++
 meta/recipes-graphics/wayland/weston_1.0.3.bb |    9 +++++++++
 2 files changed, 32 insertions(+)
 create mode 100644 meta/recipes-graphics/wayland/weston.inc
 create mode 100644 meta/recipes-graphics/wayland/weston_1.0.3.bb

diff --git a/meta/recipes-graphics/wayland/weston.inc b/meta/recipes-graphics/wayland/weston.inc
new file mode 100644
index 0000000..7d26f7f
--- /dev/null
+++ b/meta/recipes-graphics/wayland/weston.inc
@@ -0,0 +1,23 @@
+inherit autotools pkgconfig
+
+SUMMARY = "Weston, a Wayland compositor"
+DESCRIPTION = "Weston is the reference implementation of a Wayland compositor"
+HOMEPAGE = "http://wayland.freedesktop.org"
+SECTION = "wayland/base"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=275efac2559a224527bd4fd593d38466"
+
+DEPENDS = "wayland libxkbcommon gdk-pixbuf pixman cairo glib-2.0 mtdev jpeg"
+DEPENDS += "virtual/egl"
+
+EXTRA_OECONF  = "--enable-wayland-compositor --disable-android-compositor"
+EXTRA_OECONF += "--enable-setuid-install --enable-simple-clients"
+EXTRA_OECONF += "--enable-clients --disable-xwayland"
+
+PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'wayland', 'kms', '', d)} \
+                   ${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
+                   ${@base_contains('DISTRO_FEATURES', 'opengles2', 'gles', '', d)} \
+                  "
+PACKAGECONFIG[kms] = "--enable-drm-compositor,--disable-drm-compositor,drm libgbm libglapi udev wayland-egl libpam"
+PACKAGECONFIG[x11] = "--enable-x11-compositor,--disable-x11-compositor,virtual/libx11 libxcb libxcb libxcursor cairo"
+PACKAGECONFIG[gles] = "--with-cairo-glesv2,,virtual/libgles2"
diff --git a/meta/recipes-graphics/wayland/weston_1.0.3.bb b/meta/recipes-graphics/wayland/weston_1.0.3.bb
new file mode 100644
index 0000000..625965b
--- /dev/null
+++ b/meta/recipes-graphics/wayland/weston_1.0.3.bb
@@ -0,0 +1,9 @@
+require weston.inc
+
+SRC_URI = "http://wayland.freedesktop.org/releases/weston-1.0.3.tar.xz \
+	  "
+SRC_URI[md5sum] = "f82ac2e013e6b6a6303ac4ba7b64c7f2"
+SRC_URI[sha256sum] = "3136a7d2f654ea3e946d4217f7e25321248ad2921f1f4e2504dda58968e04853"
+
+PR = "r0"
+
-- 
1.7.10.4




^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [PATCH 3/3] Prepare mesa-dri for weston compatibility
  2012-12-21 11:37 ` [PATCH v2 0/3] Initial wayland integration Alex DAMIAN
  2012-12-21 11:38   ` [PATCH 1/3] Wayland userspace library initial 1.0.3 Alex DAMIAN
  2012-12-21 11:38   ` [PATCH 2/3] Initial commit for wayland/weston 1.0.3 Alex DAMIAN
@ 2012-12-21 11:38   ` Alex DAMIAN
  2012-12-21 11:51     ` Burton, Ross
  2 siblings, 1 reply; 27+ messages in thread
From: Alex DAMIAN @ 2012-12-21 11:38 UTC (permalink / raw)
  To: ross.burton, martin.jansa, richard.purdie, openembedded-core, sgw
  Cc: Alexandru DAMIAN

From: Alexandru DAMIAN <alexandru.damian@intel.com>

This patch enables mesa-git to build wayland-compatible
packages for usage with weston.

It adds wayland platform support, packs the wayland-egl
files, and sets the -git version as preffered provider.

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
---
 meta/recipes-graphics/mesa/mesa-common.inc |   13 ++++++++++---
 meta/recipes-graphics/mesa/mesa-dri.inc    |    1 +
 2 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-graphics/mesa/mesa-common.inc b/meta/recipes-graphics/mesa/mesa-common.inc
index 70957eb..65f70e7 100644
--- a/meta/recipes-graphics/mesa/mesa-common.inc
+++ b/meta/recipes-graphics/mesa/mesa-common.inc
@@ -12,13 +12,12 @@ SECTION = "x11"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://docs/license.html;md5=03ccdc4c379c4289aecfb8892c546f67"
 
-INC_PR = "r9"
+INC_PR = "r10"
 PE = "2"
 
 DEPENDS = "libxml2-native makedepend-native flex-native bison-native"
 
 PROVIDES = "virtual/libgl virtual/libgles1 virtual/libgles2 virtual/egl"
-
 # for mesa-dri and mesa-xlib
 FILESEXTRAPATHS_append := "${THISDIR}/mesa:"
 
@@ -29,10 +28,15 @@ EXTRA_OECONF = "--disable-glu \
                 --disable-glut \
                 --enable-shared-glapi"
 
-PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} egl gles"
+PACKAGECONFIG ??= "egl gles \
+		${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}\
+		${@base_contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)}\
+		"
 
 X11_DEPS = "xf86driproto glproto virtual/libx11 libxext libxxf86vm libxdamage libxfixes"
 PACKAGECONFIG[x11] = "--enable-glx-tls,--disable-glx,${X11_DEPS}"
+PACKAGECONFIG[wayland] = ",,wayland"
+
 
 # Multiple virtual/gl providers being built breaks staging
 EXCLUDE_FROM_WORLD = "1"
@@ -49,6 +53,7 @@ PACKAGES =+ "libegl-mesa libegl-mesa-dev \
              libgles1-mesa libgles1-mesa-dev \
              libgles2-mesa libgles2-mesa-dev \
              libgles3-mesa libgles3-mesa-dev \
+             wayland-egl wayland-egl-dev \
             "
 
 do_install_append () {
@@ -90,8 +95,10 @@ FILES_libgles2-mesa = "${libdir}/libGLESv2.so.*"
 FILES_libgl-mesa = "${libdir}/libGL.so.*"
 FILES_libglapi = "${libdir}/libglapi.so.*"
 FILES_libosmesa = "${libdir}/libOSMesa.so.*"
+FILES_wayland-egl = "${libdir}/libwayland-egl.so.*"
 
 FILES_${PN}-dev = "${libdir}/pkgconfig/dri.pc"
+FILES_wayland-egl-dev = "${libdir}/pkgconfig/wayland-egl.pc ${libdir}/libwayland-egl.*"
 FILES_libdricore-dev = "${libdir}/libdricore*.*"
 FILES_libegl-mesa-dev = "${libdir}/libEGL.* ${includedir}/EGL ${includedir}/KHR ${libdir}/pkgconfig/egl.pc"
 FILES_libgbm-dev = "${libdir}/libgbm.* ${libdir}/pkgconfig/gbm.pc ${includedir}/gbm.h"
diff --git a/meta/recipes-graphics/mesa/mesa-dri.inc b/meta/recipes-graphics/mesa/mesa-dri.inc
index 07544ab..1f6ec78 100644
--- a/meta/recipes-graphics/mesa/mesa-dri.inc
+++ b/meta/recipes-graphics/mesa/mesa-dri.inc
@@ -13,6 +13,7 @@ PACKAGECONFIG[gles] = "--enable-gles1 --enable-gles2, --disable-gles1 --disable-
 
 EGL_PLATFORMS  = "drm"
 EGL_PLATFORMS .="${@base_contains('DISTRO_FEATURES', 'x11', ',x11', '', d)}"
+EGL_PLATFORMS .="${@base_contains('DISTRO_FEATURES', 'wayland', ',wayland', '', d)}"
 PACKAGECONFIG[egl] = "--enable-egl --with-egl-platforms=${EGL_PLATFORMS}, --disable-egl"
 
 python populate_packages_prepend() {
-- 
1.7.10.4




^ permalink raw reply related	[flat|nested] 27+ messages in thread

* Re: [PATCH 1/3] Wayland userspace library initial 1.0.3
  2012-12-21 11:38   ` [PATCH 1/3] Wayland userspace library initial 1.0.3 Alex DAMIAN
@ 2012-12-21 11:46     ` Burton, Ross
  0 siblings, 0 replies; 27+ messages in thread
From: Burton, Ross @ 2012-12-21 11:46 UTC (permalink / raw)
  To: Alex DAMIAN; +Cc: openembedded-core

On 21 December 2012 11:38, Alex DAMIAN <alexandru.damian@intel.com> wrote:
> From: Alexandru DAMIAN <alexandru.damian@intel.com>
>
> Wayland is a new protocol a protocol for a client application to
> display user interface windows through the use of a compositing
> window manager. This package include the specific set of server-side
> and client-side C libraries that implement the protocol.

The ordering of the fields is a bit unusual,
http://www.openembedded.org/wiki/Styleguide has a rough preferred
order that's great to follow.

Also, no need to introduce PR with new recipes in oe-core.

Ross



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PATCH 0/3] Initial wayland integration
  2012-12-20 16:48 [PATCH 0/3] Initial wayland integration Alex DAMIAN
                   ` (3 preceding siblings ...)
  2012-12-21 11:37 ` [PATCH v2 0/3] Initial wayland integration Alex DAMIAN
@ 2012-12-21 11:47 ` Burton, Ross
  2012-12-21 12:38   ` Damian, Alexandru
  2012-12-21 12:51 ` [PATCH v3 " Alex DAMIAN
  5 siblings, 1 reply; 27+ messages in thread
From: Burton, Ross @ 2012-12-21 11:47 UTC (permalink / raw)
  To: Alex DAMIAN; +Cc: openembedded-core

On 20 December 2012 16:48, Alex DAMIAN <alexandru.damian@intel.com> wrote:
>   Wayland userspace library initial 1.0.3
>   Initial commit for wayland/weston 1.0.3
>   Prepare mesa-dri for weston compatibility

Ordering seems wrong - shouldn't it be wayland, mesa-dri, weston?

Ross



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PATCH 2/3] Initial commit for wayland/weston 1.0.3
  2012-12-21 11:38   ` [PATCH 2/3] Initial commit for wayland/weston 1.0.3 Alex DAMIAN
@ 2012-12-21 11:49     ` Burton, Ross
  0 siblings, 0 replies; 27+ messages in thread
From: Burton, Ross @ 2012-12-21 11:49 UTC (permalink / raw)
  To: Alex DAMIAN; +Cc: openembedded-core

On 21 December 2012 11:38, Alex DAMIAN <alexandru.damian@intel.com> wrote:
> From: Alexandru DAMIAN <alexandru.damian@intel.com>
>
> This patch adds the Weston reference compositing
> manager from Wayland.

Same comments as wayland, fix ordering and remove PR.

If I have wayland, x11 and gles features so it supports all of the
compositors, what happens?  Are there multiple binaries, or a single
binary that can act as wayland-on-X11 and wayland-on-DRM?

Ross



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PATCH 3/3] Prepare mesa-dri for weston compatibility
  2012-12-21 11:38   ` [PATCH 3/3] Prepare mesa-dri for weston compatibility Alex DAMIAN
@ 2012-12-21 11:51     ` Burton, Ross
  0 siblings, 0 replies; 27+ messages in thread
From: Burton, Ross @ 2012-12-21 11:51 UTC (permalink / raw)
  To: Alex DAMIAN; +Cc: openembedded-core

On 21 December 2012 11:38, Alex DAMIAN <alexandru.damian@intel.com> wrote:
> From: Alexandru DAMIAN <alexandru.damian@intel.com>
>
> This patch enables mesa-git to build wayland-compatible
> packages for usage with weston.
>
> It adds wayland platform support, packs the wayland-egl
> files, and sets the -git version as preffered provider.

This message isn't right anymore.

> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
> ---
>  meta/recipes-graphics/mesa/mesa-common.inc |   13 ++++++++++---
>  meta/recipes-graphics/mesa/mesa-dri.inc    |    1 +
>  2 files changed, 11 insertions(+), 3 deletions(-)
>
> diff --git a/meta/recipes-graphics/mesa/mesa-common.inc b/meta/recipes-graphics/mesa/mesa-common.inc
> index 70957eb..65f70e7 100644
> --- a/meta/recipes-graphics/mesa/mesa-common.inc
> +++ b/meta/recipes-graphics/mesa/mesa-common.inc
> @@ -12,13 +12,12 @@ SECTION = "x11"
>  LICENSE = "MIT"
>  LIC_FILES_CHKSUM = "file://docs/license.html;md5=03ccdc4c379c4289aecfb8892c546f67"
>
> -INC_PR = "r9"
> +INC_PR = "r10"
>  PE = "2"

No need to fiddle PR in oe-core.

>  DEPENDS = "libxml2-native makedepend-native flex-native bison-native"
>
>  PROVIDES = "virtual/libgl virtual/libgles1 virtual/libgles2 virtual/egl"
> -

Please restore this whitespace.

Ross



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PATCH 0/3] Initial wayland integration
  2012-12-21 11:47 ` [PATCH 0/3] Initial wayland integration Burton, Ross
@ 2012-12-21 12:38   ` Damian, Alexandru
  2012-12-21 12:43     ` Burton, Ross
  0 siblings, 1 reply; 27+ messages in thread
From: Damian, Alexandru @ 2012-12-21 12:38 UTC (permalink / raw)
  To: Burton, Ross; +Cc: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 1172 bytes --]

Actually, I'm thinking like this:

- wayland, weston - initial commits
- mesa-dri - only patches.

It makes sense in my mind to add first the commits and then enable the
recipe change,
especially when it's not gonna work by default anyway (since mesa-git isn't
enabled).

Alex


On Fri, Dec 21, 2012 at 1:47 PM, Burton, Ross <ross.burton@intel.com> wrote:

> On 20 December 2012 16:48, Alex DAMIAN <alexandru.damian@intel.com> wrote:
> >   Wayland userspace library initial 1.0.3
> >   Initial commit for wayland/weston 1.0.3
> >   Prepare mesa-dri for weston compatibility
>
> Ordering seems wrong - shouldn't it be wayland, mesa-dri, weston?
>
> Ross
> ---------------------------------------------------------------------
> Intel Corporation (UK) Limited
> Registered No. 1134945 (England)
> Registered Office: Pipers Way, Swindon SN3 1RJ
> VAT No: 860 2173 47
>
> This e-mail and any attachments may contain confidential material for
> the sole use of the intended recipient(s). Any review or distribution
> by others is strictly prohibited. If you are not the intended
> recipient, please contact the sender and delete all copies.
>

[-- Attachment #2: Type: text/html, Size: 1734 bytes --]

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PATCH 0/3] Initial wayland integration
  2012-12-21 12:38   ` Damian, Alexandru
@ 2012-12-21 12:43     ` Burton, Ross
  2012-12-21 12:45       ` Damian, Alexandru
  0 siblings, 1 reply; 27+ messages in thread
From: Burton, Ross @ 2012-12-21 12:43 UTC (permalink / raw)
  To: Damian, Alexandru; +Cc: Patches and discussions about the oe-core layer

On 21 December 2012 12:38, Damian, Alexandru <alexandru.damian@intel.com> wrote:
> Actually, I'm thinking like this:
>
> - wayland, weston - initial commits
> - mesa-dri - only patches.
>
> It makes sense in my mind to add first the commits and then enable the
> recipe change,
> especially when it's not gonna work by default anyway (since mesa-git isn't
> enabled).

At patch 2/3 you have a weston package that doesn't build.  Reodering
to wayland/mesa/weston means you:

- add wayland protocol
- enable wayland in mesa
- add weston

It's a logical series of patches, the categorisation of patches vs new
recipes is irrelevant.

Ross



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PATCH 0/3] Initial wayland integration
  2012-12-21 12:43     ` Burton, Ross
@ 2012-12-21 12:45       ` Damian, Alexandru
  0 siblings, 0 replies; 27+ messages in thread
From: Damian, Alexandru @ 2012-12-21 12:45 UTC (permalink / raw)
  To: Burton, Ross; +Cc: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 1313 bytes --]

Incoming reordered patches.


On Fri, Dec 21, 2012 at 2:43 PM, Burton, Ross <ross.burton@intel.com> wrote:

> On 21 December 2012 12:38, Damian, Alexandru <alexandru.damian@intel.com>
> wrote:
> > Actually, I'm thinking like this:
> >
> > - wayland, weston - initial commits
> > - mesa-dri - only patches.
> >
> > It makes sense in my mind to add first the commits and then enable the
> > recipe change,
> > especially when it's not gonna work by default anyway (since mesa-git
> isn't
> > enabled).
>
> At patch 2/3 you have a weston package that doesn't build.  Reodering
> to wayland/mesa/weston means you:
>
> - add wayland protocol
> - enable wayland in mesa
> - add weston
>
> It's a logical series of patches, the categorisation of patches vs new
> recipes is irrelevant.
>
> Ross
> ---------------------------------------------------------------------
> Intel Corporation (UK) Limited
> Registered No. 1134945 (England)
> Registered Office: Pipers Way, Swindon SN3 1RJ
> VAT No: 860 2173 47
>
> This e-mail and any attachments may contain confidential material for
> the sole use of the intended recipient(s). Any review or distribution
> by others is strictly prohibited. If you are not the intended
> recipient, please contact the sender and delete all copies.
>

[-- Attachment #2: Type: text/html, Size: 1842 bytes --]

^ permalink raw reply	[flat|nested] 27+ messages in thread

* [PATCH v3 0/3] Initial wayland integration
  2012-12-20 16:48 [PATCH 0/3] Initial wayland integration Alex DAMIAN
                   ` (4 preceding siblings ...)
  2012-12-21 11:47 ` [PATCH 0/3] Initial wayland integration Burton, Ross
@ 2012-12-21 12:51 ` Alex DAMIAN
  2012-12-21 12:51   ` [PATCH 1/3] Wayland userspace library initial 1.0.3 Alex DAMIAN
                     ` (2 more replies)
  5 siblings, 3 replies; 27+ messages in thread
From: Alex DAMIAN @ 2012-12-21 12:51 UTC (permalink / raw)
  To: openembedded-core, sgw, richard.purdie, ross.burton, martin.jansa
  Cc: Alexandru DAMIAN

From: Alexandru DAMIAN <alexandru.damian@intel.com>


Hi,

This is a set of patches that integrate Wayland/Weston 1.0.3 into mainline.

All library dependencies are satisfied, and Weston works under X11 and DRM.

A user must install separately (no hard dependency) the hardware DRM drivers
to be able to run weston on barebone hardware. Hardware drivers built-in
are the swrast, i915 and i965 (i965 is tested on real hardware).

There is no default integration in any distro, the packages may be installed
through the package manager.

Further improvements will include a wrapper script for weston and integration
in the distro features.

The following changes since commit 90c0eb29f0b41e4ac2d3d17ebad7295c2ebdc02a:

  rootfs_rpm.bbclass: remove debug code (2012-12-19 21:43:55 +0000)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib adamian/wayland/upstream.3
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=adamian/wayland/upstream.1

Alexandru DAMIAN (3):
  Wayland userspace library initial 1.0.3
  Prepare mesa-dri for weston compatibility
  Initial commit for wayland/weston 1.0.3

 meta/recipes-graphics/mesa/mesa-common.inc     |   13 +++++++---
 meta/recipes-graphics/mesa/mesa-dri.inc        |    1 +
 meta/recipes-graphics/wayland/wayland.inc      |   32 ++++++++++++++++++++++++
 meta/recipes-graphics/wayland/wayland_1.0.3.bb |    7 ++++++
 meta/recipes-graphics/wayland/weston.inc       |   23 +++++++++++++++++
 meta/recipes-graphics/wayland/weston_1.0.3.bb  |    9 +++++++
 6 files changed, 82 insertions(+), 3 deletions(-)
 create mode 100644 meta/recipes-graphics/wayland/wayland.inc
 create mode 100644 meta/recipes-graphics/wayland/wayland_1.0.3.bb
 create mode 100644 meta/recipes-graphics/wayland/weston.inc
 create mode 100644 meta/recipes-graphics/wayland/weston_1.0.3.bb

-- 
1.7.10.4




^ permalink raw reply	[flat|nested] 27+ messages in thread

* [PATCH 1/3] Wayland userspace library initial 1.0.3
  2012-12-21 12:51 ` [PATCH v3 " Alex DAMIAN
@ 2012-12-21 12:51   ` Alex DAMIAN
  2012-12-21 12:51   ` [PATCH 2/3] Prepare mesa-dri for weston compatibility Alex DAMIAN
  2012-12-21 12:51   ` [PATCH 3/3] Initial commit for wayland/weston 1.0.3 Alex DAMIAN
  2 siblings, 0 replies; 27+ messages in thread
From: Alex DAMIAN @ 2012-12-21 12:51 UTC (permalink / raw)
  To: openembedded-core, sgw, richard.purdie, ross.burton, martin.jansa
  Cc: Alexandru DAMIAN

From: Alexandru DAMIAN <alexandru.damian@intel.com>

Wayland is a new protocol a protocol for a client application to
display user interface windows through the use of a compositing
window manager. This package include the specific set of server-side
and client-side C libraries that implement the protocol.

Wayland is hosted on http://wayland.freedesktop.org/

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
---
 meta/recipes-graphics/wayland/wayland.inc      |   32 ++++++++++++++++++++++++
 meta/recipes-graphics/wayland/wayland_1.0.3.bb |    7 ++++++
 2 files changed, 39 insertions(+)
 create mode 100644 meta/recipes-graphics/wayland/wayland.inc
 create mode 100644 meta/recipes-graphics/wayland/wayland_1.0.3.bb

diff --git a/meta/recipes-graphics/wayland/wayland.inc b/meta/recipes-graphics/wayland/wayland.inc
new file mode 100644
index 0000000..4f3ffa9
--- /dev/null
+++ b/meta/recipes-graphics/wayland/wayland.inc
@@ -0,0 +1,32 @@
+inherit autotools pkgconfig
+
+SUMMARY = "Wayland, a protocol between a compositor and clients"
+
+DESCRIPTION = "Wayland is a protocol for a compositor to talk to its clients \
+as well as a C library implementation of that protocol. The compositor can be \
+a standalone display server running on Linux kernel modesetting and evdev \
+input devices, an X application, or a wayland client itself. The clients can \
+be traditional applications, X servers (rootless or fullscreen) or other \
+display servers."
+
+HOMEPAGE = "http://wayland.freedesktop.org"
+SECTION = "wayland/base"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=1d4476a7d98dd5691c53d4d43a510c72"
+
+# needs wayland-native for the wayland-scanner utility
+BBCLASSEXTEND = "native"
+
+DEPENDS_virtclass-native = "expat-native"
+DEPENDS = "expat wayland-native"
+
+EXTRA_OECONF_virtclass-native = "--disable-documentation"
+EXTRA_OECONF = "--disable-documentation --disable-scanner"
+
+# wayland installs a m4 macro for other projects to use. This m4 macro
+# includes a path to a makefile fragment to get the rules to generate
+# stubs from protocol description files.
+do_install_append() {
+  sed -i -e '4,10s,prefix=.*$,prefix=${D}/${prefix},;4,10s,exec_prefix=,exec_prefix=${D}/${exec_prefix},' \
+    ${D}/${datadir}/aclocal/wayland-scanner.m4
+}
diff --git a/meta/recipes-graphics/wayland/wayland_1.0.3.bb b/meta/recipes-graphics/wayland/wayland_1.0.3.bb
new file mode 100644
index 0000000..28dd49b
--- /dev/null
+++ b/meta/recipes-graphics/wayland/wayland_1.0.3.bb
@@ -0,0 +1,7 @@
+require wayland.inc
+
+SRC_URI = "http://wayland.freedesktop.org/releases/wayland-1.0.3.tar.xz"
+SRC_URI[md5sum] = "eebe23571fd4f9ceacc583238e5a8ae9"
+SRC_URI[sha256sum] = "f6be5ee11ba534baaa116350b5efb874bf9963bf3fb18bcf40130317e83a5913"
+
+PR = "r0"
-- 
1.7.10.4




^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [PATCH 2/3] Prepare mesa-dri for weston compatibility
  2012-12-21 12:51 ` [PATCH v3 " Alex DAMIAN
  2012-12-21 12:51   ` [PATCH 1/3] Wayland userspace library initial 1.0.3 Alex DAMIAN
@ 2012-12-21 12:51   ` Alex DAMIAN
  2012-12-21 16:49     ` Burton, Ross
  2012-12-21 12:51   ` [PATCH 3/3] Initial commit for wayland/weston 1.0.3 Alex DAMIAN
  2 siblings, 1 reply; 27+ messages in thread
From: Alex DAMIAN @ 2012-12-21 12:51 UTC (permalink / raw)
  To: openembedded-core, sgw, richard.purdie, ross.burton, martin.jansa
  Cc: Alexandru DAMIAN

From: Alexandru DAMIAN <alexandru.damian@intel.com>

This patch enables mesa-git to build wayland-compatible
packages for usage with weston.

It adds wayland platform support, packs the wayland-egl
files, and sets the -git version as preffered provider.

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
---
 meta/recipes-graphics/mesa/mesa-common.inc |   13 ++++++++++---
 meta/recipes-graphics/mesa/mesa-dri.inc    |    1 +
 2 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-graphics/mesa/mesa-common.inc b/meta/recipes-graphics/mesa/mesa-common.inc
index 70957eb..65f70e7 100644
--- a/meta/recipes-graphics/mesa/mesa-common.inc
+++ b/meta/recipes-graphics/mesa/mesa-common.inc
@@ -12,13 +12,12 @@ SECTION = "x11"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://docs/license.html;md5=03ccdc4c379c4289aecfb8892c546f67"
 
-INC_PR = "r9"
+INC_PR = "r10"
 PE = "2"
 
 DEPENDS = "libxml2-native makedepend-native flex-native bison-native"
 
 PROVIDES = "virtual/libgl virtual/libgles1 virtual/libgles2 virtual/egl"
-
 # for mesa-dri and mesa-xlib
 FILESEXTRAPATHS_append := "${THISDIR}/mesa:"
 
@@ -29,10 +28,15 @@ EXTRA_OECONF = "--disable-glu \
                 --disable-glut \
                 --enable-shared-glapi"
 
-PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} egl gles"
+PACKAGECONFIG ??= "egl gles \
+		${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}\
+		${@base_contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)}\
+		"
 
 X11_DEPS = "xf86driproto glproto virtual/libx11 libxext libxxf86vm libxdamage libxfixes"
 PACKAGECONFIG[x11] = "--enable-glx-tls,--disable-glx,${X11_DEPS}"
+PACKAGECONFIG[wayland] = ",,wayland"
+
 
 # Multiple virtual/gl providers being built breaks staging
 EXCLUDE_FROM_WORLD = "1"
@@ -49,6 +53,7 @@ PACKAGES =+ "libegl-mesa libegl-mesa-dev \
              libgles1-mesa libgles1-mesa-dev \
              libgles2-mesa libgles2-mesa-dev \
              libgles3-mesa libgles3-mesa-dev \
+             wayland-egl wayland-egl-dev \
             "
 
 do_install_append () {
@@ -90,8 +95,10 @@ FILES_libgles2-mesa = "${libdir}/libGLESv2.so.*"
 FILES_libgl-mesa = "${libdir}/libGL.so.*"
 FILES_libglapi = "${libdir}/libglapi.so.*"
 FILES_libosmesa = "${libdir}/libOSMesa.so.*"
+FILES_wayland-egl = "${libdir}/libwayland-egl.so.*"
 
 FILES_${PN}-dev = "${libdir}/pkgconfig/dri.pc"
+FILES_wayland-egl-dev = "${libdir}/pkgconfig/wayland-egl.pc ${libdir}/libwayland-egl.*"
 FILES_libdricore-dev = "${libdir}/libdricore*.*"
 FILES_libegl-mesa-dev = "${libdir}/libEGL.* ${includedir}/EGL ${includedir}/KHR ${libdir}/pkgconfig/egl.pc"
 FILES_libgbm-dev = "${libdir}/libgbm.* ${libdir}/pkgconfig/gbm.pc ${includedir}/gbm.h"
diff --git a/meta/recipes-graphics/mesa/mesa-dri.inc b/meta/recipes-graphics/mesa/mesa-dri.inc
index 07544ab..1f6ec78 100644
--- a/meta/recipes-graphics/mesa/mesa-dri.inc
+++ b/meta/recipes-graphics/mesa/mesa-dri.inc
@@ -13,6 +13,7 @@ PACKAGECONFIG[gles] = "--enable-gles1 --enable-gles2, --disable-gles1 --disable-
 
 EGL_PLATFORMS  = "drm"
 EGL_PLATFORMS .="${@base_contains('DISTRO_FEATURES', 'x11', ',x11', '', d)}"
+EGL_PLATFORMS .="${@base_contains('DISTRO_FEATURES', 'wayland', ',wayland', '', d)}"
 PACKAGECONFIG[egl] = "--enable-egl --with-egl-platforms=${EGL_PLATFORMS}, --disable-egl"
 
 python populate_packages_prepend() {
-- 
1.7.10.4




^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [PATCH 3/3] Initial commit for wayland/weston 1.0.3
  2012-12-21 12:51 ` [PATCH v3 " Alex DAMIAN
  2012-12-21 12:51   ` [PATCH 1/3] Wayland userspace library initial 1.0.3 Alex DAMIAN
  2012-12-21 12:51   ` [PATCH 2/3] Prepare mesa-dri for weston compatibility Alex DAMIAN
@ 2012-12-21 12:51   ` Alex DAMIAN
  2012-12-21 15:46     ` Burton, Ross
  2 siblings, 1 reply; 27+ messages in thread
From: Alex DAMIAN @ 2012-12-21 12:51 UTC (permalink / raw)
  To: openembedded-core, sgw, richard.purdie, ross.burton, martin.jansa
  Cc: Alexandru DAMIAN

From: Alexandru DAMIAN <alexandru.damian@intel.com>

This patch adds the Weston reference compositing
manager from Wayland.

We add version 1.0.3 which is the latest stable release
in Dec 2012. See the upstream at:

http://wayland.freedesktop.org/releases.html

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
---
 meta/recipes-graphics/wayland/weston.inc      |   23 +++++++++++++++++++++++
 meta/recipes-graphics/wayland/weston_1.0.3.bb |    9 +++++++++
 2 files changed, 32 insertions(+)
 create mode 100644 meta/recipes-graphics/wayland/weston.inc
 create mode 100644 meta/recipes-graphics/wayland/weston_1.0.3.bb

diff --git a/meta/recipes-graphics/wayland/weston.inc b/meta/recipes-graphics/wayland/weston.inc
new file mode 100644
index 0000000..7d26f7f
--- /dev/null
+++ b/meta/recipes-graphics/wayland/weston.inc
@@ -0,0 +1,23 @@
+inherit autotools pkgconfig
+
+SUMMARY = "Weston, a Wayland compositor"
+DESCRIPTION = "Weston is the reference implementation of a Wayland compositor"
+HOMEPAGE = "http://wayland.freedesktop.org"
+SECTION = "wayland/base"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=275efac2559a224527bd4fd593d38466"
+
+DEPENDS = "wayland libxkbcommon gdk-pixbuf pixman cairo glib-2.0 mtdev jpeg"
+DEPENDS += "virtual/egl"
+
+EXTRA_OECONF  = "--enable-wayland-compositor --disable-android-compositor"
+EXTRA_OECONF += "--enable-setuid-install --enable-simple-clients"
+EXTRA_OECONF += "--enable-clients --disable-xwayland"
+
+PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'wayland', 'kms', '', d)} \
+                   ${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
+                   ${@base_contains('DISTRO_FEATURES', 'opengles2', 'gles', '', d)} \
+                  "
+PACKAGECONFIG[kms] = "--enable-drm-compositor,--disable-drm-compositor,drm libgbm libglapi udev wayland-egl libpam"
+PACKAGECONFIG[x11] = "--enable-x11-compositor,--disable-x11-compositor,virtual/libx11 libxcb libxcb libxcursor cairo"
+PACKAGECONFIG[gles] = "--with-cairo-glesv2,,virtual/libgles2"
diff --git a/meta/recipes-graphics/wayland/weston_1.0.3.bb b/meta/recipes-graphics/wayland/weston_1.0.3.bb
new file mode 100644
index 0000000..625965b
--- /dev/null
+++ b/meta/recipes-graphics/wayland/weston_1.0.3.bb
@@ -0,0 +1,9 @@
+require weston.inc
+
+SRC_URI = "http://wayland.freedesktop.org/releases/weston-1.0.3.tar.xz \
+	  "
+SRC_URI[md5sum] = "f82ac2e013e6b6a6303ac4ba7b64c7f2"
+SRC_URI[sha256sum] = "3136a7d2f654ea3e946d4217f7e25321248ad2921f1f4e2504dda58968e04853"
+
+PR = "r0"
+
-- 
1.7.10.4




^ permalink raw reply related	[flat|nested] 27+ messages in thread

* Re: [PATCH 3/3] Initial commit for wayland/weston 1.0.3
  2012-12-21 12:51   ` [PATCH 3/3] Initial commit for wayland/weston 1.0.3 Alex DAMIAN
@ 2012-12-21 15:46     ` Burton, Ross
  2012-12-24  8:00       ` Damian, Alexandru
  0 siblings, 1 reply; 27+ messages in thread
From: Burton, Ross @ 2012-12-21 15:46 UTC (permalink / raw)
  To: Alex DAMIAN; +Cc: openembedded-core

On 21 December 2012 12:51, Alex DAMIAN <alexandru.damian@intel.com> wrote:
> From: Alexandru DAMIAN <alexandru.damian@intel.com>
>
> This patch adds the Weston reference compositing
> manager from Wayland.

How does one test this?  Instructions on how to get a nested weston
under X would be great, and something that can be used to verify that
weston is drawing correctly - be it a set of toy apps, the terminal,
or something else.

Ross



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PATCH 2/3] Prepare mesa-dri for weston compatibility
  2012-12-21 12:51   ` [PATCH 2/3] Prepare mesa-dri for weston compatibility Alex DAMIAN
@ 2012-12-21 16:49     ` Burton, Ross
  0 siblings, 0 replies; 27+ messages in thread
From: Burton, Ross @ 2012-12-21 16:49 UTC (permalink / raw)
  To: Alex DAMIAN; +Cc: martin.jansa, openembedded-core

On 21 December 2012 12:51, Alex DAMIAN <alexandru.damian@intel.com> wrote:
> From: Alexandru DAMIAN <alexandru.damian@intel.com>
>
> This patch enables mesa-git to build wayland-compatible
> packages for usage with weston.
>
> It adds wayland platform support, packs the wayland-egl
> files, and sets the -git version as preffered provider.

This and the other comments from my last review still stand.

Ross



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PATCH 3/3] Initial commit for wayland/weston 1.0.3
  2012-12-21 15:46     ` Burton, Ross
@ 2012-12-24  8:00       ` Damian, Alexandru
  2012-12-24  9:14         ` Ross Burton
  0 siblings, 1 reply; 27+ messages in thread
From: Damian, Alexandru @ 2012-12-24  8:00 UTC (permalink / raw)
  To: Burton, Ross; +Cc: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 1373 bytes --]

One should follow the wayland website for HOWTO-s and testing
instructions.

Opening a terminal emulator and starting "weston" is the easiest way
to get started, regardless if one is under X or in console.

I don't think the patch comment is the proper place to document this,
should I add a wiki page ?

Alex


On Fri, Dec 21, 2012 at 5:46 PM, Burton, Ross <ross.burton@intel.com> wrote:

> On 21 December 2012 12:51, Alex DAMIAN <alexandru.damian@intel.com> wrote:
> > From: Alexandru DAMIAN <alexandru.damian@intel.com>
> >
> > This patch adds the Weston reference compositing
> > manager from Wayland.
>
> How does one test this?  Instructions on how to get a nested weston
> under X would be great, and something that can be used to verify that
> weston is drawing correctly - be it a set of toy apps, the terminal,
> or something else.
>
> Ross
> ---------------------------------------------------------------------
> Intel Corporation (UK) Limited
> Registered No. 1134945 (England)
> Registered Office: Pipers Way, Swindon SN3 1RJ
> VAT No: 860 2173 47
>
> This e-mail and any attachments may contain confidential material for
> the sole use of the intended recipient(s). Any review or distribution
> by others is strictly prohibited. If you are not the intended
> recipient, please contact the sender and delete all copies.
>

[-- Attachment #2: Type: text/html, Size: 2013 bytes --]

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PATCH 3/3] Initial commit for wayland/weston 1.0.3
  2012-12-24  8:00       ` Damian, Alexandru
@ 2012-12-24  9:14         ` Ross Burton
  0 siblings, 0 replies; 27+ messages in thread
From: Ross Burton @ 2012-12-24  9:14 UTC (permalink / raw)
  To: Damian, Alexandru; +Cc: Patches and discussions about the oe-core layer

On Monday, 24 December 2012 at 08:00, Damian, Alexandru wrote:
> One should follow the wayland website for HOWTO-s and testing 
> instructions. 
> 
> Opening a terminal emulator and starting "weston" is the easiest way 
> to get started, regardless if one is under X or in console.
> 
> I don't think the patch comment is the proper place to document this,
> should I add a wiki page ?

Yes, a wiki page with status, known issues, and what's next is a good idea.

Ross 





^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2012-12-24  9:29 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-20 16:48 [PATCH 0/3] Initial wayland integration Alex DAMIAN
2012-12-20 16:48 ` [PATCH 1/3] Wayland userspace library initial 1.0.3 Alex DAMIAN
2012-12-20 16:48 ` [PATCH 2/3] Initial commit for wayland/weston 1.0.3 Alex DAMIAN
2012-12-20 16:48 ` [PATCH 3/3] Prepare mesa-dri for weston compatibility Alex DAMIAN
2012-12-20 17:17   ` Martin Jansa
2012-12-20 17:20   ` Burton, Ross
2012-12-21 10:10     ` Damian, Alexandru
2012-12-21 10:53       ` Burton, Ross
2012-12-21 11:37 ` [PATCH v2 0/3] Initial wayland integration Alex DAMIAN
2012-12-21 11:38   ` [PATCH 1/3] Wayland userspace library initial 1.0.3 Alex DAMIAN
2012-12-21 11:46     ` Burton, Ross
2012-12-21 11:38   ` [PATCH 2/3] Initial commit for wayland/weston 1.0.3 Alex DAMIAN
2012-12-21 11:49     ` Burton, Ross
2012-12-21 11:38   ` [PATCH 3/3] Prepare mesa-dri for weston compatibility Alex DAMIAN
2012-12-21 11:51     ` Burton, Ross
2012-12-21 11:47 ` [PATCH 0/3] Initial wayland integration Burton, Ross
2012-12-21 12:38   ` Damian, Alexandru
2012-12-21 12:43     ` Burton, Ross
2012-12-21 12:45       ` Damian, Alexandru
2012-12-21 12:51 ` [PATCH v3 " Alex DAMIAN
2012-12-21 12:51   ` [PATCH 1/3] Wayland userspace library initial 1.0.3 Alex DAMIAN
2012-12-21 12:51   ` [PATCH 2/3] Prepare mesa-dri for weston compatibility Alex DAMIAN
2012-12-21 16:49     ` Burton, Ross
2012-12-21 12:51   ` [PATCH 3/3] Initial commit for wayland/weston 1.0.3 Alex DAMIAN
2012-12-21 15:46     ` Burton, Ross
2012-12-24  8:00       ` Damian, Alexandru
2012-12-24  9:14         ` Ross Burton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox