From 2acde60147797393e0ee9428cff0f74cdc0a9227 Mon Sep 17 00:00:00 2001 From: Povilas Kanapickas Date: Sun, 30 May 2021 13:26:28 +0300 Subject: [PATCH] .gitlab-ci: Install xorgproto 2021.4.99.2 from git This is required for the support of upcoming XI 2.4 protocol. Signed-off-by: Povilas Kanapickas --- .gitlab-ci.yml | 2 +- .gitlab-ci/cross-prereqs-build.sh | 2 +- .gitlab-ci/debian-install.sh | 9 ++++++++- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 75b2aed31..6cdb346c7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,7 +11,7 @@ variables: UPSTREAM_REPO: xorg/xserver FDO_DISTRIBUTION_VERSION: buster-slim FDO_DISTRIBUTION_EXEC: 'env FDO_CI_CONCURRENT=${FDO_CI_CONCURRENT} bash .gitlab-ci/debian-install.sh' - FDO_DISTRIBUTION_TAG: "2021-04-06" + FDO_DISTRIBUTION_TAG: "2021-05-17" include: - project: 'freedesktop/ci-templates' diff --git a/.gitlab-ci/cross-prereqs-build.sh b/.gitlab-ci/cross-prereqs-build.sh index 3decf707b..4596667a1 100755 --- a/.gitlab-ci/cross-prereqs-build.sh +++ b/.gitlab-ci/cross-prereqs-build.sh @@ -49,7 +49,7 @@ build 'https://gitlab.freedesktop.org/pixman/pixman.git' 'pixman-0.38.4' build 'https://gitlab.freedesktop.org/xorg/lib/pthread-stubs.git' '0.4' # we can't use the xorgproto pkgconfig files from /usr/share/pkgconfig, because # these would add -I/usr/include to CFLAGS, which breaks cross-compilation -build 'https://gitlab.freedesktop.org/xorg/proto/xorgproto.git' 'xorgproto-2019.1' '--datadir=/lib' +build 'https://gitlab.freedesktop.org/xorg/proto/xorgproto.git' 'xorgproto-2021.4.99.2' '--datadir=/lib' build 'https://gitlab.freedesktop.org/xorg/lib/libXau.git' 'libXau-1.0.9' build 'https://gitlab.freedesktop.org/xorg/proto/xcbproto.git' 'xcb-proto-1.14' build 'https://gitlab.freedesktop.org/xorg/lib/libxcb.git' 'libxcb-1.14' diff --git a/.gitlab-ci/debian-install.sh b/.gitlab-ci/debian-install.sh index 60d76c831..963533cda 100644 --- a/.gitlab-ci/debian-install.sh +++ b/.gitlab-ci/debian-install.sh @@ -98,7 +98,6 @@ apt-get install -y \ python3-mako \ python3-numpy \ python3-six \ - x11proto-dev \ xfonts-utils \ xkb-data \ xtrans-dev \ @@ -108,6 +107,14 @@ apt-get install -y \ cd /root +# xserver requires xorgproto >= 2021.4.99.2 for XI 2.3.99.1 +git clone https://gitlab.freedesktop.org/xorg/proto/xorgproto.git --depth 1 --branch=xorgproto-2021.4.99.2 +pushd xorgproto +./autogen.sh +make -j${FDO_CI_CONCURRENT:-4} install +popd +rm -rf xorgproto + # weston 9.0 requires libwayland >= 1.18 git clone https://gitlab.freedesktop.org/wayland/wayland.git --depth 1 --branch=1.18.0 cd wayland