aboutsummaryrefslogtreecommitdiff
path: root/extra/webkit2gtk
diff options
context:
space:
mode:
Diffstat (limited to 'extra/webkit2gtk')
-rwxr-xr-xextra/webkit2gtk/build9
-rw-r--r--extra/webkit2gtk/checksums3
-rw-r--r--extra/webkit2gtk/patches/fix-sourcebrush.patch18
-rw-r--r--extra/webkit2gtk/sources3
-rw-r--r--extra/webkit2gtk/version2
5 files changed, 8 insertions, 27 deletions
diff --git a/extra/webkit2gtk/build b/extra/webkit2gtk/build
index 5a890fda..1838acde 100755
--- a/extra/webkit2gtk/build
+++ b/extra/webkit2gtk/build
@@ -1,8 +1,5 @@
#!/bin/sh -e
-# Fix build of SourceBrush.cpp
-patch -p1 < fix-sourcebrush.patch
-
make -C unifdef
# Remove gettext requirement.
@@ -49,9 +46,13 @@ cmake -B build \
-DUSE_LIBSECRET=OFF \
-DUSE_OPENJPEG="$(cpt l -C openjpeg2 ON OFF)" \
-DUSE_SOUP2=ON \
+ -DUSE_GTK4=OFF \
-DUSE_WOFF2=OFF \
+ -DUSE_JPEGXL=OFF \
+ -DUSE_LIBBACKTRACE=OFF \
-DUSE_WPE_RENDERER=OFF \
+ -DUSE_SYSTEM_SYSPROF_CAPTURE=OFF \
-Wno-dev
-SAMUFLAGS='-j4' cmake --build build
+cmake --build build
cmake --install build
diff --git a/extra/webkit2gtk/checksums b/extra/webkit2gtk/checksums
index 89314f68..6e7f88ad 100644
--- a/extra/webkit2gtk/checksums
+++ b/extra/webkit2gtk/checksums
@@ -1,4 +1,3 @@
%BLAKE3
-f215eed5d3b8602c0c5ba99ba1fa7a8b3728c4d6f29a01289622f7c7a7fdc7d1 webkitgtk-2.40.1.tar.xz
+521ae872abe050f237a09293b84b1822228893979c929813728cbc58ac5580b4 webkitgtk-2.46.1.tar.xz
c55349ab244ae3705c566107426f61d9b7ffdbb9fd99261986f8d54867628bcc unifdef-2.12.tar.xz
-12ba5568faa965129017c036882e70f05e47eda17a13c6d832dddd13cee1a340 fix-sourcebrush.patch
diff --git a/extra/webkit2gtk/patches/fix-sourcebrush.patch b/extra/webkit2gtk/patches/fix-sourcebrush.patch
deleted file mode 100644
index c553d66e..00000000
--- a/extra/webkit2gtk/patches/fix-sourcebrush.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff -ur a/Source/WebCore/platform/graphics/SourceBrush.cpp b/Source/WebCore/platform/graphics/SourceBrush.cpp
---- a/Source/WebCore/platform/graphics/SourceBrush.cpp Wed May 24 13:31:50 2023
-+++ b/Source/WebCore/platform/graphics/SourceBrush.cpp Wed May 24 13:31:24 2023
-@@ -65,12 +65,12 @@
-
- void SourceBrush::setGradient(Ref<Gradient>&& gradient, const AffineTransform& spaceTransform)
- {
-- m_brush = { Brush::LogicalGradient { WTFMove(gradient), spaceTransform } };
-+ m_brush = Brush { Brush::LogicalGradient { WTFMove(gradient), spaceTransform } };
- }
-
- void SourceBrush::setPattern(Ref<Pattern>&& pattern)
- {
-- m_brush = { Brush::Variant { std::in_place_type<Ref<Pattern>>, WTFMove(pattern) } };
-+ m_brush = Brush { Brush::Variant { std::in_place_type<Ref<Pattern>>, WTFMove(pattern) } };
- }
-
- WTF::TextStream& operator<<(TextStream& ts, const SourceBrush& brush)
diff --git a/extra/webkit2gtk/sources b/extra/webkit2gtk/sources
index 09868ce3..625dcc52 100644
--- a/extra/webkit2gtk/sources
+++ b/extra/webkit2gtk/sources
@@ -1,3 +1,2 @@
-https://webkitgtk.org/releases/webkitgtk-2.40.1.tar.xz
+https://webkitgtk.org/releases/webkitgtk-2.46.1.tar.xz
https://dotat.at/prog/unifdef/unifdef-2.12.tar.xz unifdef
-patches/fix-sourcebrush.patch
diff --git a/extra/webkit2gtk/version b/extra/webkit2gtk/version
index 3fb476cf..64bde0be 100644
--- a/extra/webkit2gtk/version
+++ b/extra/webkit2gtk/version
@@ -1 +1 @@
-2.40.1 1
+2.46.1 1