import webkit2gtk3-2.34.4-1.el8
This commit is contained in:
		
							parent
							
								
									1feabeb3a0
								
							
						
					
					
						commit
						94b2020891
					
				
							
								
								
									
										3
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -1 +1,2 @@ | |||||||
| SOURCES/webkitgtk-2.32.4.tar.xz | SOURCES/webkitgtk-2.34.4.tar.xz | ||||||
|  | SOURCES/webkitgtk-keys.gpg | ||||||
|  | |||||||
| @ -1 +1,2 @@ | |||||||
| f7255ffb488e727e9e250e0dae9f192266f50f01 SOURCES/webkitgtk-2.32.4.tar.xz | d7566cd7bbdd38ed3b4acce10043dca27e0a610e SOURCES/webkitgtk-2.34.4.tar.xz | ||||||
|  | cf57cbbadf2a07c6ede1c886f9742b7d352460c0 SOURCES/webkitgtk-keys.gpg | ||||||
|  | |||||||
| @ -1,16 +1,16 @@ | |||||||
| diff --git a/Source/WTF/wtf/PageBlock.h b/Source/WTF/wtf/PageBlock.h
 | diff --git a/Source/WTF/wtf/PageBlock.h b/Source/WTF/wtf/PageBlock.h
 | ||||||
| index c655a50c2c89..c4a6b8d09f16 100644
 | index 8ff8443d0e25..f37666d35bf2 100644
 | ||||||
| --- a/Source/WTF/wtf/PageBlock.h
 | --- a/Source/WTF/wtf/PageBlock.h
 | ||||||
| +++ b/Source/WTF/wtf/PageBlock.h
 | +++ b/Source/WTF/wtf/PageBlock.h
 | ||||||
