From 4349ef5b038c1509f673c40aa36c067c599c39d3 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Mon, 19 Aug 2024 20:14:26 +0530 Subject: [PATCH] ci: Use debian's gtk package instead of building our own GTK 4.14 needs a newer glib, but we cannot build and use our own because the system glib ends up taking precedence because cargo-c doesn't set RPATHs for the plugins it builds. The oldest GTK that supports glib 2.74 is GTK 4.10, and Debian 12 ships GTK 4.8, so let's just use the system GTK. Part-of: --- .gitlab-ci.yml | 5 ++--- ci/install-gst.sh | 2 -- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4d07215b6..90e166f31 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -142,10 +142,9 @@ trigger: libpango1.0-dev libcairo2-dev libjson-glib-dev libgdk-pixbuf-2.0-dev libtiff-dev libpng-dev libjpeg-dev libepoxy-dev libsass-dev sassc libcsound64-dev llvm clang nasm libsodium-dev libwebp-dev - libflac-dev libmysofa-dev - # glib in bookworm is too old, need 2.76 for gtk-4.14 + libflac-dev libmysofa-dev libgtk-4-dev FDO_DISTRIBUTION_EXEC: >- - bash ci/install-gst.sh --force-fallback-for=glib && + bash ci/install-gst.sh && bash ci/install-dav1d.sh && pip3 install --break-system-packages git+http://gitlab.freedesktop.org/freedesktop/ci-templates diff --git a/ci/install-gst.sh b/ci/install-gst.sh index 1c820f9c8..11851fd74 100755 --- a/ci/install-gst.sh +++ b/ci/install-gst.sh @@ -30,8 +30,6 @@ meson setup build \ -Dprefix=/usr/local \ -Dgpl=enabled \ -Dugly=enabled \ - -Dgtk=enabled \ - -Dgtk:vulkan=disabled \ -Dexamples=disabled \ -Dgtk_doc=disabled \ -Dintrospection=disabled \