From 9375c1d896d1cce824490357b606d31b64d0143e Mon Sep 17 00:00:00 2001 From: Andres Gomez Date: Wed, 19 Jul 2017 19:14:03 +0300 Subject: [PATCH] travis: add missing wayland-protocols > checking for WAYLAND... no > > configure: error: Package requirements (wayland-client >= 1.11 wayland-server >= 1.11 wayland-protocols >= 1.8) were not met: > > No package 'wayland-protocols' found > > Consider adjusting the PKG_CONFIG_PATH environment variable if you > installed software in a non-standard prefix. > > Alternatively, you may set the environment variables WAYLAND_CFLAGS > and WAYLAND_LIBS to avoid the need to call pkg-config. > See the pkg-config man page for more details. Also, added extra path to PKG_CONFIG_PATH env variable. Fixes: 02cc359372 ("egl/wayland: Use linux-dmabuf interface for buffers") Signed-off-by: Andres Gomez Reviewed-by: Eric Engestrom Reviewed-by: Daniel Stone Reviewed-by: Emil Velikov --- .travis.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index fa52bf96f16..246ad30eff4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,7 @@ env: global: - XORG_RELEASES=http://xorg.freedesktop.org/releases/individual - XCB_RELEASES=http://xcb.freedesktop.org/dist + - WAYLAND_RELEASES=http://wayland.freedesktop.org/releases - XORGMACROS_VERSION=util-macros-1.19.0 - GLPROTO_VERSION=glproto-1.4.17 - DRI2PROTO_VERSION=dri2proto-2.8 @@ -23,7 +24,8 @@ env: - LIBVDPAU_VERSION=libvdpau-1.1 - LIBVA_VERSION=libva-1.6.2 - LIBWAYLAND_VERSION=wayland-1.11.1 - - PKG_CONFIG_PATH=$HOME/prefix/lib/pkgconfig + - WAYLAND_PROTOCOLS_VERSION=wayland-protocols-1.8 + - PKG_CONFIG_PATH=$HOME/prefix/lib/pkgconfig:$HOME/prefix/share/pkgconfig - LD_LIBRARY_PATH="$HOME/prefix/lib:$LD_LIBRARY_PATH" matrix: @@ -336,10 +338,14 @@ install: - tar -jxvf $LIBVA_VERSION.tar.bz2 - (cd $LIBVA_VERSION && ./configure --prefix=$HOME/prefix --disable-wayland --disable-dummy-driver && make install) - - wget http://wayland.freedesktop.org/releases/$LIBWAYLAND_VERSION.tar.xz + - wget $WAYLAND_RELEASES/$LIBWAYLAND_VERSION.tar.xz - tar -axvf $LIBWAYLAND_VERSION.tar.xz - (cd $LIBWAYLAND_VERSION && ./configure --prefix=$HOME/prefix --enable-libraries --without-host-scanner --disable-documentation --disable-dtd-validation && make install) + - wget $WAYLAND_RELEASES/$WAYLAND_PROTOCOLS_VERSION.tar.xz + - tar -axvf $WAYLAND_PROTOCOLS_VERSION.tar.xz + - (cd $WAYLAND_PROTOCOLS_VERSION && ./configure --prefix=$HOME/prefix && make install) + # Generate the header since one is missing on the Travis instance - mkdir -p linux - printf "%s\n" \