From 87f52cf7df75632d6409e6988612f7c241687a56 Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Tue, 15 Aug 2023 12:42:06 +0400 Subject: [PATCH] Downgrade libwayland to the version before thread safe API was introduced This API sadly not present on older systems and we have to use the thread unsafe one if we want to be compatible with them --- Telegram/build/docker/centos_env/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Telegram/build/docker/centos_env/Dockerfile b/Telegram/build/docker/centos_env/Dockerfile index f0770e501a..e83f2df0e8 100644 --- a/Telegram/build/docker/centos_env/Dockerfile +++ b/Telegram/build/docker/centos_env/Dockerfile @@ -470,12 +470,12 @@ RUN git clone -b libXcomposite-0.4.5 --depth=1 {{ GIT_FREEDESKTOP }}/libxcomposi FROM builder AS wayland COPY --link --from=libffi {{ LibrariesPath }}/libffi-cache / -RUN git clone -b 1.21.0 --depth=1 {{ GIT_FREEDESKTOP }}/wayland.git \ +RUN git clone -b 1.19.0 --depth=1 {{ GIT_FREEDESKTOP }}/wayland.git \ && cd wayland \ + && sed -i "/subdir('tests')/d" meson.build \ && meson build \ --buildtype=plain \ --default-library=both \ - -Dtests=false \ -Ddocumentation=false \ -Ddtd_validation=false \ -Dicon_directory=/usr/share/icons \