From 31992ca1e69c9de8c0902f65cc6eddad2a63d483 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Tue, 25 Feb 2025 19:42:27 -0500 Subject: dev-qt/qtwebengine: update live I see a change that is likely to prevent the race condition issues, but not 100% sure. cstdint.patch is upstreamed in >=6.9, still needed for 6.8. 6.9 newly needs nodejs[icu] or else it'll fail on some regex syntax error (likely due to use of unicode bits in it). www-client/chromium depends on nodejs[inspector] instead which itself depends on icu+ssl (that we do need), but we do not seem to need inspector. Also add [icu] to 6.8.9999 just-in-case, odds are won't be testing -icu anymore and may miss something and no harm in having users set it for 6.8.3 before 6.9.0 drops Signed-off-by: Ionen Wolkens --- dev-qt/qtwebengine/qtwebengine-6.9999.ebuild | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'dev-qt/qtwebengine/qtwebengine-6.9999.ebuild') diff --git a/dev-qt/qtwebengine/qtwebengine-6.9999.ebuild b/dev-qt/qtwebengine/qtwebengine-6.9999.ebuild index 0bf290e666e8..7b2973d5f6cd 100644 --- a/dev-qt/qtwebengine/qtwebengine-6.9999.ebuild +++ b/dev-qt/qtwebengine/qtwebengine-6.9999.ebuild @@ -94,7 +94,7 @@ DEPEND=" BDEPEND=" $(python_gen_any_dep 'dev-python/html5lib[${PYTHON_USEDEP}]') dev-util/gperf - net-libs/nodejs[ssl] + net-libs/nodejs[icu,ssl] sys-devel/bison sys-devel/flex " @@ -169,6 +169,10 @@ src_configure() { $(qt_feature widgets qtpdf_widgets_build) $(usev pdfium -DQT_FEATURE_pdf_v8=ON) + # TODO?: since 6.9.0, dependency checks have been adjusted to make it + # easier for webengine to be optional which could be useful if *only* + # need QtPdf (rare at the moment), would require all revdeps to depend + # on qtwebengine[webengine(+)] -DQT_FEATURE_qtwebengine_build=ON $(qt_feature qml qtwebengine_quick_build) $(qt_feature widgets qtwebengine_widgets_build) @@ -213,8 +217,8 @@ src_configure() { # given qtbase's force_system_libs does not affect these right now $(printf -- '-DQT_FEATURE_webengine_system_%s=ON ' \ freetype gbm glib harfbuzz lcms2 libevent libjpeg \ - libopenjpeg2 libpci libpng libtiff libwebp libxml \ - minizip opus snappy zlib) + libopenjpeg2 libpci libpng libtiff libudev libwebp \ + libxml minizip opus snappy zlib) # TODO: fixup gn cross, or package dev-qt/qtwebengine-gn with =ON # (see also BUILD_ONLY_GN option added in 6.8+ for the latter) @@ -254,7 +258,8 @@ src_configure() { } src_compile() { - # tentatively work around a possible (rare) race condition (bug #921680) + # tentatively work around a possible (rare) race condition (bug #921680), + # has good chances to be obsolete but keep for now as a safety cmake_build WebEngineCore_sync_all_public_headers cmake_src_compile -- cgit v1.2.3