Commit Graph

300 Commits

Author SHA1 Message Date
060e64c05f
Reduce memory usage and disable JIT
This packages requires a lot of RAM per core. Let's reduce that to
minimum. This is required for Unmatched.

Disable JIT too:

```
[..]
/builddir/build/BUILD/webkitgtk-2.43.4/Source/JavaScriptCore/assembler/MacroAssemblerRISCV64.h: In member function ‘void JSC::MacroAssemblerRISCV64::testFinalize(ResultCondition, JSC::AbstractMacroAssembler<JSC::RISCV64Assembler>::RegisterID, JSC::AbstractMacroAssembler<JSC::RISCV64Assembler>::RegisterID)’:
/builddir/build/BUILD/webkitgtk-2.43.4/Source/JavaScriptCore/assembler/MacroAssemblerRISCV64.h:4438:16: warning: enumeration value ‘Carry’ not handled in switch [-Wswitch]
 4438 |         switch (cond) {
      |                ^
In file included from /builddir/build/BUILD/webkitgtk-2.43.4/redhat-linux-build/webkitgtk-6.0/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-23a5fd0e-9.cpp:6:
/builddir/build/BUILD/webkitgtk-2.43.4/Source/JavaScriptCore/b3/B3Validate.cpp: In member function ‘void JSC::B3::{anonymous}::Validater::run()’:
/builddir/build/BUILD/webkitgtk-2.43.4/Source/JavaScriptCore/b3/B3Validate.cpp:457:43: error: ‘toB3Type’ was not declared in this scope
  457 |                 VALIDATE(value->type() == toB3Type(Wasm::simdScalarType(value->asSIMDValue()->simdLane())), ("At ", *value));
[..]
```

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2024-03-05 11:20:41 +02:00
87b9049af0
Fix JavaScriptCore/offlineasm/riscv64.rb
Backport upstream fix.

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2024-03-05 06:14:42 +02: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
Eric Curtin
fac6852e56 Turn on mbranch-protection=pac-ret only, JIT is broken with BTI enabled
WebKitGTK JIT crashes on aarch64 hardware with new ARMv8.5 BTI
extension, most commonly seen on M2 Macs running Fedora Asahi. This
breaks large parts of GNOME using WebKitGTK, notably GNOME Online
Accounts; GNOME Help; and other similar things.

This removes Asahi specific changes as this could occur on any aarch64
hardware with this feature and makes WebKitGTK pretty much unuseable
without this change.

We also reduced generated debuginfo for aarch64 here as the memory
requirements are pretty huge for -g, making aarch64 rpms unbuildable in
copr without this change.

Reference: https://bugs.webkit.org/show_bug.cgi?id=245697
Related: rhbz#213000
2023-03-07 15:57:34 +00:00
Michael Catanzaro
9031227061 Upgrade to 2.39.90 2023-02-21 12:59:26 -06:00
Michael Catanzaro
24785ab83f Upgrade to WebKitGTK 2.39.7 2023-01-31 08:02:38 -06:00
Kalev Lember
77f1f587bb Revert "Disable debuginfo dwz optimization on ppc64le and s390x"
/usr/bin/find-debuginfo is now fixed in rawhide to correctly handle -j1
so we can re-enable dwz optimizations again.

This reverts commit 2c5dd84529.
2023-01-28 17:28:55 +01:00
Fedora Release Engineering
251b98dde8 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-21 06:42:47 +00:00
Michael Catanzaro
74b6630981 Upgrade to 2.39.5 2023-01-20 11:10:30 -06:00
Kalev Lember
1b16ab2c81 Re-enable full debuginfo on s390x again
The previous commit should be enough to work this around sufficiently
for now.

This reverts commit d9ba8348ec.
2023-01-20 11:07:47 +01:00
Kalev Lember
2c5dd84529 Disable debuginfo dwz optimization on ppc64le and s390x
On ppc64le the dwz process gets killed, and on s390x the builders lock
up when running dwz. Disable the dwz optimizations on these arches
until we can get a patch into /usr/bin/find-debuginfo to control dwz
parallelism.

https://sourceware.org/pipermail/debugedit/2023-January/000173.html
2023-01-20 11:07:47 +01:00
Kalev Lember
16fa808834 Increase dwz optimization DIE limit for aarch64
webkitgtk builds in koji are now done on 'heavybuilder' aarch64
builders, which have enough RAM to do dwz optimization. Increase the
aarch64 limit to be the same as on x86_64.
2023-01-20 11:07:47 +01:00
Michael Catanzaro
7834b41a9a Revert "Upgrade to 2.39.5"
This reverts commit cc3da95bc5.

Why? Because this won't build successfully, because I didn't test it
locally since there were only a couple days since .4, but there's a
soname bump because we removed some APIs.

And we're doing a mass rebuild right now, and it's not ideal for that to
pick up a known-bad commit.
2023-01-19 18:07:31 -06:00