[OE-core] [PATCH v4 1/3] Wayland : Bump to version 1.3.0

Burton, Ross ross.burton at intel.com
Mon Oct 14 16:35:43 UTC 2013


On 14 October 2013 16:40, Burton, Ross <ross.burton at intel.com> wrote:
> On 14 October 2013 15:08, Ewan LE BIDEAU-CANEVET
> <Ewan.LEBIDEAU-CANEVET at eurogiciel.fr> wrote:
>> Remove do_configure_append_class-native() function useless for this version
>> (file wayland-scanner.m4.in does not exist anymore)
>
> When building weston:
>
> | configure:17492: checking for WAYLAND_SCANNER
> | configure:17499: $PKG_CONFIG --exists --print-errors "wayland-scanner"
> | Package wayland-scanner was not found in the pkg-config search path.
> | Perhaps you should add the directory containing `wayland-scanner.pc'
> | to the PKG_CONFIG_PATH environment variable
> | No package 'wayland-scanner' found
>
> The script is calling pkg-config so is trying to find a target .pc
> file, but this is only installed by wayland-native so is in the host
> native sysroot.  I'll dig into this and work out a fix.

There needs to be a proper fix done upstream, but this works for now:

do_install_append_class-native() {
  sed -e 's,PKG_CHECK_MODULES(.*),,g' \
      -e 's,$PKG_CONFIG,pkg-config-native,g' \
      -i ${D}/${datadir}/aclocal/wayland-scanner.m4
}

I'll send a revised series when I've tested it on hardware.

Ross



More information about the Openembedded-core mailing list