From e7995c483d520d4384e8de6aa4b5664d31adaecb Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Wed, 15 May 2019 07:37:43 +0200 Subject: [PATCH] .travis.yml: update wayland dependency ECM version extra-cmake-modules 5.38.0a is no longer hosted at the specified kernel.org link. Use the occasion to move on to 5.58. Because newer ECM debian packages have the control.tar file xz-compressed, we need to update dpkg as well on trusty. For more information, see https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1730627 --- .travis.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 54cc8bf9..ea319702 100644 --- a/.travis.yml +++ b/.travis.yml @@ -120,9 +120,12 @@ before_install: script: - cd build - - if test -n "$WAYLAND"; - then wget https://mirrors.kernel.org/ubuntu/pool/universe/e/extra-cmake-modules/extra-cmake-modules_5.38.0a-0ubuntu1_amd64.deb; - sudo dpkg -i extra-cmake-modules_5.38.0a-0ubuntu1_amd64.deb; + - if test -n "$WAYLAND"; then + wget https://mirrors.edge.kernel.org/ubuntu/pool/universe/e/extra-cmake-modules/extra-cmake-modules_5.44.0-0ubuntu1_amd64.deb; + sudo apt-get clean; + sudo apt-get update; + sudo apt-get install dpkg; + sudo dpkg -i extra-cmake-modules_5.44.0-0ubuntu1_amd64.deb; git clone git://anongit.freedesktop.org/wayland/wayland-protocols; pushd wayland-protocols; git checkout 1.15 && ./autogen.sh --prefix=/usr && make && sudo make install;