1 |
commit: 1ed997118916a829d4d149cb933bb64232ad87c7 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 25 00:09:46 2021 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 25 00:10:29 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ed99711 |
7 |
|
8 |
dev-qt/qtwebengine: Drop 5.15.2_p20211210 |
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/qtwebengine/Manifest | 1 - |
14 |
.../qtwebengine-5.15.2_p20211210.ebuild | 228 --------------------- |
15 |
2 files changed, 229 deletions(-) |
16 |
|
17 |
diff --git a/dev-qt/qtwebengine/Manifest b/dev-qt/qtwebengine/Manifest |
18 |
index 3288fa450f84..9ee52fe9cdbc 100644 |
19 |
--- a/dev-qt/qtwebengine/Manifest |
20 |
+++ b/dev-qt/qtwebengine/Manifest |
21 |
@@ -1,5 +1,4 @@ |
22 |
DIST qtwebengine-5.15.2-r1-chromium87-ppc64le.tar.xz 28784 BLAKE2B aa101d14446f3282fda8932cc75a249d88b79319f0886d95777292776d94ac5f4fc114c3893b2801fbba6abb14f381172bb14b15b5ffef12413db3a16e4d1ca6 SHA512 3324e0076eb18e2ae2248428d2730cfb3413761514b2bb57e25b8db79248aaaa8098d9f7cebfa08f1a3b39b1d0a382aafed75c5ae8273918909335957921305e |
23 |
DIST qtwebengine-5.15.2_p20211019-jumbo-build.patch.bz2 2930 BLAKE2B fca1d1406874d04eafb64bb4d8730512a6307ba44fb99d76f428ca1bd4a303758e0c3bd8f92a59f7bcf62e5b767c5a8ed239028bdb74ad7a8b62abf88d38c101 SHA512 61cbfbe4ff340b75ea8d356e031e932ac03fe65dd009999ff897ca4b0185d1d989490daf75ffeaaabb3e92c870c11c7ff8ad2cd6372f5363b3d774b8ecca6d89 |
24 |
DIST qtwebengine-5.15.2_p20211019.tar.xz 320325744 BLAKE2B fac2f2a44e0f443a2642c0a0b3888ff15d047ce5b2de6673213db308e60f3e26b12adf98ad1dcf305630f0bc55abff078942711fbd10d05dc5a4095faadead25 SHA512 4abd2ca416228bbafa31aad9deae1466748930c02bcc08b559bbbb21fda598f720137e2af0cfa176dd534c8da97934d76e59b72c124b73564378fda0deaddaee |
25 |
-DIST qtwebengine-5.15.2_p20211210.tar.xz 318959420 BLAKE2B 84296cb89af428018485860cff026b374ae876038ce7eb75edb8dca7416ef8c541ad50b942dec1c7fbf59010f22a2b70452b29e35b2237054e08332f92a2d016 SHA512 d7afeed45db0a4bc7bcbc74837b1b32953114fc0afb62aeb969ef7361792313179f428d7ff43a14140b222d02c18f5118022037b1a9f9cd8852a93a4f34f545e |
26 |
DIST qtwebengine-5.15.2_p20211216.tar.xz 318953468 BLAKE2B 65b1bc5be8d08d10b75fee20f78a9a783f878874907335818cddde500e80633e91a999e92fd3de69d004c3621a8337c9bef2c949e03e552cab1d89d901e0dae2 SHA512 f72db4b6dcbdaa171bf2997ab3a77325f9845ef1d72cd994e6152f0f92d350de348ff15b1cde1140ab98b7eb10d6e2d2a3ac6b7d773ab43de37144faad37c3f3 |
27 |
|
28 |
diff --git a/dev-qt/qtwebengine/qtwebengine-5.15.2_p20211210.ebuild b/dev-qt/qtwebengine/qtwebengine-5.15.2_p20211210.ebuild |
29 |
deleted file mode 100644 |
30 |
index 0db381b9e6e0..000000000000 |
31 |
--- a/dev-qt/qtwebengine/qtwebengine-5.15.2_p20211210.ebuild |
32 |
+++ /dev/null |
33 |
@@ -1,228 +0,0 @@ |
34 |
-# Copyright 1999-2021 Gentoo Authors |
35 |
-# Distributed under the terms of the GNU General Public License v2 |
36 |
- |
37 |
-EAPI=8 |
38 |
- |
39 |
-PYTHON_COMPAT=( python2_7 ) |
40 |
-PYTHON_REQ_USE="xml(+)" |
41 |
-inherit estack flag-o-matic multiprocessing python-any-r1 qt5-build |
42 |
- |
43 |
-DESCRIPTION="Library for rendering dynamic web content in Qt5 C++ and QML applications" |
44 |
-HOMEPAGE="https://www.qt.io/" |
45 |
- |
46 |
-if [[ ${QT5_BUILD_TYPE} == release ]]; then |
47 |
- KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" |
48 |
- if [[ ${PV} == ${QT5_PV}_p* ]]; then |
49 |
- SRC_URI="https://dev.gentoo.org/~asturm/distfiles/${P}.tar.xz" |
50 |
- SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-5.15.2_p20211019-jumbo-build.patch.bz2" |
51 |
- S="${WORKDIR}/${P}" |
52 |
- QT5_BUILD_DIR="${S}_build" |
53 |
- fi |
54 |
-else |
55 |
- EGIT_BRANCH="5.15" |
56 |
- EGIT_REPO_URI=( |
57 |
- "https://code.qt.io/qt/${QT5_MODULE}.git" |
58 |
- "https://github.com/qt/${QT5_MODULE}.git" |
59 |
- ) |
60 |
- inherit git-r3 |
61 |
-fi |
62 |
- |
63 |
-# patchset based on https://github.com/chromium-ppc64le releases |
64 |
-SRC_URI+=" ppc64? ( https://dev.gentoo.org/~gyakovlev/distfiles/${PN}-5.15.2-r1-chromium87-ppc64le.tar.xz )" |
65 |
- |
66 |
-IUSE="alsa bindist designer geolocation +jumbo-build kerberos pulseaudio +system-ffmpeg +system-icu widgets" |
67 |
-REQUIRED_USE="designer? ( widgets )" |
68 |
- |
69 |
-RDEPEND=" |
70 |
- app-arch/snappy:= |
71 |
- dev-libs/glib:2 |
72 |
- dev-libs/nspr |
73 |
- dev-libs/nss |
74 |
- dev-libs/expat |
75 |
- dev-libs/libevent:= |
76 |
- dev-libs/libxml2[icu] |
77 |
- dev-libs/libxslt |
78 |
- dev-libs/re2:= |
79 |
- =dev-qt/qtcore-${QT5_PV}* |
80 |
- =dev-qt/qtdeclarative-${QT5_PV}* |
81 |
- =dev-qt/qtgui-${QT5_PV}* |
82 |
- =dev-qt/qtnetwork-${QT5_PV}* |
83 |
- =dev-qt/qtprintsupport-${QT5_PV}* |
84 |
- =dev-qt/qtwebchannel-${QT5_PV}*[qml] |
85 |
- media-libs/fontconfig |
86 |
- media-libs/freetype |
87 |
- media-libs/harfbuzz:= |
88 |
- media-libs/lcms:2 |
89 |
- media-libs/libjpeg-turbo:= |
90 |
- media-libs/libpng:0= |
91 |
- >=media-libs/libvpx-1.5:=[svc(+)] |
92 |
- media-libs/libwebp:= |
93 |
- media-libs/opus |
94 |
- sys-apps/dbus |
95 |
- sys-apps/pciutils |
96 |
- sys-libs/zlib[minizip] |
97 |
- virtual/libudev |
98 |
- x11-libs/libdrm |
99 |
- x11-libs/libX11 |
100 |
- x11-libs/libXcomposite |
101 |
- x11-libs/libXcursor |
102 |
- x11-libs/libXdamage |
103 |
- x11-libs/libXext |
104 |
- x11-libs/libXfixes |
105 |
- x11-libs/libXi |
106 |
- x11-libs/libxkbfile |
107 |
- x11-libs/libXrandr |
108 |
- x11-libs/libXrender |
109 |
- x11-libs/libXScrnSaver |
110 |
- x11-libs/libXtst |
111 |
- alsa? ( media-libs/alsa-lib ) |
112 |
- designer? ( =dev-qt/designer-${QT5_PV}* ) |
113 |
- geolocation? ( =dev-qt/qtpositioning-${QT5_PV}* ) |
114 |
- kerberos? ( virtual/krb5 ) |
115 |
- pulseaudio? ( media-sound/pulseaudio:= ) |
116 |
- system-ffmpeg? ( media-video/ffmpeg:0= ) |
117 |
- system-icu? ( >=dev-libs/icu-69.1:= ) |
118 |
- widgets? ( |
119 |
- =dev-qt/qtdeclarative-${QT5_PV}*[widgets] |
120 |
- =dev-qt/qtwidgets-${QT5_PV}* |
121 |
- ) |
122 |
-" |
123 |
-DEPEND="${RDEPEND} |
124 |
- media-libs/libglvnd |
125 |
-" |
126 |
-BDEPEND="${PYTHON_DEPS} |
127 |
- dev-util/gperf |
128 |
- dev-util/ninja |
129 |
- dev-util/re2c |
130 |
- net-libs/nodejs[ssl] |
131 |
- sys-devel/bison |
132 |
- sys-devel/flex |
133 |
- ppc64? ( >=dev-util/gn-0.1807 ) |
134 |
-" |
135 |
- |
136 |
-PATCHES=( |
137 |
- "${FILESDIR}/${PN}-5.15.2-disable-fatal-warnings.patch" # downstream, bug 695446 |
138 |
- "${FILESDIR}/${PN}-5.15.2-extra_gn.patch" # downstream, bug 774186 |
139 |
- "${FILESDIR}/${PN}-5.15.2_p20210224-chromium-87-v8-icu68.patch" # downstream, bug 757606 |
140 |
- "${FILESDIR}/${PN}-5.15.2_p20210224-disable-git.patch" # downstream snapshot fix |
141 |
- "${FILESDIR}/${PN}-5.15.2_p20211015-pdfium-system-lcms2.patch" # by Debian, QTBUG-61746 |
142 |
- "${FILESDIR}/${PN}-5.15.2_p20211210-sandbox-glibc-2.34.patch" # bug 828099, systemwide-clang? |
143 |
- "${WORKDIR}/${PN}-5.15.2_p20211019-jumbo-build.patch" # bug 813957 |
144 |
-) |
145 |
- |
146 |
-pkg_preinst() { |
147 |
- elog "This version of Qt WebEngine is based on Chromium version 87.0.4280, with" |
148 |
- elog "additional security fixes from newer versions. Extensive as it is, the" |
149 |
- elog "list of backports is impossible to evaluate, but always bound to be behind" |
150 |
- elog "Chromium's release schedule." |
151 |
- elog "In addition, various online services may deny service based on an outdated" |
152 |
- elog "user agent version (and/or other checks). Google is already known to do so." |
153 |
- elog |
154 |
- elog "tldr: Your web browsing experience will be compromised." |
155 |
-} |
156 |
- |
157 |
-src_unpack() { |
158 |
- # bug 307861 |
159 |
- eshopts_push -s extglob |
160 |
- if is-flagq '-g?(gdb)?([1-9])'; then |
161 |
- ewarn |
162 |
- ewarn "You have enabled debug info (probably have -g or -ggdb in your CFLAGS/CXXFLAGS)." |
163 |
- ewarn "You may experience really long compilation times and/or increased memory usage." |
164 |
- ewarn "If compilation fails, please try removing -g/-ggdb before reporting a bug." |
165 |
- ewarn |
166 |
- fi |
167 |
- eshopts_pop |
168 |
- |
169 |
- case ${QT5_BUILD_TYPE} in |
170 |
- live) git-r3_src_unpack ;& |
171 |
- release) default ;; |
172 |
- esac |
173 |
-} |
174 |
- |
175 |
-src_prepare() { |
176 |
- if [[ ${PV} == ${QT5_PV}_p* ]]; then |
177 |
- # This is made from git, and for some reason will fail w/o .git directories. |
178 |
- mkdir -p .git src/3rdparty/chromium/.git || die |
179 |
- fi |
180 |
- # We need to make sure this integrates well into Qt 5.15.2 installation. |
181 |
- # Otherwise revdeps fail w/o heavy changes. This is the simplest way to do it. |
182 |
- # See also: https://www.qt.io/blog/building-qt-webengine-against-other-qt-versions |
183 |
- sed -e "/^MODULE_VERSION/s/5\.15\.[3456789]/${QT5_PV}/" -i .qmake.conf || die |
184 |
- |
185 |
- # QTBUG-88657 - jumbo-build could still make trouble |
186 |
- if ! use jumbo-build; then |
187 |
- sed -i -e 's|use_jumbo_build=true|use_jumbo_build=false|' \ |
188 |
- src/buildtools/config/common.pri || die |
189 |
- fi |
190 |
- |
191 |
- # bug 620444 - ensure local headers are used |
192 |
- find "${S}" -type f -name "*.pr[fio]" | \ |
193 |
- xargs sed -i -e 's|INCLUDEPATH += |&$${QTWEBENGINE_ROOT}_build/include $${QTWEBENGINE_ROOT}/include |' || die |
194 |
- |
195 |
- if use system-icu; then |
196 |
- # Sanity check to ensure that bundled copy of ICU is not used. |
197 |
- # Whole src/3rdparty/chromium/third_party/icu directory cannot be deleted because |
198 |
- # src/3rdparty/chromium/third_party/icu/BUILD.gn is used by build system. |
199 |
- # If usage of headers of bundled copy of ICU occurs, then lists of shim headers in |
200 |
- # shim_headers("icui18n_shim") and shim_headers("icuuc_shim") in |
201 |
- # src/3rdparty/chromium/third_party/icu/BUILD.gn should be updated. |
202 |
- local file |
203 |
- while read file; do |
204 |
- echo "#error This file should not be used!" > "${file}" || die |
205 |
- done < <(find src/3rdparty/chromium/third_party/icu -type f "(" -name "*.c" -o -name "*.cpp" -o -name "*.h" ")" 2>/dev/null) |
206 |
- fi |
207 |
- |
208 |
- qt_use_disable_config alsa webengine-alsa src/buildtools/config/linux.pri |
209 |
- qt_use_disable_config pulseaudio webengine-pulseaudio src/buildtools/config/linux.pri |
210 |
- |
211 |
- qt_use_disable_mod designer webenginewidgets src/plugins/plugins.pro |
212 |
- |
213 |
- qt_use_disable_mod widgets widgets src/src.pro |
214 |
- |
215 |
- qt5-build_src_prepare |
216 |
- |
217 |
- # we need to generate ppc64 stuff because upstream does not ship it yet |
218 |
- if use ppc64; then |
219 |
- einfo "Patching for ppc64le and generating build files" |
220 |
- eapply "${FILESDIR}/qtwebengine-5.15.2-enable-ppc64.patch" |
221 |
- pushd src/3rdparty/chromium > /dev/null || die |
222 |
- eapply -p0 "${WORKDIR}/${PN}-ppc64le" |
223 |
- popd > /dev/null || die |
224 |
- pushd src/3rdparty/chromium/third_party/libvpx > /dev/null || die |
225 |
- mkdir -vp source/config/linux/ppc64 || die |
226 |
- mkdir -p source/libvpx/test || die |
227 |
- touch source/libvpx/test/test.mk || die |
228 |
- ./generate_gni.sh || die |
229 |
- popd >/dev/null || die |
230 |
- fi |
231 |
-} |
232 |
- |
233 |
-src_configure() { |
234 |
- export NINJA_PATH=/usr/bin/ninja |
235 |
- export NINJAFLAGS="${NINJAFLAGS:--j$(makeopts_jobs) -l$(makeopts_loadavg "${MAKEOPTS}" 0) -v}" |
236 |
- |
237 |
- local myqmakeargs=( |
238 |
- -- |
239 |
- -no-build-qtpdf |
240 |
- -printing-and-pdf |
241 |
- -system-opus |
242 |
- -system-webp |
243 |
- $(qt_use alsa) |
244 |
- $(qt_use !bindist proprietary-codecs) |
245 |
- $(qt_use geolocation webengine-geolocation) |
246 |
- $(qt_use kerberos webengine-kerberos) |
247 |
- $(qt_use pulseaudio) |
248 |
- $(usex system-ffmpeg -system-ffmpeg -qt-ffmpeg) |
249 |
- $(qt_use system-icu webengine-icu) |
250 |
- ) |
251 |
- qt5-build_src_configure |
252 |
-} |
253 |
- |
254 |
-src_install() { |
255 |
- qt5-build_src_install |
256 |
- |
257 |
- # bug 601472 |
258 |
- if [[ ! -f ${D}${QT5_LIBDIR}/libQt5WebEngine.so ]]; then |
259 |
- die "${CATEGORY}/${PF} failed to build anything. Please report to https://bugs.gentoo.org/" |
260 |
- fi |
261 |
-} |