From 8eb6d2e36b69fe5d9c49eb6ae19f2ed795af0583 Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Thu, 29 Sep 2022 10:49:45 +0400 Subject: [PATCH] Update Qt and libjxl to release versions on Linux --- Telegram/build/docker/centos_env/Dockerfile | 4 ++-- snap/snapcraft.yaml | 17 ++++++----------- 2 files changed, 8 insertions(+), 13 deletions(-) diff --git a/Telegram/build/docker/centos_env/Dockerfile b/Telegram/build/docker/centos_env/Dockerfile index 41c7682ac2..b1acea14e6 100644 --- a/Telegram/build/docker/centos_env/Dockerfile +++ b/Telegram/build/docker/centos_env/Dockerfile @@ -1,7 +1,7 @@ {%- set GIT = "https://github.com" -%} {%- set GIT_FREEDESKTOP = GIT ~ "/gitlab-freedesktop-mirrors" -%} {%- set QT = "6_4_0" -%} -{%- set QT_TAG = "v6.4.0-rc1" -%} +{%- set QT_TAG = "v6.4.0" -%} {%- set QT_PREFIX = "/usr/local/desktop-app/Qt-6.4.0" -%} {%- set OPENSSL_VER = "1_1_1" -%} {%- set OPENSSL_PREFIX = "/usr/local/desktop-app/openssl-1.1.1" -%} @@ -242,7 +242,7 @@ COPY --link --from=lcms2 {{ LibrariesPath }}/lcms2-cache / COPY --link --from=brotli {{ LibrariesPath }}/brotli-cache / COPY --link --from=highway {{ LibrariesPath }}/highway-cache / -RUN git clone -b v0.7rc --depth=1 {{ GIT }}/libjxl/libjxl.git \ +RUN git clone -b v0.7.0 --depth=1 {{ GIT }}/libjxl/libjxl.git \ && cd libjxl \ && cmake -GNinja -B build . \ -DCMAKE_BUILD_TYPE=Release \ diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 98485a3c43..0fb10a4388 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -221,16 +221,8 @@ parts: libjxl: source: https://github.com/libjxl/libjxl.git source-depth: 1 - source-tag: v0.7rc + source-tag: v0.7.0 plugin: cmake - build-packages: - - libbrotli-dev - - libhwy-dev - - liblcms2-dev - stage-packages: - - libbrotli1 - - libhwy0 - - liblcms2-2 cmake-parameters: - -DCMAKE_BUILD_TYPE=Release - -DCMAKE_INSTALL_PREFIX=/usr @@ -245,10 +237,13 @@ parts: - -DJPEGXL_ENABLE_SJPEG=OFF - -DJPEGXL_ENABLE_OPENEXR=OFF - -DJPEGXL_ENABLE_SKCMS=OFF + stage: + - -./usr/lib/$SNAPCRAFT_ARCH_TRIPLET/libbrotli* prime: - -./usr/bin - -./usr/include - - -./usr/lib/$SNAPCRAFT_ARCH_TRIPLET/pkgocnfig + - -./usr/lib/$SNAPCRAFT_ARCH_TRIPLET/pkgconfig + - -./usr/lib/$SNAPCRAFT_ARCH_TRIPLET/*.a - -./usr/lib/$SNAPCRAFT_ARCH_TRIPLET/*.so - -./usr/share @@ -401,7 +396,7 @@ parts: override-pull: | QT=6_4_0 - git clone -b v6.4.0-rc1 --depth=1 git://code.qt.io/qt/qt5.git . + git clone -b v6.4.0 --depth=1 git://code.qt.io/qt/qt5.git . perl init-repository --module-subset=qtbase,qtwayland,qtimageformats,qtsvg,qt5compat cd qtbase