Hello community, here is the log from the commit of package webkit2gtk3 for openSUSE:Factory checked in at 2018-03-14 19:28:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/webkit2gtk3 (Old) and /work/SRC/openSUSE:Factory/.webkit2gtk3.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "webkit2gtk3" Wed Mar 14 19:28:56 2018 rev:54 rq:586216 version:2.20.0 Changes: -------- --- /work/SRC/openSUSE:Factory/webkit2gtk3/webkit2gtk3.changes 2018-03-08 10:51:16.254790513 +0100 +++ /work/SRC/openSUSE:Factory/.webkit2gtk3.new/webkit2gtk3.changes 2018-03-14 19:28:57.722673053 +0100 @@ -1,0 +2,165 @@ +Mon Mar 12 16:18:01 UTC 2018 - dims...@opensuse.org + +- Update to version 2.20.0: + + New API to retrieve and delete cookies with + WebKitCookieManager. + + New web process API to detect when form is submitted via + JavaScript. + + Several improvements and fixes in the touch/gestures support. + + Support for the “system” CSS font family. + + Complex text rendering improvements and fixes. + + Added a low power mode. + + More complete and spec compliant WebDriver implementation. + +------------------------------------------------------------------- +Tue Mar 6 21:49:48 UTC 2018 - mgo...@suse.com + +- Add webkit2gtk3-python3.patch: port to python 3 (bsc#1079812, + webkit#156674). +- Add conditional to optionally require python3, rather than + python2 + python-xml, and adjust %build to use python3. + +------------------------------------------------------------------- +Tue Mar 6 10:36:32 UTC 2018 - bjorn....@gmail.com + +- Update to version 2.19.92: + + Ensure DNS prefetching cannot be re-enabled if disabled by + settings. + + Fix seek sometimes not working. + + Fix rendering of emojis that were using the wrong scale factor + in some cases. + + Fix rendering of combining enclosed keycap. + + Fix rendering scale of some layers in HiDPI. + + Fix a crash in Wayland when closing the web view. + + Fix crashes upower crashes when running inside a chroot or on + systems with broken dbus/upower. + + Fix memory leaks in GStreamer media backend when using + GStreamer 1.14. + + Fix the build with Enchant 2.x. + + Fix several crashes and rendering issues. + + Updated translations. +- Replace pkgconfig(enchant) with enchant-devel BuildRequires: + Allow webkit2gtk3 to build with whatever enchant is available in + target distro. + +------------------------------------------------------------------- +Mon Mar 5 16:40:57 UTC 2018 - dims...@opensuse.org + +- Modernize spec-file by calling spec-cleaner + +------------------------------------------------------------------- +Mon Mar 5 02:19:51 UTC 2018 - bjorn....@gmail.com + +- Update to version 2.19.91: + + Add ENABLE_ADDRESS_SANITIZER to make it easier to build with + asan support. + + Fix a crash a under Wayland when using mesa software + rasterization. + + Make fullscreen video work again. + + Fix handling of missing GStreamer elements. + + Fix rendering when webm video is played twice. + + Fix kinetic scrolling sometimes jumping around. + + Fix build with ICU configured without collation support. + + Fix several crashes and rendering issues. + + Updated translations. +- Do a minor spec cleanup. + +------------------------------------------------------------------- +Mon Mar 5 02:19:50 UTC 2018 - dims...@opensuse.org + +- Update to version 2.19.90: + + WebSockets use system proxy settings now (requires libsoup + 2.61.90). + + Show the context menu on long-press gesture. + + Add support for Shift + mouse scroll to scroll horizontally. + + Fix zoom gesture to actually zoom instead of changing the page + scale. + + Implement support for Graphics ARIA roles. + + Make sleep inhibitors work under Flatpak. + + Add get element CSS value command to WebDriver. + + Fix a crash aftter a swipe gesture. + + Fix several crashes and rendering issues. +- Drop webkit2gtk3-fix-wayland-crash.patch: fixed upstream. + +------------------------------------------------------------------- +Mon Mar 5 02:19:06 UTC 2018 - bjorn....@gmail.com + +- Update to version 2.19.6: + + Fix crashes due to duplicated symbols in libjavascriptcoregtk + and libwebkit2gtk. + + Fix parsing of timeout values in WebDriver. + + Implement get timeouts command in WebDriver. + + Fix deadlock in GStreamer video sink during shutdown when + accelerated compositing is disabled. + + Fix several crashes and rendering issues. + +------------------------------------------------------------------- +Mon Mar 5 02:19:05 UTC 2018 - zai...@opensuse.org + +- Update to version 2.19.5: + + This is a follow up release to export + webkit_dom_dom_window_webkit_message_handlers_post_message() + symbol that was hidden in 2.19.4 by mistake. +- Changes from version 2.19.4: + + Add web process API to detect when form is submitted via + JavaScript. + + Add new API to replace + webkit_form_submission_request_get_text_fields() that is now + deprecated. + + Add WebKitWebView::web-process-terminated signal and deprecate + web-process-crashed. + + Fix rendering issues when editing text areas. + + Use FastMalloc based GstAllocator for GStreamer. + + Fix several crashes and rendering issues. + + Updated translations. + +------------------------------------------------------------------- +Mon Mar 5 02:19:04 UTC 2018 - dims...@opensuse.org + +- Apply -DUSE_SYSTEM_MALLOC=ON unconditionally in all builds + (bmalloc seems to be exhausting memory on run time). + +------------------------------------------------------------------- +Mon Mar 5 02:19:03 UTC 2018 - dims...@opensuse.org + +- Update to version 2.19.3: + + Fix web process crash at startup in bmalloc. + + Fix several memory leaks in GStreamer media backend. + + WebKitWebDriver process no longer links to + libjavascriptcoregtk. + - Fix several crashes and rendering issues. +- Changes from version 2.19.2: + + Add new API to add, retrieve and delete cookies via + WebKitCookieManager. + + Add functions to WebSettings to convert font sizes between + points and pixels. + + Ensure cookie operations take effect when they happen before a + web process has been spawned. + + Automatically adjust font size when GtkSettings:gtk-xft-dpi + changes. + + Fix several crashes and rendering issues. + +------------------------------------------------------------------- +Mon Mar 5 02:19:02 UTC 2018 - dims...@opensuse.org + +- Allow OBS service to verify the tarball signature: + + Add webkit2gtk3.keyring: Carlos Garcia Campos' public key. + +------------------------------------------------------------------- +Mon Mar 5 02:19:01 UTC 2018 - dims...@opensuse.org + +- Update to version 2.19.1: + + Add initial resource load statistics support. + + Add API to expose availability of certain editing commands in + WebKitEditorState. + + Add API to query whether a WebKitNavigationAction is a redirect + or not. + + Improve complex text rendering. + + Add support for the "system" CSS font family. + + Implement low power mode. + + Fix several crashes and rendering issues. +- Drop webkit2gtk3-no-return-in-nonvoid.patch: fixed upstream. +- Add pkgconfig(libbrotlidec) and pkgconfig(upower-glib) + BuildRequires: new dependencies. + +------------------------------------------------------------------- @@ -20 +185 @@ - only on s390x + only on s390x. Old: ---- webkit2gtk3-fix-wayland-crash.patch webkit2gtk3-no-return-in-nonvoid.patch webkitgtk-2.18.6.tar.xz New: ---- webkit2gtk3-python3.patch webkit2gtk3.keyring webkitgtk-2.20.0.tar.xz webkitgtk-2.20.0.tar.xz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ webkit2gtk3.spec ++++++ --- /var/tmp/diff_new_pack.RcScyW/_old 2018-03-14 19:28:59.774600188 +0100 +++ /var/tmp/diff_new_pack.RcScyW/_new 2018-03-14 19:28:59.778600046 +0100 @@ -25,10 +25,9 @@ %define _jscver 4 %define _pkgconfig_suffix gtk-3.0 %define _name webkitgtk - # gold linker not available on old s390/s390x %define _gold_linker 1 -%if 0%{suse_version} < 1320 +%if 0%{?suse_version} < 1320 %ifarch s390 s390x %define _gold_linker 0 %endif @@ -37,22 +36,22 @@ %define _gold_linker 0 %endif %endif - +%bcond_without python3 Name: webkit2gtk3 -Version: 2.18.6 +Version: 2.20.0 Release: 0 Summary: Library for rendering web content, GTK+ Port -License: LGPL-2.0+ AND BSD-3-Clause +License: LGPL-2.0-or-later AND BSD-3-Clause Group: Development/Libraries/C and C++ -Url: https://webkitgtk.org/ -Source: http://webkitgtk.org/releases/%{_name}-%{version}.tar.xz -Source1: baselibs.conf +URL: https://webkitgtk.org/ +Source0: http://webkitgtk.org/releases/%{_name}-%{version}.tar.xz +Source1: http://webkitgtk.org/releases/%{_name}-%{version}.tar.xz.asc +Source98: baselibs.conf +Source99: webkit2gtk3.keyring # PATCH-FIX-OPENSUSE webkitgtk-typelib-sharelib-link.patch dims...@opensuse.org -- Fixup the .gir file to contain the full library name for libjavascriptcore. Patch0: webkitgtk-typelib-sharelib-link.patch -# PATCH-FIX-UPSTREAM webkit2gtk3-no-return-in-nonvoid.patch webkit£318374 dims...@opensuse.org -- Fix "control reaches end of non-void function" -Patch1: webkit2gtk3-no-return-in-nonvoid.patch -# PATCH-FIX-UPSTREAM webkit2gtk3-fix-wayland-crash.patch webkit#182490 bsc#1079512 fcro...@suse.com -- Fix crash with wayland -Patch2: webkit2gtk3-fix-wayland-crash.patch +# PATCH-FIX-UPSTREAM webkit2gtk3-python3.patch bsc#1079812 mgo...@suse.com -- port to Python 3. +Patch1: webkit2gtk3-python3.patch BuildRequires: Mesa-libEGL-devel BuildRequires: Mesa-libGL-devel BuildRequires: Mesa-libGLESv1_CM-devel @@ -60,6 +59,8 @@ BuildRequires: Mesa-libGLESv3-devel BuildRequires: bison >= 2.3 BuildRequires: cmake +BuildRequires: enchant-devel +BuildRequires: gcc-c++ >= 4.9 BuildRequires: gobject-introspection-devel BuildRequires: gperf >= 3.0.1 BuildRequires: hyphen-devel @@ -67,13 +68,10 @@ BuildRequires: libjpeg-devel BuildRequires: perl >= 5.10.0 BuildRequires: pkgconfig -BuildRequires: python >= 2.6.0 -BuildRequires: python2-xml BuildRequires: ruby >= 1.8.7 BuildRequires: pkgconfig(atk) BuildRequires: pkgconfig(atspi-2) >= 2.5.3 BuildRequires: pkgconfig(cairo) >= 1.10.2 -BuildRequires: pkgconfig(enchant) BuildRequires: pkgconfig(fontconfig) >= 2.8.0 BuildRequires: pkgconfig(freetype2) >= 2.4.2 BuildRequires: pkgconfig(geoclue-2.0) >= 2.1.5 @@ -85,20 +83,28 @@ BuildRequires: pkgconfig(gtk+-3.0) >= 3.12.0 BuildRequires: pkgconfig(gudev-1.0) BuildRequires: pkgconfig(harfbuzz) >= 0.9.2 +# Currently passing -DUSE_WOFF2=false to cmake +# BuildRequires: pkgconfig(libbrotlidec) >= 1.0.1 BuildRequires: pkgconfig(libnotify) BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(libsecret-1) -BuildRequires: pkgconfig(libsoup-2.4) >= 2.42.0 +BuildRequires: pkgconfig(libsoup-2.4) >= 2.61.90 BuildRequires: pkgconfig(libwebp) BuildRequires: pkgconfig(libxml-2.0) >= 2.8.0 BuildRequires: pkgconfig(libxslt) >= 1.1.7 BuildRequires: pkgconfig(sqlite3) +BuildRequires: pkgconfig(upower-glib) BuildRequires: pkgconfig(xt) BuildRequires: pkgconfig(zlib) +%if %{with python3} +BuildRequires: python3 +%else +BuildRequires: python >= 2.6.0 +BuildRequires: python2-xml +%endif %if %{_gold_linker} BuildRequires: binutils-gold %endif -BuildRequires: gcc-c++ >= 4.9 %if 0%{?is_opensuse} # We require gtk2 for the Gtk2 plugin wrapper BuildRequires: pkgconfig(gtk+-2.0) >= 2.24.10 @@ -251,10 +257,29 @@ %prep %setup -q -n webkitgtk-%{version} %patch0 -p1 +%if %{with python3} %patch1 -p1 -%patch2 -p1 +%endif %build +# Here we must muzzle our dog so it doesn't eat all the memory +max_link_jobs="%{?jobs:%{jobs}}" +max_compile_jobs="%{?jobs:%{jobs}}" +echo "Available memory:" +cat /proc/meminfo +echo "System limits:" +ulimit -a +if test -n "$max_link_jobs" -a "$max_link_jobs" -gt 1 ; then + mem_per_process=1300000 + max_mem=$(awk '/MemTotal/ { print $2 }' /proc/meminfo) + max_jobs="$(($max_mem / $mem_per_process))" + test "$max_link_jobs" -gt "$max_jobs" && max_link_jobs="$max_jobs" && echo "Warning: Reducing number of link jobs to $max_jobs because of memory limits" + test "$max_link_jobs" -le 0 && max_link_jobs=1 && echo "Warning: Not linking in parallel at all becuse of memory limits" +fi + +%if %{with python3} +export PYTHON=%{_bindir}/python3 +%endif # Use linker flags to reduce memory consumption %if %{_gold_linker} %global optflags %(echo %{optflags} -Wl,--no-keep-memory | sed 's/-g /-g1 /') @@ -265,33 +290,33 @@ -DCMAKE_BUILD_TYPE=Release \ -DLIBEXEC_INSTALL_DIR=%{_libexecdir}/libwebkit2gtk%{_wk2sover} \ -DPORT=GTK \ + -DUSE_WOFF2=false \ +%if %{with python3} + -DPYTHON_EXECUTABLE=%{_bindir}/python3 \ +%endif %if !0%{?is_opensuse} -DENABLE_PLUGIN_PROCESS_GTK2=OFF \ %endif %ifarch armv6hl ppc ppc64 ppc64le s390 s390x -DENABLE_JIT=OFF \ - -DUSE_SYSTEM_MALLOC=ON \ %endif + -DUSE_SYSTEM_MALLOC=ON \ -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} +make -j $max_link_jobs %install %cmake_install %find_lang WebKit2GTK-4.0 %post -n libwebkit2gtk%{_wk2sover} -p /sbin/ldconfig - %postun -n libwebkit2gtk%{_wk2sover} -p /sbin/ldconfig - %post -n libjavascriptcoregtk%{_sover} -p /sbin/ldconfig - %postun -n libjavascriptcoregtk%{_sover} -p /sbin/ldconfig %files -n libwebkit2gtk%{_wk2sover} -%defattr(-,root,root) %if 0%{?is_opensuse} # Exclude Gtk2 plugin support from this package. That goes into plugin-process-gtk2. %exclude %{_libexecdir}/libwebkit2gtk%{_wk2sover}/WebKitPluginProcess2 @@ -304,35 +329,28 @@ %if 0%{?is_opensuse} %files plugin-process-gtk2 -%defattr(-,root,root) %{_libexecdir}/libwebkit2gtk%{_wk2sover}/WebKitPluginProcess2 %endif %files -n webkit2gtk-4_0-injected-bundles -%defattr(-,root,root) %dir %{_libdir}/webkit2gtk-4.0 %dir %{_libdir}/webkit2gtk-4.0/injected-bundle %{_libdir}/webkit2gtk-4.0/injected-bundle/libwebkit2gtkinjectedbundle.so %files -n libjavascriptcoregtk%{_sover} -%defattr(-, root, root) -%doc Source/JavaScriptCore/COPYING.LIB +%license Source/JavaScriptCore/COPYING.LIB %{_libdir}/libjavascriptcoregtk-4.0.so.* %files -n typelib-1_0-WebKit2-%{_sonameverpkg} -%defattr(-,root,root) %{_libdir}/girepository-1.0/WebKit2-%{_sonamever}.typelib %files -n typelib-1_0-WebKit2WebExtension-%{_sonameverpkg} -%defattr(-,root,root) %{_libdir}/girepository-1.0/WebKit2WebExtension-%{_sonamever}.typelib %files -n typelib-1_0-JavaScriptCore-%{_sonameverpkg} -%defattr(-,root,root) %{_libdir}/girepository-1.0/JavaScriptCore-%{_sonamever}.typelib %files devel -%defattr(-,root,root) %{_datadir}/gir-1.0/*.gir %{_includedir}/webkitgtk-4.0/ %{_libdir}/libwebkit2gtk-4.0.so @@ -342,10 +360,8 @@ %{_libdir}/pkgconfig/webkit2gtk-web-extension-4.0.pc %files -n webkit-jsc-%{_jscver} -%defattr(-,root,root) %{_libexecdir}/libwebkit2gtk%{_wk2sover}/jsc %files -n %{_pkgname_no_slpp}-lang -f WebKit2GTK-4.0.lang -%defattr(-,root,root) %changelog ++++++ webkit2gtk3-python3.patch ++++++ ++++ 1878 lines (skipped) ++++++ webkitgtk-2.18.6.tar.xz -> webkitgtk-2.20.0.tar.xz ++++++ /work/SRC/openSUSE:Factory/webkit2gtk3/webkitgtk-2.18.6.tar.xz /work/SRC/openSUSE:Factory/.webkit2gtk3.new/webkitgtk-2.20.0.tar.xz differ: char 26, line 1