forked from pool/webkit2gtk3
Accepting request 360457 from GNOME:Next
- Do not use binutils-gold on s390x and try to minimize memory used there at linking time. - Ensure JIT is also disabled on s390x. - Refresh webkitgtk-disable-gcc-version-checks.patch for latest webkitgtk. - Update to version 2.11.5: + Switch FTL to use B3 backend instead of LLVM. + Add support for windowless NPAPI plugins with no UI in non X11 platforms. + Fix a deadlock in the Web Process when JavaScript garbage collector was running for a web worker thread that made google maps to hang. + Fix a Web Process crash when quickly attempting many DnD operations. + Fix scrollbars rendering with older versions of GTK+. + Fix a crash when creating a WebKitWebView without providing a WebKitWebContext. - Drop llvm-devel BuildRequires as upstream now supports B3 instead of LLVM. - Refresh webkitgtk-disable-gcc-version-checks.patch for latest webkitgtk. - Update to version 2.11.4: + Prefer to link to LLVM shared libraries when building with FTL enabled. + Fix runtime errors when serializing/deserializing session state. OBS-URL: https://build.opensuse.org/request/show/360457 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/webkit2gtk3?expand=0&rev=52
This commit is contained in:
parent
a8140e35de
commit
5d391df091
@ -1,3 +1,132 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 16 14:42:11 UTC 2016 - fcrozat@suse.com
|
||||
|
||||
- Do not use binutils-gold on s390x and try to minimize memory used
|
||||
there at linking time.
|
||||
- Ensure JIT is also disabled on s390x.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 15 10:16:42 UTC 2016 - fcrozat@suse.com
|
||||
|
||||
- Refresh webkitgtk-disable-gcc-version-checks.patch for latest
|
||||
webkitgtk.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 12 22:59:02 UTC 2016 - zaitor@opensuse.org
|
||||
|
||||
- Update to version 2.11.5:
|
||||
+ Switch FTL to use B3 backend instead of LLVM.
|
||||
+ Add support for windowless NPAPI plugins with no UI in non X11
|
||||
platforms.
|
||||
+ Fix a deadlock in the Web Process when JavaScript garbage
|
||||
collector was running for a web worker thread that made google
|
||||
maps to hang.
|
||||
+ Fix a Web Process crash when quickly attempting many DnD
|
||||
operations.
|
||||
+ Fix scrollbars rendering with older versions of GTK+.
|
||||
+ Fix a crash when creating a WebKitWebView without providing a
|
||||
WebKitWebContext.
|
||||
- Drop llvm-devel BuildRequires as upstream now supports B3 instead
|
||||
of LLVM.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 11 09:43:20 UTC 2016 - fcrozat@suse.com
|
||||
|
||||
- Refresh webkitgtk-disable-gcc-version-checks.patch for latest
|
||||
webkitgtk.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 4 22:23:58 UTC 2016 - zaitor@opensuse.org
|
||||
|
||||
- Update to version 2.11.4:
|
||||
+ Prefer to link to LLVM shared libraries when building with FTL
|
||||
enabled.
|
||||
+ Fix runtime errors when serializing/deserializing session
|
||||
state.
|
||||
+ Fix critical warnings when loading a URL after a session
|
||||
restore.
|
||||
+ Fix the build with GTK+ < 3.14.
|
||||
+ Fix the build with video support disabled.
|
||||
- Drop webkitgtk-llvm-shared-libs.patch: Fixed upstream.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 3 19:08:39 UTC 2016 - fcrozat@suse.com
|
||||
|
||||
- Refresh webkitgtk-disable-gcc-version-checks.patch for latest
|
||||
webkitgtk.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 3 19:07:39 UTC 2016 - mcatanzaro@igalia.com
|
||||
|
||||
- Update to version 2.11.3:
|
||||
- NetworkProcess is now used unconditionally. The shared
|
||||
secondary process model is now the same as using the multiple
|
||||
process model and setting a process limit of 1.
|
||||
- Disable DNS prefetch when a proxy is configured.
|
||||
- Reduce the maximum simultaneous network connections to match
|
||||
other browsers.
|
||||
- Extend notifications API to notify WebKit when a notification
|
||||
is clicked by the user.
|
||||
- Add new API to save and restore a WebView session.
|
||||
- Add Web Extensions API to be notified about console messages.
|
||||
- Add WebKitURIRequest API to get the HTTP method.
|
||||
- Add API to handle beforeunload events.
|
||||
- Make WebKitWebView always propagate motion-notify-event signal.
|
||||
- Add a way to force accelerating compositing mode at runtime
|
||||
using an environment variable.
|
||||
- Fix input elements and scrollbars rendering with GTK+ 3.19.
|
||||
- Fix a crash in the UI process when the WebView is destroyed
|
||||
while the screensaver DBus proxy is being created.
|
||||
- Fix a WebProcess crash when loading large contents with
|
||||
custom URI schemes API.
|
||||
- Fix UI process crashes related to not having a main resource
|
||||
response when the load is committed for pages restored from
|
||||
the history cache.
|
||||
- Reenable JIT on SLE, except for the fourth tier (FTL) which
|
||||
requires LLVM 3.7.
|
||||
- Add webkitgtk-llvm-shared-libs.patch to replace llvm-config
|
||||
wrapper script.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 3 19:06:39 UTC 2016 - fcrozat@suse.com
|
||||
|
||||
- Disable database support on SLE, which is requiring gcc >= 4.9:
|
||||
Add patch webkitgtk-disable-gcc-version-checks.patch to allow
|
||||
building with gcc 4.8, change BuildRequires to gcc-c++ /
|
||||
libedit-devel on SLE, instead of gcc-c++ >= 4.9 and llvm-devel,
|
||||
disable database and indexed database on SLE and disable JIT
|
||||
support on all platforms on SLE, which requires llvm >= 3.7.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 3 19:05:39 UTC 2016 - mcatanzaro@igalia.com
|
||||
|
||||
- Miscellaneous cleanups.
|
||||
- Stop setting ENABLE_YARR_JIT=OFF on secondary arches. Nowadays
|
||||
ENABLE_YARR_JIT is a private option, and setting ENABLE_JIT=OFF
|
||||
is sufficient to do the right thing.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 3 19:04:39 UTC 2016 - dimstar@opensuse.org
|
||||
|
||||
- Fix build:
|
||||
+ Add llvm-devel and ncurses-devel BuildRequires.
|
||||
+ Inject a llvm-config wrapper script into ~/bin, which replaces
|
||||
the original's output of static libs with dynamic shared
|
||||
objects. This is supposedly going to be corrected with
|
||||
LLVM 3.8.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 3 19:03:39 UTC 2016 - zaitor@opensuse.org
|
||||
|
||||
- Update to version 2.11.2:
|
||||
+ Enable FTL by default in JavaScriptCore for x86_64.
|
||||
+ Improved media backend performance by better handling glib main
|
||||
loop sources.
|
||||
+ Fix rendering of lines when using solid colors.
|
||||
+ Fix web process crashes due to BadDrawable X errors in
|
||||
accelerated compositing mode.
|
||||
+ Updated translations.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 3 19:02:39 UTC 2016 - zaitor@opensuse.org
|
||||
|
||||
@ -22,6 +151,17 @@ Mon Nov 23 20:40:17 UTC 2015 - zaitor@opensuse.org
|
||||
and remove --reduce-memory-overheads from RPMOPT flags since
|
||||
gold-linker does not know it.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 11 18:31:42 UTC 2015 - zaitor@opensuse.org
|
||||
|
||||
- Update to version 2.11.1:
|
||||
+ Improved general performance by better handling glib main loop
|
||||
sources.
|
||||
+ Add autocleanups support to GObjects exposed in public API.
|
||||
+ Upload the accelerated canvas as a texture by copying via GPU
|
||||
directly.
|
||||
+ Popup menus no longer use a nested main loop.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 11 10:36:11 UTC 2015 - zaitor@opensuse.org
|
||||
|
||||
|
@ -26,7 +26,7 @@
|
||||
%define _pkgconfig_suffix gtk-3.0
|
||||
%define _name webkitgtk
|
||||
Name: webkit2gtk3
|
||||
Version: 2.10.7
|
||||
Version: 2.11.5
|
||||
Release: 0
|
||||
Summary: Library for rendering web content, GTK+ Port
|
||||
License: LGPL-2.0+ and BSD-3-Clause
|
||||
@ -36,15 +36,25 @@ Source: http://webkitgtk.org/releases/%{_name}-%{version}.tar.xz
|
||||
Source1: baselibs.conf
|
||||
# PATCH-FIX-OPENSUSE webkitgtk-typelib-sharelib-link.patch dimstar@opensuse.org -- Fixup the .gir file to contain the full library name for libjavascriptcore.
|
||||
Patch0: webkitgtk-typelib-sharelib-link.patch
|
||||
# PATCH-FIX-SLE webkitgtk-disable-gcc-version-checks.patch mcatanzaro@igalia.com -- Allow building with GCC 4.8, which is currently safe if IndexedDB is disabled.
|
||||
Patch1: webkitgtk-disable-gcc-version-checks.patch
|
||||
%ifnarch s390x
|
||||
BuildRequires: binutils-gold
|
||||
%endif
|
||||
BuildRequires: bison >= 2.3
|
||||
BuildRequires: cmake
|
||||
%if 0%{?is_opensuse}
|
||||
BuildRequires: gcc-c++ >= 4.9
|
||||
%else
|
||||
BuildRequires: gcc-c++ >= 4.8
|
||||
BuildRequires: libedit-devel
|
||||
%endif
|
||||
BuildRequires: gobject-introspection-devel
|
||||
BuildRequires: gperf >= 3.0.1
|
||||
BuildRequires: hyphen-devel
|
||||
BuildRequires: libicu-devel
|
||||
BuildRequires: libjpeg-devel
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: perl >= 5.10.0
|
||||
BuildRequires: python >= 2.6.0
|
||||
BuildRequires: ruby >= 1.8.7
|
||||
@ -209,23 +219,39 @@ more.
|
||||
%prep
|
||||
%setup -q -n webkitgtk-%{version}
|
||||
%patch0 -p1
|
||||
%if !0%{?is_opensuse}
|
||||
%patch1 -p1
|
||||
%endif
|
||||
|
||||
%build
|
||||
# Use linker flags to reduce memory consumption
|
||||
%ifarch s390x
|
||||
# binutils-gold doesn't exist on s390x
|
||||
%global optflags %(echo %{optflags} -Wl,--no-keep-memory -Wl,--reduce-memory-overheads | sed 's/-g /-g1 /')
|
||||
%else
|
||||
%global optflags %(echo %{optflags} -Wl,--no-keep-memory | sed 's/-g /-g1 /')
|
||||
%ifarch ppc ppc64 ppc64le
|
||||
%global optflags %{optflags} -DENABLE_YARR_JIT=0
|
||||
%endif
|
||||
# IndexedDB support (including DB process) support requires GCC 4.9.
|
||||
# Use some hidden, not-really-supported build options to avoid this.
|
||||
# See webkit#98932.
|
||||
# Disable FTL JIT on SLE until we get llvm >= 3.7 or until
|
||||
# upstream switches from LLVM to B3 (requires gcc >= 4.9).
|
||||
%cmake \
|
||||
%if !0%{?is_opensuse}
|
||||
-DENABLE_DATABASE_PROCESS=OFF \
|
||||
-DENABLE_INDEXED_DATABASE=OFF \
|
||||
-DENABLE_FTL_JIT=OFF \
|
||||
%endif
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DLIBEXEC_INSTALL_DIR=%{_libexecdir}/libwebkit2gtk%{_wk2sover} \
|
||||
-DPORT=GTK \
|
||||
%ifarch ppc ppc64 ppc64le
|
||||
%ifarch ppc ppc64 ppc64le s390x
|
||||
-DENABLE_JIT=OFF \
|
||||
%endif
|
||||
-DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now -pthread" \
|
||||
-DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now -pthread" \
|
||||
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now -pthread"
|
||||
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:990d62c82ed6dede31a6ff0a82d847f16b812842ff3e1093d17113627652864e
|
||||
size 10988396
|
3
webkitgtk-2.11.5.tar.xz
Normal file
3
webkitgtk-2.11.5.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f6bb102ec2db2f1c134280551cd19fac9ea067324268709df97c2221b08baa02
|
||||
size 11701588
|
55
webkitgtk-disable-gcc-version-checks.patch
Normal file
55
webkitgtk-disable-gcc-version-checks.patch
Normal file
@ -0,0 +1,55 @@
|
||||
From 8b666dae1a0f9454c7bb32386b4bed027b481426 Mon Sep 17 00:00:00 2001
|
||||
From: Michael Catanzaro <mcatanzaro@igalia.com>
|
||||
Date: Mon, 28 Dec 2015 21:53:54 -0600
|
||||
Subject: [PATCH] Disable GCC version check
|
||||
|
||||
For openSUSE to compile with GCC 4.8, with -DENABLE_INDEXED_DATABASE=OFF
|
||||
and -DENABLE_DATABASE_PROCESS=OFF. It will probably work. The GCC 4.9
|
||||
requirement is because GCC 4.8 cannot handle some of the database
|
||||
process code.
|
||||
---
|
||||
Source/cmake/OptionsGTK.cmake | 7 -------
|
||||
1 file changed, 7 deletions(-)
|
||||
|
||||
Index: webkitgtk-2.11.5/Source/cmake/OptionsGTK.cmake
|
||||
===================================================================
|
||||
--- webkitgtk-2.11.5.orig/Source/cmake/OptionsGTK.cmake
|
||||
+++ webkitgtk-2.11.5/Source/cmake/OptionsGTK.cmake
|
||||
@@ -6,13 +6,6 @@ set(PROJECT_VERSION_MICRO 5)
|
||||
set(PROJECT_VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_MICRO})
|
||||
set(WEBKITGTK_API_VERSION 4.0)
|
||||
|
||||
-# IndexedDB support requires GCC 4.9, see https://bugs.webkit.org/show_bug.cgi?id=98932.
|
||||
-if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||
- if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS "4.9.0")
|
||||
- message(FATAL_ERROR "GCC 4.9.0 is required to build WebKitGTK+, use a newer GCC version or clang")
|
||||
- endif ()
|
||||
-endif ()
|
||||
-
|
||||
# Libtool library version, not to be confused with API version.
|
||||
# See http://www.gnu.org/software/libtool/manual/html_node/Libtool-versioning.html
|
||||
CALCULATE_LIBRARY_VERSIONS_FROM_LIBTOOL_TRIPLE(WEBKIT2 50 2 13)
|
||||
Index: webkitgtk-2.11.5/Source/WTF/wtf/Compiler.h
|
||||
===================================================================
|
||||
--- webkitgtk-2.11.5.orig/Source/WTF/wtf/Compiler.h
|
||||
+++ webkitgtk-2.11.5/Source/WTF/wtf/Compiler.h
|
||||
@@ -20,7 +20,7 @@
|
||||
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
|
||||
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef WTF_Compiler_h
|
||||
@@ -70,8 +70,8 @@
|
||||
#define GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)
|
||||
#define GCC_VERSION_AT_LEAST(major, minor, patch) (GCC_VERSION >= (major * 10000 + minor * 100 + patch))
|
||||
|
||||
-#if !GCC_VERSION_AT_LEAST(4, 9, 0)
|
||||
-#error "Please use a newer version of GCC. WebKit requires GCC 4.9.0 or newer to compile."
|
||||
+#if !GCC_VERSION_AT_LEAST(4, 7, 0)
|
||||
+#error "Please use a newer version of GCC. WebKit requires GCC 4.7.0 or newer to compile."
|
||||
#endif
|
||||
|
||||
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
|
Loading…
Reference in New Issue
Block a user