Compare commits

...
Sign in to create a new pull request.

135 commits

Author SHA1 Message Date
Michael Catanzaro
805944c3be Update to 2.53.91 2026-08-22 09:02:57 -05:00
Michael Catanzaro
705ab9cfa8 Update to 2.53.90 2026-08-07 11:33:46 -05:00
Fedora Release Engineering
6a8a9af815 Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 08:44:43 +00:00
Michael Catanzaro
accfa5debd Update to 2.53.4 2026-06-25 09:27:43 -05:00
Yaakov Selkowitz
e100ee7a17 Rebuilt for openssl 4.0 2026-06-12 20:04:51 -04:00
František Zatloukal
1bc1233c2c Rebuilt for icu 78.3 2026-06-08 09:53:30 +02:00
Michael Catanzaro
111066fcff Update to 2.53.3 2026-05-29 15:37:46 -05:00
Michael Catanzaro
e9cd5eaa76 Remove source files not included in binary RPM from license tag
https://docs.fedoraproject.org/en-US/legal/license-field/#_source_package_files_not_included_in_binary_rpm

https://gitlab.com/fedora/legal/fedora-license-data/-/work_items/729
2026-05-21 09:52:41 -05:00
Michael Catanzaro
f454be3fd1 Revert "Update to 2.53.2"
This reverts commit acc325cd20.

Not yet ready for s390x.
2026-05-11 16:25:02 -05:00
Michael Catanzaro
acc325cd20 Update to 2.53.2 2026-05-08 12:04:19 -05:00
Michael Catanzaro
bf4f89ef11 Update to 2.52.3 2026-04-17 10:32:58 -05:00
Michael Catanzaro
4b570825a3 Update to 2.52.1 2026-03-28 08:25:35 -05:00
Jan Grulich
4ed776f273 Restore release monitoring to original behavior
[skip changelog]
2026-03-25 18:55:52 +01:00
Jan Grulich
7d652e77a5 Add configuration for release-monitoring 2026-03-25 14:35:39 +01:00
Michael Catanzaro
50dcf60ec5 Remove Unicode-TOU from license list 2026-03-24 09:04:22 -05:00
Michael Catanzaro
56d20d04c9 Correct license of m4sugar.m4 2026-03-24 08:54:35 -05:00
Michael Catanzaro
eea81f2f02 Update to 2.52.0 2026-03-21 12:56:51 -05:00
Michael Catanzaro
d0e1c7dfa8 Update to 2.51.93 2026-03-06 10:00:35 -06:00
Michael Catanzaro
55c35ad618 Update to 2.51.92 2026-03-01 11:23:54 -06:00
Michael Catanzaro
acca7bb89e Update to 2.51.91 2026-02-07 08:33:54 -06:00
Michael Catanzaro
f03151986f Fix build 2026-01-24 08:22:13 -06:00
Michael Catanzaro
2a7182ae49 Update to WebKitGTK 2.51.90 2026-01-23 12:14:48 -06:00
Fedora Release Engineering
19daf171bc Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 20:10:25 +00:00
Tomas Popela
1d14658556 Fix build failure on s390x due tu missing sys/mman.h include
/builddir/build/BUILD/webkitgtk-2.51.4-build/webkitgtk-2.51.4/Source/WebCore/platform/graphics/gbm/MemoryMappedGPUBuffer.cpp:273:50: error: use of undeclared identifier 'PROT_READ'
  273 |     m_mappedData = mmap(nullptr, m_mappedLength, PROT_READ | PROT_WRITE, MAP_SHARED, primaryPlaneDmaBufFD(), 0);
      |                                                  ^~~~~~~~~
/builddir/build/BUILD/webkitgtk-2.51.4-build/webkitgtk-2.51.4/Source/WebCore/platform/graphics/gbm/MemoryMappedGPUBuffer.cpp:273:62: error: use of undeclared identifier 'PROT_WRITE'
  273 |     m_mappedData = mmap(nullptr, m_mappedLength, PROT_READ | PROT_WRITE, MAP_SHARED, primaryPlaneDmaBufFD(), 0);
      |                                                              ^~~~~~~~~~
/builddir/build/BUILD/webkitgtk-2.51.4-build/webkitgtk-2.51.4/Source/WebCore/platform/graphics/gbm/MemoryMappedGPUBuffer.cpp:273:74: error: use of undeclared identifier 'MAP_SHARED'
  273 |     m_mappedData = mmap(nullptr, m_mappedLength, PROT_READ | PROT_WRITE, MAP_SHARED, primaryPlaneDmaBufFD(), 0);
      |                                                                          ^~~~~~~~~~
