summaryrefslogtreecommitdiff
path: root/dev-qt/qtwebengine
AgeCommit message (Collapse)Author
2023-11-22dev-qt/qtwebengine: adjust re2 comment (qt6)Ionen Wolkens
Just so use of the word does not get outdated. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-11-22dev-qt/qtwebengine: fix build with >=libxml2-2.12 (qt6)Ionen Wolkens
For convenience, use LIBXML_VERSION rather than has_version so that can include in patchset tarball later if still needed. Formerly meant to fix only in upcoming 6.6.1 (soon) but is a simple and safe fix so let's fix the others too. Closes: https://bugs.gentoo.org/917601 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-11-21dev-qt/qtwebengine: add 5.15.11_p20231120, fix build w/ libxml2-2.12Andreas Sturmlechner
Bug: https://bugs.gentoo.org/917645 Closes: https://bugs.gentoo.org/917601 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2023-11-21dev-qt/qtwebengine: update patchset for 6.6 live branchIonen Wolkens
In preparation for approaching 6.6.1 release. 6.6-3 -> 6.6-4 changes: Removed: * ffmpeg-binutils-2.41.patch (upstreamed) * libvpx-CVE-2023-5217.patch (upstreamed) Not adding icu74 patch, still waiting to see how it goes upstream (should be hopefully short lived either way). Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-11-21dev-qt/qtwebengine: fix build with icu74 (qt5)Paul Zander
Apply quick-fix from b7982facbd6d596888e100c11b07fff5599e2203 to qt5 as well. Closes: https://bugs.gentoo.org/917635 Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/33926 Signed-off-by: Sam James <sam@gentoo.org>
2023-11-20dev-qt/qtwebengine: add bug link to qt6 icu74 patchIonen Wolkens
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-11-20dev-qt/qtwebengine: fix build with icu74 (qt6)Ionen Wolkens
Just a quick fix, not fixed in either upstreams yet. Have not tried qt5. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-11-15dev-qt/qtwebengine: drop 6.5.2-r1Ionen Wolkens
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-11-15dev-qt/qtwebengine: Stabilize 6.5.3 amd64, #915549Arthur Zamarin
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2023-11-08dev-qt/qtwebengine: Apply ppc64 patches after eapply_userAndreas Sturmlechner
Thanks-to: Marcus Comstedt <marcus@mc.pp.se> Closes: https://bugs.gentoo.org/910218 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2023-11-08dev-qt/qtwebengine: fix ppc64 bundled ffmpeg for 5.15Niccolò Belli
Closes: https://bugs.gentoo.org/904372 Signed-off-by: Niccolò Belli <niccolo.belli@linuxsystems.it> Closes: https://github.com/gentoo/gentoo/pull/32922 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2023-11-06dev-qt/qtwebengine: drop 5.15.11_p20231019Andreas Sturmlechner
Bug: https://bugs.gentoo.org/915465 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2023-11-06dev-qt/qtwebengine: drop 5.15.10_p20230623, 5.15.10_p20230815Andreas Sturmlechner
Bug: https://bugs.gentoo.org/913050 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2023-11-06dev-qt/qtwebengine: Stabilize 5.15.11_p20231102 arm64, #915391Arthur Zamarin
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2023-11-06dev-qt/qtwebengine: Stabilize 5.15.11_p20231102 amd64, #915391Arthur Zamarin
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2023-11-03dev-qt/qtwebengine: add 5.15.11_p20231102Andreas Sturmlechner
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2023-11-03dev-qt/qtwebengine: drop 5.15.11_p20230927Andreas Sturmlechner
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2023-10-22dev-qt/qtwebengine: add 5.15.11_p20231019Andreas Sturmlechner
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2023-10-17dev-qt/qtwebengine: update py3.12 comment with bugrefsIonen Wolkens
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-10-15dev-qt/qtwebengine: remove unused patchMichael Mair-Keimberger
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/33349 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-10-10dev-qt/qtwebengine: add 6.6.0Ionen Wolkens
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-10-10dev-qt/qtwebengine: drop 6.6.0_rcIonen Wolkens
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-10-10dev-qt/qtwebengine: update patchset for 6.6 branchIonen Wolkens
6.6-2 -> 6.6-3 changes: Added: * cstdint.patch (missing includes, imported from ::gentoo files/) * libvpx-CVE-2023-5217.patch (only needed with the new USE=vaapi, otherwise the system's libvpx is used) Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-10-08dev-qt/qtwebengine: add 5.15.11_p20230927Andreas Sturmlechner
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2023-10-05dev-qt/qtwebengine: note stdint fix link for the 87 branch in patchIonen Wolkens
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-10-05dev-qt/qtwebengine: fix build with gcc13+muslIonen Wolkens
Primarily been testing musl on a llvm-musl profile, so overlooked this. Does not manifest as an issue if use any of gcc12, clang, or glibc. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-28dev-qt/qtwebengine: add 6.5.3Ionen Wolkens
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-28dev-qt/*: drop 6.5.9999Ionen Wolkens
Technically an LTS branch but 6.5.3 is due to be the last "public" release for this branch plus Plasma 6 is based on 6.6, so should have no use for this anymore. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-26dev-qt/qtwebengine: add 6.6.0_rcIonen Wolkens
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-26dev-qt/qtwebengine: skip test failing with network sandbox in 6.6+Ionen Wolkens
Newly does a dns-over-https test. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-26dev-qt/qtwebengine: depend on vulkan-headers for vaapi in 6.6+Ionen Wolkens
In QTBUG-115722, Qt opted to disable vaapi autodetection if QT_FEATURE_vulkan is disabled due to missing headers, but can ignore that and just pull the headers (not used without webengine_vulkan). Ideally would just depend on vulkan-headers regardless of vaapi, but it is not used in other parts of qtwebengine (it bundles like 3-4 different copies of vulkan-headers and for some reason wants the system's here). Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-22dev-qt/qtwebengine: use -g1 rather than -g (qt6)Ionen Wolkens
Turns out -g is still too much, or at least with gcc+bfd. Closes: https://bugs.gentoo.org/914475 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-22dev-qt/qtwebengine: replace -g3+ for -g unless custom-cflags (qt6)Ionen Wolkens
On second thought let's do this, but keep a warning that mentions USE=custom-cflags given users may not be used to -g* getting replaced and then lacking the symbols they were expecting. Not going to keep disk space / memory usage updated for -g as estimates would likely be all over the place and consider that the warning is sufficient there. Not using a full replace-flags '-g*' -g to allow e.g. a package.env that adds -g0/-g1 at the end to still work while disregaring the warning without implementing extra logic. Note that have not retried -g to be sure it is fine, albeit pretty sure it was fine last time tried. Worst case could replace by -g1, or drop flags-respecting-patches and request debugging symbols to gn instead (selectively forces -g1 even if asked for more). Closes: https://bugs.gentoo.org/914475 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-20dev-qt/qtwebengine: extend -g warning and increase visibilityIonen Wolkens
If this comes up more often an issue, may opt to transform -g* (other than -g0) for -g without USE=custom-cflags. Albeit do not overly want to give surprises, nor assume when something is going to work or not given the toolchain and other options. Note that this does not affect <qtwebengine-6.5.2-r1 nor qtwebengine:5 because they simply do not respect *FLAGS. Bug: https://bugs.gentoo.org/914475 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-18dev-qt/qtwebengine: Stabilize 5.15.10_p20230815 amd64, #913051Arthur Zamarin
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2023-09-16dev-qt/qtwebengine: update patchset for 6.6 branchIonen Wolkens
6.6-1 -> 6.6-2 changes: Removed: * screencast-gio.patch (fix was backported from 6.7) Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-15dev-qt/qtwebengine: Stabilize 6.5.2-r1 amd64, #914113Sam James
Signed-off-by: Sam James <sam@gentoo.org>
2023-09-14dev-qt/qtwebengine: note that libva is dlopenIonen Wolkens
Still keep := though, ensures that remain compatible with the library that gets opened. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-13dev-qt/qtwebengine: drop 6.5.2-r0Ionen Wolkens
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-13dev-qt/qtwebengine: update patchset for 6.6 branchIonen Wolkens
6.5-1 -> 6.6-1 changes: Added: * libcxx17.patch (import from 6.5.2 ebuild) * screencast-gio.patch (regression fix backported from 6.7) Updated: * musl-no-execinfo.patch (reduced, mostly fixed upstream) * musl-no-res-ninit.patch (reduced, mostly fixed upstream) Removed (fixed upstream): * musl-lfs64.patch * musl-no-canonicalize.patch * musl-no-temp-retry.patch * musl-no-user-vfp.patch * musl-pthread-stack.patch * musl-stacksize.patch * musl-stdint.patch * musl-systypes.patch * narrowing-cast.patch Still a way to go before release, so may still need updates. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-13dev-qt/qtwebengine: add IUSE=vaapi in 6.6+Ionen Wolkens
wrt [X], it currently auto-uses va_x11.h if ozone x11 is enabled, it *could* be optional (use_vaapi_x11) but it probably makes little sense to introduce IUSE=X unless we can make ozone_x11 optional too. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-13dev-qt/qtwebengine: add new tiff dependency in 6.6+Ionen Wolkens
Upstream has unbundled by default. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-13dev-qt/*: add 6.6.9999Ionen Wolkens
Sraight copies from 6.9999, pending updates as-needed to prepare for 6.6 which is slowly approaching (6.9999 been 6.7 for some time). 6.5.9999 will be leaving soon given 6.5.3 is the last 6.5 release for plebians. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-09dev-qt/qtwebengine: rename IUSE=pdf to pdfium (qt6)Ionen Wolkens
This is in part a message to future revdeps that having their own USE=pdf will not work too well given it is default on desktop profile and we do not really want to pull webengine by default unless really wanted. Plus gives a way to disable globally for arches where qtwebengine is not keyworded. At worst this will become innacurate if qtpdf changes its backing library. IUSE is still in live-only so should not really disrupt. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-07dev-qt/qtwebengine: add IUSE=pdf for QtPdf support in liveIonen Wolkens
Nothing seems too special here, so can just enable it. Live-only given IUSE=pdf is a default on desktop profiles and will cause a big unnecessary rebuild (nothing needs QtPdf yet). Note that QtPdf is fairly trivial (and small'ish) after chromium bits are already built either way, and does not hurt as a default. Does require cups at build time (dlopen, left DEPEND-only). May be possible to be optional but would rather no pdf-only IUSE=cups on this big package (may revisit if someone wants this). Would be nicer split (or allow IUSE=-webengine) but, even though the option exists, build system files note that webengine cannot really be disabled and then QtPdf still needs parts of chromium to be built (splitting would cause to rebuild some of the same things twice, but it is not nearly as big as webengine proper). May revisit. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-07dev-qt/qtwebengine: fix build with >=libcxx-17Ionen Wolkens
May(?) need a revbump given updating to libcxx-17 while built against <17 unpatched could give symbol issues, ...but let's spare having everyone rebuild, esp given by the time llvm:17 is released may have qtwebengine-6.5.3 in the tree to trigger a build. Thanks-to: Violet Purcell <vimproved@inventati.org> Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-05dev-qt/qtwebengine: remove qtbase[X] dep (qt6)Ionen Wolkens
While this currently still requires X11 dependencies, qtbase[X] itself should not be necessary. Sparing the revbump. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-05dev-qt/*: replace = by ~ for dev-qt/*:6 depsIonen Wolkens
Less jarring a little bit shorter. Made sense in Qt5 given it used a ver_cut QT5_PV and could be used to ignore additional components, but with PV it does nothing useful. Plus we still want _rc and _betas to match (_p<date> are where issues start though, if ever needed we could reintroduce QT6_PV, but for now...). Should have done this in the previous style commit. Still keeping :6, do prefer these being everywhere for clarity with Qt slots (and qa-vdb!) even if essentially a no-op here. Plus, even if this does not happen with Qt, two slots having the same version can happen with revisions (e.g. current webkit-gtk). Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-05dev-qt/qtwebengine: refactor qt6 ebuild, various fixes incl. muslIonen Wolkens
Essentially a rewrite, so only have a not exhaustive summary of changes rather than split commits. Bugs addressed: * respect *FLAGS wrt bug #652172 (fwics should be no issues left) * hopefully fixed musl/libcxx (tested with llvm-musl) wrt bug #876520 (not planning to review Qt5's myself, so no changes on that end) IUSE changes: * enable alsa by default, finding that you have no audio options only after building is not great and alsa is cheap * enable widgets by default, needed by both falkon and qutebrowser * add custom-cflags, if going to use *FLAGS then should strip-flags like chromium's ebuild * add opengl, unfortunately littered in QT_CONFIG(opengl) and need qtbase[opengl=] to avoid ABI/automagic issues * add vulkan, has its own feature so should only need qtbase[vulkan?] * add qml similarly to other packages Misc: * support EXTRA_GN like qtwebengine:5 and chromium (Gentoo-specific) * build dir went from >9GB to ~6.3GB by dropping -g1 * drop estack+extglob, setting extglob is technically not needed for use in bash [[ ]] tests which is-flagq does * drop INCLUDEPATH, tried to sed qmake files but this is using cmake * respect NINJA env var to allow samu (NINJA_PATH was a no-op) * use get_NINJAOPTS for NINJAFLAGS and ignore environment (NINJAOPTS is the var to set for this, while NINJAFLAGS is a private qtwebengine var, ninja does not actually use this directly) * drop icu's bundling check for simplicity (and consistency with other system libraries), bug #630834 prompted adding this but does not seem so fragile anymore (plus iwdevtools would report lib misuse, albeit not headers) * switch to bundled re2 to be spared headaches (see github PR#32281) * optfeature on chrome-binary-plugins for widevine support * cleanup/reduce QT_FEATURE and old comments * fix designer automagic * various dependencies adjustments, wrt re2c that is only needed if we build ninja * do not redefine _FORTIFY_SOURCE (use gentoo's defaults), upstream actually switched to =3 in chromium-118 (albeit only for ChromeOS) and "hopefully" is fine for this older version (tests pass at least) Also moved patches to a tarball (like qt5). It is simple small patches mostly adjusting macros rather than add actual code, but was beginning to add up. Considered reducing RAM requirements a little bit (generally *seems* not so bad), but there is rather bad spikes and I do not think it can be considered safe unless we assume everyone is not using RAM for anything else. Plus usage will likely keep growing with versions. Bug: https://bugs.gentoo.org/652172 Bug: https://bugs.gentoo.org/876520 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2023-09-05dev-qt/qtwebengine: switch to global USE for geolocationIonen Wolkens
Fixes ProbableGlobalUse, knowing it's done through qtpositioning does not seem particularly useful. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>