Accepting request 378639 from GNOME:Factory

(forwarded request 378372 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/378639
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/webkit2gtk3?expand=0&rev=21
This commit is contained in:
Dominique Leuenberger 2016-03-29 12:46:06 +00:00 committed by Git OBS Bridge
commit 5d230aed14
6 changed files with 328 additions and 10 deletions

View File

@ -1,3 +1,216 @@
-------------------------------------------------------------------
Wed Mar 23 08:15:21 UTC 2016 - fcrozat@suse.com
- Refresh webkitgtk-disable-gcc-version-checks.patch for latest
version.
-------------------------------------------------------------------
Tue Mar 22 14:26:59 UTC 2016 - zaitor@opensuse.org
- Update to version 2.12.0:
+ Enable GSS-Negotiate support when available in libsoup.
+ Fix overlay scrollbar indicator position.
+ Fix smooth scrolling behavior that was not fixed in all cases
in 2.11.92.
+ Fix the build with newer versions of GCC and clang.
-------------------------------------------------------------------
Thu Mar 17 13:25:21 UTC 2016 - fcrozat@suse.com
- Update webkitgtk-disable-gcc-version-checks.patch (partially
merged).
-------------------------------------------------------------------
Wed Mar 16 16:14:19 UTC 2016 - zaitor@opensuse.org
- Update to version 2.11.92:
+ Revert the patch to limit the number of tiles according to the
visible area introduced in 2.11.90, because it caused rendering
issues in several popular websites.
+ Fix scrollbars rendering again with GTK+ >= 3.19.11.
+ Fix rendering of slider input elements.
+ Fix rendering artifacts when using a web view background color.
+ Make webkit_web_context_clear_cache() work again.
+ Fix smooth scrolling behavior that was changed by mistake.
+ Dont force ENABLE_INTROSPECTION=OFF on Mac.
+ Install WebProcess and NetworkProcess on OSX when not building
the Mac port.
-------------------------------------------------------------------
Wed Mar 2 16:51:29 UTC 2016 - fcrozat@suse.com
- Update webkitgtk-disable-gcc-version-checks.patch to properly
disable terminateDatabaseProcess method when it is disabled at
compilation time.
-------------------------------------------------------------------
Wed Mar 2 14:00:04 UTC 2016 - fcrozat@suse.com
- Refresh webkitgtk-disable-gcc-version-checks.patch for latest
webkitgtk.
-------------------------------------------------------------------
Tue Mar 1 14:30:40 UTC 2016 - zaitor@opensuse.org
- Update to version 2.11.91:
+ Do not show stale contents after session restore.
+ Fix flickering and rendering artifacts when entering
accelerated compositing mode before the web view is realized.
+ Fix several rendering issues and crashes.
+ Fix build with FTL enabled in FreeBSD.
+ Updated translations.
-------------------------------------------------------------------
Tue Feb 23 11:34:42 CET 2016 - fcrozat@suse.com
- Update webkitgtk-disable-gcc-version-checks.patch to fix building
with gcc 4.8 (fix from Mike Gorse).
-------------------------------------------------------------------
Fri Feb 19 15:19:20 UTC 2016 - dimstar@opensuse.org
- Update to version 2.11.90:
+ Switch to use overlay scrollbars like all other GTK+ widgets
and ensure the behavior is consistent with GTK+ too.
+ Limit the number of tiles according to the visible area. This
was causing a huge memory consumption with some websites.
+ Fix toggle buttons rendering with GTK+ 3.19.
+ Fix HTTP authentication dialog rendering when accelerated
compositing mode is enabled.
+ Use G_TYPE_ERROR instead of G_TYPE_POINTER for GError
parameters of signals.
+ Fix several memory leaks.
- Rebase webkitgtk-disable-gcc-version-checks.patch.
-------------------------------------------------------------------
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 +235,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

View File

@ -26,7 +26,7 @@
%define _pkgconfig_suffix gtk-3.0
%define _name webkitgtk
Name: webkit2gtk3
Version: 2.10.7
Version: 2.12.0
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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:990d62c82ed6dede31a6ff0a82d847f16b812842ff3e1093d17113627652864e
size 10988396

3
webkitgtk-2.12.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a68604f8fd1bcb247d647709290226289b90c16acb1f3730538b688db8df5ea6
size 11687224

View File

@ -0,0 +1,46 @@
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.12.0/Source/cmake/OptionsGTK.cmake
===================================================================
--- webkitgtk-2.12.0.orig/Source/cmake/OptionsGTK.cmake 2016-03-22 09:40:16.000000000 +0100
+++ webkitgtk-2.12.0/Source/cmake/OptionsGTK.cmake 2016-03-23 09:15:11.358417558 +0100
@@ -6,13 +6,6 @@
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 6 13)
Index: webkitgtk-2.12.0/Source/WTF/wtf/Compiler.h
===================================================================
--- webkitgtk-2.12.0.orig/Source/WTF/wtf/Compiler.h 2016-03-17 08:51:05.000000000 +0100
+++ webkitgtk-2.12.0/Source/WTF/wtf/Compiler.h 2016-03-23 09:15:11.358417558 +0100
@@ -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

