Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qt/5.15.2 #1759

Merged
merged 62 commits into from
Jan 27, 2021
Merged
Show file tree
Hide file tree
Changes from 39 commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
bd4cd89
qt/5.15.0
ericLemanissier May 27, 2020
a20703a
disable glib harfbuzz gui and widgets(on linux)
ericLemanissier May 27, 2020
6e78c11
fixup references of packages (not yet on CCI)
ericLemanissier May 28, 2020
fa16fd0
move stuff to bin subfolder
ericLemanissier May 28, 2020
773e22e
remove useless cmake code
ericLemanissier May 28, 2020
756e0d1
disable linux until required packages are on CCI
ericLemanissier Jun 4, 2020
9aeaec5
remove pdb files
ericLemanissier Jun 4, 2020
7fb2b46
disable old apple compilers
ericLemanissier Jun 5, 2020
a2883b2
create qt.conf after make install
ericLemanissier Jun 9, 2020
2401bd1
require opengl/system if necessary
ericLemanissier Jun 11, 2020
94c9fe9
enable linux
ericLemanissier Jun 11, 2020
e6b28eb
disable gcc and clang < 5.0
ericLemanissier Jun 11, 2020
0265199
qt: Update Conan conventions
bincrafters-user Jun 11, 2020
72895cf
enable xorg requirement on linux
ericLemanissier Jun 15, 2020
5200fdb
fix pkg_config search path
ericLemanissier Jun 15, 2020
1779afb
Apply suggestions from code review
ericLemanissier Jun 19, 2020
fcb818d
Update recipes/qt/all/conanfile.py
ericLemanissier Jun 19, 2020
eeedec5
removed licenses from unused modules
ericLemanissier Jun 16, 2020
3b16278
fix multiconfiguration hash
ericLemanissier Jun 16, 2020
385ab00
Update: harfbuzz dependency
ericLemanissier Jun 16, 2020
843a1dd
remove obsolete env variables
ericLemanissier Jun 22, 2020
8d2d5aa
upgrade harfbuzz and glib
ericLemanissier Jul 3, 2020
3d5c24a
Apply suggestions from code review
ericLemanissier Jul 9, 2020
26064b8
fix test recipe if gui is disabled
ericLemanissier Jul 14, 2020
94dfe33
linux: require xkbcommon
ericLemanissier Jul 23, 2020
e4a0cd7
adapt to conan 1.28.0
ericLemanissier Aug 3, 2020
0cf64d2
remove icu option on non-linux platforms
ericLemanissier Aug 12, 2020
ddb2337
remove mysql option when not supported
ericLemanissier Aug 12, 2020
137bec0
qt: Update Conan conventions
bincrafters-user Aug 12, 2020
19d8640
qt 5.15.1
ericLemanissier Sep 11, 2020
3933189
quote paths
ericLemanissier Sep 11, 2020
d3c777f
use os-dependant default for opengl
ericLemanissier Sep 11, 2020
f6297be
remove android-g++ mkspec
ericLemanissier Sep 11, 2020
270be82
don't force options values
ericLemanissier Sep 11, 2020
c31a745
qt: Update Conan conventions
bincrafters-user Sep 11, 2020
ebdca36
static by default
ericLemanissier Sep 11, 2020
0c608bb
raise exception if shared and static runtime
ericLemanissier Sep 25, 2020
ab748d9
del options in config_options
ericLemanissier Sep 25, 2020
38ad950
qt: Update Conan conventions
bincrafters-user Sep 25, 2020
5ddbeb2
Apply suggestions from code review
ericLemanissier Oct 18, 2020
8d9729a
qt: Update Conan conventions
bincrafters-user Oct 18, 2020
b949026
remove the "auto" options trick
ericLemanissier Oct 28, 2020
f775091
qt: Update Conan conventions
bincrafters-user Oct 28, 2020
b1dd50f
fix macos
ericLemanissier Nov 24, 2020
a33aa3a
add support for libjpeg-turbo
ericLemanissier Nov 24, 2020
316b05f
populate cpp_info
ericLemanissier Nov 24, 2020
ecdff9c
qt 5.15.2
ericLemanissier Nov 24, 2020
f01c7aa
qt: Update Conan conventions
bincrafters-user Nov 24, 2020
9a88367
upgrade xkbcommon
ericLemanissier Nov 25, 2020
1836a4c
Merge branch 'master' into qt
ericLemanissier Dec 6, 2020
0d6c9d7
move to 5.x.x and export modules by version
ericLemanissier Dec 7, 2020
354c8dd
add mirrors
ericLemanissier Jan 22, 2021
9ded6ac
qt: Update Conan conventions
bincrafters-user Jan 22, 2021
8fa7957
remove unused patch files
ericLemanissier Jan 27, 2021
4bd44ad
fixup tools.Version usage
ericLemanissier Jan 27, 2021
e57d6fb
don't dlete settings.os.version on macos
ericLemanissier Jan 27, 2021
210c954
smarter patch application
ericLemanissier Jan 27, 2021
463468d
add winrt on msvc 2019
ericLemanissier Jan 27, 2021
87ff600
fixup ConanInvalidConfiguration
ericLemanissier Jan 27, 2021
1c9259b
use get_safe
ericLemanissier Jan 27, 2021
b8ee11f
simplify remove_files_by_mask
ericLemanissier Jan 27, 2021
0c10c0c
formatting
ericLemanissier Jan 27, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions recipes/qt/all/conandata.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
sources:
"5.15.1":
url: "https://download.qt.io/archive/qt/5.15/5.15.1/single/qt-everywhere-src-5.15.1.tar.xz"
sha256: "44da876057e21e1be42de31facd99be7d5f9f07893e1ea762359bcee0ef64ee9"
patches:
"5.15.1":
- patch_file: "patches/aa2a39dea5.diff"
base_path: "qt5/qtbase"
- patch_file: "patches/c72097e.diff"
base_path: "qt5/qtwebengine"
676 changes: 676 additions & 0 deletions recipes/qt/all/conanfile.py

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions recipes/qt/all/patches/aa2a39dea5.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
From aa2a39dea5918c63045310b0d2a7e34ce9934e0c Mon Sep 17 00:00:00 2001
From: Eric Lemanissier <[email protected]>
Date: Tue, 26 Nov 2019 12:47:47 +0100
Subject: [PATCH] add inline source detection to glib

