Skip to content

Commit c6925db

Browse files
authored
Merge pull request #2510 from barton2526/qt5.15.3
build, qt: bump Qt5 version to 5.15.3
2 parents cdee8c7 + e80e93b commit c6925db

File tree

5 files changed

+29
-164
lines changed

5 files changed

+29
-164
lines changed

depends/packages/qt.mk

+18-13
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,33 @@
11
package=qt
2-
$(package)_version=5.15.2
2+
$(package)_version=5.15.3
33
$(package)_download_path=https://download.qt.io/official_releases/qt/5.15/$($(package)_version)/submodules
4-
$(package)_suffix=everywhere-src-$($(package)_version).tar.xz
4+
$(package)_suffix=everywhere-opensource-src-$($(package)_version).tar.xz
55
$(package)_file_name=qtbase-$($(package)_suffix)
6-
$(package)_sha256_hash=909fad2591ee367993a75d7e2ea50ad4db332f05e1c38dd7a5a274e156a4e0f8
6+
$(package)_sha256_hash=26394ec9375d52c1592bd7b689b1619c6b8dbe9b6f91fdd5c355589787f3a0b6
77
$(package)_linux_dependencies=freetype fontconfig libxcb libxkbcommon libxcb_util libxcb_util_render libxcb_util_keysyms libxcb_util_image libxcb_util_wm
88
$(package)_qt_libs=corelib network widgets gui plugins testlib concurrent
9-
$(package)_patches=fix_qt_pkgconfig.patch mac-qmake.conf fix_no_printer.patch no-xlib.patch
10-
$(package)_patches += dont_hardcode_x86_64.patch fix_montery_include.patch
11-
$(package)_patches += fix_android_jni_static.patch dont_hardcode_pwd.patch
12-
$(package)_patches += qtbase-moc-ignore-gcc-macro.patch fix_limits_header.patch
13-
$(package)_patches += fix_bigsur_style.patch no_qrhi.patch drop_lrelease_dependency.patch subdirs.pro
9+
$(package)_patches = fix_qt_pkgconfig.patch
10+
$(package)_patches += mac-qmake.conf
11+
$(package)_patches += no-xlib.patch
12+
$(package)_patches += dont_hardcode_x86_64.patch
13+
$(package)_patches += fix_montery_include.patch
14+
$(package)_patches += fix_android_jni_static.patch
15+
$(package)_patches += dont_hardcode_pwd.patch
16+
$(package)_patches += qtbase-moc-ignore-gcc-macro.patch
17+
$(package)_patches += fix_limits_header.patch
18+
$(package)_patches += no_qrhi.patch
19+
$(package)_patches += drop_lrelease_dependency.patch
20+
$(package)_patches += subdirs.pro
1421

1522
$(package)_qttranslations_file_name=qttranslations-$($(package)_suffix)
16-
$(package)_qttranslations_sha256_hash=d5788e86257b21d5323f1efd94376a213e091d1e5e03b45a95dd052b5f570db8
23+
$(package)_qttranslations_sha256_hash=5d7869f670a135ad0986e266813b9dd5bbae2b09577338f9cdf8904d4af52db0
1724

1825
$(package)_qttools_file_name=qttools-$($(package)_suffix)
19-
$(package)_qttools_sha256_hash=c189d0ce1ff7c739db9a3ace52ac3e24cb8fd6dbf234e49f075249b38f43c1cc
26+
$(package)_qttools_sha256_hash=463b2fe71a085e7ab4e39333ae360ab0ec857b966d7a08f752c427e5df55f90d
2027

2128
# Gridcoin displays SVG images in the GUI:
2229
$(package)_qtsvg_file_name=qtsvg-$($(package)_suffix)
23-
$(package)_qtsvg_sha256_hash=8bc3c2c1bc2671e9c67d4205589a8309b57903721ad14c60ea21a5d06acb585e
30+
$(package)_qtsvg_sha256_hash=3adc41dfcc67bbe3b8ff553bdac30ee75e270745536a58e54cdb741fa0505d89
2431

