Skip to content

Commit

Permalink
Update Qt to 6.7.2 on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-fedin authored and john-preston committed Jun 18, 2024
1 parent 4047f17 commit b9677fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Telegram/build/docker/centos_env/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{%- set GIT = "https://github.com" -%}
{%- set GIT_FREEDESKTOP = GIT ~ "/gitlab-freedesktop-mirrors" -%}
{%- set QT = "6.7.1" -%}
{%- set QT = "6.7.2" -%}
{%- set QT_TAG = "v" ~ QT -%}
{%- set CMAKE_VER = "3.27.6" -%}
{%- set CMAKE_FILE = "cmake-" ~ CMAKE_VER ~ "-Linux-x86_64.sh" -%}
Expand Down Expand Up @@ -51,7 +51,7 @@ FROM builder AS patches
RUN git init patches \
&& cd patches \
&& git remote add origin {{ GIT }}/desktop-app/patches.git \
&& git fetch --depth=1 origin 8639205c2095a3f015449f8995fbfe16405218b8 \
&& git fetch --depth=1 origin 20a7c5ffd8265fc6e45203ea2536f7b1965be19a \
&& git reset --hard FETCH_HEAD \
&& rm -rf .git

Expand Down
5 changes: 2 additions & 3 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ parts:
patches:
source: https://github.com/desktop-app/patches.git
source-depth: 1
source-commit: 8639205c2095a3f015449f8995fbfe16405218b8
source-commit: 20a7c5ffd8265fc6e45203ea2536f7b1965be19a
plugin: dump
override-pull: |
craftctl default
Expand Down Expand Up @@ -360,7 +360,7 @@ parts:
- mesa-vulkan-drivers
- xkb-data
override-pull: |
QT=6.7.1
QT=6.7.2
git clone -b v${QT} --depth=1 https://github.com/qt/qt5.git .
git submodule update --init --recursive --depth=1 qtbase qtdeclarative qtwayland qtimageformats qtsvg qtshadertools
Expand All @@ -369,7 +369,6 @@ parts:
find $CRAFT_STAGE/patches/qtbase_${QT} -type f -print0 | sort -z | xargs -r0 git apply
cd ../qtwayland
find $CRAFT_STAGE/patches/qtwayland_${QT} -type f -print0 | sort -z | xargs -r0 git apply
sed -i 's/qMin(version, 8)/qMin(version, 7)/' src/client/qwaylandinputdevice.cpp
cd ..
override-build: |
./configure \
Expand Down

0 comments on commit b9677fe

Please sign in to comment.