Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/qt:master commit in: dev-qt/qtwebengine/, dev-qt/qtwebengine/files/
Date: Sat, 08 Feb 2020 20:35:51
Message-Id: 1581193407.1063d701da0b8e04a5bb01dee749ce18bbb48c7a.asturm@gentoo
1 commit: 1063d701da0b8e04a5bb01dee749ce18bbb48c7a
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 8 20:23:27 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 8 20:23:27 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/qt.git/commit/?id=1063d701
7
8 dev-qt/qtwebengine: pax_kernel is dead
9
10 Closes: https://bugs.gentoo.org/634220
11 Package-Manager: Portage-2.3.87, Repoman-2.3.20
12 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
13
14 .../qtwebengine-5.11.2-paxmark-mksnapshot.patch | 41 ----------------------
15 dev-qt/qtwebengine/metadata.xml | 1 -
16 dev-qt/qtwebengine/qtwebengine-5.12.9999.ebuild | 13 +++----
17 dev-qt/qtwebengine/qtwebengine-5.14.9999.ebuild | 11 ++----
18 dev-qt/qtwebengine/qtwebengine-5.15.9999.ebuild | 11 ++----
19 dev-qt/qtwebengine/qtwebengine-5.9999.ebuild | 13 +++----
20 6 files changed, 14 insertions(+), 76 deletions(-)
21
22 diff --git a/dev-qt/qtwebengine/files/qtwebengine-5.11.2-paxmark-mksnapshot.patch b/dev-qt/qtwebengine/files/qtwebengine-5.11.2-paxmark-mksnapshot.patch
23 deleted file mode 100644
24 index f7a5c064..00000000
25 --- a/dev-qt/qtwebengine/files/qtwebengine-5.11.2-paxmark-mksnapshot.patch
26 +++ /dev/null
27 @@ -1,41 +0,0 @@
28 -Bug: https://bugs.gentoo.org/634220
29 -
30 ---- a/src/3rdparty/chromium/v8/BUILD.gn
31 -+++ b/src/3rdparty/chromium/v8/BUILD.gn
32 -@@ -803,6 +803,7 @@
33 -
34 - deps = [
35 - ":mksnapshot($v8_snapshot_toolchain)",
36 -+ ":run_paxmark",
37 - ]
38 -
39 - script = "tools/run.py"
40 -@@ -854,6 +855,28 @@
41 - }
42 - }
43 - }
44 -+action("run_paxmark") {
45 -+ visibility = [ ":*" ] # Only targets in this file can depend on this.
46 -+
47 -+ deps = [
48 -+ ":mksnapshot($v8_snapshot_toolchain)",
49 -+ ]
50 -+
51 -+ script = "/usr/sbin/pypaxctl"
52 -+
53 -+ sources = []
54 -+
55 -+ outputs = [
56 -+ "$target_out_dir/mksnapshot",
57 -+ ]
58 -+
59 -+ args = [
60 -+ "-sm",
61 -+ "./" + rebase_path(get_label_info(":mksnapshot($v8_snapshot_toolchain)",
62 -+ "root_out_dir") + "/mksnapshot",
63 -+ root_build_dir),
64 -+ ]
65 -+}
66 -
67 - action("v8_dump_build_config") {
68 - script = "tools/testrunner/utils/dump_build_config.py"
69
70 diff --git a/dev-qt/qtwebengine/metadata.xml b/dev-qt/qtwebengine/metadata.xml
71 index 75d11c0b..380559ac 100644
72 --- a/dev-qt/qtwebengine/metadata.xml
73 +++ b/dev-qt/qtwebengine/metadata.xml
74 @@ -9,7 +9,6 @@
75 <flag name="designer">Install the QWebEngineView plugin used to add widgets in
76 <pkg>dev-qt/designer</pkg> forms that display web pages.</flag>
77 <flag name="jumbo-build">Combine source files to speed up build process.</flag>
78 - <flag name="pax_kernel">Enable building under a PaX enabled kernel</flag>
79 <flag name="system-ffmpeg">Use the system-wide <pkg>media-video/ffmpeg</pkg>
80 instead of bundled.</flag>
81 <flag name="system-icu">Use the system-wide <pkg>dev-libs/icu</pkg>
82
83 diff --git a/dev-qt/qtwebengine/qtwebengine-5.12.9999.ebuild b/dev-qt/qtwebengine/qtwebengine-5.12.9999.ebuild
84 index cdbb48bf..1ef75cf4 100644
85 --- a/dev-qt/qtwebengine/qtwebengine-5.12.9999.ebuild
86 +++ b/dev-qt/qtwebengine/qtwebengine-5.12.9999.ebuild
87 @@ -1,9 +1,10 @@
88 -# Copyright 1999-2019 Gentoo Authors
89 +# Copyright 1999-2020 Gentoo Authors
90 # Distributed under the terms of the GNU General Public License v2
91
92 EAPI=7
93 +
94 PYTHON_COMPAT=( python2_7 )
95 -inherit multiprocessing pax-utils python-any-r1 qt5-build
96 +inherit multiprocessing python-any-r1 qt5-build
97
98 DESCRIPTION="Library for rendering dynamic web content in Qt5 C++ and QML applications"
99
100 @@ -11,8 +12,7 @@ if [[ ${QT5_BUILD_TYPE} == release ]]; then
101 KEYWORDS="~amd64 ~arm ~arm64 ~x86"
102 fi
103
104 -IUSE="alsa bindist designer jumbo-build pax_kernel pulseaudio
105 - +system-ffmpeg +system-icu widgets"
106 +IUSE="alsa bindist designer jumbo-build pulseaudio +system-ffmpeg +system-icu widgets"
107 REQUIRED_USE="designer? ( widgets )"
108
109 RDEPEND="
110 @@ -75,7 +75,6 @@ DEPEND="${RDEPEND}
111 dev-util/ninja
112 dev-util/re2c
113 sys-devel/bison
114 - pax_kernel? ( sys-apps/elfix )
115 "
116
117 PATCHES+=(
118 @@ -83,8 +82,6 @@ PATCHES+=(
119 )
120
121 src_prepare() {
122 - use pax_kernel && PATCHES+=( "${FILESDIR}/${PN}-5.11.2-paxmark-mksnapshot.patch" )
123 -
124 if ! use jumbo-build; then
125 sed -i -e 's|use_jumbo_build=true|use_jumbo_build=false|' \
126 src/core/config/common.pri || die
127 @@ -128,6 +125,4 @@ src_install() {
128 if [[ ! -f ${D}${QT5_LIBDIR}/libQt5WebEngine.so ]]; then
129 die "${CATEGORY}/${PF} failed to build anything. Please report to https://bugs.gentoo.org/"
130 fi
131 -
132 - pax-mark m "${D}${QT5_LIBEXECDIR}"/QtWebEngineProcess
133 }
134
135 diff --git a/dev-qt/qtwebengine/qtwebengine-5.14.9999.ebuild b/dev-qt/qtwebengine/qtwebengine-5.14.9999.ebuild
136 index 59cd6171..2f92716a 100644
137 --- a/dev-qt/qtwebengine/qtwebengine-5.14.9999.ebuild
138 +++ b/dev-qt/qtwebengine/qtwebengine-5.14.9999.ebuild
139 @@ -2,8 +2,9 @@
140 # Distributed under the terms of the GNU General Public License v2
141
142 EAPI=7
143 +
144 PYTHON_COMPAT=( python2_7 )
145 -inherit multiprocessing pax-utils python-any-r1 qt5-build
146 +inherit multiprocessing python-any-r1 qt5-build
147
148 DESCRIPTION="Library for rendering dynamic web content in Qt5 C++ and QML applications"
149
150 @@ -11,8 +12,7 @@ if [[ ${QT5_BUILD_TYPE} == release ]]; then
151 KEYWORDS="~amd64 ~arm ~arm64 ~x86"
152 fi
153
154 -IUSE="alsa bindist designer geolocation jumbo-build pax_kernel
155 - pulseaudio +system-ffmpeg +system-icu widgets"
156 +IUSE="alsa bindist designer geolocation jumbo-build pulseaudio +system-ffmpeg +system-icu widgets"
157 REQUIRED_USE="designer? ( widgets )"
158
159 RDEPEND="
160 @@ -75,12 +75,9 @@ DEPEND="${RDEPEND}
161 dev-util/ninja
162 dev-util/re2c
163 sys-devel/bison
164 - pax_kernel? ( sys-apps/elfix )
165 "
166
167 src_prepare() {
168 - use pax_kernel && PATCHES+=( "${FILESDIR}/${PN}-5.11.2-paxmark-mksnapshot.patch" )
169 -
170 if ! use jumbo-build; then
171 sed -i -e 's|use_jumbo_build=true|use_jumbo_build=false|' \
172 src/buildtools/config/common.pri || die
173 @@ -125,6 +122,4 @@ src_install() {
174 if [[ ! -f ${D}${QT5_LIBDIR}/libQt5WebEngine.so ]]; then
175 die "${CATEGORY}/${PF} failed to build anything. Please report to https://bugs.gentoo.org/"
176 fi
177 -
178 - pax-mark m "${D}${QT5_LIBEXECDIR}"/QtWebEngineProcess
179 }
180
181 diff --git a/dev-qt/qtwebengine/qtwebengine-5.15.9999.ebuild b/dev-qt/qtwebengine/qtwebengine-5.15.9999.ebuild
182 index c34e9f79..0af3da8e 100644
183 --- a/dev-qt/qtwebengine/qtwebengine-5.15.9999.ebuild
184 +++ b/dev-qt/qtwebengine/qtwebengine-5.15.9999.ebuild
185 @@ -2,8 +2,9 @@
186 # Distributed under the terms of the GNU General Public License v2
187
188 EAPI=7
189 +
190 PYTHON_COMPAT=( python2_7 )
191 -inherit multiprocessing pax-utils python-any-r1 qt5-build
192 +inherit multiprocessing python-any-r1 qt5-build
193
194 DESCRIPTION="Library for rendering dynamic web content in Qt5 C++ and QML applications"
195
196 @@ -11,8 +12,7 @@ if [[ ${QT5_BUILD_TYPE} == release ]]; then
197 KEYWORDS="~amd64 ~arm ~arm64 ~x86"
198 fi
199
200 -IUSE="alsa bindist designer geolocation jumbo-build pax_kernel
201 - pulseaudio +system-ffmpeg +system-icu widgets"
202 +IUSE="alsa bindist designer geolocation jumbo-build pulseaudio +system-ffmpeg +system-icu widgets"
203 REQUIRED_USE="designer? ( widgets )"
204
205 RDEPEND="
206 @@ -75,12 +75,9 @@ DEPEND="${RDEPEND}
207 dev-util/ninja
208 dev-util/re2c
209 sys-devel/bison
210 - pax_kernel? ( sys-apps/elfix )
211 "
212
213 src_prepare() {
214 - use pax_kernel && PATCHES+=( "${FILESDIR}/${PN}-5.11.2-paxmark-mksnapshot.patch" )
215 -
216 if ! use jumbo-build; then
217 sed -i -e 's|use_jumbo_build=true|use_jumbo_build=false|' \
218 src/buildtools/config/common.pri || die
219 @@ -126,6 +123,4 @@ src_install() {
220 if [[ ! -f ${D}${QT5_LIBDIR}/libQt5WebEngine.so ]]; then
221 die "${CATEGORY}/${PF} failed to build anything. Please report to https://bugs.gentoo.org/"
222 fi
223 -
224 - pax-mark m "${D}${QT5_LIBEXECDIR}"/QtWebEngineProcess
225 }
226
227 diff --git a/dev-qt/qtwebengine/qtwebengine-5.9999.ebuild b/dev-qt/qtwebengine/qtwebengine-5.9999.ebuild
228 index 3ec1fb34..7c6f51fc 100644
229 --- a/dev-qt/qtwebengine/qtwebengine-5.9999.ebuild
230 +++ b/dev-qt/qtwebengine/qtwebengine-5.9999.ebuild
231 @@ -1,9 +1,10 @@
232 -# Copyright 1999-2019 Gentoo Authors
233 +# Copyright 1999-2020 Gentoo Authors
234 # Distributed under the terms of the GNU General Public License v2
235
236 EAPI=7
237 +
238 PYTHON_COMPAT=( python2_7 )
239 -inherit multiprocessing pax-utils python-any-r1 qt5-build
240 +inherit multiprocessing python-any-r1 qt5-build
241
242 DESCRIPTION="Library for rendering dynamic web content in Qt5 C++ and QML applications"
243
244 @@ -11,8 +12,7 @@ if [[ ${QT5_BUILD_TYPE} == release ]]; then
245 KEYWORDS="~amd64 ~arm ~arm64 ~x86"
246 fi
247
248 -IUSE="alsa bindist designer jumbo-build pax_kernel pulseaudio
249 - +system-ffmpeg +system-icu widgets"
250 +IUSE="alsa bindist designer jumbo-build pulseaudio +system-ffmpeg +system-icu widgets"
251 REQUIRED_USE="designer? ( widgets )"
252
253 RDEPEND="
254 @@ -75,12 +75,9 @@ DEPEND="${RDEPEND}
255 dev-util/ninja
256 dev-util/re2c
257 sys-devel/bison
258 - pax_kernel? ( sys-apps/elfix )
259 "
260
261 src_prepare() {
262 - use pax_kernel && PATCHES+=( "${FILESDIR}/${PN}-5.11.2-paxmark-mksnapshot.patch" )
263 -
264 if ! use jumbo-build; then
265 sed -i -e 's|use_jumbo_build=true|use_jumbo_build=false|' \
266 src/core/config/common.pri || die
267 @@ -124,6 +121,4 @@ src_install() {
268 if [[ ! -f ${D}${QT5_LIBDIR}/libQt5WebEngine.so ]]; then
269 die "${CATEGORY}/${PF} failed to build anything. Please report to https://bugs.gentoo.org/"
270 fi
271 -
272 - pax-mark m "${D}${QT5_LIBEXECDIR}"/QtWebEngineProcess
273 }