Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-qt/qtcore/
Date: Mon, 30 May 2022 16:09:37
Message-Id: 1653926941.9e73dad4db68a5ad67cfb70af3c04031a9074bd2.asturm@gentoo
1 commit: 9e73dad4db68a5ad67cfb70af3c04031a9074bd2
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 30 15:59:28 2022 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Mon May 30 16:09:01 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e73dad4
7
8 dev-qt/qtcore: Drop 5.15.4-r0, 5.15.4-r1
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 dev-qt/qtcore/Manifest | 1 -
14 dev-qt/qtcore/qtcore-5.15.4-r1.ebuild | 121 ----------------------------------
15 dev-qt/qtcore/qtcore-5.15.4.ebuild | 102 ----------------------------
16 3 files changed, 224 deletions(-)
17
18 diff --git a/dev-qt/qtcore/Manifest b/dev-qt/qtcore/Manifest
19 index 00973c551288..690621983b17 100644
20 --- a/dev-qt/qtcore/Manifest
21 +++ b/dev-qt/qtcore/Manifest
22 @@ -1,5 +1,4 @@
23 DIST qtbase-5.15.3-gentoo-kde-1.tar.xz 337032 BLAKE2B a5a3ff6c6002e386d15dd3122faec8e09fba19df12db59a6cdff1f04b7cc9919cf5cc30f4ae936ee3cb29cf110e714bb727929330ced292b699472367adfef4c SHA512 042743816f3c08dc3313be76da31e206c37dd7dc5b2604b36ef4be18ad66a89d9d29a61f9cccaa169665f742f7fbfb60822189e8cab0d23f3d4efe293a79f78c
24 -DIST qtbase-5.15.4-gentoo-kde-1.tar.xz 507288 BLAKE2B a22d3745d3c690e29f7726cc464e3721777768e6e4f937e84ee2d2e14a13bcf7724e0c30b2cf4277c9ac7dadc1078545e14fb5459fbc3acc7259fb3e39e2f417 SHA512 a52bdf189e4c0fe341c2db0a5923a3600503d8eaa0c3693923a02a0ab4fa6dfc1beb21067f4723fcf2e4d7c71e39a496bf34e109e1e1c8c42922ff53f6712373
25 DIST qtbase-5.15.4-gentoo-kde-2.tar.xz 508404 BLAKE2B 315a65bc62ceba98edeaf2e9e212d25d08dd99a309a65000fe4397a69593a30f06a48f208b5506849115ffb8b34a92928d2a8505cbc46567cf37da540be48a08 SHA512 ac4a21f6ee2a1a897b25c8fb4a127ae5b47c7dc5ada5c382dd6976c37e2e1a90cbc5e3d457fc240d8939b20947b0e83a666e141adc66c16188749114f783af4c
26 DIST qtbase-everywhere-opensource-src-5.15.3.tar.xz 50204364 BLAKE2B 9c011e8d6033e340a1d7be6bd9100a05d55638cfd53f647752853382574b6c444668eae36bf88cfedde0e7c0e00ecb1f91d025fc59c23be5438ba0ef91a5246c SHA512 01723eff5116a1d7d136fa32d2aee2691b227a241dbc160953ee72a8c0f3bc7ab771c17434629cabef419983ef43bb38aa6956ddcc09c9a82e116a50073b0079
27 DIST qtbase-everywhere-opensource-src-5.15.4.tar.xz 50225468 BLAKE2B 3525126791ca168ea4227bc58bef0202f4cec68396c958b0e7f09e7b41ca9d70bbcf0e78b5e7997bc3e4a59e889128f93964b5d0a9db7d012403581cff3dc30b SHA512 91a1d95c2891939ae55134e8897cbc423142bd8eda954a1e65bb563b0932ed9e2da34db374fd86858b4a819e8abe824a967b31f4fb316528ec8aaf15016c6ad3
28
29 diff --git a/dev-qt/qtcore/qtcore-5.15.4-r1.ebuild b/dev-qt/qtcore/qtcore-5.15.4-r1.ebuild
30 deleted file mode 100644
31 index 034469ed1e79..000000000000
32 --- a/dev-qt/qtcore/qtcore-5.15.4-r1.ebuild
33 +++ /dev/null
34 @@ -1,121 +0,0 @@
35 -# Copyright 1999-2022 Gentoo Authors
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=8
39 -
40 -QT5_KDEPATCHSET_REV=1
41 -QT5_MODULE="qtbase"
42 -inherit linux-info flag-o-matic qt5-build
43 -
44 -DESCRIPTION="Cross-platform application development framework"
45 -SLOT=5/${QT5_PV}
46 -
47 -if [[ ${QT5_BUILD_TYPE} == release ]]; then
48 - KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
49 -fi
50 -
51 -IUSE="icu old-kernel systemd"
52 -
53 -DEPEND="
54 - dev-libs/double-conversion:=
55 - dev-libs/glib:2
56 - dev-libs/libpcre2[pcre16,unicode]
57 - sys-libs/zlib:=
58 - icu? ( dev-libs/icu:= )
59 - !icu? ( virtual/libiconv )
60 - systemd? ( sys-apps/systemd:= )
61 -"
62 -RDEPEND="${DEPEND}"
63 -
64 -QT5_TARGET_SUBDIRS=(
65 - src/tools/bootstrap
66 - src/tools/moc
67 - src/tools/rcc
68 - src/corelib
69 - src/tools/qlalr
70 - doc
71 -)
72 -
73 -QT5_GENTOO_PRIVATE_CONFIG=(
74 - !:network
75 - !:sql
76 - !:testlib
77 - !:xml
78 -)
79 -
80 -PATCHES=(
81 - "${FILESDIR}"/${PN}-5.15.3-pthread.patch # bug 803470
82 -)
83 -
84 -pkg_pretend() {
85 - use kernel_linux || return
86 - get_running_version
87 - if kernel_is -lt 4 11 && ! use old-kernel; then
88 - ewarn "The running kernel is older than 4.11. USE=old-kernel is needed for"
89 - ewarn "dev-qt/qtcore to function on this kernel properly. Bugs #669994, #672856"
90 - fi
91 -}
92 -
93 -src_prepare() {
94 - # don't add -O3 to CXXFLAGS, bug 549140
95 - sed -i -e '/CONFIG\s*+=/s/optimize_full//' src/corelib/corelib.pro || die
96 -
97 - # fix missing qt_version_tag symbol w/ LTO, bug 674382
98 - sed -i -e 's/^gcc:ltcg/gcc/' src/corelib/global/global.pri || die
99 -
100 - # Broken with FORTIFY_SOURCE=3
101 - # Our toolchain sets F_S=2 by default w/ >= -O2, so we need
102 - # to unset F_S first, then explicitly set 2, to negate any default
103 - # and anything set by the user if they're choosing 3 (or if they've
104 - # modified GCC to set 3).
105 - #
106 - # Refs:
107 - # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105078
108 - # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105709
109 - # https://bugreports.qt.io/browse/QTBUG-103782
110 - # bug #847145
111 - if is-flagq '-O[23]' || is-flagq '-Ofast' ; then
112 - # We can't unconditionally do this b/c we fortify needs
113 - # some level of optimisation.
114 - filter-flags -D_FORTIFY_SOURCE=3
115 - # (Qt doesn't seem to respect CPPFLAGS?)
116 - append-flags -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
117 - fi
118 -
119 - qt5-build_src_prepare
120 -}
121 -
122 -src_configure() {
123 - local myconf=(
124 - $(qt_use icu)
125 - $(qt_use !icu iconv)
126 - $(qt_use systemd journald)
127 - )
128 - use old-kernel && myconf+=(
129 - -no-feature-renameat2 # needs Linux 3.16, bug 669994
130 - -no-feature-getentropy # needs Linux 3.17, bug 669994
131 - -no-feature-statx # needs Linux 4.11, bug 672856
132 - )
133 - qt5-build_src_configure
134 -}
135 -
136 -src_install() {
137 - qt5-build_src_install
138 - qt5_symlink_binary_to_path qmake 5
139 -
140 - local flags=(
141 - DBUS FREETYPE IMAGEFORMAT_JPEG IMAGEFORMAT_PNG
142 - OPENGL OPENSSL SSL WIDGETS
143 - )
144 -
145 - for flag in ${flags[@]}; do
146 - cat >> "${D}"/${QT5_HEADERDIR}/QtCore/qconfig.h <<- _EOF_ || die
147 -
148 - #if defined(QT_NO_${flag}) && defined(QT_${flag})
149 - # undef QT_NO_${flag}
150 - #elif !defined(QT_NO_${flag}) && !defined(QT_${flag})
151 - # define QT_NO_${flag}
152 - #endif
153 - _EOF_
154 - done
155 -}
156
157 diff --git a/dev-qt/qtcore/qtcore-5.15.4.ebuild b/dev-qt/qtcore/qtcore-5.15.4.ebuild
158 deleted file mode 100644
159 index ed8758faba13..000000000000
160 --- a/dev-qt/qtcore/qtcore-5.15.4.ebuild
161 +++ /dev/null
162 @@ -1,102 +0,0 @@
163 -# Copyright 1999-2022 Gentoo Authors
164 -# Distributed under the terms of the GNU General Public License v2
165 -
166 -EAPI=8
167 -
168 -QT5_KDEPATCHSET_REV=1
169 -QT5_MODULE="qtbase"
170 -inherit linux-info qt5-build
171 -
172 -DESCRIPTION="Cross-platform application development framework"
173 -SLOT=5/${QT5_PV}
174 -
175 -if [[ ${QT5_BUILD_TYPE} == release ]]; then
176 - KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
177 -fi
178 -
179 -IUSE="icu old-kernel systemd"
180 -
181 -DEPEND="
182 - dev-libs/double-conversion:=
183 - dev-libs/glib:2
184 - dev-libs/libpcre2[pcre16,unicode]
185 - sys-libs/zlib:=
186 - icu? ( dev-libs/icu:= )
187 - !icu? ( virtual/libiconv )
188 - systemd? ( sys-apps/systemd:= )
189 -"
190 -RDEPEND="${DEPEND}"
191 -
192 -QT5_TARGET_SUBDIRS=(
193 - src/tools/bootstrap
194 - src/tools/moc
195 - src/tools/rcc
196 - src/corelib
197 - src/tools/qlalr
198 - doc
199 -)
200 -
201 -QT5_GENTOO_PRIVATE_CONFIG=(
202 - !:network
203 - !:sql
204 - !:testlib
205 - !:xml
206 -)
207 -
208 -PATCHES=(
209 - "${FILESDIR}"/${PN}-5.15.3-pthread.patch # bug 803470
210 -)
211 -
212 -pkg_pretend() {
213 - use kernel_linux || return
214 - get_running_version
215 - if kernel_is -lt 4 11 && ! use old-kernel; then
216 - ewarn "The running kernel is older than 4.11. USE=old-kernel is needed for"
217 - ewarn "dev-qt/qtcore to function on this kernel properly. Bugs #669994, #672856"
218 - fi
219 -}
220 -
221 -src_prepare() {
222 - # don't add -O3 to CXXFLAGS, bug 549140
223 - sed -i -e '/CONFIG\s*+=/s/optimize_full//' src/corelib/corelib.pro || die
224 -
225 - # fix missing qt_version_tag symbol w/ LTO, bug 674382
226 - sed -i -e 's/^gcc:ltcg/gcc/' src/corelib/global/global.pri || die
227 -
228 - qt5-build_src_prepare
229 -}
230 -
231 -src_configure() {
232 - local myconf=(
233 - $(qt_use icu)
234 - $(qt_use !icu iconv)
235 - $(qt_use systemd journald)
236 - )
237 - use old-kernel && myconf+=(
238 - -no-feature-renameat2 # needs Linux 3.16, bug 669994
239 - -no-feature-getentropy # needs Linux 3.17, bug 669994
240 - -no-feature-statx # needs Linux 4.11, bug 672856
241 - )
242 - qt5-build_src_configure
243 -}
244 -
245 -src_install() {
246 - qt5-build_src_install
247 - qt5_symlink_binary_to_path qmake 5
248 -
249 - local flags=(
250 - DBUS FREETYPE IMAGEFORMAT_JPEG IMAGEFORMAT_PNG
251 - OPENGL OPENSSL SSL WIDGETS
252 - )
253 -
254 - for flag in ${flags[@]}; do
255 - cat >> "${D}"/${QT5_HEADERDIR}/QtCore/qconfig.h <<- _EOF_ || die
256 -
257 - #if defined(QT_NO_${flag}) && defined(QT_${flag})
258 - # undef QT_NO_${flag}
259 - #elif !defined(QT_NO_${flag}) && !defined(QT_${flag})
260 - # define QT_NO_${flag}
261 - #endif
262 - _EOF_
263 - done
264 -}