|
|
@ -10,9 +10,18 @@
|
|
|
|
%global with_gamepad 1
|
|
|
|
%global with_gamepad 1
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# FIXME: Clang is preferred: https://skia.org/docs/user/build/#supported-and-preferred-compilers
|
|
|
|
|
|
|
|
# But Clang toolchain is broken on i686: https://issues.redhat.com/browse/RHEL-59586
|
|
|
|
|
|
|
|
# So, for now we'll use GCC instead.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# We run out of memory if building with LTO enabled on i686.
|
|
|
|
|
|
|
|
%ifarch %{ix86}
|
|
|
|
|
|
|
|
%global _lto_cflags %{nil}
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
Name: webkit2gtk3
|
|
|
|
Name: webkit2gtk3
|
|
|
|
Version: 2.40.5
|
|
|
|
Version: 2.46.1
|
|
|
|
Release: 1%{?dist}.1
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: GTK Web content engine library
|
|
|
|
Summary: GTK Web content engine library
|
|
|
|
|
|
|
|
|
|
|
|
License: LGPLv2
|
|
|
|
License: LGPLv2
|
|
|
@ -21,10 +30,19 @@ Source0: https://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz
|
|
|
|
Source1: https://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz.asc
|
|
|
|
Source1: https://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz.asc
|
|
|
|
# Use the keys from https://webkitgtk.org/verifying.html
|
|
|
|
# Use the keys from https://webkitgtk.org/verifying.html
|
|
|
|
# $ gpg --import aperez.key carlosgc.key
|
|
|
|
# $ 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
|
|
|
|
Source2: webkitgtk-keys.gpg
|
|
|
|
|
|
|
|
|
|
|
|
Patch: CVE-2023-42917.patch
|
|
|
|
# Work around a missing implementation of musttail in clang for ppc64le
|
|
|
|
|
|
|
|
# https://github.com/llvm/llvm-project/issues/108014
|
|
|
|
|
|
|
|
Patch: webkitgtk-skia-musttail.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# https://bugs.webkit.org/show_bug.cgi?id=280044
|
|
|
|
|
|
|
|
# Resolves: https://github.com/simd-everywhere/simde/issues/1211
|
|
|
|
|
|
|
|
Patch: simde.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Containing changes from: https://github.com/WebKit/WebKit/pull/34133
|
|
|
|
|
|
|
|
Patch: socket-monitor.patch
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: bison
|
|
|
|
BuildRequires: bison
|
|
|
|
BuildRequires: bubblewrap
|
|
|
|
BuildRequires: bubblewrap
|
|
|
@ -39,6 +57,7 @@ BuildRequires: hyphen-devel
|
|
|
|
BuildRequires: libatomic
|
|
|
|
BuildRequires: libatomic
|
|
|
|
BuildRequires: ninja-build
|
|
|
|
BuildRequires: ninja-build
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
|
|
|
|
BuildRequires: perl(bigint)
|
|
|
|
BuildRequires: perl(English)
|
|
|
|
BuildRequires: perl(English)
|
|
|
|
BuildRequires: perl(FindBin)
|
|
|
|
BuildRequires: perl(FindBin)
|
|
|
|
BuildRequires: perl(JSON::PP)
|
|
|
|
BuildRequires: perl(JSON::PP)
|
|
|
@ -53,12 +72,11 @@ BuildRequires: pkgconfig(atspi-2)
|
|
|
|
BuildRequires: pkgconfig(cairo)
|
|
|
|
BuildRequires: pkgconfig(cairo)
|
|
|
|
BuildRequires: pkgconfig(egl)
|
|
|
|
BuildRequires: pkgconfig(egl)
|
|
|
|
BuildRequires: pkgconfig(enchant-2)
|
|
|
|
BuildRequires: pkgconfig(enchant-2)
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(epoxy)
|
|
|
|
BuildRequires: pkgconfig(fontconfig)
|
|
|
|
BuildRequires: pkgconfig(fontconfig)
|
|
|
|
BuildRequires: pkgconfig(freetype2)
|
|
|
|
BuildRequires: pkgconfig(freetype2)
|
|
|
|
BuildRequires: pkgconfig(gbm)
|
|
|
|
BuildRequires: pkgconfig(gbm)
|
|
|
|
BuildRequires: pkgconfig(gl)
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
|
|
BuildRequires: pkgconfig(glesv2)
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
|
|
|
BuildRequires: pkgconfig(gstreamer-1.0)
|
|
|
|
BuildRequires: pkgconfig(gstreamer-1.0)
|
|
|
|
BuildRequires: pkgconfig(gstreamer-plugins-bad-1.0)
|
|
|
|
BuildRequires: pkgconfig(gstreamer-plugins-bad-1.0)
|
|
|
@ -71,7 +89,6 @@ BuildRequires: pkgconfig(libdrm)
|
|
|
|
BuildRequires: pkgconfig(libgcrypt)
|
|
|
|
BuildRequires: pkgconfig(libgcrypt)
|
|
|
|
BuildRequires: pkgconfig(libjpeg)
|
|
|
|
BuildRequires: pkgconfig(libjpeg)
|
|
|
|
BuildRequires: pkgconfig(libnotify)
|
|
|
|
BuildRequires: pkgconfig(libnotify)
|
|
|
|
BuildRequires: pkgconfig(libopenjp2)
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(libpcre)
|
|
|
|
BuildRequires: pkgconfig(libpcre)
|
|
|
|
BuildRequires: pkgconfig(libpng)
|
|
|
|
BuildRequires: pkgconfig(libpng)
|
|
|
|
BuildRequires: pkgconfig(libseccomp)
|
|
|
|
BuildRequires: pkgconfig(libseccomp)
|
|
|
@ -86,19 +103,21 @@ BuildRequires: pkgconfig(libxslt)
|
|
|
|
BuildRequires: pkgconfig(manette-0.2)
|
|
|
|
BuildRequires: pkgconfig(manette-0.2)
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
BuildRequires: pkgconfig(sqlite3)
|
|
|
|
BuildRequires: pkgconfig(sqlite3)
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(sysprof-capture-4)
|
|
|
|
BuildRequires: pkgconfig(upower-glib)
|
|
|
|
BuildRequires: pkgconfig(upower-glib)
|
|
|
|
BuildRequires: pkgconfig(wayland-client)
|
|
|
|
BuildRequires: pkgconfig(wayland-client)
|
|
|
|
BuildRequires: pkgconfig(wayland-egl)
|
|
|
|
BuildRequires: pkgconfig(wayland-egl)
|
|
|
|
BuildRequires: pkgconfig(wayland-protocols)
|
|
|
|
BuildRequires: pkgconfig(wayland-protocols)
|
|
|
|
BuildRequires: pkgconfig(wayland-server)
|
|
|
|
BuildRequires: pkgconfig(wayland-server)
|
|
|
|
BuildRequires: pkgconfig(wpe-1.0)
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(wpebackend-fdo-1.0)
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(xt)
|
|
|
|
BuildRequires: pkgconfig(xt)
|
|
|
|
|
|
|
|
|
|
|
|
# These are hard requirements of WebKit's bubblewrap sandbox.
|
|
|
|
# These are hard requirements of WebKit's bubblewrap sandbox.
|
|
|
|
Requires: bubblewrap
|
|
|
|
Requires: bubblewrap
|
|
|
|
Requires: xdg-dbus-proxy
|
|
|
|
Requires: xdg-dbus-proxy
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# libepoxy will crash when WebKit tries using GLES2 if it's not installed.
|
|
|
|
|
|
|
|
Requires: libGLES
|
|
|
|
|
|
|
|
|
|
|
|
# If Geoclue is not running, the geolocation API will not work.
|
|
|
|
# If Geoclue is not running, the geolocation API will not work.
|
|
|
|
Recommends: geoclue2
|
|
|
|
Recommends: geoclue2
|
|
|
|
|
|
|
|
|
|
|
@ -130,6 +149,7 @@ Provides: webkit2gtk3-doc = %{version}-%{release}
|
|
|
|
# We're supposed to specify versions here, but these libraries don't do
|
|
|
|
# We're supposed to specify versions here, but these libraries don't do
|
|
|
|
# normal releases. Accordingly, they're not suitable to be system libs.
|
|
|
|
# normal releases. Accordingly, they're not suitable to be system libs.
|
|
|
|
Provides: bundled(angle)
|
|
|
|
Provides: bundled(angle)
|
|
|
|
|
|
|
|
Provides: bundled(skia)
|
|
|
|
Provides: bundled(xdgmime)
|
|
|
|
Provides: bundled(xdgmime)
|
|
|
|
|
|
|
|
|
|
|
|
# Require the jsc subpackage
|
|
|
|
# Require the jsc subpackage
|
|
|
@ -212,10 +232,13 @@ rm -rf Source/ThirdParty/qunit/
|
|
|
|
-DPORT=GTK \
|
|
|
|
-DPORT=GTK \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DENABLE_JIT=OFF \
|
|
|
|
-DENABLE_JIT=OFF \
|
|
|
|
|
|
|
|
-DUSE_GTK4=OFF \
|
|
|
|
-DUSE_SOUP2=ON \
|
|
|
|
-DUSE_SOUP2=ON \
|
|
|
|
-DUSE_AVIF=OFF \
|
|
|
|
-DUSE_AVIF=OFF \
|
|
|
|
-DENABLE_DOCUMENTATION=OFF \
|
|
|
|
-DENABLE_DOCUMENTATION=OFF \
|
|
|
|
-DUSE_GSTREAMER_TRANSCODER=OFF \
|
|
|
|
-DUSE_GSTREAMER_TRANSCODER=OFF \
|
|
|
|
|
|
|
|
-DUSE_JPEGXL=OFF \
|
|
|
|
|
|
|
|
-DUSE_LIBBACKTRACE=OFF \
|
|
|
|
%if !0%{?with_gamepad}
|
|
|
|
%if !0%{?with_gamepad}
|
|
|
|
-DENABLE_GAMEPAD=OFF \
|
|
|
|
-DENABLE_GAMEPAD=OFF \
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
@ -293,9 +316,33 @@ export NINJA_STATUS="[%f/%t][%e] "
|
|
|
|
%{_datadir}/gir-1.0/JavaScriptCore-4.0.gir
|
|
|
|
%{_datadir}/gir-1.0/JavaScriptCore-4.0.gir
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Tue Dec 05 2023 Michael Catanzaro <mcatanzaro@redhat.com> - 2.40.5-1.1
|
|
|
|
* Fri Oct 11 2024 Michael Catanzaro <mcatanzaro@redhat.com> - 2.46.1-1
|
|
|
|
- Add patch for CVE-2023-42917
|
|
|
|
- Update to 2.46.1
|
|
|
|
Resolves: RHEL-18173
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Feb 05 2024 Michael Catanzaro <mcatanzaro@redhat.com> - 2.42.5-1
|
|
|
|
|
|
|
|
- Update to 2.42.5
|
|
|
|
|
|
|
|
Resolves: RHEL-3960
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Dec 15 2023 Michael Catanzaro <mcatanzaro@redhat.com> - 2.42.4-1
|
|
|
|
|
|
|
|
- Update to 2.42.4
|
|
|
|
|
|
|
|
Resolves: RHEL-3960
|
|
|
|
|
|
|
|
Resolves: RHEL-19366
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Dec 05 2023 Michael Catanzaro <mcatanzaro@redhat.com> - 2.42.3-1
|
|
|
|
|
|
|
|
- Update to 2.42.3
|
|
|
|
|
|
|
|
Resolves: RHEL-3960
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Nov 10 2023 Michael Catanzaro <mcatanzaro@redhat.com> - 2.42.2-1
|
|
|
|
|
|
|
|
- Update to 2.42.2
|
|
|
|
|
|
|
|
Resolves: RHEL-3960
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Sep 27 2023 Michael Catanzaro <mcatanzaro@redhat.com> - 2.42.1-1
|
|
|
|
|
|
|
|
- Update to 2.42.1
|
|
|
|
|
|
|
|
Resolves: RHEL-3960
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Sep 18 2023 Michael Catanzaro <mcatanzaro@redhat.com> - 2.42.0-1
|
|
|
|
|
|
|
|
- Upgrade to 2.42.0
|
|
|
|
|
|
|
|
Resolves: RHEL-3960
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Aug 01 2023 Michael Catanzaro <mcatanzaro@redhat.com> - 2.40.5-1
|
|
|
|
* Tue Aug 01 2023 Michael Catanzaro <mcatanzaro@redhat.com> - 2.40.5-1
|
|
|
|
- Update to 2.40.5
|
|
|
|
- Update to 2.40.5
|
|
|
|