1 |
commit: 652c73b5e469b985670628eb7001e03076aeabf7 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 12 12:55:53 2022 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 12 16:12:13 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=652c73b5 |
7 |
|
8 |
dev-qt/qtcore: 5.15.2-r13 version bump at KDE 38ad2f39 |
9 |
|
10 |
Changes since 7c6c0030cf80ef7b9ace42996b0e0c3a72f76860: |
11 |
|
12 |
Alexander Volkov (1): |
13 |
Call statx() with AT_NO_AUTOMOUNT |
14 |
|
15 |
Allan Sandfeld Jensen (1): |
16 |
Avoid mixing atomic futex changes and QAtomic |
17 |
|
18 |
Andreas Buhr (1): |
19 |
Fix segmentation fault in QObject::dumpObjectInfo |
20 |
|
21 |
Andreas Sturmlechner (1): |
22 |
QDateTime: Don't require c++17 |
23 |
|
24 |
Antonio Rojas (1): |
25 |
Restore C++11 compatibility after e8b9f4c28d3ab5e960dc54f2dc0c4b749b0b50e0 |
26 |
|
27 |
Ievgenii Meshcheriakov (2): |
28 |
QThread: Reset the system thread ID when thread exits on Unix |
29 |
QThread: Remove superfluous initialization of threadId on Unix |
30 |
|
31 |
Jarek Kobus (1): |
32 |
Fix pattern type matching |
33 |
|
34 |
Marc Mutz (8): |
35 |
QVarLengthArray: fix UB (precondition violation) in range-erase() |
36 |
QString: fix UB (pointer arithmetic on nullptr) in qLastIndexOf |
37 |
QDateTime: fix UB (signed overflow) in addDays() |
38 |
QVariantAnimation: fix UB (FP 0/0) in interpolated() arg calculation |
39 |
QThread: fix UB (invalid enum value) on Private::Priority |
40 |
QVarLengthArray: assert that the range passed to erase() is valid |
41 |
QVarLengthArray: fix insert() type/alias mismatch between decl and impl |
42 |
QVarLengthArray: fix size update on failed append() |
43 |
|
44 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
45 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
46 |
|
47 |
dev-qt/qtcore/Manifest | 1 + |
48 |
dev-qt/qtcore/qtcore-5.15.2-r13.ebuild | 104 +++++++++++++++++++++++++++++++++ |
49 |
2 files changed, 105 insertions(+) |
50 |
|
51 |
diff --git a/dev-qt/qtcore/Manifest b/dev-qt/qtcore/Manifest |
52 |
index 8f45ea5ec73a..4f0dd80dbe1f 100644 |
53 |
--- a/dev-qt/qtcore/Manifest |
54 |
+++ b/dev-qt/qtcore/Manifest |
55 |
@@ -1 +1,2 @@ |
56 |
+DIST qtbase-5.15.2-38ad2f39.tar.gz 67969272 BLAKE2B 9071c96e8162d8141676f63aab82ca61ba29039e79066939fb74501187ae95cca34c924f1105827411f021efca2f40a62b7acde845d0d463604b234a3a8f8370 SHA512 df4f2dce732f62c797f77c266e268097f32a5d7605b3464c9a76d323d8ec069c902994df6afa28823d3c03f5d4ca0295cac47e28773b25e2f9387e3475f52f82 |
57 |
DIST qtbase-5.15.2-7c6c0030.tar.gz 67967537 BLAKE2B 623b99942e9df9bc8ac436a21503060845f9e3532aa0e02ccd927762382be26091878fbe092e80c0ac68bead51d09647e40e0cf61361d62ad226ed46b221132b SHA512 eb88b21764591246c5f04f63405dbfcd39afb737e96bb29c7721644b9aba3ea95df24ed9699acfd03a8c088ee72efec1fb0267aef8d665d5ec72ee75fc08ecdc |
58 |
|
59 |
diff --git a/dev-qt/qtcore/qtcore-5.15.2-r13.ebuild b/dev-qt/qtcore/qtcore-5.15.2-r13.ebuild |
60 |
new file mode 100644 |
61 |
index 000000000000..0b8f86d5973a |
62 |
--- /dev/null |
63 |
+++ b/dev-qt/qtcore/qtcore-5.15.2-r13.ebuild |
64 |
@@ -0,0 +1,104 @@ |
65 |
+# Copyright 1999-2022 Gentoo Authors |
66 |
+# Distributed under the terms of the GNU General Public License v2 |
67 |
+ |
68 |
+EAPI=8 |
69 |
+ |
70 |
+KDE_ORG_COMMIT=38ad2f39daec09168728033969265834b6a2d924 |
71 |
+QT5_MODULE="qtbase" |
72 |
+inherit linux-info qt5-build |
73 |
+ |
74 |
+DESCRIPTION="Cross-platform application development framework" |
75 |
+SLOT=5/${QT5_PV} |
76 |
+ |
77 |
+if [[ ${QT5_BUILD_TYPE} == release ]]; then |
78 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" |
79 |
+fi |
80 |
+ |
81 |
+IUSE="icu old-kernel systemd" |
82 |
+ |
83 |
+DEPEND=" |
84 |
+ dev-libs/double-conversion:= |
85 |
+ dev-libs/glib:2 |
86 |
+ dev-libs/libpcre2[pcre16,unicode] |
87 |
+ sys-libs/zlib:= |
88 |
+ icu? ( dev-libs/icu:= ) |
89 |
+ !icu? ( virtual/libiconv ) |
90 |
+ systemd? ( sys-apps/systemd:= ) |
91 |
+" |
92 |
+RDEPEND="${DEPEND} |
93 |
+ >=dev-qt/qtchooser-66-r1 |
94 |
+" |
95 |
+ |
96 |
+QT5_TARGET_SUBDIRS=( |
97 |
+ src/tools/bootstrap |
98 |
+ src/tools/moc |
99 |
+ src/tools/rcc |
100 |
+ src/corelib |
101 |
+ src/tools/qlalr |
102 |
+ doc |
103 |
+) |
104 |
+ |
105 |
+QT5_GENTOO_PRIVATE_CONFIG=( |
106 |
+ !:network |
107 |
+ !:sql |
108 |
+ !:testlib |
109 |
+ !:xml |
110 |
+) |
111 |
+ |
112 |
+PATCHES=( |
113 |
+ "${FILESDIR}"/${PN}-5.14.1-cmake-macro-backward-compat.patch # bug 703306 |
114 |
+ "${FILESDIR}"/${PN}-5.15.1-timezone-{1,2}.patch # bug 737914 |
115 |
+) |
116 |
+ |
117 |
+pkg_pretend() { |
118 |
+ use kernel_linux || return |
119 |
+ get_running_version |
120 |
+ if kernel_is -lt 4 11 && ! use old-kernel; then |
121 |
+ ewarn "The running kernel is older than 4.11. USE=old-kernel is needed for" |
122 |
+ ewarn "dev-qt/qtcore to function on this kernel properly. Bugs #669994, #672856" |
123 |
+ fi |
124 |
+} |
125 |
+ |
126 |
+src_prepare() { |
127 |
+ # don't add -O3 to CXXFLAGS, bug 549140 |
128 |
+ sed -i -e '/CONFIG\s*+=/s/optimize_full//' src/corelib/corelib.pro || die |
129 |
+ |
130 |
+ # fix missing qt_version_tag symbol w/ LTO, bug 674382 |
131 |
+ sed -i -e 's/^gcc:ltcg/gcc/' src/corelib/global/global.pri || die |
132 |
+ |
133 |
+ qt5-build_src_prepare |
134 |
+} |
135 |
+ |
136 |
+src_configure() { |
137 |
+ local myconf=( |
138 |
+ $(qt_use icu) |
139 |
+ $(qt_use !icu iconv) |
140 |
+ $(qt_use systemd journald) |
141 |
+ ) |
142 |
+ use old-kernel && myconf+=( |
143 |
+ -no-feature-renameat2 # needs Linux 3.16, bug 669994 |
144 |
+ -no-feature-getentropy # needs Linux 3.17, bug 669994 |
145 |
+ -no-feature-statx # needs Linux 4.11, bug 672856 |
146 |
+ ) |
147 |
+ qt5-build_src_configure |
148 |
+} |
149 |
+ |
150 |
+src_install() { |
151 |
+ qt5-build_src_install |
152 |
+ |
153 |
+ local flags=( |
154 |
+ DBUS FREETYPE IMAGEFORMAT_JPEG IMAGEFORMAT_PNG |
155 |
+ OPENGL OPENSSL SSL WIDGETS |
156 |
+ ) |
157 |
+ |
158 |
+ for flag in ${flags[@]}; do |
159 |
+ cat >> "${D}"/${QT5_HEADERDIR}/QtCore/qconfig.h <<- _EOF_ || die |
160 |
+ |
161 |
+ #if defined(QT_NO_${flag}) && defined(QT_${flag}) |
162 |
+ # undef QT_NO_${flag} |
163 |
+ #elif !defined(QT_NO_${flag}) && !defined(QT_${flag}) |
164 |
+ # define QT_NO_${flag} |
165 |
+ #endif |
166 |
+ _EOF_ |
167 |
+ done |
168 |
+} |