diff --git a/net-libs/webkit-gtk/Manifest b/net-libs/webkit-gtk/Manifest index fc3a086e35602..514f298c3d17c 100644 --- a/net-libs/webkit-gtk/Manifest +++ b/net-libs/webkit-gtk/Manifest @@ -1,4 +1,3 @@ -DIST webkitgtk-2.44.4.tar.xz 35858056 BLAKE2B 9e3d016bfb2b4e80d2ebeda95e75f8ec8b909b41b17a879d3e1119ed66e3bf4d590a22ed814bb1572dac8d8a8838bb37b5ab1372121b276e02ee8925f6c5b00c SHA512 037ef6a9faca68b68dc62927a475134450493129043ea6cc03595cd4a684d590f80a1e9c3ed40a9176874ba43fc9efbc5065a264dfe131ebd72e272756612db9 DIST webkitgtk-2.48.5.tar.xz 44131936 BLAKE2B aa8ea4b5296a95f8b18f2dec9597f70eba46e739e3cc21dccd97af4ba07c7fcfa50dffe963bcffcd178b99c111d38dc55fb194a87451fa8efa9944249f538aba SHA512 70ee8f58a354cf6d0b1345954ed07c1e49d886f353d4fab945a3d2fc03116726af05454d4b5460f0fe4f5c3d042bb921fc5b43a85474624545afd9acc1c0fc8d DIST webkitgtk-2.50.5.tar.xz 43778204 BLAKE2B 5aa6b55ee0965b760d26aebbf59d141543923cf26a65027a6d9ae4b03fef3759a9778e9c0a17ba2b23ea51025a76d3a283066de71a6b1996c9385da948dbb1ca SHA512 4ee6370dce688987876c67314263a9ea556eee5a4cb4a73454d1d1a940e62a49770082a2e29671496b1a88e14537538935b5c078fc3ac393a49d0c149dce2e7b DIST webkitgtk-2.50.6.tar.xz 43831020 BLAKE2B cebdf02e52e0a80ec9b48517e4856768ed530ed4d4d4f15145058e96dc42f990c8712897303ec176609f9a0af749ec49fc3785eecd829ce7d82a397bc822b89c SHA512 62723af51a14aa2352a2ac54b5dab975afce1aee8ce43924666da08f280495c83b86649ff00fb59fcc0cc0ca80b9a78843b1c0ed568a2d77a2312c13889d8ab4 diff --git a/net-libs/webkit-gtk/files/2.44.1-non-unified-build-fixes.patch b/net-libs/webkit-gtk/files/2.44.1-non-unified-build-fixes.patch deleted file mode 100644 index ee5a1c222e70b..0000000000000 --- a/net-libs/webkit-gtk/files/2.44.1-non-unified-build-fixes.patch +++ /dev/null @@ -1,322 +0,0 @@ -From 211b73efb2a416f3b464d9d74da0aa8f93abe016 Mon Sep 17 00:00:00 2001 -From: Don Olmstead -Date: Fri, 8 Mar 2024 17:27:09 -0800 -Subject: [PATCH] Non-unified build fixes, early March 2024 edition - https://bugs.webkit.org/show_bug.cgi?id=270719 - -Unreviewed non-unified build fix. - -* Source/JavaScriptCore/jit/JITSizeStatistics.cpp: -* Source/WebCore/Modules/model-element/ModelPlayerClient.h: -* Source/WebCore/css/CSSCrossfadeValue.h: -* Source/WebCore/css/CSSImageSetOptionValue.cpp: -* Source/WebCore/css/CSSImageSetOptionValue.h: -* Source/WebCore/css/CSSReflectValue.cpp: -* Source/WebCore/css/CSSReflectValue.h: -* Source/WebCore/css/CSSShadowValue.h: -* Source/WebCore/css/CSSValuePair.cpp: -* Source/WebCore/css/CSSValuePair.h: -* Source/WebCore/dom/SlotAssignment.h: -* Source/WebCore/dom/TrustedType.cpp: -* Source/WebCore/rendering/svg/RenderSVGPath.cpp: -* Source/WebCore/rendering/svg/RenderSVGResourceLinearGradient.cpp: -* Source/WebCore/rendering/svg/RenderSVGResourceMarker.cpp: -* Source/WebCore/rendering/svg/RenderSVGResourceMasker.cpp: -* Source/WebCore/rendering/svg/RenderSVGResourceRadialGradient.cpp: -* Source/WebKit/GPUProcess/graphics/RemoteImageBufferSet.cpp: -* Source/WebKit/Shared/WebGPU/WebGPURenderPassDepthStencilAttachment.cpp: -* Source/WebKit/UIProcess/BrowsingContextGroup.cpp: -* Source/WebKit/UIProcess/FrameProcess.cpp: -* Source/WebKit/UIProcess/ProvisionalPageProxy.cpp: - -Canonical link: https://commits.webkit.org/275863@main - -(cherry picked from commit 38c6ecad0ea32e80cb3e811c3ff759074006791f) ---- - Source/JavaScriptCore/jit/JITSizeStatistics.cpp | 1 + - Source/WebCore/Modules/model-element/ModelPlayerClient.h | 1 + - Source/WebCore/css/CSSCrossfadeValue.h | 3 ++- - Source/WebCore/css/CSSImageSetOptionValue.cpp | 1 - - Source/WebCore/css/CSSImageSetOptionValue.h | 4 ++-- - Source/WebCore/css/CSSReflectValue.cpp | 2 -- - Source/WebCore/css/CSSReflectValue.h | 4 ++-- - Source/WebCore/css/CSSShadowValue.h | 4 ++-- - Source/WebCore/css/CSSValuePair.cpp | 1 + - Source/WebCore/css/CSSValuePair.h | 1 + - Source/WebCore/dom/SlotAssignment.h | 1 + - Source/WebCore/rendering/svg/RenderSVGPath.cpp | 2 ++ - .../WebCore/rendering/svg/RenderSVGResourceLinearGradient.cpp | 2 ++ - Source/WebCore/rendering/svg/RenderSVGResourceMarker.cpp | 2 ++ - Source/WebCore/rendering/svg/RenderSVGResourceMasker.cpp | 2 ++ - .../WebCore/rendering/svg/RenderSVGResourceRadialGradient.cpp | 2 ++ - .../Shared/WebGPU/WebGPURenderPassDepthStencilAttachment.cpp | 1 + - Source/WebKit/UIProcess/ProvisionalPageProxy.cpp | 1 + - 18 files changed, 25 insertions(+), 10 deletions(-) - -diff --git a/Source/JavaScriptCore/jit/JITSizeStatistics.cpp b/Source/JavaScriptCore/jit/JITSizeStatistics.cpp -index f1bc2780343a..b2ffd81ee34d 100644 ---- a/Source/JavaScriptCore/jit/JITSizeStatistics.cpp -+++ b/Source/JavaScriptCore/jit/JITSizeStatistics.cpp -@@ -29,6 +29,7 @@ - #if ENABLE(JIT) - - #include "CCallHelpers.h" -+#include "JITPlan.h" - #include "LinkBuffer.h" - #include - #include -diff --git a/Source/WebCore/Modules/model-element/ModelPlayerClient.h b/Source/WebCore/Modules/model-element/ModelPlayerClient.h -index 9343d5102015..b9cf2857eee2 100644 ---- a/Source/WebCore/Modules/model-element/ModelPlayerClient.h -+++ b/Source/WebCore/Modules/model-element/ModelPlayerClient.h -@@ -25,6 +25,7 @@ - - #pragma once - -+#include "LayerHostingContextIdentifier.h" - #include "PlatformLayerIdentifier.h" - #include - #include -diff --git a/Source/WebCore/css/CSSCrossfadeValue.h b/Source/WebCore/css/CSSCrossfadeValue.h -index eafa3bb5e828..86b87be608fe 100644 ---- a/Source/WebCore/css/CSSCrossfadeValue.h -+++ b/Source/WebCore/css/CSSCrossfadeValue.h -@@ -25,11 +25,12 @@ - - #pragma once - -+#include "CSSPrimitiveValue.h" - #include "CSSValue.h" -+#include - - namespace WebCore { - --class CSSPrimitiveValue; - class StyleImage; - - namespace Style { -diff --git a/Source/WebCore/css/CSSImageSetOptionValue.cpp b/Source/WebCore/css/CSSImageSetOptionValue.cpp -index 9becc5444e10..2b7812e419a2 100644 ---- a/Source/WebCore/css/CSSImageSetOptionValue.cpp -+++ b/Source/WebCore/css/CSSImageSetOptionValue.cpp -@@ -27,7 +27,6 @@ - #include "CSSImageSetOptionValue.h" - - #include "CSSImageValue.h" --#include "CSSPrimitiveValue.h" - - namespace WebCore { - -diff --git a/Source/WebCore/css/CSSImageSetOptionValue.h b/Source/WebCore/css/CSSImageSetOptionValue.h -index 60ef16534b24..c65ddccc04b5 100644 ---- a/Source/WebCore/css/CSSImageSetOptionValue.h -+++ b/Source/WebCore/css/CSSImageSetOptionValue.h -@@ -25,13 +25,13 @@ - - #pragma once - -+#include "CSSPrimitiveValue.h" - #include "CSSValue.h" -+#include - #include - - namespace WebCore { - --class CSSPrimitiveValue; -- - class CSSImageSetOptionValue final : public CSSValue { - public: - static Ref create(Ref&&); -diff --git a/Source/WebCore/css/CSSReflectValue.cpp b/Source/WebCore/css/CSSReflectValue.cpp -index 371e6ed16087..6049d4af7d2d 100644 ---- a/Source/WebCore/css/CSSReflectValue.cpp -+++ b/Source/WebCore/css/CSSReflectValue.cpp -@@ -26,8 +26,6 @@ - #include "config.h" - #include "CSSReflectValue.h" - --#include "CSSPrimitiveValue.h" -- - namespace WebCore { - - CSSReflectValue::CSSReflectValue(CSSValueID direction, Ref offset, RefPtr mask) -diff --git a/Source/WebCore/css/CSSReflectValue.h b/Source/WebCore/css/CSSReflectValue.h -index c67d2ad0dc4b..84f7b1d0e7e1 100644 ---- a/Source/WebCore/css/CSSReflectValue.h -+++ b/Source/WebCore/css/CSSReflectValue.h -@@ -25,12 +25,12 @@ - - #pragma once - -+#include "CSSPrimitiveValue.h" - #include "CSSValue.h" -+#include - - namespace WebCore { - --class CSSPrimitiveValue; -- - class CSSReflectValue final : public CSSValue { - public: - static Ref create(CSSValueID direction, Ref offset, RefPtr mask); -diff --git a/Source/WebCore/css/CSSShadowValue.h b/Source/WebCore/css/CSSShadowValue.h -index 26857028cf36..7d6d25980f72 100644 ---- a/Source/WebCore/css/CSSShadowValue.h -+++ b/Source/WebCore/css/CSSShadowValue.h -@@ -20,13 +20,13 @@ - - #pragma once - -+#include "CSSPrimitiveValue.h" - #include "CSSValue.h" -+#include - #include - - namespace WebCore { - --class CSSPrimitiveValue; -- - // Used for text-shadow and box-shadow - class CSSShadowValue final : public CSSValue { - public: -diff --git a/Source/WebCore/css/CSSValuePair.cpp b/Source/WebCore/css/CSSValuePair.cpp -index 7c64d5a9e353..a3e169a697c7 100644 ---- a/Source/WebCore/css/CSSValuePair.cpp -+++ b/Source/WebCore/css/CSSValuePair.cpp -@@ -25,6 +25,7 @@ - - #include "config.h" - #include "CSSValuePair.h" -+ - #include - #include - -diff --git a/Source/WebCore/css/CSSValuePair.h b/Source/WebCore/css/CSSValuePair.h -index 0fc85298ca62..44c4d97c01ab 100644 ---- a/Source/WebCore/css/CSSValuePair.h -+++ b/Source/WebCore/css/CSSValuePair.h -@@ -26,6 +26,7 @@ - #pragma once - - #include "CSSValue.h" -+#include - - namespace WebCore { - -diff --git a/Source/WebCore/dom/SlotAssignment.h b/Source/WebCore/dom/SlotAssignment.h -index 9f9e1159e10a..478ca88bfca6 100644 ---- a/Source/WebCore/dom/SlotAssignment.h -+++ b/Source/WebCore/dom/SlotAssignment.h -@@ -30,6 +30,7 @@ - #include - #include - #include -+#include - #include - #include - #include -diff --git a/Source/WebCore/rendering/svg/RenderSVGPath.cpp b/Source/WebCore/rendering/svg/RenderSVGPath.cpp -index e9977db1c8b6..eba99e3a49d3 100644 ---- a/Source/WebCore/rendering/svg/RenderSVGPath.cpp -+++ b/Source/WebCore/rendering/svg/RenderSVGPath.cpp -@@ -30,12 +30,14 @@ - #include "RenderSVGPath.h" - - #if ENABLE(LAYER_BASED_SVG_ENGINE) -+ - #include "Gradient.h" - #include "ReferencedSVGResources.h" - #include "RenderLayer.h" - #include "RenderSVGResourceMarkerInlines.h" - #include "RenderSVGShapeInlines.h" - #include "RenderStyleInlines.h" -+#include "SVGElementTypeHelpers.h" - #include "SVGMarkerElement.h" - #include "SVGPathElement.h" - #include "SVGSubpathData.h" -diff --git a/Source/WebCore/rendering/svg/RenderSVGResourceLinearGradient.cpp b/Source/WebCore/rendering/svg/RenderSVGResourceLinearGradient.cpp -index 85f79031ed4e..2b379fa4ebfe 100644 ---- a/Source/WebCore/rendering/svg/RenderSVGResourceLinearGradient.cpp -+++ b/Source/WebCore/rendering/svg/RenderSVGResourceLinearGradient.cpp -@@ -23,8 +23,10 @@ - #include "RenderSVGResourceLinearGradient.h" - - #if ENABLE(LAYER_BASED_SVG_ENGINE) -+ - #include "RenderSVGModelObjectInlines.h" - #include "RenderSVGResourceLinearGradientInlines.h" -+#include "SVGElementTypeHelpers.h" - #include - - namespace WebCore { -diff --git a/Source/WebCore/rendering/svg/RenderSVGResourceMarker.cpp b/Source/WebCore/rendering/svg/RenderSVGResourceMarker.cpp -index d65a81f773eb..27abd9b6e0f7 100644 ---- a/Source/WebCore/rendering/svg/RenderSVGResourceMarker.cpp -+++ b/Source/WebCore/rendering/svg/RenderSVGResourceMarker.cpp -@@ -24,6 +24,7 @@ - #include "RenderSVGResourceMarker.h" - - #if ENABLE(LAYER_BASED_SVG_ENGINE) -+ - #include "Element.h" - #include "ElementIterator.h" - #include "FloatPoint.h" -@@ -34,6 +35,7 @@ - #include "RenderLayerInlines.h" - #include "RenderSVGModelObjectInlines.h" - #include "RenderSVGResourceMarkerInlines.h" -+#include "SVGElementTypeHelpers.h" - #include "SVGGraphicsElement.h" - #include "SVGLengthContext.h" - #include "SVGRenderStyle.h" -diff --git a/Source/WebCore/rendering/svg/RenderSVGResourceMasker.cpp b/Source/WebCore/rendering/svg/RenderSVGResourceMasker.cpp -index 81321523d0e4..86c59ca6fab6 100644 ---- a/Source/WebCore/rendering/svg/RenderSVGResourceMasker.cpp -+++ b/Source/WebCore/rendering/svg/RenderSVGResourceMasker.cpp -@@ -22,6 +22,7 @@ - #include "RenderSVGResourceMasker.h" - - #if ENABLE(LAYER_BASED_SVG_ENGINE) -+ - #include "Element.h" - #include "ElementIterator.h" - #include "FloatPoint.h" -@@ -33,6 +34,7 @@ - #include "RenderSVGModelObjectInlines.h" - #include "RenderSVGResourceMaskerInlines.h" - #include "SVGContainerLayout.h" -+#include "SVGElementTypeHelpers.h" - #include "SVGGraphicsElement.h" - #include "SVGLengthContext.h" - #include "SVGRenderStyle.h" -diff --git a/Source/WebCore/rendering/svg/RenderSVGResourceRadialGradient.cpp b/Source/WebCore/rendering/svg/RenderSVGResourceRadialGradient.cpp -index 7d70fd721d73..25a9b293468e 100644 ---- a/Source/WebCore/rendering/svg/RenderSVGResourceRadialGradient.cpp -+++ b/Source/WebCore/rendering/svg/RenderSVGResourceRadialGradient.cpp -@@ -23,9 +23,11 @@ - #include "RenderSVGResourceRadialGradient.h" - - #if ENABLE(LAYER_BASED_SVG_ENGINE) -+ - #include "RenderSVGModelObjectInlines.h" - #include "RenderSVGResourceRadialGradientInlines.h" - #include "RenderSVGShape.h" -+#include "SVGElementTypeHelpers.h" - #include - - namespace WebCore { -diff --git a/Source/WebKit/Shared/WebGPU/WebGPURenderPassDepthStencilAttachment.cpp b/Source/WebKit/Shared/WebGPU/WebGPURenderPassDepthStencilAttachment.cpp -index a0c521a767f1..3d4c130de7fa 100644 ---- a/Source/WebKit/Shared/WebGPU/WebGPURenderPassDepthStencilAttachment.cpp -+++ b/Source/WebKit/Shared/WebGPU/WebGPURenderPassDepthStencilAttachment.cpp -@@ -31,6 +31,7 @@ - #include "WebGPUConvertFromBackingContext.h" - #include "WebGPUConvertToBackingContext.h" - #include -+#include - - namespace WebKit::WebGPU { - --- -2.43.0 - diff --git a/net-libs/webkit-gtk/files/2.44.4-fix-icu76.1.patch b/net-libs/webkit-gtk/files/2.44.4-fix-icu76.1.patch deleted file mode 100644 index f60c1651a04f4..0000000000000 --- a/net-libs/webkit-gtk/files/2.44.4-fix-icu76.1.patch +++ /dev/null @@ -1,31 +0,0 @@ -https://bugs.gentoo.org/943213 -https://bugs.webkit.org/show_bug.cgi?id=282120 -https://github.com/WebKit/WebKit/commit/63f7badbada070ebaadd318b2801818ecf7e7ea0 -https://github.com/WebKit/WebKit/pull/35743 -https://unicode-org.atlassian.net/jira/software/c/projects/ICU/issues/ICU-22954 - -From 63f7badbada070ebaadd318b2801818ecf7e7ea0 Mon Sep 17 00:00:00 2001 -From: Don Olmstead -Date: Sat, 26 Oct 2024 08:27:01 -0700 -Subject: [PATCH] Support ICU 76.1 build - https://bugs.webkit.org/show_bug.cgi?id=282120 - -Reviewed by Yusuke Suzuki. - -In ICU 76.1 an additional macro `U_SHOW_CPLUSPLUS_HEADER_API` was added to -control visibility of the C++ API within ICU. Set this value to `0` since WebKit -wants to only use the C API. - -* Source/WTF/wtf/Platform.h: - -Canonical link: https://commits.webkit.org/285727@main ---- a/Source/WTF/wtf/Platform.h -+++ b/Source/WTF/wtf/Platform.h -@@ -115,6 +115,7 @@ - /* ICU configuration. Some of these match ICU defaults on some platforms, but we would like them consistently set everywhere we build WebKit. */ - #define U_HIDE_DEPRECATED_API 1 - #define U_SHOW_CPLUSPLUS_API 0 -+#define U_SHOW_CPLUSPLUS_HEADER_API 0 - #ifdef __cplusplus - #define UCHAR_TYPE char16_t - #endif diff --git a/net-libs/webkit-gtk/webkit-gtk-2.44.4-r411.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.44.4-r411.ebuild deleted file mode 100644 index 3263da5082e09..0000000000000 --- a/net-libs/webkit-gtk/webkit-gtk-2.44.4-r411.ebuild +++ /dev/null @@ -1,257 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -PYTHON_REQ_USE="xml(+)" -PYTHON_COMPAT=( python3_{11..12} ) -USE_RUBY="ruby31 ruby32 ruby33" - -inherit check-reqs flag-o-matic gnome2 optfeature python-any-r1 ruby-single toolchain-funcs cmake - -MY_P="webkitgtk-${PV}" -DESCRIPTION="Open source web browser engine" -HOMEPAGE="https://www.webkitgtk.org" -SRC_URI="https://www.webkitgtk.org/releases/${MY_P}.tar.xz" - -S="${WORKDIR}/${MY_P}" - -LICENSE="LGPL-2+ BSD" -SLOT="4.1/0" # soname version of libwebkit2gtk-4.1 -KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86" - -IUSE="aqua avif examples gamepad keyring +gstreamer +introspection pdf jpegxl +jumbo-build lcms seccomp spell systemd wayland X" -REQUIRED_USE="|| ( aqua wayland X )" - -# Tests do not run when built from tarballs -# https://bugs.webkit.org/show_bug.cgi?id=215986 -RESTRICT="test" - -# Dependencies found at Source/cmake/OptionsGTK.cmake -# Missing WebRTC support, but ENABLE_WEB_RTC is experimental upstream -# media-libs/mesa dep is for libgbm -# >=gst-plugins-opus-1.14.4-r1 for opusparse (required by MSE) -# TODO: gst-plugins-base[X] is only needed when build configuration ends up -# with GLX set, but that's a bit automagic too to fix -# Softblocking webkit-gtk-2.38:4 as at that time WebKitWebDriver migrated to SLOT=4.1; currently it is found in SLOT=6 -RDEPEND=" - >=x11-libs/cairo-1.16.0[X?] - >=media-libs/fontconfig-2.13.0:1.0 - >=media-libs/freetype-2.9.0:2 - >=dev-libs/libgcrypt-1.7.0:0= - dev-libs/libtasn1:= - >=x11-libs/gtk+-3.22.0:3[aqua?,introspection?,wayland?,X?] - >=media-libs/harfbuzz-1.4.2:=[icu(+)] - >=dev-libs/icu-61.2:= - media-libs/libjpeg-turbo:0= - >=media-libs/libepoxy-1.5.4[egl(+)] - >=net-libs/libsoup-3.0.8:3.0[introspection?] - >=dev-libs/libxml2-2.8.0:2= - >=media-libs/libpng-1.4:0= - dev-db/sqlite:3 - virtual/zlib:= - media-libs/libwebp:= - >=app-accessibility/at-spi2-core-2.46.0:2 - - >=dev-libs/glib-2.70.0:2 - >=dev-libs/libxslt-1.1.7 - media-libs/woff2 - keyring? ( app-crypt/libsecret ) - introspection? ( >=dev-libs/gobject-introspection-1.82.0-r2:= ) - x11-libs/libdrm - media-libs/mesa - spell? ( >=app-text/enchant-0.22:2 ) - gstreamer? ( - >=media-libs/gstreamer-1.20:1.0 - >=media-libs/gst-plugins-base-1.20:1.0[egl,X?] - media-libs/gst-plugins-base:1.0[opengl] - >=media-plugins/gst-plugins-opus-1.20:1.0 - >=media-libs/gst-plugins-bad-1.20:1.0 - ) - - X? ( x11-libs/libX11 ) - - dev-libs/hyphen - jpegxl? ( >=media-libs/libjxl-0.7.0:= ) - avif? ( >=media-libs/libavif-0.9.0:= ) - lcms? ( media-libs/lcms:2 ) - - media-libs/libglvnd - wayland? ( - >=dev-libs/wayland-1.20 - >=dev-libs/wayland-protocols-1.24 - ) - - seccomp? ( - >=sys-apps/bubblewrap-0.3.1 - sys-libs/libseccomp - sys-apps/xdg-dbus-proxy - ) - - systemd? ( sys-apps/systemd:= ) - gamepad? ( >=dev-libs/libmanette-0.2.4 ) -" -DEPEND="${RDEPEND}" -# Need real bison, not yacc -BDEPEND=" - ${PYTHON_DEPS} - ${RUBY_DEPS} - >=app-accessibility/at-spi2-core-2.5.3 - >=dev-util/gdbus-codegen-2.80.5-r1 - dev-util/glib-utils - >=dev-util/gperf-3.0.1 - dev-util/unifdef - >=sys-devel/bison-2.4.3 - || ( >=sys-devel/gcc-7.3 >=llvm-core/clang-5 ) - sys-devel/gettext - virtual/pkgconfig - - >=dev-lang/perl-5.10 - - wayland? ( dev-util/wayland-scanner ) -" - -CHECKREQS_DISK_BUILD="18G" # and even this might not be enough, bug #417307 - -# We cannot use PATCHES because src_prepare() calls cmake_src_prepare and -# gnome2_src_prepare, and both apply ${PATCHES[@]} -PATCHES=() - -pkg_pretend() { - if [[ ${MERGE_TYPE} != "binary" ]] ; then - if is-flagq "-g*" && ! is-flagq "-g*0" ; then - einfo "Checking for sufficient disk space to build ${PN} with debugging CFLAGS" - check-reqs_pkg_pretend - fi - - if ! test-flag-CXX -std=c++17 ; then - die "You need at least GCC 7.3.x or Clang >= 5 for C++17-specific compiler flags" - fi - fi -} - -pkg_setup() { - if [[ ${MERGE_TYPE} != "binary" ]] && is-flagq "-g*" && ! is-flagq "-g*0" ; then - check-reqs_pkg_setup - fi - - python-any-r1_pkg_setup -} - -src_prepare() { - cmake_src_prepare - gnome2_src_prepare - - # Fix USE=-jumbo-build on all arches - eapply "${FILESDIR}"/2.44.1-non-unified-build-fixes.patch - - # https://bugs.gentoo.org/943213 - eapply "${FILESDIR}"/2.44.4-fix-icu76.1.patch - - # We don't want -Werror for gobject-introspection (bug #947761) - sed -i -e "s:--warn-error::" Source/cmake/FindGI.cmake || die -} - -src_configure() { - # Respect CC, otherwise fails on prefix #395875 - tc-export CC - - # ODR violations (bug #915230, https://bugs.webkit.org/show_bug.cgi?id=233007) - filter-lto - - # It does not compile on alpha without this in LDFLAGS - # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648761 - use alpha && append-ldflags "-Wl,--no-relax" - - # Sigbuses on SPARC with mcpu and co., bug #??? - use sparc && filter-flags "-mvis" - - # https://bugs.webkit.org/show_bug.cgi?id=42070 , #301634 - use ppc64 && append-flags "-mminimal-toc" - - # Try to use less memory, bug #469942 (see Fedora .spec for reference) - append-ldflags $(test-flags-CCLD "-Wl,--no-keep-memory") - - if is-flagq '-g?(gdb)?([2-9])'; then #965483 - replace-flags '-g?(gdb)?([2-9])' -g1 - ewarn "-g2+/-ggdb* *FLAGS replaced with -g1" - fi - - # Ruby situation is a bit complicated. See bug 513888 - local rubyimpl - local ruby_interpreter="" - local RUBY - for rubyimpl in ${USE_RUBY}; do - if has_version -b "virtual/rubygems[ruby_targets_${rubyimpl}(-)]"; then - RUBY="$(type -P ${rubyimpl})" - ruby_interpreter="-DRUBY_EXECUTABLE=${RUBY}" - fi - done - # This will rarely occur. Only a couple of corner cases could lead us to - # that failure. See bug 513888 - [[ -z ${ruby_interpreter} ]] && die "No suitable ruby interpreter found" - # JavaScriptCore/Scripts/postprocess-asm invokes another Ruby script directly - # so it doesn't respect RUBY_EXECUTABLE, bug #771744. - sed -i -e "s:#!/usr/bin/env ruby:#!${RUBY}:" $(grep -rl "/usr/bin/env ruby" Source/JavaScriptCore || die) || die - - # TODO: Check Web Audio support - # should somehow let user select between them? - - local mycmakeargs=( - -DPython_EXECUTABLE="${PYTHON}" - ${ruby_interpreter} - # If bubblewrap[suid] then portage makes it go-r and cmake find_program fails with that - -DBWRAP_EXECUTABLE:FILEPATH="${EPREFIX}"/usr/bin/bwrap - -DDBUS_PROXY_EXECUTABLE:FILEPATH="${EPREFIX}"/usr/bin/xdg-dbus-proxy - -DPORT=GTK - # Source/cmake/WebKitFeatures.cmake - -DENABLE_API_TESTS=OFF - -DENABLE_BUBBLEWRAP_SANDBOX=$(usex seccomp) - -DENABLE_GAMEPAD=$(usex gamepad) - -DENABLE_MINIBROWSER=$(usex examples) - -DENABLE_PDFJS=$(usex pdf) - -DENABLE_GEOLOCATION=ON # Runtime optional (talks over dbus service) - -DENABLE_SPELLCHECK=$(usex spell) - -DENABLE_UNIFIED_BUILDS=$(usex jumbo-build) - -DENABLE_VIDEO=$(usex gstreamer) - -DUSE_GSTREAMER_WEBRTC=$(usex gstreamer) - -DUSE_GSTREAMER_TRANSCODER=$(usex gstreamer) - -DENABLE_WEB_CODECS=$(usex gstreamer) # https://bugs.webkit.org/show_bug.cgi?id=269147 - -DENABLE_WEBDRIVER=OFF # Disable WebDriver for webkit2gtk-4.1 and use the webkit2gtk-6.0 one - -DENABLE_WEBGL=ON - -DENABLE_WEB_AUDIO=$(usex gstreamer) - -DUSE_AVIF=$(usex avif) - # Source/cmake/OptionsGTK.cmake - -DENABLE_DOCUMENTATION=OFF - -DENABLE_INTROSPECTION=$(usex introspection) - -DENABLE_JOURNALD_LOG=$(usex systemd) - -DENABLE_QUARTZ_TARGET=$(usex aqua) - -DENABLE_WAYLAND_TARGET=$(usex wayland) - -DENABLE_X11_TARGET=$(usex X) - -DUSE_GBM=ON - -DUSE_GTK4=OFF - -DUSE_JPEGXL=$(usex jpegxl) - -DUSE_LCMS=$(usex lcms) - -DUSE_LIBBACKTRACE=OFF - -DUSE_LIBDRM=ON - -DUSE_LIBHYPHEN=ON - -DUSE_LIBSECRET=$(usex keyring) - -DUSE_SOUP2=OFF - -DUSE_WOFF2=ON - ) - - # Temporary workaround for bug 938162 (upstream bug 271371). - use riscv && mycmakeargs+=( -DENABLE_JIT=OFF ) - - # https://bugs.gentoo.org/761238 - append-cppflags -DNDEBUG - - WK_USE_CCACHE=NO cmake_src_configure -} - -pkg_postinst() { - optfeature "geolocation service (used at runtime if available)" "app-misc/geoclue" - optfeature "Common Multimedia codecs" "media-plugins/gst-plugins-meta" - optfeature "VAAPI encoding support" "media-libs/gst-plugins-bad[vaapi]" - optfeature "MPEG-DASH support" "media-plugins/gst-plugins-dash" - optfeature "HTTP live streaming (HLS) support" "media-plugins/gst-plugins-hls" -} diff --git a/net-libs/webkit-gtk/webkit-gtk-2.44.4-r601.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.44.4-r601.ebuild deleted file mode 100644 index ec9d6553bf85b..0000000000000 --- a/net-libs/webkit-gtk/webkit-gtk-2.44.4-r601.ebuild +++ /dev/null @@ -1,275 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -PYTHON_REQ_USE="xml(+)" -PYTHON_COMPAT=( python3_{11..12} ) -USE_RUBY="ruby31 ruby32 ruby33" - -inherit check-reqs flag-o-matic gnome2 optfeature python-any-r1 ruby-single toolchain-funcs cmake - -MY_P="webkitgtk-${PV}" -DESCRIPTION="Open source web browser engine" -HOMEPAGE="https://www.webkitgtk.org" -SRC_URI="https://www.webkitgtk.org/releases/${MY_P}.tar.xz" - -S="${WORKDIR}/${MY_P}" - -LICENSE="LGPL-2+ BSD" -SLOT="6/0" # soname version of libwebkit2gtk-6.0 -KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86" - -IUSE="aqua avif examples gamepad keyring +gstreamer +introspection pdf jpegxl +jumbo-build lcms seccomp spell systemd wayland X" -REQUIRED_USE="|| ( aqua wayland X )" - -# Tests do not run when built from tarballs -# https://bugs.webkit.org/show_bug.cgi?id=215986 -RESTRICT="test" - -# Dependencies can be found in Source/cmake/OptionsGTK.cmake. -# -# * Missing WebRTC support, but ENABLE_WEB_RTC is experimental upstream. -# * media-libs/mesa dep is for libgbm -# * >=gst-plugins-opus-1.14.4-r1 for opusparse (required by MSE) -# * TODO: gst-plugins-base[X] is only needed when build configuration ends up -# with GLX set, but that's a bit automagic too to fix -# * Softblocking = 5 for C++17-specific compiler flags" - fi - fi -} - -pkg_setup() { - if [[ ${MERGE_TYPE} != "binary" ]] && is-flagq "-g*" && ! is-flagq "-g*0" ; then - check-reqs_pkg_setup - fi - - python-any-r1_pkg_setup -} - -src_prepare() { - cmake_src_prepare - gnome2_src_prepare - - # Fix USE=-jumbo-build on all arches - eapply "${FILESDIR}"/2.44.1-non-unified-build-fixes.patch - - # https://bugs.gentoo.org/943213 - eapply "${FILESDIR}"/2.44.4-fix-icu76.1.patch - - # We don't want -Werror for gobject-introspection (bug #947761) - sed -i -e "s:--warn-error::" Source/cmake/FindGI.cmake || die -} - -src_configure() { - # Respect CC, otherwise fails on prefix #395875 - tc-export CC - - # ODR violations (bug #915230, https://bugs.webkit.org/show_bug.cgi?id=233007) - filter-lto - - # It does not compile on alpha without this in LDFLAGS - # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648761 - use alpha && append-ldflags "-Wl,--no-relax" - - # Sigbuses on SPARC with mcpu and co., bug #??? - use sparc && filter-flags "-mvis" - - # https://bugs.webkit.org/show_bug.cgi?id=42070 , #301634 - use ppc64 && append-flags "-mminimal-toc" - - # Try to use less memory, bug #469942 (see Fedora .spec for reference) - append-ldflags $(test-flags-CCLD "-Wl,--no-keep-memory") - - if is-flagq '-g?(gdb)?([2-9])'; then #965483 - replace-flags '-g?(gdb)?([2-9])' -g1 - ewarn "-g2+/-ggdb* *FLAGS replaced with -g1" - fi - - # Ruby situation is a bit complicated. See bug 513888 - local rubyimpl - local ruby_interpreter="" - local RUBY - for rubyimpl in ${USE_RUBY}; do - if has_version -b "virtual/rubygems[ruby_targets_${rubyimpl}(-)]"; then - RUBY="$(type -P ${rubyimpl})" - ruby_interpreter="-DRUBY_EXECUTABLE=${RUBY}" - fi - done - # This will rarely occur. Only a couple of corner cases could lead us to - # that failure. See bug 513888 - [[ -z ${ruby_interpreter} ]] && die "No suitable ruby interpreter found" - # JavaScriptCore/Scripts/postprocess-asm invokes another Ruby script directly - # so it doesn't respect RUBY_EXECUTABLE, bug #771744. - sed -i -e "s:#!/usr/bin/env ruby:#!${RUBY}:" $(grep -rl "/usr/bin/env ruby" Source/JavaScriptCore || die) || die - - # TODO: Check Web Audio support - # should somehow let user select between them? - - local mycmakeargs=( - -DPython_EXECUTABLE="${PYTHON}" - ${ruby_interpreter} - # If bubblewrap[suid] then portage makes it go-r and cmake find_program fails with that - -DBWRAP_EXECUTABLE:FILEPATH="${EPREFIX}"/usr/bin/bwrap - -DDBUS_PROXY_EXECUTABLE:FILEPATH="${EPREFIX}"/usr/bin/xdg-dbus-proxy - -DPORT=GTK - # Source/cmake/WebKitFeatures.cmake - -DENABLE_API_TESTS=OFF - -DENABLE_BUBBLEWRAP_SANDBOX=$(usex seccomp) - -DENABLE_GAMEPAD=$(usex gamepad) - -DENABLE_MINIBROWSER=$(usex examples) - -DENABLE_PDFJS=$(usex pdf) - -DENABLE_GEOLOCATION=ON # Runtime optional (talks over dbus service) - -DENABLE_SPELLCHECK=$(usex spell) - -DENABLE_UNIFIED_BUILDS=$(usex jumbo-build) - -DENABLE_VIDEO=$(usex gstreamer) - -DUSE_GSTREAMER_WEBRTC=$(usex gstreamer) - -DUSE_GSTREAMER_TRANSCODER=$(usex gstreamer) - -DENABLE_WEB_CODECS=$(usex gstreamer) # https://bugs.webkit.org/show_bug.cgi?id=269147 - -DENABLE_WEBDRIVER=ON - -DENABLE_WEBGL=ON - -DENABLE_WEB_AUDIO=$(usex gstreamer) - -DUSE_AVIF=$(usex avif) - # Source/cmake/OptionsGTK.cmake - -DENABLE_DOCUMENTATION=OFF - -DENABLE_INTROSPECTION=$(usex introspection) - -DENABLE_JOURNALD_LOG=$(usex systemd) - -DENABLE_QUARTZ_TARGET=$(usex aqua) - -DENABLE_WAYLAND_TARGET=$(usex wayland) - -DENABLE_X11_TARGET=$(usex X) - -DUSE_GBM=ON - -DUSE_GTK4=ON # webkit2gtk-6.0 - -DUSE_JPEGXL=$(usex jpegxl) - -DUSE_LCMS=$(usex lcms) - -DUSE_LIBBACKTRACE=OFF - -DUSE_LIBDRM=ON - -DUSE_LIBHYPHEN=ON - -DUSE_LIBSECRET=$(usex keyring) - -DUSE_SOUP2=OFF - -DUSE_WOFF2=ON - ) - - # Temporary workaround for bug 938162 (upstream bug 271371). - use riscv && mycmakeargs+=( -DENABLE_JIT=OFF ) - - # https://bugs.gentoo.org/761238 - append-cppflags -DNDEBUG - - WK_USE_CCACHE=NO cmake_src_configure -} - -src_install() { - cmake_src_install - - insinto /usr/share/gtk-doc/html - # This will install API docs specific to webkit2gtk-6.0 - doins -r "${S}"/Documentation/{jsc-glib,webkitgtk,webkitgtk-web-process-extension}-6.0 -} - -pkg_postinst() { - optfeature "geolocation service (used at runtime if available)" "app-misc/geoclue" - optfeature "Common Multimedia codecs" "media-plugins/gst-plugins-meta" - optfeature "VAAPI encoding support" "media-libs/gst-plugins-bad[vaapi]" - optfeature "MPEG-DASH support" "media-plugins/gst-plugins-dash" - optfeature "HTTP live streaming (HLS) support" "media-plugins/gst-plugins-hls" -}