this allows to use static version of glib (pkg-config only works with shared libraries)

Change-Id: If9b0054985b87b8da43269425b32c2e4ffb65f5a
---
src/corelib/configure.json | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/corelib/configure.json b/src/corelib/configure.json
index ae360239c6..998687dc4e 100644
--- a/src/corelib/configure.json
+++ b/src/corelib/configure.json
@@ -45,7 +45,8 @@
},
"headers": "glib.h",
"sources": [
- { "type": "pkgConfig", "args": "glib-2.0 gthread-2.0" }
+ { "type": "pkgConfig", "args": "glib-2.0 gthread-2.0" },
+ "-lgthread-2.0 -lglib-2.0"
]
},
"posix_iconv": {
--
2.23.0.windows.1

42 changes: 42 additions & 0 deletions recipes/qt/all/patches/c72097e.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
From c72097e8790553771daf3231124c3fbe1a438379 Mon Sep 17 00:00:00 2001
From: Samuli Piippo <[email protected]>
Date: Thu, 30 Mar 2017 11:37:24 +0300
Subject: [PATCH] chromium: workaround for too long .rps file name

Ninja may fail when the build directory is too long:

ninja: error: WriteFile(__third_party_WebKit_Source_bindings_modules_\
interfaces_info_individual_modules__home_qt_work_build_build-nitrogen\
6x_tmp_work_cortexa9hf-neon-mx6qdl-poky-linux-gnueabi_qtwebengine_5.9\
.0_gitAUTOINC_29afdb0a34_049134677a-r0_build_src_toolchain_target__ru\
le.rsp): Unable to create file. File name too long

Task-number: QTBUG-59769
Change-Id: I73c5e64ae5174412be2a675e35b0b6047f2bf4c1
---
src/3rdparty/gn/tools/gn/ninja_action_target_writer.cc | 9 +++++++++
1 file changed, 9 insertions(+)

diff --git a/src/3rdparty/gn/tools/gn/ninja_action_target_writer.cc b/src/3rdparty/gn/tools/gn/ninja_action_target_writer.cc
index a5bc6cd..5cefbfe 100644
--- a/src/3rdparty/gn/tools/gn/ninja_action_target_writer.cc
+++ b/src/3rdparty/gn/tools/gn/ninja_action_target_writer.cc
@@ -119,9 +119,18 @@ std::string NinjaActionTargetWriter::WriteRuleDefinition() {
// strictly necessary for regular one-shot actions, but it's easier to
// just always define unique_name.
std::string rspfile = custom_rule_name;
+
+ //quick workaround if filename length > 255 - ".rsp", just cut the dirs starting from the end
+ //please note ".$unique_name" is not used at the moment
+ int pos = 0;
+ std::string delimiter("_");
+ while (rspfile.length() > 250 && (pos = rspfile.find_last_of(delimiter)) != std::string::npos)
+ rspfile = rspfile.substr(0,pos);
+
if (!target_->sources().empty())
rspfile += ".$unique_name";
rspfile += ".rsp";
+
out_ << " rspfile = " << rspfile << std::endl;

// Response file contents.
27 changes: 27 additions & 0 deletions recipes/qt/all/patches/c994a33.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
From c994a334701ab80fcc154f5330492c751d1e2490 Mon Sep 17 00:00:00 2001
From: Eric Lemanissier <[email protected]>
Date: Tue, 26 May 2020 16:51:08 +0000
Subject: [PATCH] QMimeDatabase/xml: use xmlstarlet instead of xml

some distributions (eg Ubuntu) don't provide xml executable, but only xmlstarlet executable

Change-Id: Icc801ded8d4ec1ec4d1dab93289a2365f8cd9cbd
Pick-to: 5.15
---

diff --git a/src/corelib/mimetypes/mime/generate.pl b/src/corelib/mimetypes/mime/generate.pl
index 0f87d61..4c1cb5b 100644
--- a/src/corelib/mimetypes/mime/generate.pl
+++ b/src/corelib/mimetypes/mime/generate.pl
@@ -67,9 +67,9 @@

# Check if xml (from xmlstarlet) is in $PATH
my $cmd;
-if (checkCommand("xml")) {
+if (checkCommand("xmlstarlet")) {
# Minify the data before compressing
- $cmd = "xml sel -D -B -t -c / $fname";
+ $cmd = "xmlstarlet sel -D -B -t -c / $fname";
$cmd .= "| $compress" if $compress;
} elsif ($compress) {
$cmd = "$compress < $fname"
27 changes: 27 additions & 0 deletions recipes/qt/all/patches/e2eb6e9.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
From e2eb6e9bf75957b3139aefc4827d6256458d8836 Mon Sep 17 00:00:00 2001
From: Thiago Macieira <[email protected]>
Date: Tue, 26 May 2020 09:10:39 -0700
Subject: [PATCH] QMimeDatabase/zstd: use -T1 instead of --single-thread

Some older versions of the command-line tool don't have --single-thread
but do have -T1. They're slightly different according to the
documentation, but it's not important to us. What we want is to make
sure we consume a single CPU during build.

Pick-To: 5.15
Change-Id: Ied637aece2a7427b8a2dfffd16129fe88a0466ee
---

diff --git a/src/corelib/mimetypes/mime/generate.pl b/src/corelib/mimetypes/mime/generate.pl
index 0f87d61..8ac4b50 100644
--- a/src/corelib/mimetypes/mime/generate.pl
+++ b/src/corelib/mimetypes/mime/generate.pl
@@ -60,7 +60,7 @@
if ($fname eq "--zstd") {
$fname = shift @ARGV;
if (checkCommand("zstd")) {
- $compress = "zstd -cq19 --single-thread";
+ $compress = "zstd -cq19 -T1";
$macro = "MIME_DATABASE_IS_ZSTD";
}
}
Loading