[meta-freescale] [PATCH v3 05/43] wayland-protocols: Downgrade to 1.13 for i.MX

Andreas Müller schnitzeltony at gmail.com
Mon Sep 10 01:12:34 PDT 2018


On Tue, Aug 7, 2018 at 5:41 PM, Tom Hochstein <tom.hochstein at nxp.com> wrote:
> Signed-off-by: Tom Hochstein <tom.hochstein at nxp.com>
> ---
>  conf/machine/include/imx-base.inc                  |  4 ++++
>  recipes-graphics/wayland/wayland-protocols_1.13.bb | 20 ++++++++++++++++++++
>  2 files changed, 24 insertions(+)
>  create mode 100644 recipes-graphics/wayland/wayland-protocols_1.13.bb
>
> diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
> index 84a6ace..15c9d19 100644
> --- a/conf/machine/include/imx-base.inc
> +++ b/conf/machine/include/imx-base.inc
> @@ -226,6 +226,10 @@ PREFERRED_VERSION_weston_mx6 ?= "4.0.0.imx"
>  PREFERRED_VERSION_weston_mx7 ?= "4.0.0.imx"
>  PREFERRED_VERSION_weston_mx8 ?= "4.0.0.imx"
>
> +PREFERRED_VERSION_wayland-protocols_mx6 ?= "1.13"
> +PREFERRED_VERSION_wayland-protocols_mx7 ?= "1.13"
> +PREFERRED_VERSION_wayland-protocols_mx8 ?= "1.13"
> +
>  # Use i.MX libdrm Version
>  PREFERRED_VERSION_libdrm_mx6 ?= "2.4.84.imx"
>  PREFERRED_VERSION_libdrm_mx7 ?= "2.4.84.imx"
> diff --git a/recipes-graphics/wayland/wayland-protocols_1.13.bb b/recipes-graphics/wayland/wayland-protocols_1.13.bb
> new file mode 100644
> index 0000000..1ef1ee1
> --- /dev/null
> +++ b/recipes-graphics/wayland/wayland-protocols_1.13.bb
> @@ -0,0 +1,20 @@
> +SUMMARY = "Collection of additional Wayland protocols"
> +DESCRIPTION = "Wayland protocols that add functionality not \
> +available in the Wayland core protocol. Such protocols either add \
> +completely new functionality, or extend the functionality of some other \
> +protocol either in Wayland core, or some other protocol in \
> +wayland-protocols."
> +HOMEPAGE = "http://wayland.freedesktop.org"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=c7b12b6702da38ca028ace54aae3d484 \
> +                    file://stable/presentation-time/presentation-time.xml;endline=26;md5=4646cd7d9edc9fa55db941f2d3a7dc53"
> +
> +SRC_URI = "https://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \
> +           "
> +SRC_URI[md5sum] = "29312149dafcd4a0e739ba94995a574d"
> +SRC_URI[sha256sum] = "0758bc8008d5332f431b2a84fea7de64d971ce270ed208206a098ff2ebc68f38"
> +
> +inherit allarch autotools pkgconfig
> +
> +PACKAGES = "${PN}"
> +FILES_${PN} += "${datadir}/pkgconfig/wayland-protocols.pc"
> --
> 2.7.4
>
Just updated to master and it seems this patch breaks build in two ways:

1. It cannot be downloaded for me. Maybe this is  a temporary issue -
sorry I won't follow: am building with use-mainline-bsp  see 2.)
   | ERROR: wayland-protocols-1.13.imx-r0 do_fetch: Fetcher failure
for URL: 'https://wayland.freedesktop.org/releases/wayland-protocols-1.13.imx.tar.xz'.
Unable to fetch URL from any source.
2. It tries to build wayland-protocols-1.13.imx for use-mainline-bsp
set. Think this is due to missing entry in
MACHINE_SOCARCH_FILTER_append_imx - will take care on this one.

Cheers

Andreas


More information about the meta-freescale mailing list