[meta-freescale] [meta-fsl-arm][PATCH] weston: Create patch to work with Wayland 1.8

Otavio Salvador otavio at ossystems.com.br
Wed Jul 8 05:28:18 PDT 2015


Hello Lauren,

On Tue, Jul 7, 2015 at 8:35 PM, Lauren Post <lauren.post at freescale.com> wrote:
> Wayland 1.8 causes a build break.  This patch fixes the build break and
> consolidates the required changes into one patch.

I would prefer a long commit log with something in line of:

Update the support patches for Weston 1.8. The support patches are
consolidated in a single patch.

> Apply patch only on MX6 with a GPU.

The only one lacking support is UltraLite which we don't yet support
in community. So please don't split this in this patch but in a new
patch when adding UltraLite support so we have track of changes
related of UltraLite.

> Signed-off-by: Lauren Post <lauren.post at freescale.com>
...
> diff --git a/recipes-graphics/wayland/weston_%.bbappend b/recipes-graphics/wayland/weston_%.bbappend
> index f7ad463..a254f07 100644
> --- a/recipes-graphics/wayland/weston_%.bbappend
> +++ b/recipes-graphics/wayland/weston_%.bbappend
> @@ -1,14 +1,11 @@
>  FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>
> -SRC_URI_append_mx6 = " \
> -    file://0001-ENGR00314805-1-Add-Vivante-EGL-support.patch \
> -    file://0002-ENGR00314805-2-Add-Vivante-GAL2D-support.patch \
> -    file://0003-ENGR00319247-Distorted-line-and-shadow-if-use-2d-com.patch \
> -    file://0004-ENGR00320243-Enable-GAL2D-compositor-in-SoloLite.patch \
> -    file://0005-ENGR00321030-Change-GAL2D-compositor-to-be-default-i.patch \
> -    file://0006-MGS-389-Fix-for-wrong-FPS-throttling-when-multibuffe.patch \
> -    file://0007-MGS-391-Weston-Performance-Optimisation-for-single-b.patch \
> -"
> +# only install patch for mx6 with a GPU
> +GPU_PATCH = "file://0001-MGS-840-Add-i.MX6-support-for-weston.patch"
> +SRC_URI_append_mx6q  = " ${GPU_PATCH}"
> +SRC_URI_append_mx6dl = " ${GPU_PATCH}"
> +SRC_URI_append_mx6sx = " ${GPU_PATCH}"
> +SRC_URI_append_mx6sl = " ${GPU_PATCH}"

Those are all supported. So use:

SRC_URI__append_mx6 = " \
    file://0001-MGS-840-Add-i.MX6-support-for-weston.patch \
"

When UltraLite is added we rework this.

>  PACKAGECONFIG_append_mx6q = " cairo-glesv2"
>  PACKAGECONFIG_append_mx6dl = " cairo-glesv2"
> --
> 1.7.9.5
>
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale



-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the meta-freescale mailing list