View File

@ -1,7 +1,7 @@
Index: webkitgtk-2.1.2/Source/JavaScriptCore/JavaScriptCore.gir.in
Index: webkitgtk-2.11.90/Source/JavaScriptCore/JavaScriptCore.gir.in
===================================================================
--- webkitgtk-2.1.2.orig/Source/JavaScriptCore/JavaScriptCore.gir.in
+++ webkitgtk-2.1.2/Source/JavaScriptCore/JavaScriptCore.gir.in
--- webkitgtk-2.11.90.orig/Source/JavaScriptCore/JavaScriptCore.gir.in
+++ webkitgtk-2.11.90/Source/JavaScriptCore/JavaScriptCore.gir.in
@@ -3,7 +3,7 @@
xmlns="http://www.gtk.org/introspection/core/1.0"
xmlns:c="http://www.gtk.org/introspection/c/1.0">
@ -11,3 +11,25 @@ Index: webkitgtk-2.1.2/Source/JavaScriptCore/JavaScriptCore.gir.in
c:identifier-prefixes="JS"
c:symbol-prefixes="JS">
<record name="GlobalContext" c:type="JSGlobalContextRef" foreign="1"/>
Index: webkitgtk-2.11.90/Source/WebKit2/UIProcess/UserContent/WebUserContentControllerProxy.cpp
===================================================================
--- webkitgtk-2.11.90.orig/Source/WebKit2/UIProcess/UserContent/WebUserContentControllerProxy.cpp
+++ webkitgtk-2.11.90/Source/WebKit2/UIProcess/UserContent/WebUserContentControllerProxy.cpp
@@ -116,7 +116,7 @@ void WebUserContentControllerProxy::addU
void WebUserContentControllerProxy::removeUserScript(const API::UserScript& userScript)
{
for (WebProcessProxy* process : m_processes)
- process->connection()->send(Messages::WebUserContentController::RemoveUserScript({ userScript.userScript().url().string() }), m_identifier);
+ process->connection()->send(Messages::WebUserContentController::RemoveUserScript(userScript.userScript().url().string()), m_identifier);
m_userScripts->elements().removeAll(&userScript);
}
@@ -140,7 +140,7 @@ void WebUserContentControllerProxy::addU
void WebUserContentControllerProxy::removeUserStyleSheet(const API::UserStyleSheet& userStyleSheet)
{
for (WebProcessProxy* process : m_processes)
- process->connection()->send(Messages::WebUserContentController::RemoveUserStyleSheet({ userStyleSheet.userStyleSheet().url().string() }), m_identifier);
+ process->connection()->send(Messages::WebUserContentController::RemoveUserStyleSheet(userStyleSheet.userStyleSheet().url().string()), m_identifier);
m_userStyleSheets->elements().removeAll(&userStyleSheet);
}