| @@ -49,9 +49,9 @@ namespace WTF {
 | @@ -46,9 +46,9 @@ namespace WTF {
 | ||||||
|  // Use 64 KiB for any unknown CPUs to be conservative. |  // Use 64 KiB for any unknown CPUs to be conservative. | ||||||
|  #if OS(DARWIN) || PLATFORM(PLAYSTATION) |  #if OS(DARWIN) || PLATFORM(PLAYSTATION) || CPU(MIPS) || CPU(MIPS64) | ||||||
|  constexpr size_t CeilingOnPageSize = 16 * KB; |  constexpr size_t CeilingOnPageSize = 16 * KB; | ||||||
| -#elif USE(64KB_PAGE_BLOCK) || CPU(PPC) || CPU(PPC64) || CPU(PPC64LE) || CPU(UNKNOWN)
 | -#elif CPU(PPC) || CPU(PPC64) || CPU(PPC64LE) || CPU(UNKNOWN)
 | ||||||
| +#elif USE(64KB_PAGE_BLOCK) || CPU(PPC) || CPU(PPC64) || CPU(PPC64LE) || CPU(UNKNOWN) || CPU(ARM64)
 | +#elif CPU(PPC) || CPU(PPC64) || CPU(PPC64LE) || CPU(UNKNOWN) || CPU(ARM64)
 | ||||||
|  constexpr size_t CeilingOnPageSize = 64 * KB; |  constexpr size_t CeilingOnPageSize = 64 * KB; | ||||||
| -#elif OS(WINDOWS) || CPU(MIPS) || CPU(MIPS64) || CPU(X86) || CPU(X86_64) || CPU(ARM) || CPU(ARM64)
 | -#elif OS(WINDOWS) || CPU(X86) || CPU(X86_64) || CPU(ARM) || CPU(ARM64) || CPU(RISCV64)
 | ||||||
| +#elif OS(WINDOWS) || CPU(MIPS) || CPU(MIPS64) || CPU(X86) || CPU(X86_64) || CPU(ARM)
 | +#elif OS(WINDOWS) || CPU(X86) || CPU(X86_64) || CPU(ARM) || CPU(RISCV64)
 | ||||||
|  constexpr size_t CeilingOnPageSize = 4 * KB; |  constexpr size_t CeilingOnPageSize = 4 * KB; | ||||||
|  #else |  #else | ||||||
|  #error Must set CeilingOnPageSize in PageBlock.h when adding a new CPU architecture! |  #error Must set CeilingOnPageSize in PageBlock.h when adding a new CPU architecture! | ||||||
|  | |||||||
| @ -1,10 +1,10 @@ | |||||||
| diff --git a/Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp b/Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp
 | diff --git a/Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp b/Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp
 | ||||||
| index 6dd9f20e4ff2..995f355f6ee3 100644
 | index bd2d4d20206f..0fe471bde384 100644
 | ||||||
| --- a/Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp
 | --- a/Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp
 | ||||||
| +++ b/Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp
 | +++ b/Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp
 | ||||||
| @@ -400,6 +400,9 @@ static void webkitWebContextConstructed(GObject* object)
 | @@ -415,6 +415,9 @@ static void webkitWebContextConstructed(GObject* object)
 | ||||||
|  #endif |          g_clear_pointer(&priv->memoryPressureSettings, webkit_memory_pressure_settings_free); | ||||||
|  #endif |      } | ||||||
|   |   | ||||||
| +    if (!g_strcmp0(g_get_prgname(), "evolution"))
 | +    if (!g_strcmp0(g_get_prgname(), "evolution"))
 | ||||||
| +        configuration.setUsesSingleWebProcess(true);
 | +        configuration.setUsesSingleWebProcess(true);
 | ||||||
|  | |||||||
							
								
								
									
										56
									
								
								SOURCES/icu60.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										56
									
								
								SOURCES/icu60.patch
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,56 @@ | |||||||
|  | --- a/Source/JavaScriptCore/runtime/IntlCache.cpp	
 | ||||||
|  | +++ a/Source/JavaScriptCore/runtime/IntlCache.cpp	
 | ||||||
|  | @@ -26,6 +26,7 @@ 
 | ||||||
|  |  #include "config.h" | ||||||
|  |  #include "IntlCache.h" | ||||||
|  |   | ||||||
|  | +#include "IntlDisplayNames.h"
 | ||||||
|  |  #include <wtf/Vector.h> | ||||||
|  |   | ||||||
|  |  namespace JSC { | ||||||
|  | @@ -53,6 +54,7 @@ Vector<UChar, 32> IntlCache::getBestDateTimePattern(const CString& locale, const
 | ||||||
|  |      return patternBuffer; | ||||||
|  |  } | ||||||
|  |   | ||||||
|  | +#if HAVE(ICU_U_LOCALE_DISPLAY_NAMES)
 | ||||||
|  |  Vector<UChar, 32> IntlCache::getFieldDisplayName(const CString& locale, UDateTimePatternField field, UDateTimePGDisplayWidth width, UErrorCode& status) | ||||||
|  |  { | ||||||
|  |      auto sharedGenerator = getSharedPatternGenerator(locale, status); | ||||||
|  | @@ -64,5 +66,6 @@ Vector<UChar, 32> IntlCache::getFieldDisplayName(const CString& locale, UDateTim
 | ||||||
|  |          return { }; | ||||||
|  |      return buffer; | ||||||
|  |  } | ||||||
|  | +#endif
 | ||||||
|  |   | ||||||
|  |  } // namespace JSC | ||||||
|  | --- a/Source/JavaScriptCore/runtime/IntlCache.h	
 | ||||||
|  | +++ a/Source/JavaScriptCore/runtime/IntlCache.h	
 | ||||||
|  | @@ -25,6 +25,7 @@ 
 | ||||||
|  |   | ||||||
|  |  #pragma once | ||||||
|  |   | ||||||
|  | +#include "IntlDisplayNames.h"
 | ||||||
|  |  #include <unicode/udatpg.h> | ||||||
|  |  #include <wtf/Noncopyable.h> | ||||||
|  |  #include <wtf/text/CString.h> | ||||||
|  | @@ -39,7 +40,9 @@ public:
 | ||||||
|  |      IntlCache() = default; | ||||||
|  |   | ||||||
|  |      Vector<UChar, 32> getBestDateTimePattern(const CString& locale, const UChar* skeleton, unsigned skeletonSize, UErrorCode&); | ||||||
|  | +#if HAVE(ICU_U_LOCALE_DISPLAY_NAMES)
 | ||||||
|  |      Vector<UChar, 32> getFieldDisplayName(const CString& locale, UDateTimePatternField, UDateTimePGDisplayWidth, UErrorCode&); | ||||||
|  | +#endif
 | ||||||
|  |   | ||||||
|  |  private: | ||||||
|  |      UDateTimePatternGenerator* getSharedPatternGenerator(const CString& locale, UErrorCode& status) | ||||||
|  | --- a/Source/cmake/OptionsGTK.cmake	
 | ||||||
|  | +++ a/Source/cmake/OptionsGTK.cmake	
 | ||||||
|  | @@ -14,7 +14,7 @@ find_package(Freetype 2.4.2 REQUIRED)
 | ||||||
|  |  find_package(LibGcrypt 1.6.0 REQUIRED) | ||||||
|  |  find_package(GLIB 2.44.0 REQUIRED COMPONENTS gio gio-unix gobject gthread gmodule) | ||||||
|  |  find_package(HarfBuzz 0.9.18 REQUIRED COMPONENTS ICU) | ||||||
|  | -find_package(ICU 61.2 REQUIRED COMPONENTS data i18n uc)
 | ||||||
|  | +find_package(ICU 60.2 REQUIRED COMPONENTS data i18n uc)
 | ||||||
|  |  find_package(JPEG REQUIRED) | ||||||
|  |  find_package(LibXml2 2.8.0 REQUIRED) | ||||||
|  |  find_package(PNG REQUIRED) | ||||||
							
								
								
									
										6
									
								
								SOURCES/webkitgtk-2.34.4.tar.xz.asc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								SOURCES/webkitgtk-2.34.4.tar.xz.asc
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,6 @@ | |||||||
|  | -----BEGIN PGP SIGNATURE----- | ||||||
|  | 
 | ||||||
|  | iF0EABECAB0WIQRao7wzT9fjNp58d7KRxVnb5MkSOwUCYen0iQAKCRCRxVnb5MkS | ||||||
|  | OzbNAJ9ofbARjNc7mbA+DqyUXSPfu436pACeOmSi8vl7k8DVsBKWI4H64Lxr4Qk= | ||||||
|  | =BTBt | ||||||
|  | -----END PGP SIGNATURE----- | ||||||
| @ -11,13 +11,18 @@ | |||||||
| %bcond_without docs | %bcond_without docs | ||||||
| 
 | 
 | ||||||
| Name:           webkit2gtk3 | Name:           webkit2gtk3 | ||||||
| Version:        2.32.4 | Version:        2.34.4 | ||||||
| Release:        1%{?dist} | Release:        1%{?dist} | ||||||
| Summary:        GTK Web content engine library | Summary:        GTK Web content engine library | ||||||
| 
 | 
 | ||||||
| License:        LGPLv2 | License:        LGPLv2 | ||||||
| URL:            http://www.webkitgtk.org/ | URL:            http://www.webkitgtk.org/ | ||||||
| Source0:        http://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz | Source0:        http://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 | ||||||
|  | Source2:        webkitgtk-keys.gpg | ||||||
| 
 | 
 | ||||||
| # https://bugs.webkit.org/show_bug.cgi?id=193749 | # https://bugs.webkit.org/show_bug.cgi?id=193749 | ||||||
| Patch0:         evolution-shared-secondary-process.patch | Patch0:         evolution-shared-secondary-process.patch | ||||||
| @ -26,8 +31,10 @@ Patch0:         evolution-shared-secondary-process.patch | |||||||
| # https://bugs.webkit.org/show_bug.cgi?id=227905 | # https://bugs.webkit.org/show_bug.cgi?id=227905 | ||||||
| Patch1:         aarch64-page-size.patch | Patch1:         aarch64-page-size.patch | ||||||
| 
 | 
 | ||||||
|  | #https://bugs.webkit.org/show_bug.cgi?id=235367 | ||||||
|  | Patch2:         icu60.patch | ||||||
|  | 
 | ||||||
| BuildRequires:  bison | BuildRequires:  bison | ||||||
| BuildRequires:  bubblewrap |  | ||||||
| BuildRequires:  cmake | BuildRequires:  cmake | ||||||
| BuildRequires:  flex | BuildRequires:  flex | ||||||
| BuildRequires:  gcc-c++ | BuildRequires:  gcc-c++ | ||||||
| @ -45,7 +52,6 @@ BuildRequires:  python3 | |||||||
| BuildRequires:  ruby | BuildRequires:  ruby | ||||||
| BuildRequires:  rubygem-json | BuildRequires:  rubygem-json | ||||||
| BuildRequires:  rubygems | BuildRequires:  rubygems | ||||||
| #BuildRequires:  xdg-dbus-proxy |  | ||||||
| 
 | 
 | ||||||
| BuildRequires:  pkgconfig(atspi-2) | BuildRequires:  pkgconfig(atspi-2) | ||||||
| BuildRequires:  pkgconfig(cairo) | BuildRequires:  pkgconfig(cairo) | ||||||
| @ -61,14 +67,13 @@ BuildRequires:  pkgconfig(freetype2) | |||||||
| BuildRequires:  pkgconfig(gl) | BuildRequires:  pkgconfig(gl) | ||||||
| BuildRequires:  pkgconfig(glib-2.0) | BuildRequires:  pkgconfig(glib-2.0) | ||||||
| BuildRequires:  pkgconfig(glesv2) | BuildRequires:  pkgconfig(glesv2) | ||||||
| BuildRequires:  pkgconfig(gnutls) |  | ||||||
| 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-base-1.0) | BuildRequires:  pkgconfig(gstreamer-plugins-base-1.0) | ||||||
| BuildRequires:  pkgconfig(gstreamer-plugins-bad-1.0) | BuildRequires:  pkgconfig(gstreamer-plugins-bad-1.0) | ||||||
| BuildRequires:  pkgconfig(gtk+-2.0) |  | ||||||
| BuildRequires:  pkgconfig(gtk+-3.0) | BuildRequires:  pkgconfig(gtk+-3.0) | ||||||
| BuildRequires:  pkgconfig(harfbuzz) | BuildRequires:  pkgconfig(harfbuzz) | ||||||
|  | BuildRequires:  pkgconfig(lcms2) | ||||||
| BuildRequires:  pkgconfig(icu-uc) | BuildRequires:  pkgconfig(icu-uc) | ||||||
| BuildRequires:  pkgconfig(libjpeg) | BuildRequires:  pkgconfig(libjpeg) | ||||||
| BuildRequires:  pkgconfig(libnotify) | BuildRequires:  pkgconfig(libnotify) | ||||||
| @ -79,6 +84,7 @@ BuildRequires:  pkgconfig(libseccomp) | |||||||
| BuildRequires:  pkgconfig(libsecret-1) | BuildRequires:  pkgconfig(libsecret-1) | ||||||
| BuildRequires:  pkgconfig(libsoup-2.4) | BuildRequires:  pkgconfig(libsoup-2.4) | ||||||
| BuildRequires:  pkgconfig(libsystemd) | BuildRequires:  pkgconfig(libsystemd) | ||||||
|  | BuildRequires:  pkgconfig(libtasn1) | ||||||
| BuildRequires:  pkgconfig(libwebp) | BuildRequires:  pkgconfig(libwebp) | ||||||
| BuildRequires:  pkgconfig(libwoff2dec) | BuildRequires:  pkgconfig(libwoff2dec) | ||||||
| BuildRequires:  pkgconfig(libxslt) | BuildRequires:  pkgconfig(libxslt) | ||||||
| @ -86,6 +92,7 @@ BuildRequires:  pkgconfig(sqlite3) | |||||||
| 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-server) | BuildRequires:  pkgconfig(wayland-server) | ||||||
| BuildRequires:  pkgconfig(xt) | BuildRequires:  pkgconfig(xt) | ||||||
| 
 | 
 | ||||||
| @ -166,6 +173,7 @@ The %{name}-jsc-devel package contains libraries, build data, and header | |||||||
| files for developing applications that use JavaScript engine from %{name}. | files for developing applications that use JavaScript engine from %{name}. | ||||||
| 
 | 
 | ||||||
| %prep | %prep | ||||||
|  | %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' | ||||||
| %autosetup -p1 -n webkitgtk-%{version} -S git | %autosetup -p1 -n webkitgtk-%{version} -S git | ||||||
| 
 | 
 | ||||||
| # Remove bundled libraries | # Remove bundled libraries | ||||||
| @ -199,6 +207,7 @@ pushd %{_target_platform} | |||||||
|   -DPORT=GTK \ |   -DPORT=GTK \ | ||||||
|   -DCMAKE_BUILD_TYPE=Release \ |   -DCMAKE_BUILD_TYPE=Release \ | ||||||
|   -DENABLE_BUBBLEWRAP_SANDBOX=OFF \ |   -DENABLE_BUBBLEWRAP_SANDBOX=OFF \ | ||||||
|  |   -DUSE_SOUP2=ON \ | ||||||
| %if %{with docs} | %if %{with docs} | ||||||
|   -DENABLE_GTKDOC=ON \ |   -DENABLE_GTKDOC=ON \ | ||||||
| %endif | %endif | ||||||
| @ -289,6 +298,10 @@ export NINJA_STATUS="[%f/%t][%e] " | |||||||
| %endif | %endif | ||||||
| 
 | 
 | ||||||
| %changelog | %changelog | ||||||
|  | * Fri Jan 21 2022 Michael Catanzaro <mcatanzaro@redhat.com> - 2.34.4-1 | ||||||
|  | - Update to 2.34.4 | ||||||
|  | - Resolves: #1985042 | ||||||
|  | 
 | ||||||
| * Tue Sep 28 2021 Michael Catanzaro <mcatanzaro@redhat.com> - 2.32.4-1 | * Tue Sep 28 2021 Michael Catanzaro <mcatanzaro@redhat.com> - 2.32.4-1 | ||||||
| - Update to 2.32.4 | - Update to 2.32.4 | ||||||
| - Related: #1985042 | - Related: #1985042 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user