Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package webkit2gtk3.16180 for 
openSUSE:Leap:15.2:Update checked in at 2021-04-30 21:22:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2:Update/webkit2gtk3.16180 (Old)
 and      /work/SRC/openSUSE:Leap:15.2:Update/.webkit2gtk3.16180.new.1947 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "webkit2gtk3.16180"

Fri Apr 30 21:22:59 2021 rev:1 rq:889426 version:2.32.0

Changes:
--------
New Changes file:

--- /dev/null   2021-04-29 10:03:23.520854754 +0200
+++ 
/work/SRC/openSUSE:Leap:15.2:Update/.webkit2gtk3.16180.new.1947/webkit2gtk3.changes
 2021-04-30 21:23:00.177890216 +0200
@@ -0,0 +1,3120 @@
+-------------------------------------------------------------------
+Mon Apr 12 17:44:57 UTC 2021 - Michael Gorse <[email protected]>
+
+- Per discussion with maintenance, let's not remove features that
+  customers could possibly be using:
+- Add webkit2gtk3-restore-npapi.patch: restore NPAPI plugin
+  support. Reverts webkit#215503.
+
+-------------------------------------------------------------------
+Tue Apr  6 18:25:11 UTC 2021 - Michael Gorse <[email protected]>
+
+- Update to version 2.32.0 (boo#1184155):
+  + Fix the authentication request port when URL omits the port.
+  + Fix iframe scrolling when main frame is scrolled in async
+    scrolling mode.
+  + Stop using g_memdup.
+  + Show a warning message when overriding signal handler for
+    threading suspension.
+  - Fix the build on RISC-V with GCC 11.
+  - Fix several crashes and rendering issues.
+  + Security fixes: CVE-2021-1788, CVE-2021-1844, CVE-2021-1871
+  + Changes in version 2.30.6 (boo#1184262):
+  + Update user agent quirks again for Google Docs and Google Drive.
+  + Fix several crashes and rendering issues.
+  + Security fixes: CVE-2020-27918, CVE-2020-29623, CVE-2021-1765
+  CVE-2021-1789, CVE-2021-1799, CVE-2021-1801, CVE-2021-1870.
+- Remove webkit-font-scaling.patch: contained in upstream
+- Drop original SLE 15 support from the spec. Drop
+  webkit-process.patch and old-wayland-scanner.patch; they are not
+  needed for SP2.
+- Pass ENABLE_GAMEPAD=OFF to cmake, since we don't have manette.
+- Add glproto-devel to BuildRequires: now needed for the build on
+  SLE 15.
+
+-------------------------------------------------------------------
+Fri Feb 19 07:45:12 UTC 2021 - Guillaume GARDET <[email protected]>
+
+- Update _constraints for armv6/armv7 (bsc#1182719)
+
+-------------------------------------------------------------------
+Sat Feb 13 18:06:17 UTC 2021 - Michael Gorse <[email protected]>
+
+- Update to version 2.30.5 (boo#1182286):
+  + Bring back the WebKitPluginProcess installation that was
+    removed by mistake.
+  + Fix RunLoop objects leaked in worker threads.
+  + Fix aarch64 llint build with JIT disabled.
+  + Use Internet Explorer quirk for Google Docs.
+  + Security fixes: CVE-2020-13558.
+- Drop gir-multilib.patch: fixed upstream.
+
+-------------------------------------------------------------------
+Wed Jan 20 10:47:33 UTC 2021 - Bj??rn Lie <[email protected]>
+
+- Add gir-multilib.patch: Fix multilib conflict in gir files.
+- Disable gold linker for ppc64le
+
+-------------------------------------------------------------------
+Tue Jan 19 19:12:53 UTC 2021 - Atri Bhattacharya <[email protected]>
+
+- Add webkit-font-scaling.patch: Fix system font scaling not
+  applied to 'font-size: XXXpt'; patch taken from upstream and
+  rebased to apply cleanly
+  (https://bugs.webkit.org/show_bug.cgi?id=218450).
+- Pass `-q` to setup to disable printing long list of files
+  extracted from source tarball.
+
+-------------------------------------------------------------------
+Tue Dec 15 14:06:42 UTC 2020 - Dominique Leuenberger <[email protected]>
+
+- Update to version 2.30.4:
+  + Fix text data sent with WebSockets when using libsoup < 2.68.
+  + Fix the rendering on Raspberry Pi 3 using the proprietary video
+    driver.
+  + Fix clipping of descedant layers of a mask layer.
+  + Fix the build with ICU 68.1.
+- Drop upstream merged patch:
+  + 0001-ICU-68.1-no-longer-exposes-FALSE-and-TRUE-macros-by-.patch
+
+-------------------------------------------------------------------
+Thu Dec  3 22:23:20 UTC 2020 - Michael Gorse <[email protected]>
+
+- Add old-wayland-scanner.patch for 15.0: support older
+  wayland-scanner. ALso renumber patches to group 15.0-specific
+  patches together.
+- Have the libwebkit2gtk package require libjavascriptcoregtk of
+  the same version (boo#1171531).
+
+-------------------------------------------------------------------
+Wed Dec  2 13:36:15 UTC 2020 - Dominique Leuenberger <[email protected]>
+
+- 0001-ICU-68.1-no-longer-exposes-FALSE-and-TRUE-macros-by-.patch:
+  ICU 68.1 no longer exposes FALSE and TRUE macros by default.
+
+-------------------------------------------------------------------
+Sun Nov 22 16:37:46 UTC 2020 - Michael Gorse <[email protected]>
+
+- Update to version 2.30.3 (boo#1179122 boo#1179451):
+  + Add new build option USE(64KB_PAGE_BLOCK).
+  + Fix backdrop filters with rounded borders.
+  + Fix scrolling iframes when async scrolling is enabled.
+  + Allow applications to handle drag and drop on the web view
+    again.
+  + Update Outlook user agent quirk.
+  + Fix the build with video support disabled.
+  + Fix several crashes and rendering issues.
+  + Security fixes: CVE-2020-13584, CVE-2020-9983, CVE-2020-13543.
+- Drop webkit2gtk3-fdo-soname.patch: fixed upstream.
+- Rebase webkit-process.patch.
+
+-------------------------------------------------------------------
+Fri Oct 23 09:35:30 UTC 2020 - Dominique Leuenberger <[email protected]>
+
+- Update to version 2.30.2:
+  + Fix scrolling when smooth scrolling is enabled in async
+    scrolling mode.
+  + Fix WebSocket requests with same-site cookies.
+  + Fix TLS certificate information for service workers.
+  + Handle chassis type when its value is quoted.
+  + Fix the build with ENABLE_MEDIA_STREAM enabled and
+    ENABLE_WEB_RTC_DISABLED.
+  + Fix the build with ENABLE_GAMEPAD enabled.
+  + Fix several crashes and rendering issues.
+
+-------------------------------------------------------------------
+Wed Sep 30 19:03:18 UTC 2020 - Michael Gorse <[email protected]>
+
+- Enable c_loop on aarch64: currently needed for compilation to
+  succeed with JIT disabled. Also disable sampling profiler, since
+  it conflicts with c_loop (boo#1177087).
+
+-------------------------------------------------------------------
+Tue Sep 22 01:34:43 UTC 2020 - Michael Gorse <[email protected]>
+
+- Update to version 2.30.1:
+  + Bring back the environment variable to force single process
+    mode when PSON is disabled.
+  + Fix downloads started by an ephemeral web context.
+  + Updated translations.
+
+-------------------------------------------------------------------
+Mon Sep 14 23:28:52 UTC 2020 - Michael Gorse <[email protected]>
+
+- Update to version 2.30.0:
+  + Fix NTLM authentication.
+  + Don't try to use SHM on wayland with older wpebackend-fdo.
+  + Fix the build due to seccomp.h header not found.
+  + Security fixes: CVE-2020-9948, CVE-2020-9951.
+- Drop seccomp-build-fix.patch and wpe-shm-check.patch: fixed
+  upstream.
+
+-------------------------------------------------------------------
+Mon Sep  7 22:24:27 UTC 2020 - Michael Gorse <[email protected]>
+
+- Add wpe-shm-check.patch: make SHM initialization fail for
+  wpebackend-fdo < 1.7.0.
+
+-------------------------------------------------------------------
+Sun Sep  6 16:36:23 UTC 2020 - Michael Gorse <[email protected]>
+
+- Add seccomp-build-fix.patch: pass seccomp include directory to
+    g++. 
+- Re-enable bubblewrap sandbox for SLE-15-SP2 and Tumbleweed.
+
+-------------------------------------------------------------------
+Sat Sep  5 15:26:46 UTC 2020 - Dominique Leuenberger <[email protected]>
+
+- Update to version 2.29.92:
+  + Fix user agent header after a redirect when a new quirk is
+    required.
+  + Stop using firefox user agent quirk for google docs.
+  + Fix rendering frames timeline panel in web inspector.
+  + Fix per-thread cpu usage in web inspector.
+  + Fix several crashes and rendering issues.
+- Changes from version 2.29.91:
+  + Fix a web process crash introduced in 2.29.90.
+- Changes from version 2.29.90:
+  + Fix font variation settings when font smoothing setting is also
+    present.
+  + Fix HTML drag and drop operations.
+  + Fix argument order for clone syscall seccomp filter on s390x.
+  + Fix a crash when selecting text.
+  + Fix several crashes and rendering issues.
+- Changes from version 2.29.4:
+  + Add support for backdrop filters.
+  + Add support for text-underline-offset and
+    text-decoration-thickness.
+  + Add OpenCDM and AV1 support to media backend.
+  + Add new API to get ITP data summary.
+  + Use mobile user-agent on tablets.
+  + Fix several crashes and rendering issues.
+- Changes from version 2.29.3:
+  + Add webkit_authentication_request_get_security_origin.
+  + Change the cookies accept policy to always when no-third-party
+    is set and ITP is enabled.
+  + Fix web process hangs on large GitHub pages.
+  + Bubblewrap sandbox should not attempt to bind empty paths.
++++ 2923 more lines (skipped)
++++ between /dev/null
++++ and 
/work/SRC/openSUSE:Leap:15.2:Update/.webkit2gtk3.16180.new.1947/webkit2gtk3.changes

New:
----
  _constraints
  baselibs.conf
  no-forced-sse.patch
  webkit2gtk3-restore-npapi.patch
  webkit2gtk3.changes
  webkit2gtk3.keyring
  webkit2gtk3.spec
  webkitgtk-2.32.0.tar.xz
  webkitgtk-2.32.0.tar.xz.asc

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ webkit2gtk3.spec ++++++
#
# spec file for package webkit2gtk3
#
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


%define _pkgname_no_slpp libwebkit2gtk3
%define _sover -4_0-18
%define _wk2sover -4_0-37
%define _sonamever 4.0
%define _sonameverpkg 4_0
%define _gtkver 3.0
%define _jscver 4
%define _pkgconfig_suffix gtk-3.0
%define _name webkitgtk
# gold linker not available on old s390/s390x
%define _gold_linker 1
%ifarch ppc ppc64le s390
%define _gold_linker 0
%endif
Name:           webkit2gtk3
Version:        2.32.0
Release:        0
Summary:        Library for rendering web content, GTK+ Port
License:        BSD-3-Clause AND LGPL-2.0-or-later
Group:          Development/Libraries/C and C++
URL:            https://webkitgtk.org
Source0:        %{url}/releases/%{_name}-%{version}.tar.xz
Source1:        %{url}/releases/%{_name}-%{version}.tar.xz.asc
Source98:       baselibs.conf
Source99:       webkit2gtk3.keyring

# PATCH-FIX-OPENSUSE no-forced-sse.patch [email protected] -- cure execution of 
illegal instruction in i586 firefox.
Patch0:         no-forced-sse.patch
# Below patches are only for 15.0
# PATCH-FEATURE-SLE webkit2gtk3-restore-npapi.patch [email protected] -- restore 
NPAPI plugin support.
Patch100:       webkit2gtk3-restore-npapi.patch

BuildRequires:  Mesa-libEGL-devel
BuildRequires:  Mesa-libGL-devel
BuildRequires:  Mesa-libGLESv1_CM-devel
BuildRequires:  Mesa-libGLESv2-devel
BuildRequires:  Mesa-libGLESv3-devel
BuildRequires:  bison >= 2.3
BuildRequires:  bubblewrap
BuildRequires:  cmake
BuildRequires:  enchant-devel
BuildRequires: glproto-devel
BuildRequires:  gcc-c++ >= 4.9
BuildRequires:  gobject-introspection-devel
BuildRequires:  gperf >= 3.0.1
BuildRequires:  hyphen-devel
BuildRequires:  libicu-devel
BuildRequires:  libjpeg-devel
BuildRequires:  ninja
BuildRequires:  openjpeg2
BuildRequires:  openjpeg2-devel
BuildRequires:  perl >= 5.10.0
BuildRequires:  pkgconfig
BuildRequires:  python3
BuildRequires:  ruby >= 1.8.7
BuildRequires:  xdg-dbus-proxy
BuildRequires:  pkgconfig(atk)
BuildRequires:  pkgconfig(atspi-2) >= 2.5.3
BuildRequires:  pkgconfig(cairo) >= 1.10.2
BuildRequires:  pkgconfig(fontconfig) >= 2.8.0
BuildRequires:  pkgconfig(freetype2) >= 2.4.2
BuildRequires:  pkgconfig(geoclue-2.0) >= 2.1.5
BuildRequires:  pkgconfig(glib-2.0) >= 2.36
BuildRequires:  pkgconfig(gnutls) >= 3.0.0
BuildRequires:  pkgconfig(gstreamer-1.0) >= 1.14.0
BuildRequires:  pkgconfig(gstreamer-app-1.0)
BuildRequires:  pkgconfig(gstreamer-audio-1.0)
BuildRequires:  pkgconfig(gstreamer-codecparsers-1.0)
BuildRequires:  pkgconfig(gstreamer-fft-1.0)
BuildRequires:  pkgconfig(gstreamer-gl-1.0)
BuildRequires:  pkgconfig(gstreamer-mpegts-1.0)
BuildRequires:  pkgconfig(gstreamer-pbutils-1.0)
BuildRequires:  pkgconfig(gstreamer-plugins-base-1.0)
BuildRequires:  pkgconfig(gstreamer-tag-1.0)
BuildRequires:  pkgconfig(gstreamer-video-1.0)
BuildRequires:  pkgconfig(gtk+-3.0) >= 3.22.0
BuildRequires:  pkgconfig(gudev-1.0)
BuildRequires:  pkgconfig(harfbuzz) >= 0.9.2
BuildRequires:  pkgconfig(libbrotlidec) >= 1.0.1
BuildRequires:  pkgconfig(libnotify)
BuildRequires:  pkgconfig(libpng)
BuildRequires:  pkgconfig(libseccomp)
BuildRequires:  pkgconfig(libsecret-1)
BuildRequires:  pkgconfig(libsoup-2.4) >= 2.61.90
BuildRequires:  pkgconfig(libsystemd)
BuildRequires:  pkgconfig(libwebp)
BuildRequires:  pkgconfig(libwoff2dec)
BuildRequires:  pkgconfig(libxml-2.0) >= 2.8.0
BuildRequires:  pkgconfig(libxslt) >= 1.1.7
BuildRequires:  pkgconfig(sqlite3)
BuildRequires:  pkgconfig(upower-glib)
BuildRequires:  pkgconfig(wpe-1.0) >= 1.3.0
BuildRequires:  pkgconfig(wpebackend-fdo-1.0) >= 1.3.0
BuildRequires:  pkgconfig(xt)
BuildRequires:  pkgconfig(zlib)
%if %{_gold_linker}
BuildRequires:  binutils-gold
%endif

%description
WebKit is a web content engine, derived from KHTML and KJS from KDE,
and used primarily in Apple's Safari browser.  It is made to be
embedded in other applications, such as mail readers, or web browsers.

It is able to display content such as HTML, SVG, XML, and others. It
also supports DOM, XMLHttpRequest, XSLT, CSS, Javascript/ECMAscript and
more.

%package -n libwebkit2gtk%{_wk2sover}
Summary:        Library for rendering web content, GTK+ Port
# Require the injected bundles. The bundles are dlopen()ed
Group:          System/Libraries
Requires:       bubblewrap
Requires:       libjavascriptcoregtk%{_sover} = %{version}
Requires:       webkit2gtk-4_0-injected-bundles
Requires:       xdg-dbus-proxy
Provides:       %{_pkgname_no_slpp} = %{version}
Obsoletes:      webkit2gtk3-plugin-process-gtk2

%description -n libwebkit2gtk%{_wk2sover}
WebKit is a web content engine, derived from KHTML and KJS from KDE,
and used primarily in Apple's Safari browser.  It is made to be
embedded in other applications, such as mail readers, or web browsers.

It is able to display content such as HTML, SVG, XML, and others. It
also supports DOM, XMLHttpRequest, XSLT, CSS, Javascript/ECMAscript and
more.

%package -n webkit2gtk-4_0-injected-bundles
Summary:        Injected bundles for %{name}
Group:          System/Libraries

%description -n webkit2gtk-4_0-injected-bundles
WebKit is a web content engine, derived from KHTML and KJS from KDE,
and used primarily in Apple's Safari browser.  It is made to be
embedded in other applications, such as mail readers, or web browsers.

It is able to display content such as HTML, SVG, XML, and others. It
also supports DOM, XMLHttpRequest, XSLT, CSS, Javascript/ECMAscript and
more.

%package -n libjavascriptcoregtk%{_sover}
Summary:        JavaScript Core Engine, GTK+ Port
Group:          System/Libraries

%description -n libjavascriptcoregtk%{_sover}
WebKit is a web content engine, derived from KHTML and KJS from KDE,
and used primarily in Apple's Safari browser.  It is made to be
embedded in other applications, such as mail readers, or web browsers.

It is able to display content such as HTML, SVG, XML, and others. It
also supports DOM, XMLHttpRequest, XSLT, CSS, Javascript/ECMAscript and
more.

%package -n typelib-1_0-WebKit2-%{_sonameverpkg}
Summary:        Introspection bindings for %{name}
Group:          System/Libraries

%description -n typelib-1_0-WebKit2-%{_sonameverpkg}
WebKit is a web content engine, derived from KHTML and KJS from KDE,
and used primarily in Apple's Safari browser.  It is made to be
embedded in other applications, such as mail readers, or web browsers.

It is able to display content such as HTML, SVG, XML, and others. It
also supports DOM, XMLHttpRequest, XSLT, CSS, Javascript/ECMAscript and
more.

This package provides the GObject Introspection bindings for the GTK+
port of WebKit2.

%package -n typelib-1_0-WebKit2WebExtension-%{_sonameverpkg}
Summary:        Introspection bindings for %{name}
Group:          System/Libraries

%description -n typelib-1_0-WebKit2WebExtension-%{_sonameverpkg}
WebKit is a web content engine, derived from KHTML and KJS from KDE,
and used primarily in Apple's Safari browser.  It is made to be
embedded in other applications, such as mail readers, or web browsers.

It is able to display content such as HTML, SVG, XML, and others. It
also supports DOM, XMLHttpRequest, XSLT, CSS, Javascript/ECMAscript and
more.

This package provides the GObject Introspection bindings for the GTK+
port of WebKit2.

%package -n typelib-1_0-JavaScriptCore-%{_sonameverpkg}
Summary:        Introspection bindings for the GTK+ port of the JavaScript Core 
Engine
Group:          System/Libraries

%description -n typelib-1_0-JavaScriptCore-%{_sonameverpkg}
WebKit is a web content engine, derived from KHTML and KJS from KDE,
and used primarily in Apple's Safari browser.  It is made to be
embedded in other applications, such as mail readers, or web browsers.

It is able to display content such as HTML, SVG, XML, and others. It
also supports DOM, XMLHttpRequest, XSLT, CSS, Javascript/ECMAscript and
more.

This package provides the GObject Introspection bindings for the GTK+
port of the JavaScript Core engine.

%package devel
Summary:        Development files for %{name}
Group:          Development/Libraries/C and C++
Requires:       libjavascriptcoregtk%{_sover} = %{version}
Requires:       libwebkit2gtk%{_wk2sover} = %{version}
Requires:       typelib-1_0-JavaScriptCore-%{_sonameverpkg}
Requires:       typelib-1_0-WebKit2-%{_sonameverpkg}
Requires:       typelib-1_0-WebKit2WebExtension-%{_sonameverpkg}

%description devel
WebKit is a web content engine, derived from KHTML and KJS from KDE,
and used primarily in Apple's Safari browser.  It is made to be
embedded in other applications, such as mail readers, or web browsers.

It is able to display content such as HTML, SVG, XML, and others. It
also supports DOM, XMLHttpRequest, XSLT, CSS, Javascript/ECMAscript and
more.

%package -n webkit-jsc-%{_jscver}
Summary:        JavaScript command line from WebKit
Group:          Development/Tools/Other

%description -n webkit-jsc-%{_jscver}
jsc is a command-line utility that allows you to run JavaScript
programs outside of the context of a web browser. It is primarily
used as part of the test harness for validating the JavaScript
portions of WebKit, but can also be used as a scripting tool.

jsc can be run in an interactive mode to test out JavaScript
expressions, or it can be passed one or more files to run similar to
invoking a Perl or Python script.

%package minibrowser
Summary:        MiniBrowser from WebKit
Group:          Development/Tools/Other

%description minibrowser
A small test browswer from webkit, useful for testing features.

%lang_package -n %{_pkgname_no_slpp}

%prep
%setup -q -n webkitgtk-%{version}
%patch0 -p1
%if 0%{?suse_version} <= 1500 && 0%{?sle_version} < 150200
%patch100 -p1
%endif

%build
%define _lto_cflags %{nil}
# 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=1500000
    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

export PYTHON=%{_bindir}/python3
# Use linker flags to reduce memory consumption
%if %{_gold_linker}
%global optflags %(echo %{optflags} -Wl,--no-keep-memory | sed 's/-g /-g1 /')
%else
%global optflags %(echo %{optflags} -Wl,--no-keep-memory 
-Wl,--reduce-memory-overheads | sed 's/-g /-g1 /')
%endif
%cmake \
  -GNinja \
  -DCMAKE_BUILD_TYPE=Release \
  -DLIBEXEC_INSTALL_DIR=%{_libexecdir}/libwebkit2gtk%{_wk2sover} \
  -DPORT=GTK \
  -DENABLE_GAMEPAD=OFF \
  -DENABLE_MINIBROWSER=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" \
  -DPYTHON_EXECUTABLE=%{_bindir}/python3 \
%ifarch aarch64
  -DENABLE_JIT=OFF \
  -DENABLE_C_LOOP=ON \
  -DENABLE_SAMPLING_PROFILER=OFF \
  -DUSE_SYSTEM_MALLOC=ON \
%endif

%ninja_build -j $max_link_jobs

%install
%ninja_install -C build
%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}
# Exclude jsc and MiniBrowser - we package them on their own
%exclude %{_libexecdir}/libwebkit2gtk%{_wk2sover}/jsc
%exclude %{_libexecdir}/libwebkit2gtk%{_wk2sover}/MiniBrowser
%{_libexecdir}/libwebkit2gtk%{_wk2sover}/
%{_libdir}/libwebkit2gtk-4.0.so.*
%{_bindir}/WebKitWebDriver

%files -n webkit2gtk-4_0-injected-bundles
%dir %{_libdir}/webkit2gtk-4.0
%dir %{_libdir}/webkit2gtk-4.0/injected-bundle
%{_libdir}/webkit2gtk-4.0/injected-bundle/libwebkit2gtkinjectedbundle.so

%files -n libjavascriptcoregtk%{_sover}
%license Source/JavaScriptCore/COPYING.LIB
%{_libdir}/libjavascriptcoregtk-4.0.so.*

%files -n typelib-1_0-WebKit2-%{_sonameverpkg}
%{_libdir}/girepository-1.0/WebKit2-%{_sonamever}.typelib

%files -n typelib-1_0-WebKit2WebExtension-%{_sonameverpkg}
%{_libdir}/girepository-1.0/WebKit2WebExtension-%{_sonamever}.typelib

%files -n typelib-1_0-JavaScriptCore-%{_sonameverpkg}
%{_libdir}/girepository-1.0/JavaScriptCore-%{_sonamever}.typelib

%files devel
%{_datadir}/gir-1.0/*.gir
%{_includedir}/webkitgtk-4.0/
%{_libdir}/libwebkit2gtk-4.0.so
%{_libdir}/libjavascriptcoregtk-4.0.so
%{_libdir}/pkgconfig/javascriptcoregtk-4.0.pc
%{_libdir}/pkgconfig/webkit2gtk-4.0.pc
%{_libdir}/pkgconfig/webkit2gtk-web-extension-4.0.pc

%files -n webkit-jsc-%{_jscver}
%{_libexecdir}/libwebkit2gtk%{_wk2sover}/jsc

%files minibrowser
%{_libexecdir}/libwebkit2gtk%{_wk2sover}/MiniBrowser

%files -n %{_pkgname_no_slpp}-lang -f WebKit2GTK-4.0.lang

%changelog
++++++ _constraints ++++++
<constraints>
  <hardware>
    <disk>
      <size unit="G">4</size>
    </disk>
    <physicalmemory>
      <size unit="M">8000</size>
    </physicalmemory>
  </hardware>
  <overwrite>
    <conditions>
      <arch>armv6l</arch>
      <arch>armv7l</arch>
    </conditions>
     <hardware>
     <physicalmemory>
        <size unit="M">5500</size>
     </physicalmemory>
    </hardware>
  </overwrite>
  <overwrite>
    <conditions>
      <arch>riscv64</arch>
    </conditions>
     <hardware>
     <physicalmemory>
        <size unit="M">7250</size>
     </physicalmemory>
    </hardware>
  </overwrite>
</constraints> 
++++++ baselibs.conf ++++++
libjavascriptcoregtk-4_0-18
libwebkit2gtk-4_0-37
++++++ no-forced-sse.patch ++++++
From: Jan Engelhardt <[email protected]>
Date: 2020-01-30 14:15:51.612533365 +0100

cmake tests whether the compiler can emit SSE, which is the wrongest of all
options. (At the very least, a build system would check the buildhost's actual
CPU feature set; while not great, there are convincable usecases for doing
that.)

Disable unconditional emission of -msse2 into the command line.
On x86_64 where SSE2 is always available, gcc already implies -msse2
anyway, so there should not be anything lost by removing this block
of makefilery.

---
 Source/cmake/WebKitCompilerFlags.cmake |    9 ---------
 1 file changed, 9 deletions(-)

Index: webkitgtk-2.26.3/Source/cmake/WebKitCompilerFlags.cmake
===================================================================
--- webkitgtk-2.26.3.orig/Source/cmake/WebKitCompilerFlags.cmake
+++ webkitgtk-2.26.3/Source/cmake/WebKitCompilerFlags.cmake
@@ -137,15 +137,6 @@ if (COMPILER_IS_GCC_OR_CLANG)
     if (CMAKE_COMPILER_IS_GNUCXX)
         WEBKIT_PREPEND_GLOBAL_COMPILER_FLAGS(-Wno-expansion-to-defined)
     endif ()
-
-    # Force SSE2 fp on x86 builds.
-    if (WTF_CPU_X86 AND NOT CMAKE_CROSSCOMPILING)
-        WEBKIT_PREPEND_GLOBAL_COMPILER_FLAGS(-msse2 -mfpmath=sse)
-        include(DetectSSE2)
-        if (NOT SSE2_SUPPORT_FOUND)
-            message(FATAL_ERROR "SSE2 support is required to compile WebKit")
-        endif ()
-    endif ()
 endif ()
 
 if (COMPILER_IS_GCC_OR_CLANG AND NOT MSVC)
++++++ webkit2gtk3-restore-npapi.patch ++++++
++++ 3296 lines (skipped)

Reply via email to