diff options
| author | Ionen Wolkens <ionen@gentoo.org> | 2025-02-25 19:42:27 -0500 |
|---|---|---|
| committer | Ionen Wolkens <ionen@gentoo.org> | 2025-02-26 03:45:20 -0500 |
| commit | 31992ca1e69c9de8c0902f65cc6eddad2a63d483 (patch) | |
| tree | ce67bbda6b8834435078bd05ef58fd1da8d920e9 /dev-qt/qtwebengine | |
| parent | 62bec3e5b5b8d48ba2cf10ad1aaf56c7fb48c3b1 (diff) | |
| download | gentoo-31992ca1e69c9de8c0902f65cc6eddad2a63d483.tar.gz gentoo-31992ca1e69c9de8c0902f65cc6eddad2a63d483.tar.bz2 gentoo-31992ca1e69c9de8c0902f65cc6eddad2a63d483.zip | |
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 <ionen@gentoo.org>
Diffstat (limited to 'dev-qt/qtwebengine')
| -rw-r--r-- | dev-qt/qtwebengine/qtwebengine-6.8.9999.ebuild | 5 | ||||
| -rw-r--r-- | dev-qt/qtwebengine/qtwebengine-6.9.9999.ebuild | 14 | ||||
| -rw-r--r-- | dev-qt/qtwebengine/qtwebengine-6.9999.ebuild | 13 |
3 files changed, 21 insertions, 11 deletions
diff --git a/dev-qt/qtwebengine/qtwebengine-6.8.9999.ebuild b/dev-qt/qtwebengine/qtwebengine-6.8.9999.ebuild index 7bb880825551..710ece8e221c 100644 --- a/dev-qt/qtwebengine/qtwebengine-6.8.9999.ebuild +++ b/dev-qt/qtwebengine/qtwebengine-6.8.9999.ebuild @@ -97,7 +97,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 " @@ -261,7 +261,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 diff --git a/dev-qt/qtwebengine/qtwebengine-6.9.9999.ebuild b/dev-qt/qtwebengine/qtwebengine-6.9.9999.ebuild index ff0f8da7397d..7b2973d5f6cd 100644 --- a/dev-qt/qtwebengine/qtwebengine-6.9.9999.ebuild +++ b/dev-qt/qtwebengine/qtwebengine-6.9.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 " @@ -105,7 +105,6 @@ PATCHES=( "${WORKDIR}"/patches/${PN} ) PATCHES+=( # add extras as needed here, may merge in set if carries across versions - "${FILESDIR}"/${PN}-6.8.1-cstdint.patch ) python_check_deps() { @@ -170,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) @@ -214,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) @@ -255,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 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 |