2532
$(package)_extra_sources = $($(package)_qttranslations_file_name)
2633
$(package)_extra_sources += $($(package)_qttools_file_name)
@@ -251,13 +258,11 @@ define $(package)_preprocess_cmds
251258
patch -p1 -i $($(package)_patch_dir)/dont_hardcode_pwd.patch && \
252259
patch -p1 -i $($(package)_patch_dir)/dont_hardcode_x86_64.patch && \
253260
patch -p1 -i $($(package)_patch_dir)/fix_qt_pkgconfig.patch && \
254-
patch -p1 -i $($(package)_patch_dir)/fix_no_printer.patch && \
255261
patch -p1 -i $($(package)_patch_dir)/fix_android_jni_static.patch && \
256262
patch -p1 -i $($(package)_patch_dir)/no-xlib.patch && \
257263
patch -p1 -i $($(package)_patch_dir)/qtbase-moc-ignore-gcc-macro.patch && \
258264
patch -p1 -i $($(package)_patch_dir)/fix_limits_header.patch && \
259265
patch -p1 -i $($(package)_patch_dir)/fix_montery_include.patch && \
260-
patch -p1 -i $($(package)_patch_dir)/fix_bigsur_style.patch && \
261266
patch -p1 -i $($(package)_patch_dir)/no_qrhi.patch && \
262267
cp $($(package)_patch_dir)/subdirs.pro subdirs.pro && \
263268
sed -i.old "s|updateqm.commands = \$$$$\$$$$LRELEASE|updateqm.commands = $($(package)_extract_dir)/qttools/bin/lrelease|" qttranslations/translations/translations.pro && \

depends/patches/qt/fix_android_jni_static.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
--- old/qtbase/src/plugins/platforms/android/androidjnimain.cpp
22
+++ new/qtbase/src/plugins/platforms/android/androidjnimain.cpp
3-
@@ -914,6 +914,14 @@ Q_DECL_EXPORT jint JNICALL JNI_OnLoad(JavaVM *vm, void */*reserved*/)
3+
@@ -934,6 +934,14 @@ Q_DECL_EXPORT jint JNICALL JNI_OnLoad(JavaVM *vm, void */*reserved*/)
44
__android_log_print(ANDROID_LOG_FATAL, "Qt", "registerNatives failed");
55
return -1;
66
}

depends/patches/qt/fix_bigsur_style.patch

-90
This file was deleted.
+10-41
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,9 @@
11
Fix compiling with GCC 11
22

3-
See: https://bugreports.qt.io/browse/QTBUG-90395.
3+
Upstream:
4+
- bug report: https://bugreports.qt.io/browse/QTBUG-89977
5+
- fix in Qt 6.1: 813a928c7c3cf98670b6043149880ed5c955efb9
46

5-
Upstream commits:
6-
- Qt 5.15 -- unavailable as open source
7-
- Qt 6.0: b2af6332ea37e45ab230a7a5d2d278f86d961b83
8-
- Qt 6.1: 9c56d4da2ff631a8c1c30475bd792f6c86bda53c
9-
10-
--- old/qtbase/src/corelib/global/qendian.h
11-
+++ new/qtbase/src/corelib/global/qendian.h
12-
@@ -44,6 +44,8 @@
13-
#include <QtCore/qfloat16.h>
14-
#include <QtCore/qglobal.h>
15-
16-
+#include <limits>
17-
+
18-
// include stdlib.h and hope that it defines __GLIBC__ for glibc-based systems
19-
#include <stdlib.h>
20-
#include <string.h>
21-
22-
--- old/qtbase/src/corelib/global/qfloat16.h
23-
+++ new/qtbase/src/corelib/global/qfloat16.h
24-
@@ -43,6 +43,7 @@
25-
26-
#include <QtCore/qglobal.h>
27-
#include <QtCore/qmetatype.h>
28-
+#include <limits>
29-
#include <string.h>
30-
31-
#if defined(QT_COMPILER_SUPPORTS_F16C) && defined(__AVX2__) && !defined(__F16C__)
32-
33-
--- old/qtbase/src/tools/moc/generator.cpp
34-
+++ new/qtbase/src/tools/moc/generator.cpp
35-
@@ -40,6 +40,8 @@
36-
#include <QtCore/qplugin.h>
37-
#include <QtCore/qstringview.h>
38-
39-
+#include <limits>
40-
+
41-
#include <math.h>
42-
#include <stdio.h>
43-
447
--- old/qtbase/src/corelib/text/qbytearraymatcher.h
458
+++ new/qtbase/src/corelib/text/qbytearraymatcher.h
469
@@ -42,6 +42,8 @@
@@ -52,6 +15,12 @@ Upstream commits:
5215
QT_BEGIN_NAMESPACE
5316

5417

18+
19+
Upstream fix and backports:
20+
- Qt 6.1: 3eab20ad382569cb2c9e6ccec2322c3d08c0f716
21+
- Qt 6.2: 380294a5971da85010a708dc23b0edec192cbf27
22+
- Qt 6.3: 2b2b3155d9f6ba1e4f859741468fbc47db09292b
23+
5524
--- old/qtbase/src/corelib/tools/qoffsetstringarray_p.h
5625
+++ new/qtbase/src/corelib/tools/qoffsetstringarray_p.h
5726
@@ -55,6 +55,7 @@
@@ -61,4 +30,4 @@ Upstream commits:
6130
+#include <limits>
6231

6332
QT_BEGIN_NAMESPACE
64-
33+

depends/patches/qt/fix_no_printer.patch

-19
This file was deleted.

0 commit comments

Comments
 (0)