From fbde5bf53c8bf2c3f7b1b99aa483e50dc6a97e99 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Fri, 3 May 2024 12:19:09 -0700 Subject: [PATCH] gitlab CI: install xorgproto from git before building the Xserver Xserver git is now failing to build due to: Dependency presentproto found: NO found 1.3 but need: '>= 1.4' Signed-off-by: Alan Coopersmith Part-of: --- .gitlab-ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cc2e7af..c266dbf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -101,11 +101,17 @@ build: # We don't want any failed commands to exit our script until VM # cleanup has been completed. - set +e - # First we need to build and install the Xorg server to get the SDK headers + # First we need to install the latest xorgproto needed to build Xserver + - | + /app/vmctl exec "git clone --depth=1 https://gitlab.freedesktop.org/xorg/proto/xorgproto.git" + /app/vmctl exec "mkdir xorgproto/_builddir" + /app/vmctl exec "cd xorgproto/_builddir && meson setup" + /app/vmctl exec "cd xorgproto/_builddir && ninja install" + # Then we need to build and install the Xorg server to get the SDK headers - | /app/vmctl exec "git clone --depth=1 https://gitlab.freedesktop.org/xorg/xserver.git" /app/vmctl exec "mkdir xserver/_builddir" - /app/vmctl exec "cd xserver/_builddir && meson setup $XSERVER_MESON_FLAGS" + /app/vmctl exec "cd xserver/_builddir && env PKG_CONFIG_PATH=/usr/local/lib/pkgconfig meson setup $XSERVER_MESON_FLAGS" /app/vmctl exec "cd xserver/_builddir && ninja" /app/vmctl exec "cd xserver/_builddir && ninja install" # Now build this driver