/builddir/build/BUILD/webkitgtk-2.51.4-build/webkitgtk-2.51.4/Source/WebCore/platform/graphics/gbm/MemoryMappedGPUBuffer.cpp:274:25: error: use of undeclared identifier 'MAP_FAILED'
  274 |     if (m_mappedData == MAP_FAILED) {
      |                         ^~~~~~~~~~
/builddir/build/BUILD/webkitgtk-2.51.4-build/webkitgtk-2.51.4/Source/WebCore/platform/graphics/gbm/MemoryMappedGPUBuffer.cpp:288:5: error: use of undeclared identifier 'munmap'
  288 |     munmap(m_mappedData, m_mappedLength);
      |     ^~~~~~

[skip changelog]
2025-12-19 14:49:48 +01:00
Tomas Popela
95247f68df Update to 2.51.4 2025-12-19 13:21:14 +01:00
Michael Catanzaro
dbaa715e88 Update to 2.51.3 2025-12-11 09:49:46 -06:00
Michael Catanzaro
ea0da612d3 Add patch to fix frequent CSS crashes 2025-11-25 12:01:48 -06:00
Michael Catanzaro
86e5954ac4 Update to 2.51.2 2025-11-25 08:19:51 -06:00
Michael Catanzaro
11bc4dad00 Use pushd/popd instead of overriding _vpath_builddir
This seems nicer.
2025-11-06 18:30:35 -06:00
Michael Catanzaro
759c43c959 Update to WebKitGTK 2.51.1 2025-11-05 13:47:18 -06:00
Michael Catanzaro
70f01d15c8 Update to 2.50.1 2025-10-10 15:23:51 -05:00
Tom Stellard
463777b07d Backport upstream patch to fix build with clang-22 2025-09-29 22:03:22 +00:00
Michael Catanzaro
8e9ab98460 Fix build on i686 2025-09-18 13:34:53 -05:00
Michael Catanzaro
d67dad2242 Update to 2.50.0 2025-09-17 15:59:17 -05:00
Michael Catanzaro
aa09283b95 Update to 2.49.90 2025-09-02 12:31:32 -05:00
Michael Catanzaro
b90e2d1d67 Add patch to fix build without bmalloc 2025-08-04 16:28:18 -05:00
Michael Catanzaro
52eb35f0bc Update to 2.49.4 2025-08-03 13:39:45 -05:00
Fedora Release Engineering
bb6ce8f764 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 20:21:05 +00:00
Michael Catanzaro
94eac66f04 Update to 2.49.3 2025-06-27 12:40:02 -05:00
Michael Catanzaro
72c8cf7cd9 Fix small scale factor in GTK 3 apps 2025-06-11 14:04:07 -05:00
Michael Catanzaro
66c24b384a Fix build on s390x 2025-06-03 07:29:28 -05:00
Michael Catanzaro
bc59d80176 Another attempt to fix build on non-x86_64 2025-06-02 16:38:14 -05:00
Michael Catanzaro
fcb218038f Another attempt to fix build on non-x86_64 2025-06-02 08:48:04 -05:00
Michael Catanzaro
1f9a18deaf Another attempt to fix build on non-x86_64 2025-06-01 10:21:34 -05:00
Michael Catanzaro
5ed3c46814 Attempt to fix build on i686 and s390x 2025-05-31 10:15:26 -05:00
Michael Catanzaro
f4536030c5 Update to 2.49.2 2025-05-30 16:01:27 -05:00
Michael Catanzaro
3da2ea985d
Update to 2.49.1 2025-04-08 18:05:14 -05:00
Michael Catanzaro
f9a8d97ab5
Add patch to fix non-x86, non-ARM build 2025-04-02 15:05:52 -05:00
Michael Catanzaro
7b284015f8
Update to WebKitGTK 2.48.1 2025-04-02 11:49:08 -05:00
Michael Catanzaro
253cecd14a
Update to WebKitGTK 2.48.0 2025-03-18 14:21:59 -05:00
Michael Catanzaro
ad45dc9795
Update to 2.47.90 2025-02-26 10:17:21 -06:00
Michael Catanzaro
8e0b9e7679
Update to 2.47.4 2025-02-11 11:14:28 -06:00
Robert-André Mauchin
b474392c33 Restore clang toolchain 2025-02-09 18:50:06 +01:00
Sérgio M. Basto
b34411c4e1 Rebuild for jpegxl (libjxl) 0.11.1 2025-02-02 20:10:34 +00:00
Michael Catanzaro
59dcd2129a Update to 2.47.3 2025-01-23 19:19:34 -06:00
Fedora Release Engineering
31ae9e612f Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 14:52:38 +00:00
e054a63d21 Rebuild for ICU 76 2024-12-06 16:26:50 +00:00
a75df5ef71 Add BR: rubygem(getoptlong) explicitly for ruby3.4 2024-12-02 07:02:18 +09:00
Michael Catanzaro
5085babe1a Fix build on i686 2024-11-27 13:35:54 -06:00
Michael Catanzaro
4026e0ecdc Upgrade to 2.47.2 2024-11-26 15:50:58 -06:00
Miroslav Suchý
1da6cf595e correct license formula
add missing OR operator
2024-11-08 11:31:05 +01:00
Michael Catanzaro
1efbf7b66a Attempt to fix build on i686 and ppc64le 2024-10-30 11:54:50 -05:00
Michael Catanzaro
50cae696b7 Update to 2.47.1 2024-10-29 16:03:55 -05:00
Michael Catanzaro
89ffd39bfe Add bundled Provides for simde and simdutf 2024-10-21 15:01:56 -05:00
Michael Catanzaro
4037c02354 Update to 2.46.2 2024-10-21 13:45:45 -05:00
Michael Catanzaro
f0d252c34a Add patch to fix build with LLVM 19 2024-10-01 11:49:26 -05:00
Michael Catanzaro
3de6cb0f07 Update to 2.46.1 2024-09-30 15:47:06 -05:00
Michael Catanzaro
e67beaa132 Add missing BuildRequires
Because explicit is better than implicit
2024-09-18 10:48:17 -05:00
Michael Catanzaro
cb9c9e2943 Update .gitignore
This is an experiment. Will fedpkg allow this to remain simple?
2024-09-17 15:54:22 -05:00
Michael Catanzaro
70665b9a1b Remove unused GCC build dep 2024-09-17 15:51:57 -05:00
Michael Catanzaro
dc14ad6a0e Upgrade to 2.46.0 2024-09-17 14:51:54 -05:00
Dan Horák
9bc4c62d44 enable build with clang on ppc64le
Add a workaround for missing musttail implementation in clang on ppc64le
to unblock building with clang.
2024-09-12 11:35:12 +00:00
Michael Catanzaro
0c4f7535d1 Revert use of -fdebug-types-section flag
This fails to build on ppc64le.

https://bugzilla.redhat.com/show_bug.cgi?id=2310828
2024-09-09 10:04:01 -05:00
Michael Catanzaro
24e021e102 Disable LTO on ppc64le 2024-09-04 14:14:49 -05:00
Michael Catanzaro
535cf00bbf Update to 2.45.92 2024-09-03 12:07:58 -05:00
Michael Catanzaro
2a0e6c39ec Update to 2.45.91 2024-08-26 12:16:54 -05:00
Michael Catanzaro
7f54c2a997 Update to 2.45.90 2024-08-19 15:02:52 -05:00
Michael Catanzaro
3d068f5592 Reenable LTO 2024-08-15 12:48:31 -05:00
Michael Catanzaro
44f98a0ae6 Update to 2.45.6 2024-07-29 13:11:25 -05:00
Fedora Release Engineering
dd7877f950 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-20 09:13:34 +00:00
Michael Catanzaro
ea3f8cbb69 Update to 2.45.5 2024-07-12 11:39:20 -05:00
Michael Catanzaro
65829197f6 Drop downstream patch and disable LTO 2024-07-03 15:10:15 -05:00
Michael Catanzaro
2d2a385141 Restore the TextDecorationPainter crash patch 2024-06-26 09:04:58 -05:00
Michael Catanzaro
1d0634e7b6 Update to WebKitGTK 2.45.4 2024-06-25 16:23:07 -05:00
Michael Catanzaro
8b92690ea5 Attempt to reenable LTO 2024-05-29 17:00:40 -05:00
Michael Catanzaro
bfa0e4c055 Disable LTO, which is broken again
Resolves: #2281612
2024-05-29 06:57:46 -05:00
Michael Catanzaro
aca76789af Update to 2.45.3 2024-05-28 10:57:49 -05:00
Michael Catanzaro
337c45ada0 Add patch to fix excessive CPU usage
But no build yet, because Fabio will do a new build soon for GStreamer 1.24
2024-05-25 09:55:59 -05:00
Michael Catanzaro
98604192c5 Fix builds on i686, ppc64le, and s390x
Each build failed for a different reason :(
2024-05-14 17:48:49 -05:00
Michael Catanzaro
72634a91c2 Update to 2.45.2 2024-05-14 08:43:45 -05:00
Michael Catanzaro
ba68f3ced9 Update to 2.44.1 2024-04-11 13:09:29 -05:00
Michael Catanzaro
56e83eb8d3 Attempt to reenable LTO
Let's see whether this builds. Probably not.

(Actually, it did build. Yippee!)
2024-04-11 13:09:18 -05:00
Michael Catanzaro
862ac4af72 Remove RHEL conditions from spec file
WebKitGTK is no longer part of ELN, so these are no longer needed.

It's probably desired in EPEL, but extra dependencies can be packaged
for EPEL.

Note that -DUSE_64KB_PAGE_BLOCK=ON is also no longer needed because the
relevant aarch64 builders are using Fedora and 4 KB page sizes. This
significantly improves both security and performance of the aarch64
builds.
2024-04-11 11:35:45 -05:00
Michael Catanzaro
5d9918b45f Fix i686 build 2024-03-16 19:46:33 -05:00
Michael Catanzaro
d99a3321c0 Update to 2.44.0 2024-03-16 13:31:46 -05:00
Sérgio M. Basto
915328c4e3 Rebuild for jpegxl (libjxl) 0.10.2 2024-03-13 03:09:17 +00:00
Sérgio M. Basto
0ee430763b Rebuild for jpegxl (libjxl) 0.9.2 with soname bump 2024-02-14 02:50:09 +00:00
Michael Catanzaro
92dbb98196 Remove use of real-time scheduling on vblank thread
https://bugzilla.redhat.com/show_bug.cgi?id=2253099
2024-02-07 08:43:02 -06:00
Michael Catanzaro
b852437da9 Add patch to maybe fix rhbz#2253099 2024-02-06 15:48:50 -06:00
Michael Catanzaro
cd7e45ea21 Update to 2.43.4 2024-02-02 09:58:52 -06:00
František Zatloukal
c8d620fff1 Rebuilt for libavif 1.0.3 2024-01-31 16:26:07 +01:00
Fedora Release Engineering
9f3212f08f Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-27 08:34:00 +00:00
Michael Catanzaro
b9ea0b1c48 Update to WebKitGTK 2.43.3 2023-12-21 09:22:23 -06:00
Yaakov Selkowitz
7d27584f98 Disable avif and jpegxl in RHEL builds
While we are working on dropping webkitgtk from RHEL, in the meantime
some optional dependencies that are otherwise unwanted can be avoided.
2023-12-20 01:39:22 -05:00
Michael Catanzaro
9686c85def Update to 2.43.2
Notably, the documentation has moved, and the dependency on libwpe and
wpebackend-fdo is gone.
2023-12-05 13:29:47 -06:00
Michael Catanzaro
51944b0e92 Fix build with libxml2 2.12 2023-11-20 17:45:01 -06:00
Michael Catanzaro
1e672992aa Update to 2.43.1
Also, add License tag to webkit2gtk-4.1-doc

Also, there are only two builds now instead of three, now that
webkit2gtk-4.0 has been removed.

Also, there is a new dependency on libbacktrace, but Fedora does not
package this library so we have to disable it.
2023-11-17 09:20:51 -06:00
Michael Catanzaro
ad97763211 Update to 2.42.2
This also removes the unused bundled libavif/libdav1d from the tarball,
which slightly simplifies the license tag.
2023-11-10 11:52:38 -06:00
Miroslav Suchý
9c17d1998a license analysis
Initial migration to SPDX. But the code contains two licenses that are not on the SPDX list yet. 
The comment contains references to issues where it is tracked.
2023-10-22 08:53:48 +00:00
Michael Catanzaro
f428956b0e Update to 2.40.1 and fix GL dependencies
GLES needs to be available at runtime or we'll crash, #2240428.

It's not needed at runtime because it's only used via libepoxy. And
desktop GL is no longer used at all.

Fixes #2240428
2023-09-27 09:09:22 -05:00
Michael Catanzaro
36e3f8cf9d Update to WebKitGTK 2.42.0 2023-09-15 09:21:08 -05:00
Michael Catanzaro
951bdc8fab Update to 2.41.92 2023-09-08 07:55:37 -05:00
Michael Catanzaro
8b3f7edd99 Disable LTO again to fix build
Avoids:

/usr/lib64/libglib-2.0.so  /usr/lib64/libz.so  /usr/lib64/libsystemd.so && :
/usr/bin/ld: /tmp/cczGkWSW.ltrans0.ltrans.o: in function `ipint_table_size_validate':
<artificial>:(.text+0x49f0f): undefined reference to `ipint_extern_table_size'
/usr/bin/ld: /tmp/cczGkWSW.ltrans0.ltrans.o: in function `ipint_table_fill_validate':
<artificial>:(.text+0x4a019): undefined reference to `ipint_extern_table_fill'

which I am not able to reproduce locally, even when using -flto=auto.
2023-08-19 14:10:44 -05:00
Michael Catanzaro
a101936262 Remove webkitgtk-4.0 API version
https://fedoraproject.org/wiki/Changes/Remove_webkit2gtk-4.0_API_Version
2023-08-19 13:46:33 -05:00
Michael Catanzaro
11e3dc7d2f Update to 2.41.91 2023-08-19 13:44:52 -05:00
Adam Williamson
4b92cd6fc1 Backport PR #15929 to fix content not shown on llvmpipe 2023-07-20 17:24:13 -07:00
Yaakov Selkowitz
3fae8fa930 Only BuildRequires libsoup-devel when building 4.0 API
ELN and RHEL 10 are not building the 4.0 API, in which case we should
not need libsoup (2.y) even in the buildroot.
2023-07-11 22:24:11 -04:00
František Zatloukal
7eeeb66a4d Rebuilt for ICU 73.2 2023-07-11 23:02:36 +02:00
Michael Catanzaro
3b52a75db8 Upgrade to 2.41.6 2023-07-05 08:37:50 -05:00
Yaakov Selkowitz
4195221bd0 Disable 4.0 API in RHEL 10 builds 2023-06-21 22:21:46 -04:00
Michael Catanzaro
ee8bb9de81 Revert "Remove all RHEL-related conditionals"
This reverts commit 77b316c320.
2023-06-21 12:23:25 -05:00
Sérgio M. Basto
2148153a10 Mass rebuild for jpegxl-0.8.1 2023-06-18 21:16:56 +01:00
Tomas Popela
97d8057b53 Drop the unneeded BR on pcre
Resolves: rhbz#2212686
2023-06-14 12:50:35 +02:00
Michael Catanzaro
69d2c3b175 Upgrade to 2.41.5 2023-06-13 21:05:55 -05:00
Michael Catanzaro
77b316c320 Remove all RHEL-related conditionals
No longer required
2023-06-13 08:29:54 -05:00
Michael Catanzaro
470cabb576 Upgrade to WebKitGTK 2.41.4 2023-05-17 08:57:44 -05:00
Michael Catanzaro
c88765bc1c Upgrade to 2.41.3 2023-04-21 12:48:57 -05:00
Michael Catanzaro
37202f93bb Add patch to fix GPU permissions errors 2023-04-17 13:50:46 -05:00
Michael Catanzaro
229fcf8dd1 Add patch to fix rendering errors 2023-04-17 11:06:28 -05:00
Michael Catanzaro
1f31e30081 Upgrade to 2.41.2 2023-04-14 11:56:44 -05:00
Michael Catanzaro
f25af2888e Upgrade to 2.41.1 2023-03-31 15:21:05 -05:00
Michael Catanzaro
75a11a9b58 Explicitly specify some required build deps 2023-03-17 21:48:23 -05:00
Michael Catanzaro
81ee50ea5f Add user content manager patch and reenable LTO 2023-03-17 15:46:38 -05:00
Michael Catanzaro
5d2c1672bc Upgrade to 2.40.0 2023-03-17 09:41:22 -05:00
Michael Catanzaro
1c16daccce Upgrade to 2.39.91 2023-03-08 14:06:21 -06:00
9 changed files with 203 additions and 336 deletions

15
.gitignore vendored
View file

@ -1,15 +1,2 @@
/webkitgtk-*.tar.xz
/webkitgtk-2.37.1.tar.xz.asc
/webkitgtk-2.37.90.tar.xz.asc
/webkitgtk-2.37.91.tar.xz.asc
/webkitgtk-2.38.0.tar.xz.asc
/webkitgtk-2.38.1.tar.xz.asc
/webkitgtk-2.38.2.tar.xz.asc
/webkitgtk-2.39.1.tar.xz.asc
/webkitgtk-2.39.2.tar.xz.asc
/webkitgtk-2.39.3.tar.xz.asc
/webkitgtk-2.39.4.tar.xz.asc
/webkitgtk-2.39.5.tar.xz.asc
/webkitgtk-2.39.6.tar.xz.asc
/webkitgtk-2.39.7.tar.xz.asc
/webkitgtk-2.39.90.tar.xz.asc
/webkitgtk-*.tar.xz.asc

View file

@ -1,62 +0,0 @@
From 166cdf23242165c9c84f621a4121c80432211c50 Mon Sep 17 00:00:00 2001
From: Adrian Perez de Castro <aperez@igalia.com>
Date: Mon, 20 Feb 2023 16:26:28 +0200
Subject: [PATCH] [GLib] Installed API headers are unusable with the new 2022
API https://bugs.webkit.org/show_bug.cgi?id=252562
Reviewed by NOBODY (OOPS!).
* Source/WebKit/UIProcess/API/glib/WebKitJavascriptResult.h.in: Only
include JavaScriptCore/JSBase.h with the old API, change a !USE(GTK4)
guard to !ENABLE(2022_GLIB_API) as it is more correct.
* Source/WebKit/UIProcess/API/glib/WebKitWebView.h.in: Ditto.
---
Source/WebKit/UIProcess/API/glib/WebKitJavascriptResult.h.in | 4 ++--
Source/WebKit/UIProcess/API/glib/WebKitWebView.h.in | 4 +++-
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/Source/WebKit/UIProcess/API/glib/WebKitJavascriptResult.h.in b/Source/WebKit/UIProcess/API/glib/WebKitJavascriptResult.h.in
index b7eece231000..78ba2120b225 100644
--- a/Source/WebKit/UIProcess/API/glib/WebKitJavascriptResult.h.in
+++ b/Source/WebKit/UIProcess/API/glib/WebKitJavascriptResult.h.in
@@ -26,7 +26,7 @@
#include <glib-object.h>
#include <@API_INCLUDE_PREFIX@/WebKitDefines.h>
-#if PLATFORM(GTK)
+#if PLATFORM(GTK) && !ENABLE(2022_GLIB_API)
#include <JavaScriptCore/JSBase.h>
#endif
@@ -46,7 +46,7 @@ webkit_javascript_result_ref (WebKitJavascriptResult *js_result);
WEBKIT_API void
webkit_javascript_result_unref (WebKitJavascriptResult *js_result);
-#if PLATFORM(GTK) && !USE(GTK4)
+#if PLATFORM(GTK) && !ENABLE(2022_GLIB_API)
WEBKIT_DEPRECATED JSGlobalContextRef
webkit_javascript_result_get_global_context (WebKitJavascriptResult *js_result);
diff --git a/Source/WebKit/UIProcess/API/glib/WebKitWebView.h.in b/Source/WebKit/UIProcess/API/glib/WebKitWebView.h.in
index 45949e44e4a3..293aa3841695 100644
--- a/Source/WebKit/UIProcess/API/glib/WebKitWebView.h.in
+++ b/Source/WebKit/UIProcess/API/glib/WebKitWebView.h.in
@@ -59,7 +59,9 @@
#endif
#if PLATFORM(GTK)
+#if !ENABLE(2022_GLIB_API)
#include <JavaScriptCore/JSBase.h>
+#endif
#include <webkit/WebKitColorChooserRequest.h>
#include <webkit/WebKitWebInspector.h>
#include <webkit/WebKitWebViewBase.h>
@@ -628,7 +630,7 @@ webkit_web_view_execute_editing_command_with_argument(WebKitWebView
WEBKIT_API WebKitFindController *
webkit_web_view_get_find_controller (WebKitWebView *web_view);
-#if PLATFORM(GTK) && !USE(GTK4)
+#if PLATFORM(GTK) && !ENABLE(2022_GLIB_API)
WEBKIT_DEPRECATED JSGlobalContextRef
webkit_web_view_get_javascript_global_context (WebKitWebView *web_view);
#endif

13
monitoring.toml Normal file
View file

@ -0,0 +1,13 @@
# Enable/disable monitoring
monitoring = false
# Enable/disable filling bugzilla ticket for new release
# When disabled it will also disable scratch builds
bugzilla = true
# Enable/disable reporting only stable versions
# Stable versions are recognized based on release-monitoring.org project settings
stable_only = false
# Enable/disable reporting all new versions instead of the latest one
# Enabling this will disable scratch builds
all_versions = false
# Enable/disable scratch build for newly opened version
scratch_build = false

View file

@ -1,29 +0,0 @@
diff --git a/Source/cmake/OptionsCommon.cmake b/Source/cmake/OptionsCommon.cmake
index 94b9740c8a82..43b961c996c3 100644
--- a/Source/cmake/OptionsCommon.cmake
+++ b/Source/cmake/OptionsCommon.cmake
@@ -154,19 +154,11 @@ if (USE_THIN_ARCHIVES)
endif ()
set(ENABLE_DEBUG_FISSION_DEFAULT OFF)
-check_cxx_compiler_flag(-gsplit-dwarf CXX_COMPILER_SUPPORTS_GSPLIT_DWARF)
-if (CXX_COMPILER_SUPPORTS_GSPLIT_DWARF AND LD_SUPPORTS_SPLIT_DEBUG)
- set(ENABLE_DEBUG_FISSION_DEFAULT ON)
-endif ()
-
-if (ENABLE_DEBUG_FISSION_DEFAULT AND SCCACHE_FOUND AND COMPILER_IS_CLANG AND NOT CMAKE_BUILD_TYPE STREQUAL "Debug" AND NOT CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo")
- # https://github.com/mozilla/sccache/issues/1593
- message("The SCCache clang backend doesn't support split-dwarf for non-debug builds yet. Keeping default value of DEBUG_FISSION to OFF.")
- set(ENABLE_DEBUG_FISSION_DEFAULT OFF)
-endif ()
-
-if (CMAKE_GENERATOR MATCHES "Visual Studio")
- set(ENABLE_DEBUG_FISSION_DEFAULT OFF)
+if ((CMAKE_BUILD_TYPE STREQUAL "Debug" OR CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo") AND NOT CMAKE_GENERATOR MATCHES "Visual Studio")
+ check_cxx_compiler_flag(-gsplit-dwarf CXX_COMPILER_SUPPORTS_GSPLIT_DWARF)
+ if (CXX_COMPILER_SUPPORTS_GSPLIT_DWARF AND LD_SUPPORTS_SPLIT_DEBUG)
+ set(ENABLE_DEBUG_FISSION_DEFAULT ON)
+ endif ()
endif ()
option(DEBUG_FISSION "Use Debug Fission support" ${ENABLE_DEBUG_FISSION_DEFAULT})

82
skia-s390x.patch Normal file
View file

@ -0,0 +1,82 @@
diff --git a/Source/ThirdParty/skia/include/core/SkTypes.h b/Source/ThirdParty/skia/include/core/SkTypes.h
index 79644da049ff..fc0646e21772 100644
--- a/Source/ThirdParty/skia/include/core/SkTypes.h
+++ b/Source/ThirdParty/skia/include/core/SkTypes.h
@@ -33,6 +33,8 @@
# undef SK_DIRECT3D
#endif
+#if !defined(SK_R32_SHIFT) || !defined(SK_G32_SHIFT) || !defined(SK_B32_SHIFT) || !defined(SK_A32_SHIFT)
+
// If SK_R32_SHIFT is set, we'll use that to choose RGBA or BGRA.
// If not, we'll default to RGBA everywhere except BGRA on Windows.
#if defined(SK_R32_SHIFT)
@@ -52,6 +54,8 @@
#define SK_G32_SHIFT 8
#define SK_A32_SHIFT 24
+#endif
+
/**
* SK_PMCOLOR_BYTE_ORDER can be used to query the byte order of SkPMColor at compile time.
*/
diff --git a/Source/ThirdParty/skia/src/codec/SkCodecPriv.h b/Source/ThirdParty/skia/src/codec/SkCodecPriv.h
index c321fb77c0ae..a0a01cccd58a 100644
--- a/Source/ThirdParty/skia/src/codec/SkCodecPriv.h
+++ b/Source/ThirdParty/skia/src/codec/SkCodecPriv.h
@@ -14,6 +14,7 @@
#include "include/core/SkTypes.h"
#include "include/private/SkEncodedInfo.h"
#include "modules/skcms/skcms.h"
+#include "src/core/SkEndian.h"
#include "src/codec/SkColorPalette.h"
#include "src/core/SkColorData.h"
diff --git a/Source/ThirdParty/skia/src/core/Sk4px.h b/Source/ThirdParty/skia/src/core/Sk4px.h
index d5d481e7e300..c7ef0bcd0ed0 100644
--- a/Source/ThirdParty/skia/src/core/Sk4px.h
+++ b/Source/ThirdParty/skia/src/core/Sk4px.h
@@ -27,7 +27,9 @@ public:
// RGBA rgba XYZW xyzw -> AAAA aaaa WWWW wwww
Sk4px alphas() const {
+#ifdef SK_CPU_LENDIAN
static_assert(SK_A32_SHIFT == 24, "This method assumes little-endian.");
+#endif
return Sk4px(skvx::shuffle<3,3,3,3, 7,7,7,7, 11,11,11,11, 15,15,15,15>(fV));
}
Sk4px inv() const { return Sk4px(skvx::byte16(255) - fV); }
diff --git a/Source/ThirdParty/skia/src/core/SkColorPriv.h b/Source/ThirdParty/skia/src/core/SkColorPriv.h
index 45471c25529e..319fec78069b 100644
--- a/Source/ThirdParty/skia/src/core/SkColorPriv.h
+++ b/Source/ThirdParty/skia/src/core/SkColorPriv.h
@@ -64,6 +64,20 @@ static inline U8CPU SkUnitScalarClampToByte(SkScalar x) {
* Here we enforce this constraint.
*/
+#ifdef SK_CPU_BENDIAN
+
+#define SK_RGBA_R32_SHIFT 24
+#define SK_RGBA_G32_SHIFT 16
+#define SK_RGBA_B32_SHIFT 8
+#define SK_RGBA_A32_SHIFT 0
+
+#define SK_BGRA_B32_SHIFT 24
+#define SK_BGRA_G32_SHIFT 16
+#define SK_BGRA_R32_SHIFT 8
+#define SK_BGRA_A32_SHIFT 0
+
+#else
+
#define SK_RGBA_R32_SHIFT 0
#define SK_RGBA_G32_SHIFT 8
#define SK_RGBA_B32_SHIFT 16
@@ -74,6 +88,8 @@ static inline U8CPU SkUnitScalarClampToByte(SkScalar x) {
#define SK_BGRA_R32_SHIFT 16
#define SK_BGRA_A32_SHIFT 24
+#endif
+
#if defined(SK_PMCOLOR_IS_RGBA) || defined(SK_PMCOLOR_IS_BGRA)
#error "Configure PMCOLOR by setting SK_R32_SHIFT."
#endif

View file

@ -1,2 +1,2 @@
SHA512 (webkitgtk-2.39.90.tar.xz) = 1a17a60443072253c9b2a4a04356213ea9a3f36976ebad048048b1bf6a5dd15a9fb161df1cabbf4258b001a5ab326161887cc8e6f1863a3e32834a35f607e4d4
SHA512 (webkitgtk-2.39.90.tar.xz.asc) = 772e584f3caa3141d3cdc0abdd747c2c08990c244740f138fe9f64f3aedb01a08f39fea59e27906e27063aaebf41432a25a6326f4841af7b3075c4da70b16f09
SHA512 (webkitgtk-2.53.91.tar.xz) = 0bb5ec4c75cf0dcd4ccc46b7cf8595722d447385b75ed6ec79333b56203f681077fa355600210edb4fe6344e4af2943c7fb5b1bff6e35a7ec1ea456d891a1951
SHA512 (webkitgtk-2.53.91.tar.xz.asc) = 72f6f01f8f3e12228ee70202b9b9bda589c80a791086cde6d6af5f2f916b44877b984267c6a5970f4fe41ff7dac21bccfa7323f19d71f6fd3e4a87abb18be58c

View file

@ -1,12 +0,0 @@
diff --git a/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp b/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp
index 97e22b7ec4c1..64397ee50cf7 100644
--- a/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp
+++ b/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp
@@ -39,6 +39,7 @@
#include "LLIntData.h"
#include "LLIntSlowPaths.h"
#include "JSCInlines.h"
+#include "SuperSampler.h"
#include <wtf/Assertions.h>
#include <wtf/MathExtras.h>

Binary file not shown.

View file

@ -1,6 +1,3 @@
# https://bugs.webkit.org/show_bug.cgi?id=249368
%global _lto_cflags %{nil}
## NOTE: Lots of files in various subdirectories have the same name (such as
## "LICENSE") so this short macro allows us to distinguish them by using their
## directory names (from the source tree) as prefixes for the files.
@ -8,44 +5,65 @@
mkdir -p _license_files ; \
cp -p %1 _license_files/$(echo '%1' | sed -e 's!/!.!g')
# No libmanette in RHEL
%if !0%{?rhel}
%global with_gamepad 1
%endif
# Build documentation by default (use `rpmbuild --without docs` to override it).
# This is used by Coverity. Coverity injects custom compiler warnings, but
# any warning during WebKit docs build is fatal!
%bcond_without docs
# Clang is preferred: https://skia.org/docs/user/build/#supported-and-preferred-compilers
%global toolchain clang
# We run out of memory if building with LTO enabled on i686.
%ifarch %{ix86}
%global _lto_cflags %{nil}
%endif
Name: webkitgtk
Version: 2.39.90
Version: 2.53.91
Release: %autorelease
Summary: GTK web content engine library
License: LGPLv2
# Source/bmalloc/bmalloc/*.h is BSD-2-Clause
# Source/bmalloc/bmalloc/CryptoRandom.cpp is ISC
# Source/bmalloc/bmalloc/valgrind.h is is bzip2-1.0.6
# Source/bmalloc/libpas/src/test/RedBlackTreeTests.cpp is BSD-3-Clause
# Source/JavaScriptCore/config.h is LGPL-2.0-or-later
# Source/JavaScriptCore/b3/B3ComputeDivisionMagic.h is NCSA
# Source/JavaScriptCore/disassembler/zydis/* is MIT
# Source/JavaScriptCore/runtime/JSDateMath.h is MPL 1.1/GPL 2.0/LGPL 2.1
# Source/JavaScriptCore/runtime/MathCommon.cpp is SunPro
# Source/JavaScriptCore/ucd/CaseFolding.txt is Unicode-TOU, which is unapproved, but the only copyrightable part is the comment at the top of the file, so seems safe to omit it
# Source/ThirdParty/ANGLE/include/CL/cl_d3d10.h is Apache-2.0
# Source/ThirdParty/ANGLE/include/GLES/gl.h is MIT-Khronos (not on list see https://github.com/spdx/license-list-XML/issues/2017)
# Source/ThirdParty/ANGLE/src/compiler/preprocessor/preprocessor_tab_autogen.cpp is GPL-3.0-or-later WITH Bison-exception-2.2
# Source/ThirdParty/pdfjs/web/images/annotation-paperclip.svg is MPL-2.0i
# Source/ThirdParty/pdfjs/web/standard_fonts/LICENSE_LIBERATION is OFL-1.1
# Source/ThirdParty/xdgmime/ is AFL-2.0 OR GPL-2.0-or-later
# Source/WebCore/dom/PseudoElement.h is BSD-Source-Code
# Source/WebCore/dom/SecurityContext.cpp is BSD-2-Clause-Views
# Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp is LGPL-2.1-or-later
# Source/WTF/LICENSE-libc++.txt is NCSA OR MIT
# Source/WTF/LICENSE-LLVM.txt is Apache-2.0 WITH LLVM-exception
# Source/WTF/wtf/Markable.h is BSL-1.0
# The license tag and above comment is up to date as of WebKitGTK 2.42.2.
License: LGPL-2.1-only AND BSD-2-Clause AND BSD-3-Clause AND ISC AND bzip2-1.0.6 AND NCSA AND MIT AND GPL-2.0-only AND MPL-1.1 AND SunPro AND Apache-2.0 AND GPL-3.0-or-later WITH Bison-exception-2.2 AND MPL-2.0 AND OFL-1.1 AND (AFL-2.0 OR GPL-2.0-or-later) AND BSD-Source-Code AND BSD-2-Clause-Views AND LGPL-2.1-or-later AND (NCSA OR MIT) AND Apache-2.0 WITH LLVM-exception AND BSL-1.0
URL: https://www.webkitgtk.org/
Source0: https://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz
Source1: https://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz.asc
# Use the keys from https://webkitgtk.org/verifying.html
# $ gpg --import aperez.key carlosgc.key
# $ gpg --export --export-options export-minimal D7FCF61CF9A2DEAB31D81BD3F3D322D0EC4582C3 5AA3BC334FD7E3369E7C77B291C559DBE4C9123B > webkitgtk-keys.gpg
# $ gpg --export --export-options export-minimal 013A0127AC9C65B34FFA62526C1009B693975393 5AA3BC334FD7E3369E7C77B291C559DBE4C9123B > webkitgtk-keys.gpg
Source2: webkitgtk-keys.gpg
# https://github.com/WebKit/WebKit/pull/10362
Patch0: fix-installed-headers.patch
# https://bugs.webkit.org/show_bug.cgi?id=252617
Patch1: super-sampler.patch
# https://bugs.webkit.org/show_bug.cgi?id=252679
Patch2: no-debug-fission.patch
# https://bugs.webkit.org/show_bug.cgi?id=312677
Patch: skia-s390x.patch
BuildRequires: bison
BuildRequires: bubblewrap
BuildRequires: clang
BuildRequires: cmake
BuildRequires: flex
BuildRequires: gcc-c++
BuildRequires: flite-devel
BuildRequires: gettext
BuildRequires: gi-docgen
BuildRequires: git
@ -58,9 +76,11 @@ BuildRequires: openssl-devel
BuildRequires: perl(English)
BuildRequires: perl(FindBin)
BuildRequires: perl(JSON::PP)
BuildRequires: perl(bigint)
BuildRequires: python3
BuildRequires: ruby
BuildRequires: rubygems
BuildRequires: rubygem(getoptlong)
BuildRequires: rubygem-json
BuildRequires: unifdef
BuildRequires: xdg-dbus-proxy
@ -70,11 +90,11 @@ BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(egl)
BuildRequires: pkgconfig(enchant-2)
BuildRequires: pkgconfig(epoxy)
BuildRequires: pkgconfig(expat)
BuildRequires: pkgconfig(fontconfig)
BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(gbm)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(glesv2)
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(gstreamer-1.0)
BuildRequires: pkgconfig(gstreamer-plugins-bad-1.0)
@ -85,36 +105,32 @@ BuildRequires: pkgconfig(harfbuzz)
BuildRequires: pkgconfig(icu-uc)
BuildRequires: pkgconfig(lcms2)
BuildRequires: pkgconfig(libavif)
BuildRequires: pkgconfig(libdrm)
BuildRequires: pkgconfig(libgcrypt)
BuildRequires: pkgconfig(libjpeg)
BuildRequires: pkgconfig(libjxl)
BuildRequires: pkgconfig(libnotify)
BuildRequires: pkgconfig(libopenjp2)
BuildRequires: pkgconfig(libpcre)
BuildRequires: pkgconfig(libpng)
BuildRequires: pkgconfig(libseccomp)
BuildRequires: pkgconfig(libsecret-1)
BuildRequires: pkgconfig(libsoup-2.4)
BuildRequires: pkgconfig(libsoup-3.0)
BuildRequires: pkgconfig(libsystemd)
BuildRequires: pkgconfig(libtasn1)
BuildRequires: pkgconfig(libwebp)
BuildRequires: pkgconfig(libwoff2dec)
BuildRequires: pkgconfig(libxslt)
%if 0%{?with_gamepad}
BuildRequires: pkgconfig(manette-0.2)
%endif
BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(sysprof-capture-4)
BuildRequires: pkgconfig(upower-glib)
BuildRequires: pkgconfig(wayland-client)
BuildRequires: pkgconfig(wayland-egl)
BuildRequires: pkgconfig(wayland-protocols)
BuildRequires: pkgconfig(wayland-server)
BuildRequires: pkgconfig(wpe-1.0)
BuildRequires: pkgconfig(wpebackend-fdo-1.0)
BuildRequires: pkgconfig(xt)
# Filter out provides for private libraries
%global __provides_exclude_from ^(%{_libdir}/webkit2gtk-4\\.0/.*\\.so|%{_libdir}/webkit2gtk-4\\.1/.*\\.so|%{_libdir}/webkitgtk-6\\.0/.*\\.so)$
%global __provides_exclude_from ^(%{_libdir}/webkit2gtk-4\\.1/.*\\.so|%{_libdir}/webkitgtk-6\\.0/.*\\.so)$
%description
WebKitGTK is the port of the WebKit web rendering engine to the
@ -124,6 +140,7 @@ GTK platform.
Summary: WebKitGTK for GTK 4
Requires: javascriptcoregtk6.0%{?_isa} = %{version}-%{release}
Requires: bubblewrap
Requires: libGLES
Requires: xdg-dbus-proxy
Recommends: geoclue2
Recommends: gstreamer1-plugins-bad-free
@ -131,6 +148,7 @@ Recommends: gstreamer1-plugins-good
Recommends: xdg-desktop-portal-gtk
Provides: bundled(angle)
Provides: bundled(pdfjs)
Provides: bundled(skia)
Provides: bundled(xdgmime)
Obsoletes: webkit2gtk5.0 < %{version}-%{release}
@ -142,6 +160,7 @@ GTK platform. This package contains WebKitGTK for GTK 4.
Summary: WebKitGTK for GTK 3 and libsoup 3
Requires: javascriptcoregtk4.1%{?_isa} = %{version}-%{release}
Requires: bubblewrap
Requires: libGLES
Requires: xdg-dbus-proxy
Recommends: geoclue2
Recommends: gstreamer1-plugins-bad-free
@ -149,33 +168,13 @@ Recommends: gstreamer1-plugins-good
Recommends: xdg-desktop-portal-gtk
Provides: bundled(angle)
Provides: bundled(pdfjs)
Provides: bundled(skia)
Provides: bundled(xdgmime)
%description -n webkit2gtk4.1
WebKitGTK is the port of the WebKit web rendering engine to the
GTK platform. This package contains WebKitGTK for GTK 3 and libsoup 3.
%package -n webkit2gtk4.0
Summary: WebKitGTK for GTK 3 and libsoup 2
Requires: javascriptcoregtk4.0%{?_isa} = %{version}-%{release}
Requires: bubblewrap
Requires: xdg-dbus-proxy
Recommends: geoclue2
Recommends: gstreamer1-plugins-bad-free
Recommends: gstreamer1-plugins-good
Recommends: xdg-desktop-portal-gtk
Provides: bundled(angle)
Provides: bundled(pdfjs)
Provides: bundled(xdgmime)
Obsoletes: webkitgtk4 < %{version}-%{release}
Provides: webkitgtk4 = %{version}-%{release}
Obsoletes: webkit2gtk3 < %{version}-%{release}
Provides: webkit2gtk3 = %{version}-%{release}
%description -n webkit2gtk4.0
WebKitGTK is the port of the WebKit web rendering engine to the
GTK platform. This package contains WebKitGTK for GTK 3 and libsoup 2.
%package -n webkitgtk6.0-devel
Summary: Development files for webkitgtk6.0
Requires: webkitgtk6.0%{?_isa} = %{version}-%{release}
@ -197,20 +196,6 @@ Requires: javascriptcoregtk4.1-devel%{?_isa} = %{version}-%{release}
The webkit2gtk4.1-devel package contains libraries, build data, and header
files for developing applications that use webkit2gtk4.1.
%package -n webkit2gtk4.0-devel
Summary: Development files for webkit2gtk4.0
Requires: webkit2gtk4.0%{?_isa} = %{version}-%{release}
Requires: javascriptcoregtk4.0%{?_isa} = %{version}-%{release}
Requires: javascriptcoregtk4.0-devel%{?_isa} = %{version}-%{release}
Obsoletes: webkitgtk4-devel < %{version}-%{release}
Provides: webkitgtk4-devel = %{version}-%{release}
Obsoletes: webkit2gtk3-devel < %{version}-%{release}
Provides: webkit2gtk3-devel = %{version}-%{release}
%description -n webkit2gtk4.0-devel
The webkit2gtk4.0-devel package contains libraries, build data, and header
files for developing applications that use webkit2gtk4.0.
%if %{with docs}
%package -n webkitgtk6.0-doc
Summary: Documentation files for webkit2gtk5.0
@ -219,6 +204,15 @@ Requires: webkitgtk6.0 = %{version}-%{release}
Obsoletes: webkit2gtk5.0-doc < %{version}-%{release}
Recommends: gi-docgen-fonts
# Documentation/jsc-glib-4.1/fzy.js is MIT
# Documentation/jsc-glib-4.1/*.js and *css is Apache-2.0 OR GPL-3.0-or-later
# Documentation/jsc-glib-4.1/*html is BSD, LGPL-2.1
# Documentation/webkit2gtk-4.1/*html is BSD, LGPL-2.1
# Documentation/webkit2gtk-web-extension-4.1/*html is BSD, LGPL-2.1
# Documentation/webkit2gtk-web-extension-4.1/solarized* is MIT
# Documentation/webkit2gtk-web-extension-4.1/style.css is Apache-2.0 OR GPL-3.0-or-later
License: MIT AND LGPL-2.1-only AND BSD-3-Clause AND (Apache-2.0 OR GPL-3.0-or-later)
%description -n webkitgtk6.0-doc
This package contains developer documentation for webkitgtk6.0.
@ -228,25 +222,23 @@ BuildArch: noarch
Requires: webkit2gtk4.1 = %{version}-%{release}
Recommends: gi-docgen-fonts
# Documentation/jsc-glib-4.1/fzy.js is MIT
# Documentation/jsc-glib-4.1/*.js and *css is Apache-2.0 OR GPL-3.0-or-later
# Documentation/jsc-glib-4.1/*html is BSD, LGPL-2.1
# Documentation/webkit2gtk-4.1/*html is BSD, LGPL-2.1
# Documentation/webkit2gtk-web-extension-4.1/*html is BSD, LGPL-2.1
# Documentation/webkit2gtk-web-extension-4.1/solarized* is MIT
# Documentation/webkit2gtk-web-extension-4.1/style.css is Apache-2.0 OR GPL-3.0-or-later
License: MIT AND LGPL-2.1-only AND BSD-3-Clause AND (Apache-2.0 OR GPL-3.0-or-later)
%description -n webkit2gtk4.1-doc
This package contains developer documentation for webkit2gtk4.1.
%package -n webkit2gtk4.0-doc
Summary: Documentation files for webkit2gtk4.0
BuildArch: noarch
Requires: webkit2gtk4.0 = %{version}-%{release}
Obsoletes: webkitgtk4-doc < %{version}-%{release}
Provides: webkitgtk4-doc = %{version}-%{release}
Obsoletes: webkit2gtk3-doc < %{version}-%{release}
Provides: webkit2gtk3-doc = %{version}-%{release}
Recommends: gi-docgen-fonts
%description -n webkit2gtk4.0-doc
This package contains developer documentation for webkit2gtk4.0.
%endif
%package -n javascriptcoregtk6.0
Summary: JavaScript engine from webkitgtk6.0
Provides: bundled(simde)
Provides: bundled(simdutf)
Obsoletes: javascriptcoregtk5.0 < %{version}-%{release}
%description -n javascriptcoregtk6.0
@ -254,21 +246,13 @@ This package contains the JavaScript engine from webkitgtk6.0.
%package -n javascriptcoregtk4.1
Summary: JavaScript engine from webkit2gtk4.1
Provides: bundled(simde)
Provides: bundled(simdutf)
Obsoletes: webkit2gtk4.1-jsc < %{version}-%{release}
%description -n javascriptcoregtk4.1
This package contains the JavaScript engine from webkit2gtk4.1.
%package -n javascriptcoregtk4.0
Summary: JavaScript engine from webkit2gtk4.0
Obsoletes: webkitgtk4-jsc < %{version}-%{release}
Provides: webkitgtk4-jsc = %{version}-%{release}
Obsoletes: webkit2gtk3-jsc < %{version}-%{release}
Provides: webkit2gtk3-jsc = %{version}-%{release}
%description -n javascriptcoregtk4.0
This package contains the JavaScript engine from webkit2gtk4.0.
%package -n javascriptcoregtk6.0-devel
Summary: Development files for JavaScript engine from webkitgtk6.0
Requires: javascriptcoregtk6.0%{?_isa} = %{version}-%{release}
@ -287,18 +271,6 @@ Obsoletes: webkit2gtk4.1-jsc-devel < %{version}-%{release}
The javascriptcoregtk4.1-devel package contains libraries, build data, and header
files for developing applications that use JavaScript engine from webkit2gtk-4.1.
%package -n javascriptcoregtk4.0-devel
Summary: Development files for JavaScript engine from webkit2gtk4.0
Requires: javascriptcoregtk4.0%{?_isa} = %{version}-%{release}
Obsoletes: webkitgtk4-jsc-devel < %{version}-%{release}
Provides: webkitgtk4-jsc-devel = %{version}-%{release}
Obsoletes: webkit2gtk3-jsc-devel < %{version}-%{release}
Provides: webkit2gtk3-jsc-devel = %{version}-%{release}
%description -n javascriptcoregtk4.0-devel
The javascriptcoregtk4.0-devel package contains libraries, build data, and header
files for developing applications that use JavaScript engine from webkit2gtk-4.0.
%prep
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
%autosetup -p1 -n webkitgtk-%{version}
@ -331,89 +303,56 @@ files for developing applications that use JavaScript engine from webkit2gtk-4.0
%global optflags %(echo %{optflags} | sed 's/-mbranch-protection=standard /-mbranch-protection=pac-ret /')
%endif
%define _vpath_builddir %{_vendor}-%{_target_os}-build/webkitgtk-6.0
%cmake \
mkdir webkitgtk-6.0
pushd webkitgtk-6.0
%cmake -S .. \
-GNinja \
-DPORT=GTK \
-DCMAKE_BUILD_TYPE=Release \
-DUSE_GTK4=ON \
-DUSE_LIBBACKTRACE=OFF \
%if %{without docs}
-DENABLE_DOCUMENTATION=OFF \
%endif
%if !0%{?with_gamepad}
-DENABLE_GAMEPAD=OFF \
%endif
%if 0%{?rhel}
%ifarch aarch64
-DUSE_64KB_PAGE_BLOCK=ON \
%endif
%endif
%{nil}
popd
%define _vpath_builddir %{_vendor}-%{_target_os}-build/webkit2gtk-4.1
%cmake \
mkdir webkit2gtk-4.1
pushd webkit2gtk-4.1
%cmake -S .. \
-GNinja \
-DPORT=GTK \
-DCMAKE_BUILD_TYPE=Release \
-DUSE_GTK4=OFF \
-DUSE_LIBBACKTRACE=OFF \
-DENABLE_WEBDRIVER=OFF \
%if %{without docs}
-DENABLE_DOCUMENTATION=OFF \
%endif
%if !0%{?with_gamepad}
-DENABLE_GAMEPAD=OFF \
%endif
%if 0%{?rhel}
%ifarch aarch64
-DUSE_64KB_PAGE_BLOCK=ON \
%endif
%endif
%{nil}
popd
%define _vpath_builddir %{_vendor}-%{_target_os}-build/webkit2gtk-4.0
%cmake \
-GNinja \
-DPORT=GTK \
-DCMAKE_BUILD_TYPE=Release \
-DUSE_SOUP2=ON \
-DENABLE_WEBDRIVER=OFF \
%if %{without docs}
-DENABLE_DOCUMENTATION=OFF \
%endif
%if !0%{?with_gamepad}
-DENABLE_GAMEPAD=OFF \
%endif
%if 0%{?rhel}
%ifarch aarch64
-DUSE_64KB_PAGE_BLOCK=ON \
%endif
%endif
%{nil}
%define _vpath_builddir %{_vendor}-%{_target_os}-build/webkitgtk-6.0
export NINJA_STATUS="[1/3][%f/%t %es] "
pushd webkitgtk-6.0
export NINJA_STATUS="[1/2][%f/%t %es] "
%cmake_build %limit_build -m 3072
popd
%define _vpath_builddir %{_vendor}-%{_target_os}-build/webkit2gtk-4.1
export NINJA_STATUS="[2/3][%f/%t %es] "
%cmake_build %limit_build -m 3072
%define _vpath_builddir %{_vendor}-%{_target_os}-build/webkit2gtk-4.0
export NINJA_STATUS="[3/3][%f/%t %es] "
pushd webkit2gtk-4.1
export NINJA_STATUS="[2/2][%f/%t %es] "
%cmake_build %limit_build -m 3072
popd
%install
%define _vpath_builddir %{_vendor}-%{_target_os}-build/webkitgtk-6.0
pushd webkitgtk-6.0
%cmake_install
popd
%define _vpath_builddir %{_vendor}-%{_target_os}-build/webkit2gtk-4.1
%cmake_install
%define _vpath_builddir %{_vendor}-%{_target_os}-build/webkit2gtk-4.0
pushd webkit2gtk-4.1
%cmake_install
popd
%find_lang WebKitGTK-6.0
%find_lang WebKitGTK-4.1
%find_lang WebKitGTK-4.0
# Finally, copy over and rename various files for %%license inclusion
%add_to_license_files Source/JavaScriptCore/COPYING.LIB
@ -434,10 +373,10 @@ export NINJA_STATUS="[3/3][%f/%t %es] "
%license _license_files/*WebCore*
%license _license_files/*WebInspectorUI*
%license _license_files/*WTF*
%{_libdir}/libwebkitgtk-6.0.so.3*
%{_libdir}/libwebkitgtk-6.0.so.4*
%dir %{_libdir}/girepository-1.0
%{_libdir}/girepository-1.0/WebKit-6.0.typelib
%{_libdir}/girepository-1.0/WebKitWebExtension-6.0.typelib
%{_libdir}/girepository-1.0/WebKitWebProcessExtension-6.0.typelib
%{_libdir}/webkitgtk-6.0/
%{_libexecdir}/webkitgtk-6.0/
%exclude %{_libexecdir}/webkitgtk-6.0/MiniBrowser
@ -458,30 +397,16 @@ export NINJA_STATUS="[3/3][%f/%t %es] "
%exclude %{_libexecdir}/webkit2gtk-4.1/MiniBrowser
%exclude %{_libexecdir}/webkit2gtk-4.1/jsc
%files -n webkit2gtk4.0 -f WebKitGTK-4.0.lang
%license _license_files/*ThirdParty*
%license _license_files/*WebCore*
%license _license_files/*WebInspectorUI*
%license _license_files/*WTF*
%{_libdir}/libwebkit2gtk-4.0.so.37*
%dir %{_libdir}/girepository-1.0
%{_libdir}/girepository-1.0/WebKit2-4.0.typelib
%{_libdir}/girepository-1.0/WebKit2WebExtension-4.0.typelib
%{_libdir}/webkit2gtk-4.0/
%{_libexecdir}/webkit2gtk-4.0/
%exclude %{_libexecdir}/webkit2gtk-4.0/MiniBrowser
%exclude %{_libexecdir}/webkit2gtk-4.0/jsc
%files -n webkitgtk6.0-devel
%{_libexecdir}/webkitgtk-6.0/MiniBrowser
%{_includedir}/webkitgtk-6.0/
%exclude %{_includedir}/webkitgtk-6.0/jsc
%{_libdir}/libwebkitgtk-6.0.so
%{_libdir}/pkgconfig/webkitgtk-6.0.pc
%{_libdir}/pkgconfig/webkitgtk-web-extension-6.0.pc
%{_libdir}/pkgconfig/webkitgtk-web-process-extension-6.0.pc
%dir %{_datadir}/gir-1.0
%{_datadir}/gir-1.0/WebKit-6.0.gir
%{_datadir}/gir-1.0/WebKitWebExtension-6.0.gir
%{_datadir}/gir-1.0/WebKitWebProcessExtension-6.0.gir
%files -n webkit2gtk4.1-devel
%{_libexecdir}/webkit2gtk-4.1/MiniBrowser
@ -495,18 +420,6 @@ export NINJA_STATUS="[3/3][%f/%t %es] "
%{_datadir}/gir-1.0/WebKit2-4.1.gir
%{_datadir}/gir-1.0/WebKit2WebExtension-4.1.gir
%files -n webkit2gtk4.0-devel
%{_libexecdir}/webkit2gtk-4.0/MiniBrowser
%{_includedir}/webkitgtk-4.0/
%exclude %{_includedir}/webkitgtk-4.0/JavaScriptCore
%exclude %{_includedir}/webkitgtk-4.0/jsc
%{_libdir}/libwebkit2gtk-4.0.so
%{_libdir}/pkgconfig/webkit2gtk-4.0.pc
%{_libdir}/pkgconfig/webkit2gtk-web-extension-4.0.pc
%dir %{_datadir}/gir-1.0
%{_datadir}/gir-1.0/WebKit2-4.0.gir
%{_datadir}/gir-1.0/WebKit2WebExtension-4.0.gir
%files -n javascriptcoregtk6.0
%license _license_files/*JavaScriptCore*
%{_libdir}/libjavascriptcoregtk-6.0.so.1*
@ -519,12 +432,6 @@ export NINJA_STATUS="[3/3][%f/%t %es] "
%dir %{_libdir}/girepository-1.0
%{_libdir}/girepository-1.0/JavaScriptCore-4.1.typelib
%files -n javascriptcoregtk4.0
%license _license_files/*JavaScriptCore*
%{_libdir}/libjavascriptcoregtk-4.0.so.18*
%dir %{_libdir}/girepository-1.0
%{_libdir}/girepository-1.0/JavaScriptCore-4.0.typelib
%files -n javascriptcoregtk6.0-devel
%{_libexecdir}/webkitgtk-6.0/jsc
%dir %{_includedir}/webkitgtk-6.0
@ -544,37 +451,18 @@ export NINJA_STATUS="[3/3][%f/%t %es] "
%dir %{_datadir}/gir-1.0
%{_datadir}/gir-1.0/JavaScriptCore-4.1.gir
%files -n javascriptcoregtk4.0-devel
%{_libexecdir}/webkit2gtk-4.0/jsc
%dir %{_includedir}/webkitgtk-4.0
%{_includedir}/webkitgtk-4.0/JavaScriptCore/
%{_includedir}/webkitgtk-4.0/jsc/
%{_libdir}/libjavascriptcoregtk-4.0.so
%{_libdir}/pkgconfig/javascriptcoregtk-4.0.pc
%dir %{_datadir}/gir-1.0
%{_datadir}/gir-1.0/JavaScriptCore-4.0.gir
%if %{with docs}
%files -n webkitgtk6.0-doc
%dir %{_datadir}/gtk-doc
%dir %{_datadir}/gtk-doc/html
%{_datadir}/gtk-doc/html/javascriptcoregtk-6.0/
%{_datadir}/gtk-doc/html/webkitgtk-6.0/
%{_datadir}/gtk-doc/html/webkitgtk-web-extension-6.0/
%dir %{_datadir}/doc
%{_datadir}/doc/javascriptcoregtk-6.0/
%{_datadir}/doc/webkitgtk-6.0/
%{_datadir}/doc/webkitgtk-web-process-extension-6.0/
%files -n webkit2gtk4.1-doc
%dir %{_datadir}/gtk-doc
%dir %{_datadir}/gtk-doc/html
%{_datadir}/gtk-doc/html/javascriptcoregtk-4.1/
%{_datadir}/gtk-doc/html/webkit2gtk-4.1/
%{_datadir}/gtk-doc/html/webkit2gtk-web-extension-4.1/
%files -n webkit2gtk4.0-doc
%dir %{_datadir}/gtk-doc
%dir %{_datadir}/gtk-doc/html
%{_datadir}/gtk-doc/html/javascriptcoregtk-4.0/
%{_datadir}/gtk-doc/html/webkit2gtk-4.0/
%{_datadir}/gtk-doc/html/webkit2gtk-web-extension-4.0/
%dir %{_datadir}/doc
%{_datadir}/doc/javascriptcoregtk-4.1/
%{_datadir}/doc/webkit2gtk-4.1/
%{_datadir}/doc/webkit2gtk-web-extension-4.1/
%endif
%changelog