|
|
@ -1,5 +1,3 @@ |
|
|
|
%define _smp_mflags -j4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## NOTE: Lots of files in various subdirectories have the same name (such as |
|
|
|
## 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 |
|
|
|
## "LICENSE") so this short macro allows us to distinguish them by using their |
|
|
|
## directory names (from the source tree) as prefixes for the files. |
|
|
|
## directory names (from the source tree) as prefixes for the files. |
|
|
@ -12,14 +10,9 @@ |
|
|
|
%global with_gamepad 1 |
|
|
|
%global with_gamepad 1 |
|
|
|
%endif |
|
|
|
%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 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: webkit2gtk3 |
|
|
|
Name: webkit2gtk3 |
|
|
|
Version: 2.36.7 |
|
|
|
Version: 2.40.5 |
|
|
|
Release: 1%{?dist} |
|
|
|
Release: 1%{?dist}.1 |
|
|
|
Summary: GTK Web content engine library |
|
|
|
Summary: GTK Web content engine library |
|
|
|
|
|
|
|
|
|
|
|
License: LGPLv2 |
|
|
|
License: LGPLv2 |
|
|
@ -31,11 +24,7 @@ Source1: https://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz.asc |
|
|
|
# $ gpg --export --export-options export-minimal D7FCF61CF9A2DEAB31D81BD3F3D322D0EC4582C3 5AA3BC334FD7E3369E7C77B291C559DBE4C9123B > webkitgtk-keys.gpg |
|
|
|
# $ gpg --export --export-options export-minimal D7FCF61CF9A2DEAB31D81BD3F3D322D0EC4582C3 5AA3BC334FD7E3369E7C77B291C559DBE4C9123B > webkitgtk-keys.gpg |
|
|
|
Source2: webkitgtk-keys.gpg |
|
|
|
Source2: webkitgtk-keys.gpg |
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?rhel} |
|
|
|
Patch: CVE-2023-42917.patch |
|
|
|
# https://bugs.webkit.org/show_bug.cgi?id=217989 |
|
|
|
|
|
|
|
# https://bugs.webkit.org/show_bug.cgi?id=227905 |
|
|
|
|
|
|
|
Patch0: aarch64-page-size.patch |
|
|
|
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: bison |
|
|
|
BuildRequires: bison |
|
|
|
BuildRequires: bubblewrap |
|
|
|
BuildRequires: bubblewrap |
|
|
@ -46,10 +35,10 @@ BuildRequires: gettext |
|
|
|
BuildRequires: git |
|
|
|
BuildRequires: git |
|
|
|
BuildRequires: gnupg2 |
|
|
|
BuildRequires: gnupg2 |
|
|
|
BuildRequires: gperf |
|
|
|
BuildRequires: gperf |
|
|
|
BuildRequires: gtk-doc |
|
|
|
|
|
|
|
BuildRequires: hyphen-devel |
|
|
|
BuildRequires: hyphen-devel |
|
|
|
BuildRequires: libatomic |
|
|
|
BuildRequires: libatomic |
|
|
|
BuildRequires: ninja-build |
|
|
|
BuildRequires: ninja-build |
|
|
|
|
|
|
|
BuildRequires: openssl-devel |
|
|
|
BuildRequires: perl(English) |
|
|
|
BuildRequires: perl(English) |
|
|
|
BuildRequires: perl(FindBin) |
|
|
|
BuildRequires: perl(FindBin) |
|
|
|
BuildRequires: perl(JSON::PP) |
|
|
|
BuildRequires: perl(JSON::PP) |
|
|
@ -57,6 +46,7 @@ BuildRequires: python3 |
|
|
|
BuildRequires: ruby |
|
|
|
BuildRequires: ruby |
|
|
|
BuildRequires: rubygems |
|
|
|
BuildRequires: rubygems |
|
|
|
BuildRequires: rubygem-json |
|
|
|
BuildRequires: rubygem-json |
|
|
|
|
|
|
|
BuildRequires: unifdef |
|
|
|
BuildRequires: xdg-dbus-proxy |
|
|
|
BuildRequires: xdg-dbus-proxy |
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(atspi-2) |
|
|
|
BuildRequires: pkgconfig(atspi-2) |
|
|
@ -65,16 +55,19 @@ BuildRequires: pkgconfig(egl) |
|
|
|
BuildRequires: pkgconfig(enchant-2) |
|
|
|
BuildRequires: pkgconfig(enchant-2) |
|
|
|
BuildRequires: pkgconfig(fontconfig) |
|
|
|
BuildRequires: pkgconfig(fontconfig) |
|
|
|
BuildRequires: pkgconfig(freetype2) |
|
|
|
BuildRequires: pkgconfig(freetype2) |
|
|
|
|
|
|
|
BuildRequires: pkgconfig(gbm) |
|
|
|
BuildRequires: pkgconfig(gl) |
|
|
|
BuildRequires: pkgconfig(gl) |
|
|
|
BuildRequires: pkgconfig(glib-2.0) |
|
|
|
BuildRequires: pkgconfig(glib-2.0) |
|
|
|
BuildRequires: pkgconfig(glesv2) |
|
|
|
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-base-1.0) |
|
|
|
BuildRequires: pkgconfig(gstreamer-plugins-base-1.0) |
|
|
|
BuildRequires: pkgconfig(gtk+-3.0) |
|
|
|
BuildRequires: pkgconfig(gtk+-3.0) |
|
|
|
BuildRequires: pkgconfig(harfbuzz) |
|
|
|
BuildRequires: pkgconfig(harfbuzz) |
|
|
|
BuildRequires: pkgconfig(icu-uc) |
|
|
|
BuildRequires: pkgconfig(icu-uc) |
|
|
|
BuildRequires: pkgconfig(lcms2) |
|
|
|
BuildRequires: pkgconfig(lcms2) |
|
|
|
|
|
|
|
BuildRequires: pkgconfig(libdrm) |
|
|
|
BuildRequires: pkgconfig(libgcrypt) |
|
|
|
BuildRequires: pkgconfig(libgcrypt) |
|
|
|
BuildRequires: pkgconfig(libjpeg) |
|
|
|
BuildRequires: pkgconfig(libjpeg) |
|
|
|
BuildRequires: pkgconfig(libnotify) |
|
|
|
BuildRequires: pkgconfig(libnotify) |
|
|
@ -130,6 +123,10 @@ Provides: webkitgtk4 = %{version}-%{release} |
|
|
|
Obsoletes: webkit2gtk3-plugin-process-gtk2 < %{version}-%{release} |
|
|
|
Obsoletes: webkit2gtk3-plugin-process-gtk2 < %{version}-%{release} |
|
|
|
Provides: webkit2gtk3-plugin-process-gtk2 = %{version}-%{release} |
|
|
|
Provides: webkit2gtk3-plugin-process-gtk2 = %{version}-%{release} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Don't build documentation anymore to avoid gi-docgen dependency |
|
|
|
|
|
|
|
Obsoletes: webkit2gtk3-doc < %{version}-%{release} |
|
|
|
|
|
|
|
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) |
|
|
@ -159,18 +156,6 @@ Provides: webkitgtk4-devel = %{version}-%{release} |
|
|
|
The %{name}-devel package contains libraries, build data, and header |
|
|
|
The %{name}-devel package contains libraries, build data, and header |
|
|
|
files for developing applications that use %{name}. |
|
|
|
files for developing applications that use %{name}. |
|
|
|
|
|
|
|
|
|
|
|
%if %{with docs} |
|
|
|
|
|
|
|
%package doc |
|
|
|
|
|
|
|
Summary: Documentation files for %{name} |
|
|
|
|
|
|
|
BuildArch: noarch |
|
|
|
|
|
|
|
Requires: %{name} = %{version}-%{release} |
|
|
|
|
|
|
|
Obsoletes: webkitgtk4-doc < %{version}-%{release} |
|
|
|
|
|
|
|
Provides: webkitgtk4-doc = %{version}-%{release} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description doc |
|
|
|
|
|
|
|
This package contains developer documentation for %{name}. |
|
|
|
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package jsc |
|
|
|
%package jsc |
|
|
|
Summary: JavaScript engine from %{name} |
|
|
|
Summary: JavaScript engine from %{name} |
|
|
|
Obsoletes: webkitgtk4-jsc < %{version}-%{release} |
|
|
|
Obsoletes: webkitgtk4-jsc < %{version}-%{release} |
|
|
@ -226,21 +211,17 @@ rm -rf Source/ThirdParty/qunit/ |
|
|
|
-GNinja \ |
|
|
|
-GNinja \ |
|
|
|
-DPORT=GTK \ |
|
|
|
-DPORT=GTK \ |
|
|
|
-DCMAKE_BUILD_TYPE=Release \ |
|
|
|
-DCMAKE_BUILD_TYPE=Release \ |
|
|
|
-DENABLE_MINIBROWSER=ON \ |
|
|
|
-DENABLE_JIT=OFF \ |
|
|
|
-DUSE_SOUP2=ON \ |
|
|
|
-DUSE_SOUP2=ON \ |
|
|
|
%if %{with docs} |
|
|
|
-DUSE_AVIF=OFF \ |
|
|
|
-DENABLE_GTKDOC=ON \ |
|
|
|
-DENABLE_DOCUMENTATION=OFF \ |
|
|
|
%endif |
|
|
|
-DUSE_GSTREAMER_TRANSCODER=OFF \ |
|
|
|
%if !0%{?with_gamepad} |
|
|
|
%if !0%{?with_gamepad} |
|
|
|
-DENABLE_GAMEPAD=OFF \ |
|
|
|
-DENABLE_GAMEPAD=OFF \ |
|
|
|
%endif |
|
|
|
%endif |
|
|
|
%if 0%{?fedora} |
|
|
|
|
|
|
|
-DUSER_AGENT_BRANDING="Fedora" \ |
|
|
|
|
|
|
|
%endif |
|
|
|
|
|
|
|
%if 0%{?rhel} |
|
|
|
%if 0%{?rhel} |
|
|
|
%ifarch aarch64 |
|
|
|
%ifarch aarch64 |
|
|
|
-DENABLE_JIT=OFF \ |
|
|
|
-DUSE_64KB_PAGE_BLOCK=ON \ |
|
|
|
-DUSE_SYSTEM_MALLOC=ON \ |
|
|
|
|
|
|
|
%endif |
|
|
|
%endif |
|
|
|
%endif |
|
|
|
%endif |
|
|
|
%{nil} |
|
|
|
%{nil} |
|
|
@ -252,12 +233,11 @@ export NINJA_STATUS="[%f/%t][%e] " |
|
|
|
%install |
|
|
|
%install |
|
|
|
%cmake_install |
|
|
|
%cmake_install |
|
|
|
|
|
|
|
|
|
|
|
%find_lang WebKit2GTK-4.0 |
|
|
|
%find_lang WebKitGTK-4.0 |
|
|
|
|
|
|
|
|
|
|
|
# Finally, copy over and rename various files for %%license inclusion |
|
|
|
# Finally, copy over and rename various files for %%license inclusion |
|
|
|
%add_to_license_files Source/JavaScriptCore/COPYING.LIB |
|
|
|
%add_to_license_files Source/JavaScriptCore/COPYING.LIB |
|
|
|
%add_to_license_files Source/ThirdParty/ANGLE/LICENSE |
|
|
|
%add_to_license_files Source/ThirdParty/ANGLE/LICENSE |
|
|
|
%add_to_license_files Source/ThirdParty/ANGLE/src/common/third_party/smhasher/LICENSE |
|
|
|
|
|
|
|
%add_to_license_files Source/ThirdParty/ANGLE/src/third_party/libXNVCtrl/LICENSE |
|
|
|
%add_to_license_files Source/ThirdParty/ANGLE/src/third_party/libXNVCtrl/LICENSE |
|
|
|
%add_to_license_files Source/WebCore/LICENSE-APPLE |
|
|
|
%add_to_license_files Source/WebCore/LICENSE-APPLE |
|
|
|
%add_to_license_files Source/WebCore/LICENSE-LGPL-2 |
|
|
|
%add_to_license_files Source/WebCore/LICENSE-LGPL-2 |
|
|
@ -269,7 +249,7 @@ export NINJA_STATUS="[%f/%t][%e] " |
|
|
|
%add_to_license_files Source/WTF/wtf/dtoa/COPYING |
|
|
|
%add_to_license_files Source/WTF/wtf/dtoa/COPYING |
|
|
|
%add_to_license_files Source/WTF/wtf/dtoa/LICENSE |
|
|
|
%add_to_license_files Source/WTF/wtf/dtoa/LICENSE |
|
|
|
|
|
|
|
|
|
|
|
%files -f WebKit2GTK-4.0.lang |
|
|
|
%files -f WebKitGTK-4.0.lang |
|
|
|
%license _license_files/*ThirdParty* |
|
|
|
%license _license_files/*ThirdParty* |
|
|
|
%license _license_files/*WebCore* |
|
|
|
%license _license_files/*WebCore* |
|
|
|
%license _license_files/*WebInspectorUI* |
|
|
|
%license _license_files/*WebInspectorUI* |
|
|
@ -312,19 +292,94 @@ export NINJA_STATUS="[%f/%t][%e] " |
|
|
|
%dir %{_datadir}/gir-1.0 |
|
|
|
%dir %{_datadir}/gir-1.0 |
|
|
|
%{_datadir}/gir-1.0/JavaScriptCore-4.0.gir |
|
|
|
%{_datadir}/gir-1.0/JavaScriptCore-4.0.gir |
|
|
|
|
|
|
|
|
|
|
|
%if %{with docs} |
|
|
|
|
|
|
|
%files doc |
|
|
|
|
|
|
|
%dir %{_datadir}/gtk-doc |
|
|
|
|
|
|
|
%dir %{_datadir}/gtk-doc/html |
|
|
|
|
|
|
|
%{_datadir}/gtk-doc/html/jsc-glib-4.0/ |
|
|
|
|
|
|
|
%{_datadir}/gtk-doc/html/webkit2gtk-4.0/ |
|
|
|
|
|
|
|
%{_datadir}/gtk-doc/html/webkitdomgtk-4.0/ |
|
|
|
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog |
|
|
|
%changelog |
|
|
|
|
|
|
|
* Tue Dec 05 2023 Michael Catanzaro <mcatanzaro@redhat.com> - 2.40.5-1.1 |
|
|
|
|
|
|
|
- Add patch for CVE-2023-42917 |
|
|
|
|
|
|
|
Resolves: RHEL-18173 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Aug 01 2023 Michael Catanzaro <mcatanzaro@redhat.com> - 2.40.5-1 |
|
|
|
|
|
|
|
- Update to 2.40.5 |
|
|
|
|
|
|
|
Related: #2176270 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 21 2023 Michael Catanzaro <mcatanzaro@redhat.com> - 2.40.4-1 |
|
|
|
|
|
|
|
- Update to 2.40.4 |
|
|
|
|
|
|
|
Related: #2176270 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 11 2023 Michael Catanzaro <mcatanzaro@redhat.com> - 2.40.3-2 |
|
|
|
|
|
|
|
- Disable JIT |
|
|
|
|
|
|
|
Related: #2176270 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jun 28 2023 Michael Catanzaro <mcatanzaro@redhat.com> - 2.40.3-1 |
|
|
|
|
|
|
|
- Update to 2.40.3 |
|
|
|
|
|
|
|
Related: #2176270 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue May 30 2023 Michael Catanzaro <mcatanzaro@redhat.com> - 2.40.2-1 |
|
|
|
|
|
|
|
- Update to 2.40.2 |
|
|
|
|
|
|
|
Related: #2176270 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu May 04 2023 Michael Catanzaro <mcatanzaro@redhat.com> - 2.40.1-1 |
|
|
|
|
|
|
|
- Upgrade to 2.40.1 |
|
|
|
|
|
|
|
Resolves: #2176270 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Feb 15 2023 Michael Catanzaro <mcatanzaro@redhat.com> - 2.38.5-1 |
|
|
|
|
|
|
|
- Update to 2.38.5 |
|
|
|
|
|
|
|
Related: #2127467 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Feb 02 2023 Michael Catanzaro <mcatanzaro@redhat.com> - 2.38.4-1 |
|
|
|
|
|
|
|
- Update to 2.38.4 |
|
|
|
|
|
|
|
Related: #2127467 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Dec 22 2022 Michael Catanzaro <mcatanzaro@redhat.com> - 2.38.3-1 |
|
|
|
|
|
|
|
- Update to 2.38.3 |
|
|
|
|
|
|
|
Related: #2127467 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Nov 04 2022 Michael Catanzaro <mcatanzaro@redhat.com> - 2.38.2-1 |
|
|
|
|
|
|
|
- Update to 2.38.2 |
|
|
|
|
|
|
|
Related: #2127467 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Oct 31 2022 Michael Catanzaro <mcatanzaro@redhat.com> - 2.38.1-2 |
|
|
|
|
|
|
|
- Fix use with aarch64 64 KiB page size |
|
|
|
|
|
|
|
Related: #2127467 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Oct 24 2022 Michael Catanzaro <mcatanzaro@redhat.com> - 2.38.1-1 |
|
|
|
|
|
|
|
- Update to 2.38.1 |
|
|
|
|
|
|
|
Resolves: #2127467 |
|
|
|
|
|
|
|
|
|
|
|
* Wed Aug 24 2022 Michael Catanzaro <mcatanzaro@redhat.com> - 2.36.7-1 |
|
|
|
* Wed Aug 24 2022 Michael Catanzaro <mcatanzaro@redhat.com> - 2.36.7-1 |
|
|
|
- Update to 2.36.7 |
|
|
|
- Update to 2.36.7 |
|
|
|
Related: #2123430 |
|
|
|
Related: #2061996 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Aug 09 2022 Michael Catanzaro <mcatanzaro@redhat.com> - 2.36.6-1 |
|
|
|
|
|
|
|
- Update to 2.36.6 |
|
|
|
|
|
|
|
Related: #2061996 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Aug 02 2022 Michael Catanzaro <mcatanzaro@redhat.com> - 2.36.5-2 |
|
|
|
|
|
|
|
- Fix Eclipse after update to 2.36.5 |
|
|
|
|
|
|
|
Related: #2061996 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 28 2022 Michael Catanzaro <mcatanzaro@redhat.com> - 2.36.5-1 |
|
|
|
|
|
|
|
- Update to 2.36.5 |
|
|
|
|
|
|
|
Related: #2061996 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 05 2022 Michael Catanzaro <mcatanzaro@redhat.com> - 2.36.4-1 |
|
|
|
|
|
|
|
- Update to 2.36.4 |
|
|
|
|
|
|
|
Related: #2061996 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jun 02 2022 Michael Catanzaro <mcatanzaro@redhat.com> - 2.36.3-1 |
|
|
|
|
|
|
|
- Update to 2.36.3 |
|
|
|
|
|
|
|
- Related: #2061996 |
|
|
|
|
|
|
|
- Resolves: #2092749 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed May 18 2022 Michael Catanzaro <mcatanzaro@redhat.com> - 2.36.2-1 |
|
|
|
|
|
|
|
- Update to 2.36.2 |
|
|
|
|
|
|
|
Related: #2061996 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Apr 21 2022 Michael Catanzaro <mcatanzaro@redhat.com> - 2.36.1-1 |
|
|
|
|
|
|
|
- Update to 2.36.1 |
|
|
|
|
|
|
|
Related: #2061996 |
|
|
|
|
|
|
|
- Resolves: #2075493 |
|
|
|
|
|
|
|
- Resolves: #2075495 |
|
|
|
|
|
|
|
- Resolves: #2075497 |
|
|
|
|
|
|
|
|
|
|
|
* Thu Feb 17 2022 Michael Catanzaro <mcatanzaro@redhat.com> - 2.34.6-1 |
|
|
|
* Thu Feb 17 2022 Michael Catanzaro <mcatanzaro@redhat.com> - 2.34.6-1 |
|
|
|
- Update to 2.34.6 |
|
|
|
- Update to 2.34.6 |
|
|
|