Kevin Kofler 17d0457
Kevin Kofler 17d0457
%global qt_module qtwebengine
Kevin Kofler 17d0457
Kevin Kofler 17d0457
%global _hardened_build 1
Kevin Kofler 17d0457
Rex Dieter 83336fe
# define to build docs, need to undef this for bootstrapping
Rex Dieter 83336fe
# where qt5-qttools (qt5-doctools) builds are not yet available
Rex Dieter 72d1dd5
# disable on f27+ or where Qt-5.9 is present (for now)
Rex Dieter 72d1dd5
%if 0%{?fedora} < 27
Rex Dieter 83336fe
%global docs 1
Rex Dieter 72d1dd5
%endif
Rex Dieter 83336fe
Kevin Kofler c87d486
%if 0%{?fedora} > 24
Kevin Kofler c87d486
# need libvpx >= 1.6.0
Kevin Kofler 0b8bca0
%global use_system_libvpx 1
Kevin Kofler 0b8bca0
%endif
Kevin Kofler 778be18
%if 0%{?fedora} > 23
Kevin Kofler c87d486
# need libwebp >= 0.5.1
Kevin Kofler 0b8bca0
%global use_system_libwebp 1
Kevin Kofler 0b8bca0
%endif
Kevin Kofler 0b8bca0
Kevin Kofler 3a314c6
# NEON support on ARM (detected at runtime) - disable this if you are hitting
Kevin Kofler 3a314c6
# FTBFS due to e.g. GCC bug https://bugzilla.redhat.com/show_bug.cgi?id=1282495
Kevin Kofler 3a314c6
%global arm_neon 1
Kevin Kofler 3a314c6
Kevin Kofler 4596e73
#global prerelease rc
Kevin Kofler 17d0457
Kevin Kofler d3327ed
# spellchecking dictionary directory
Kevin Kofler d3327ed
%global _qtwebengine_dictionaries_dir %{_qt5_datadir}/qtwebengine_dictionaries
Kevin Kofler d3327ed
Rex Dieter b72c3e9
%global rpm_macros_dir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
Rex Dieter b72c3e9
Kevin Kofler fa42c47
# exclude plugins (all architectures) and libv8.so (i686, it's static everywhere
Kevin Kofler fa42c47
# else)
Kevin Kofler fa42c47
%global __provides_exclude ^lib.*plugin\\.so.*|libv8\\.so$
Kevin Kofler fa42c47
# exclude libv8.so (i686, it's static everywhere else)
Kevin Kofler fa42c47
%global __requires_exclude ^libv8\\.so$
Rex Dieter 75f724a
# and designer plugins
Rex Dieter 75f724a
%global __provides_exclude_from ^%{_qt5_plugindir}/.*\\.so$
Kevin Kofler fa42c47
Kevin Kofler 17d0457
Summary: Qt5 - QtWebEngine components
Kevin Kofler 17d0457
Name:    qt5-qtwebengine
Kevin Kofler c87d486
Version: 5.9.0
Kevin Kofler c87d486
Release: 1%{?dist}
Kevin Kofler 17d0457
Kevin Kofler 17d0457
# See LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt, for details
Rex Dieter 83336fe
# See also http://qt-project.org/doc/qt-5.0/qtdoc/licensing.html
Kevin Kofler 17d0457
# The other licenses are from Chromium and the code it bundles
Kevin Kofler 9a15e3c
License: (LGPLv2 with exceptions or GPLv3 with exceptions) and BSD and LGPLv2+ and ASL 2.0 and IJG and MIT and GPLv2+ and ISC and OpenSSL and (MPLv1.1 or GPLv2 or LGPLv2)
Kevin Kofler 17d0457
URL:     http://www.qt.io
Kevin Kofler 17d0457
# cleaned tarball with patent-encumbered codecs removed from the bundled FFmpeg
Kevin Kofler c87d486
# wget http://download.qt.io/official_releases/qt/5.9/5.9.0/submodules/qtwebengine-opensource-src-5.9.0.tar.xz
Kevin Kofler c87d486
# ./clean_qtwebengine.sh 5.9.0
Kevin Kofler c815122
Source0: qtwebengine-opensource-src-%{version}-clean.tar.xz
Kevin Kofler 17d0457
# cleanup scripts used above
Kevin Kofler 17d0457
Source1: clean_qtwebengine.sh
Kevin Kofler 17d0457
Source2: clean_ffmpeg.sh
Kevin Kofler 778be18
Source3: get_free_ffmpeg_source_files.py
Rex Dieter b72c3e9
# macros
Rex Dieter b72c3e9
Source10: macros.qt5-qtwebengine
Kevin Kofler c815122
# some tweaks to linux.pri (system libs, link libpci, run unbundling script)
Kevin Kofler c87d486
Patch0:  qtwebengine-opensource-src-5.9.0-linux-pri.patch
Kevin Kofler c815122
# quick hack to avoid checking for the nonexistent icudtl.dat and silence the
Kevin Kofler c815122
# resulting warnings - not upstreamable as is because it removes the fallback
Kevin Kofler c815122
# mechanism for the ICU data directory (which is not used in our builds because
Kevin Kofler c815122
# we use the system ICU, which embeds the data statically) completely
Kevin Kofler c815122
Patch1:  qtwebengine-opensource-src-5.6.0-no-icudtl-dat.patch
Kevin Kofler c815122
# fix extractCFlag to also look in QMAKE_CFLAGS_RELEASE, needed to detect the
Kevin Kofler c815122
# ARM flags with our %%qmake_qt5 macro, including for the next patch
Kevin Kofler c87d486
Patch2:  qtwebengine-opensource-src-5.9.0-fix-extractcflag.patch
Kevin Kofler c815122
# disable NEON vector instructions on ARM where the NEON code FTBFS due to
Kevin Kofler c815122
# GCC bug https://bugzilla.redhat.com/show_bug.cgi?id=1282495
Kevin Kofler c87d486
Patch3:  qtwebengine-opensource-src-5.9.0-no-neon.patch
Kevin Kofler d3940c7
# use the system NSPR prtime (based on Debian patch)
Kevin Kofler d3940c7
# We already depend on NSPR, so it is useless to copy these functions here.
Kevin Kofler d3940c7
# Debian uses this just fine, and I don't see relevant modifications either.
Kevin Kofler c87d486
Patch4:  qtwebengine-opensource-src-5.9.0-system-nspr-prtime.patch
Kevin Kofler d3940c7
# use the system ICU UTF functions
Kevin Kofler d3940c7
# We already depend on ICU, so it is useless to copy these functions here.
Kevin Kofler d3940c7
# I checked the history of that directory, and other than the renames I am
Kevin Kofler c87d486
# undoing, there were no modifications at all. Must be applied after Patch4.
Kevin Kofler c87d486
Patch5:  qtwebengine-opensource-src-5.9.0-system-icu-utf.patch
Kevin Kofler 6d0400b
# do not require SSE2 on i686
Kevin Kofler 6d0400b
# cumulative revert of upstream reviews 187423002, 308003004, 511773002 (parts
Kevin Kofler 6d0400b
# relevant to QtWebEngine only), 516543004, 1152053004 and 1161853008, along
Kevin Kofler 6d0400b
# with some custom fixes and improvements
Kevin Kofler a41ab0a
# also build V8 shared and twice on i686 (once for x87, once for SSE2)
Kevin Kofler c87d486
Patch6:  qtwebengine-opensource-src-5.9.0-no-sse2.patch
Kevin Kofler c87d486
# fix missing ARM -mfpu setting
Kevin Kofler c87d486
Patch9:  qtwebengine-opensource-src-5.9.0-arm-fpu-fix.patch
Kevin Kofler 80fa434
# remove Android dependencies from openmax_dl ARM NEON detection (detect.c)
Kevin Kofler c87d486
Patch10: qtwebengine-opensource-src-5.9.0-openmax-dl-neon.patch
Kevin Kofler c87d486
# restore NEON runtime detection in Skia: revert upstream review 1952953004,
Kevin Kofler c87d486
# restore the non-Android Linux NEON runtime detection code lost in upstream
Kevin Kofler c87d486
# review 1890483002, also add VFPv4 runtime detection
Kevin Kofler c87d486
Patch11: qtwebengine-opensource-src-5.9.0-skia-neon.patch
Kevin Kofler c815122
# webrtc: enable the CPU feature detection for ARM Linux also for Chromium
Kevin Kofler c87d486
Patch12: qtwebengine-opensource-src-5.9.0-webrtc-neon-detect.patch
Kevin Kofler c815122
# FTBFS using qt < 5.8
Kevin Kofler c815122
Patch20: qtwebengine-opensource-src-5.8.0-qt57.patch
Kevin Kofler eb0dbd1
# Force verbose output from the GN bootstrap process
Kevin Kofler eb0dbd1
Patch21: qtwebengine-opensource-src-5.9.0-gn-bootstrap-verbose.patch
Kevin Kofler ac7d2ae
# Fix src/3rdparty/chromium/build/linux/unbundle/re2.gn
Kevin Kofler ac7d2ae
Patch22: qtwebengine-opensource-src-5.9.0-system-re2.patch
Kevin Kofler 9dda045
# Backport upstream patch to fix GN FTBFS on aarch64 (QTBUG-61128)
Kevin Kofler 9dda045
# https://codereview.qt-project.org/196178
Kevin Kofler 9dda045
Patch100: qtwebengine-opensource-src-5.9.0-gn-aarch64.patch
Kevin Kofler 0b8f82e
# Backport patch to fix FTBFS with GCC on aarch64 from upstream Chromium
Kevin Kofler 0b8f82e
# https://codereview.chromium.org/2545053002
Kevin Kofler 0b8f82e
Patch101: qtwebengine-opensource-src-5.9.0-aarch64-gcc-toolchain.patch
Kevin Kofler 944ce12
Kevin Kofler 944ce12
%if 0%{?fedora} && 0%{?fedora} < 25
Kevin Kofler 944ce12
# work around missing qt5_qtwebengine_arches macro on F24
Kevin Kofler 944ce12
%{!?qt5_qtwebengine_arches:%global qt5_qtwebengine_arches %{ix86} x86_64 %{arm} aarch64 mips mipsel mips64el}
Kevin Kofler 944ce12
%endif
Kevin Kofler 17d0457
Rex Dieter 89d84b5
# handled by qt5-srpm-macros, which defines %%qt5_qtwebengine_arches
Rex Dieter 89d84b5
ExclusiveArch: %{qt5_qtwebengine_arches}
Kevin Kofler 632ea2d
Rex Dieter a9c34c5
BuildRequires: qt5-qtbase-devel
Rex Dieter 3ae0724
BuildRequires: qt5-qtbase-private-devel
Rex Dieter 87609ad
# TODO: check of = is really needed or if >= would be good enough -- rex
Rex Dieter 3ae0724
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
Rex Dieter a9c34c5
BuildRequires: qt5-qtdeclarative-devel
Rex Dieter a9c34c5
BuildRequires: qt5-qtxmlpatterns-devel
Rex Dieter a9c34c5
BuildRequires: qt5-qtlocation-devel
Rex Dieter a9c34c5
BuildRequires: qt5-qtsensors-devel
Rex Dieter a9c34c5
BuildRequires: qt5-qtwebchannel-devel
Rex Dieter a9c34c5
BuildRequires: qt5-qttools-static
Kevin Kofler 17d0457
BuildRequires: ninja-build
Rex Dieter 2cc6774
BuildRequires: cmake
Kevin Kofler 17d0457
BuildRequires: bison
Rex Dieter 1c39d15
BuildRequires: git-core
Kevin Kofler 17d0457
BuildRequires: gperf
Kevin Kofler 17d0457
BuildRequires: libicu-devel
Kevin Kofler 17d0457
BuildRequires: libjpeg-devel
Kevin Kofler 17d0457
BuildRequires: re2-devel
Kevin Kofler 17d0457
BuildRequires: snappy-devel
Kevin Kofler 17d0457
%ifarch %{ix86} x86_64
Kevin Kofler 17d0457
BuildRequires: yasm
Kevin Kofler 17d0457
%endif
Kevin Kofler 17d0457
BuildRequires: pkgconfig(expat)
Kevin Kofler 17d0457
BuildRequires: pkgconfig(gobject-2.0)
Kevin Kofler 17d0457
BuildRequires: pkgconfig(glib-2.0)
Kevin Kofler 17d0457
BuildRequires: pkgconfig(fontconfig)
Kevin Kofler 17d0457
BuildRequires: pkgconfig(freetype2)
Kevin Kofler 17d0457
BuildRequires: pkgconfig(gl)
Kevin Kofler 17d0457
BuildRequires: pkgconfig(egl)
Kevin Kofler 17d0457
BuildRequires: pkgconfig(libpng)
Kevin Kofler 17d0457
BuildRequires: pkgconfig(libudev)
Kevin Kofler 0b8bca0
%if 0%{?use_system_libwebp}
Kevin Kofler c87d486
BuildRequires: pkgconfig(libwebp) >= 0.5.1
Kevin Kofler 17d0457
%endif
Kevin Kofler 17d0457
BuildRequires: pkgconfig(harfbuzz)
Kevin Kofler 17d0457
BuildRequires: pkgconfig(libdrm)
Kevin Kofler 17d0457
BuildRequires: pkgconfig(opus)
Kevin Kofler 17d0457
BuildRequires: pkgconfig(libevent)
Kevin Kofler 17d0457
BuildRequires: pkgconfig(zlib)
Kevin Kofler 17d0457
BuildRequires: pkgconfig(minizip)
Kevin Kofler 17d0457
BuildRequires: pkgconfig(x11)
Kevin Kofler 17d0457
BuildRequires: pkgconfig(xi)
Kevin Kofler 17d0457
BuildRequires: pkgconfig(xcursor)
Kevin Kofler 17d0457
BuildRequires: pkgconfig(xext)
Kevin Kofler 17d0457
BuildRequires: pkgconfig(xfixes)
Kevin Kofler 17d0457
BuildRequires: pkgconfig(xrender)
Kevin Kofler 17d0457
BuildRequires: pkgconfig(xdamage)
Kevin Kofler 17d0457
BuildRequires: pkgconfig(xcomposite)
Kevin Kofler 17d0457
BuildRequires: pkgconfig(xtst)
Kevin Kofler 17d0457
BuildRequires: pkgconfig(xrandr)
Kevin Kofler 17d0457
BuildRequires: pkgconfig(xscrnsaver)
Kevin Kofler 17d0457
BuildRequires: pkgconfig(libcap)
Kevin Kofler 17d0457
BuildRequires: pkgconfig(libpulse)
Kevin Kofler 17d0457
BuildRequires: pkgconfig(alsa)
Kevin Kofler 17d0457
BuildRequires: pkgconfig(libpci)
Kevin Kofler 17d0457
BuildRequires: pkgconfig(dbus-1)
Kevin Kofler 17d0457
BuildRequires: pkgconfig(nss)
Kevin Kofler 17d0457
BuildRequires: perl
Kevin Kofler 17d0457
BuildRequires: python
Kevin Kofler 0b8bca0
%if 0%{?use_system_libvpx}
Kevin Kofler c87d486
BuildRequires: pkgconfig(vpx) >= 1.6.0
Kevin Kofler 0b8bca0
%endif
Kevin Kofler 17d0457
Kevin Kofler 17d0457
# extra (non-upstream) functions needed, see
Kevin Kofler 17d0457
# src/3rdparty/chromium/third_party/sqlite/README.chromium for details
Kevin Kofler 17d0457
#BuildRequires: pkgconfig(sqlite3)
Kevin Kofler 17d0457
Kevin Kofler 17d0457
## Various bundled libraries that Chromium does not support unbundling :-(
Kevin Kofler 17d0457
## Only the parts actually built are listed.
Kevin Kofler 17d0457
## Query for candidates:
Kevin Kofler 17d0457
## grep third_party/ build.log | sed 's!third_party/!\nthird_party/!g' | \
Kevin Kofler 17d0457
## grep third_party/ | sed 's!^third_party/!!g' | sed 's!/.*$!!g' | \
Kevin Kofler 17d0457
## sed 's/\;.*$//g' | sed 's/ .*$//g' | sort | uniq | less
Kevin Kofler 17d0457
## some false positives where only shim headers are generated for some reason
Kevin Kofler 17d0457
## some false positives with dummy placeholder dirs (swiftshader, widevine)
Kevin Kofler 17d0457
## some false negatives where a header-only library is bundled (e.g. x86inc)
Kevin Kofler 17d0457
## Spot's chromium.spec also has a list that I checked.
Kevin Kofler 17d0457
Kevin Kofler 17d0457
# Of course, Chromium itself is bundled. It cannot be unbundled because it is
Kevin Kofler 17d0457
# not a library, but forked (modified) application code.
Kevin Kofler c87d486
# Some security fixes (up to version 58.0.3029.96) are backported, see:
Kevin Kofler c87d486
# http://code.qt.io/cgit/qt/qtwebengine-chromium.git/log/?h=56-based
Kevin Kofler c87d486
# see dist/changes-5.9.0 for the version numbers (base, security fixes) and for
Kevin Kofler 944ce12
# a list of CVEs fixed by the added security backports
Kevin Kofler c87d486
Provides: bundled(chromium) = 56.0.2924.122
Kevin Kofler 17d0457
Kevin Kofler 17d0457
# Bundled in src/3rdparty/chromium/third_party:
Kevin Kofler 17d0457
# Check src/3rdparty/chromium/third_party/*/README.chromium for version numbers,
Kevin Kofler 17d0457
# except where specified otherwise.
Kevin Kofler 17d0457
Provides: bundled(angle) = 2422
Kevin Kofler 9a15e3c
# Google's fork of OpenSSL
Kevin Kofler 9a15e3c
# We cannot build against NSS instead because it no longer works with NSS 3.21:
Kevin Kofler 9a15e3c
# HTTPS on, ironically, Google's sites (Google, YouTube, etc.) stops working
Kevin Kofler 9a15e3c
# completely and produces only ERR_SSL_PROTOCOL_ERROR errors:
Kevin Kofler 9a15e3c
# http://kaosx.us/phpBB3/viewtopic.php?t=1235
Kevin Kofler 9a15e3c
# https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1520568
Kevin Kofler 778be18
# So we have to do what Chromium now defaults to (since 47): a "chimera build",
Kevin Kofler 778be18
# i.e., use the BoringSSL code and the system NSS certificates.
Kevin Kofler 9a15e3c
Provides: bundled(boringssl)
Kevin Kofler 17d0457
Provides: bundled(brotli)
Kevin Kofler 17d0457
# Don't get too excited. MPEG and other legally problematic stuff is stripped
Kevin Kofler 778be18
# out. See clean_qtwebengine.sh, clean_ffmpeg.sh, and
Kevin Kofler 778be18
# get_free_ffmpeg_source_files.py.
Kevin Kofler 17d0457
# see src/3rdparty/chromium/third_party/ffmpeg/Changelog for the version number
Kevin Kofler c87d486
Provides: bundled(ffmpeg) = 3.1
Kevin Kofler c87d486
Provides: bundled(hunspell) = 1.3.2
Kevin Kofler 17d0457
Provides: bundled(iccjpeg)
Kevin Kofler 17d0457
# bundled as "khronos", headers only
Kevin Kofler 17d0457
Provides: bundled(khronos_headers)
Kevin Kofler 17d0457
# bundled as "leveldatabase"
Kevin Kofler 778be18
Provides: bundled(leveldb)
Kevin Kofler 944ce12
Provides: bundled(libjingle) = 12750
Kevin Kofler c87d486
# see src/3rdparty/chromium/third_party/libsrtp/CHANGES for the version number
Kevin Kofler c87d486
Provides: bundled(libsrtp) = 1.5.2
Kevin Kofler 0b8bca0
%if !0%{?use_system_libvpx}
Kevin Kofler c87d486
Provides: bundled(libvpx) = 1.6.0
Kevin Kofler 0b8bca0
%endif
Kevin Kofler 0b8bca0
%if !0%{?use_system_libwebp}
Kevin Kofler c87d486
Provides: bundled(libwebp) = 0.5.1
Kevin Kofler 0b8bca0
%endif
Kevin Kofler c3ca37c
# see src/3rdparty/chromium/third_party/libxml/linux/include/libxml/xmlversion.h
Kevin Kofler c3ca37c
Provides: bundled(libxml2) = 2.9.4
Kevin Kofler c3ca37c
# see src/3rdparty/chromium/third_party/libxslt/libxslt/xsltconfig.h for version
Kevin Kofler c3ca37c
Provides: bundled(libxslt) = 1.1.29
Kevin Kofler 17d0457
Provides: bundled(libXNVCtrl) = 302.17
Kevin Kofler c87d486
Provides: bundled(libyuv) = 1634
Kevin Kofler 17d0457
Provides: bundled(modp_b64)
Kevin Kofler 17d0457
Provides: bundled(mojo)
Kevin Kofler 17d0457
# headers only
Kevin Kofler 17d0457
Provides: bundled(npapi)
Kevin Kofler 17d0457
Provides: bundled(openmax_dl) = 1.0.2
Kevin Kofler 17d0457
Provides: bundled(ots)
Kevin Kofler c87d486
# see src/3rdparty/chromium/third_party/protobuf/CHANGES.txt for the version
Kevin Kofler c87d486
Provides: bundled(protobuf) = 3.0.0-0.1.beta3
Kevin Kofler 17d0457
Provides: bundled(qcms) = 4
Kevin Kofler 778be18
Provides: bundled(sfntly)
Kevin Kofler 17d0457
Provides: bundled(skia)
Kevin Kofler 17d0457
# bundled as "smhasher"
Kevin Kofler 17d0457
Provides: bundled(SMHasher) = 0-0.1.svn147
Kevin Kofler c87d486
Provides: bundled(sqlite) = 3.10.2
Kevin Kofler 778be18
Provides: bundled(usrsctp)
Kevin Kofler 17d0457
Provides: bundled(webrtc) = 90
Kevin Kofler 0b8bca0
%ifarch %{ix86} x86_64
Kevin Kofler 17d0457
# header (for assembly) only
Kevin Kofler 17d0457
Provides: bundled(x86inc) = 0
Kevin Kofler 0b8bca0
%endif
Kevin Kofler 17d0457
Kevin Kofler 17d0457
# Bundled in src/3rdparty/chromium/base/third_party:
Kevin Kofler 17d0457
# Check src/3rdparty/chromium/third_party/base/*/README.chromium for version
Kevin Kofler 17d0457
# numbers, except where specified otherwise.
Kevin Kofler 17d0457
Provides: bundled(dmg_fp)
Kevin Kofler 17d0457
Provides: bundled(dynamic_annotations) = 4384
Kevin Kofler 17d0457
Provides: bundled(superfasthash) = 0
Kevin Kofler 17d0457
Provides: bundled(symbolize)
Kevin Kofler 17d0457
# bundled as "valgrind", headers only
Kevin Kofler 17d0457
Provides: bundled(valgrind.h)
Kevin Kofler 17d0457
# bundled as "xdg_mime"
Kevin Kofler 17d0457
Provides: bundled(xdg-mime)
Kevin Kofler 17d0457
# bundled as "xdg_user_dirs"
Kevin Kofler 17d0457
Provides: bundled(xdg-user-dirs) = 0.10
Kevin Kofler 17d0457
Kevin Kofler 17d0457
# Bundled in src/3rdparty/chromium/net/third_party:
Kevin Kofler 17d0457
# Check src/3rdparty/chromium/third_party/net/*/README.chromium for version
Kevin Kofler 17d0457
# numbers, except where specified otherwise.
Kevin Kofler 17d0457
Provides: bundled(mozilla_security_manager) = 1.9.2
Kevin Kofler 17d0457
Kevin Kofler 17d0457
# Bundled in src/3rdparty/chromium/url/third_party:
Kevin Kofler 17d0457
# Check src/3rdparty/chromium/third_party/url/*/README.chromium for version
Kevin Kofler 17d0457
# numbers, except where specified otherwise.
Kevin Kofler 17d0457
# bundled as "mozilla", file renamed and modified
Kevin Kofler 17d0457
Provides: bundled(nsURLParsers)
Kevin Kofler 17d0457
Kevin Kofler 17d0457
# Bundled outside of third_party, apparently not considered as such by Chromium:
Kevin Kofler 17d0457
# see src/3rdparty/chromium/v8/include/v8_version.h for the version number
Kevin Kofler c87d486
Provides: bundled(v8) = 5.6.326.55
Kevin Kofler c87d486
# bundled by v8 (src/3rdparty/chromium/v8/src/base/ieee754.cc)
Kevin Kofler c87d486
# The version number is 5.3, the last version that upstream released, years ago:
Kevin Kofler c87d486
# http://www.netlib.org/fdlibm/readme
Kevin Kofler 17d0457
Provides: bundled(fdlibm) = 5.3
Kevin Kofler 17d0457
Kevin Kofler 80fa434
%{?_qt5_version:Requires: qt5-qtbase%{?_isa} = %{_qt5_version}}
Kevin Kofler 17d0457
Kevin Kofler 17d0457
Kevin Kofler 17d0457
%description
Kevin Kofler 17d0457
%{summary}.
Kevin Kofler 17d0457
Kevin Kofler 17d0457
%package devel
Kevin Kofler 17d0457
Summary: Development files for %{name}
Kevin Kofler 17d0457
Requires: %{name}%{?_isa} = %{version}-%{release}
Kevin Kofler 17d0457
Requires: qt5-qtbase-devel%{?_isa}
Kevin Kofler 17d0457
Requires: qt5-qtdeclarative-devel%{?_isa}
Kevin Kofler 17d0457
%description devel
Kevin Kofler 17d0457
%{summary}.
Kevin Kofler 17d0457
Kevin Kofler 17d0457
%package examples
Kevin Kofler 17d0457
Summary: Example files for %{name}
Kevin Kofler 17d0457
Kevin Kofler 17d0457
%description examples
Kevin Kofler 17d0457
%{summary}.
Kevin Kofler 17d0457
Rex Dieter 83336fe
Rex Dieter 83336fe
%if 0%{?docs}
Rex Dieter 83336fe
%package doc
Rex Dieter 83336fe
Summary: API documentation for %{name}
Rex Dieter 83336fe
BuildRequires: qt5-qdoc
Rex Dieter 83336fe
BuildRequires: qt5-qhelpgenerator
Rex Dieter 83336fe
BuildRequires: qt5-qtbase-doc
Rex Dieter 83336fe
Requires: qt5-qtbase-doc
Rex Dieter 83336fe
BuildRequires: qt5-qtxmlpatterns-doc
Rex Dieter 83336fe
Requires: qt5-qtxmlpatterns-doc
Rex Dieter 83336fe
BuildRequires: qt5-qtdeclarative-doc
Rex Dieter 83336fe
Requires: qt5-qtdeclarative-doc
Rex Dieter 83336fe
BuildArch: noarch
Rex Dieter 83336fe
%description doc
Rex Dieter 83336fe
%{summary}.
Rex Dieter 83336fe
%endif
Rex Dieter 83336fe
Rex Dieter 83336fe
Kevin Kofler 17d0457
%prep
Kevin Kofler c815122
%setup -q -n %{qt_module}-opensource-src-%{version}%{?prerelease:-%{prerelease}}
Kevin Kofler c815122
%patch0 -p1 -b .linux-pri
Kevin Kofler c815122
%patch1 -p1 -b .no-icudtl-dat
Kevin Kofler c815122
%patch2 -p1 -b .fix-extractcflag
Kevin Kofler c87d486
%if !0%{?arm_neon}
Kevin Kofler c815122
%patch3 -p1 -b .no-neon
cb70d95
%endif
Kevin Kofler c815122
%patch4 -p1 -b .system-nspr-prtime
Kevin Kofler c815122
%patch5 -p1 -b .system-icu-utf
Kevin Kofler c815122
%patch6 -p1 -b .no-sse2
Kevin Kofler c87d486
%patch9 -p1 -b .arm-fpu-fix
Kevin Kofler c815122
%patch10 -p1 -b .openmax-dl-neon
Kevin Kofler c815122
%patch11 -p1 -b .skia-neon
Kevin Kofler c815122
%patch12 -p1 -b .webrtc-neon-detect
Kevin Kofler c815122
%patch20 -p1 -b .qt57
Kevin Kofler eb0dbd1
%patch21 -p1 -b .gn-bootstrap-verbose
Kevin Kofler ac7d2ae
%patch22 -p1 -b .system-re2
Kevin Kofler 9dda045
%patch100 -p1 -b .gn-aarch64
Kevin Kofler 0b8f82e
%patch101 -p1 -b .aarch64-gcc-toolchain
Kevin Kofler 9659c06
# fix // in #include in content/renderer/gpu to avoid debugedit failure
Kevin Kofler 9659c06
sed -i -e 's!gpu//!gpu/!g' \
Kevin Kofler 9659c06
  src/3rdparty/chromium/content/renderer/gpu/compositor_forwarding_message_filter.cc
Kevin Kofler 9659c06
# remove ./ from #line commands in ANGLE to avoid debugedit failure (?)
Kevin Kofler 94d8130
sed -i -e 's!\./!!g' \
Kevin Kofler 94d8130
  src/3rdparty/chromium/third_party/angle/src/compiler/preprocessor/Tokenizer.cpp \
Kevin Kofler 94d8130
  src/3rdparty/chromium/third_party/angle/src/compiler/translator/glslang_lex.cpp
Kevin Kofler 17d0457
Rex Dieter efad6cc
# http://bugzilla.redhat.com/1337585
Rex Dieter efad6cc
# can't just delete, but we'll overwrite with system headers to be on the safe side
Kevin Kofler 8ba2df5
cp -bv /usr/include/re2/*.h src/3rdparty/chromium/third_party/re2/src/re2/
Rex Dieter efad6cc
Kevin Kofler c87d486
%ifarch x86_64
Kevin Kofler 4fe7f89
# most arches run out of memory with full debuginfo, so use -g1 on non-x86_64
Kevin Kofler c87d486
# (which is now the upstream default), force -g2 on x86_64
Kevin Kofler c87d486
sed -i -e 's/symbol_level=1/symbol_level=2/g' src/core/config/common.pri
Kevin Kofler 4fe7f89
%endif
Kevin Kofler 4fe7f89
Kevin Kofler 944ce12
# generate qtwebengine-3rdparty.qdoc, it is missing from the tarball
Kevin Kofler 944ce12
pushd src/3rdparty
Kevin Kofler 944ce12
python chromium/tools/licenses.py \
Kevin Kofler 944ce12
  --file-template ../../tools/about_credits.tmpl \
Kevin Kofler 944ce12
  --entry-template ../../tools/about_credits_entry.tmpl \
Kevin Kofler 944ce12
  credits >../webengine/doc/src/qtwebengine-3rdparty.qdoc
Kevin Kofler 944ce12
popd
Kevin Kofler 944ce12
Kevin Kofler 4dfda4a
# copy the Chromium license so it is installed with the appropriate name
Kevin Kofler 4dfda4a
cp -p src/3rdparty/chromium/LICENSE LICENSE.Chromium
Kevin Kofler 4dfda4a
Kevin Kofler 17d0457
%build
Kevin Kofler 17d0457
export STRIP=strip
Kevin Kofler 17d0457
export NINJAFLAGS="-v %{_smp_mflags}"
Kevin Kofler 17d0457
export NINJA_PATH=%{_bindir}/ninja-build
Kevin Kofler 17d0457
Kevin Kofler 17d0457
mkdir %{_target_platform}
Kevin Kofler 17d0457
pushd %{_target_platform}
Kevin Kofler 17d0457
Kevin Kofler e83ec10
%{qmake_qt5} CONFIG+="webcore_debug v8base_debug force_debug_info" \
Kevin Kofler c87d486
  WEBENGINE_CONFIG+="use_system_icu use_spellchecker" ..
Kevin Kofler 49294d0
Kevin Kofler 17d0457
make %{?_smp_mflags}
Kevin Kofler 17d0457
Rex Dieter 83336fe
%if 0%{?docs}
Rex Dieter 83336fe
make %{?_smp_mflags} docs
Rex Dieter 83336fe
%endif
Rex Dieter 83336fe
popd
Rex Dieter 83336fe
Kevin Kofler 17d0457
%install
Kevin Kofler 17d0457
make install INSTALL_ROOT=%{buildroot} -C %{_target_platform}
Kevin Kofler 17d0457
Rex Dieter 83336fe
%if 0%{?docs}
Rex Dieter 83336fe
make install_docs INSTALL_ROOT=%{buildroot} -C %{_target_platform}
Rex Dieter 83336fe
%endif
Rex Dieter 83336fe
Rex Dieter b72c3e9
# rpm macros
Rex Dieter b72c3e9
install -p -m644 -D %{SOURCE10} \
Rex Dieter b72c3e9
  %{buildroot}%{rpm_macros_dir}/macros.qt5-qtwebengine
Rex Dieter b72c3e9
sed -i \
Rex Dieter b72c3e9
  -e "s|@@NAME@@|%{name}|g" \
Rex Dieter b72c3e9
  -e "s|@@EPOCH@@|%{?epoch}%{!?epoch:0}|g" \
Rex Dieter b72c3e9
  -e "s|@@VERSION@@|%{version}|g" \
Rex Dieter b72c3e9
  -e "s|@@EVR@@|%{?epoch:%{epoch:}}%{version}-%{release}|g" \
Rex Dieter b72c3e9
  %{buildroot}%{rpm_macros_dir}/macros.qt5-qtwebengine
Rex Dieter b72c3e9
Kevin Kofler 944ce12
# hardlink files to {_bindir}
Rex Dieter a9c34c5
mkdir -p %{buildroot}%{_bindir}
Kevin Kofler 944ce12
pushd %{buildroot}%{_qt5_bindir}
Kevin Kofler 944ce12
for i in * ; do
Kevin Kofler 944ce12
  ln -v  ${i} %{buildroot}%{_bindir}/${i}
Kevin Kofler 944ce12
done
Kevin Kofler 944ce12
popd
Kevin Kofler 944ce12
Kevin Kofler 17d0457
## .prl/.la file love
Kevin Kofler 17d0457
# nuke .prl reference(s) to %%buildroot, excessive (.la-like) libs
Kevin Kofler 17d0457
pushd %{buildroot}%{_qt5_libdir}
Kevin Kofler 17d0457
for prl_file in libQt5*.prl ; do
Kevin Kofler 17d0457
  sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" ${prl_file}
Kevin Kofler 17d0457
  if [ -f "$(basename ${prl_file} .prl).so" ]; then
Kevin Kofler 17d0457
    rm -fv "$(basename ${prl_file} .prl).la"
Kevin Kofler 17d0457
    sed -i -e "/^QMAKE_PRL_LIBS/d" ${prl_file}
Kevin Kofler 17d0457
  fi
Kevin Kofler 17d0457
done
Kevin Kofler 17d0457
popd
Kevin Kofler 17d0457
Kevin Kofler d3327ed
mkdir -p %{buildroot}%{_qtwebengine_dictionaries_dir}
Kevin Kofler d3327ed
Rex Dieter 9fcae6a
# adjust cmake dep(s) to allow for using the same Qt5 that was used to build it
Rex Dieter 9fcae6a
# only if older... (I suppose what we really want is the lesser of %%version, %%_qt5_version)
Rex Dieter f109527
%if 0%{?fedora} < 27
Rex Dieter 217b1bf
sed -i -e "s|%{version} \${_Qt5WebEngine|%{_qt5_version} \${_Qt5WebEngine|" \
Rex Dieter 217b1bf
  %{buildroot}%{_qt5_libdir}/cmake/Qt5WebEngine*/Qt5WebEngine*Config.cmake
Rex Dieter f109527
%endif
Rex Dieter 9ecb278
Rex Dieter 9ecb278
Kevin Kofler 17d0457
%post -p /sbin/ldconfig
Kevin Kofler 17d0457
%postun -p /sbin/ldconfig
Kevin Kofler 17d0457
Kevin Kofler d3327ed
%filetriggerin -- %{_datadir}/myspell
Kevin Kofler d3327ed
while read filename ; do
Kevin Kofler d3327ed
  case "$filename" in
Kevin Kofler d3327ed
    *.dic)
Kevin Kofler d3327ed
      bdicname=%{_qtwebengine_dictionaries_dir}/`basename -s .dic "$filename"`.bdic
Kevin Kofler 0041669
      %{_qt5_bindir}/qwebengine_convert_dict "$filename" "$bdicname" &> /dev/null || :
Kevin Kofler d3327ed
      ;;
Kevin Kofler d3327ed
  esac
Kevin Kofler d3327ed
done
Kevin Kofler d3327ed
Kevin Kofler 17d0457
%files
Kevin Kofler 4dfda4a
%license LICENSE.* src/webengine/doc/src/qtwebengine-3rdparty.qdoc
Kevin Kofler 17d0457
%{_qt5_libdir}/libQt5*.so.*
Kevin Kofler 944ce12
%{_bindir}/qwebengine_convert_dict
Kevin Kofler 944ce12
%{_qt5_bindir}/qwebengine_convert_dict
Kevin Kofler 17d0457
%{_qt5_libdir}/qt5/qml/*
Kevin Kofler 17d0457
%{_qt5_libdir}/qt5/libexec/QtWebEngineProcess
Kevin Kofler 24bef19
%ifarch %{ix86}
Kevin Kofler 24bef19
# shared V8 library and its SSE2 version
Kevin Kofler 24bef19
%{_qt5_libdir}/qtwebengine/
Kevin Kofler 24bef19
%endif
Kevin Kofler 6d2db9a
%{_qt5_plugindir}/designer/libqwebengineview.so
Kevin Kofler b6bc154
%{_qt5_datadir}/resources/
Kevin Kofler d3327ed
%dir %{_qtwebengine_dictionaries_dir}
Kevin Kofler b6bc154
%dir %{_qt5_translationdir}/qtwebengine_locales
Kevin Kofler b6bc154
%lang(am) %{_qt5_translationdir}/qtwebengine_locales/am.pak
Kevin Kofler b6bc154
%lang(ar) %{_qt5_translationdir}/qtwebengine_locales/ar.pak
Kevin Kofler b6bc154
%lang(bg) %{_qt5_translationdir}/qtwebengine_locales/bg.pak
Kevin Kofler b6bc154
%lang(bn) %{_qt5_translationdir}/qtwebengine_locales/bn.pak
Kevin Kofler b6bc154
%lang(ca) %{_qt5_translationdir}/qtwebengine_locales/ca.pak
Kevin Kofler b6bc154
%lang(cs) %{_qt5_translationdir}/qtwebengine_locales/cs.pak
Kevin Kofler b6bc154
%lang(da) %{_qt5_translationdir}/qtwebengine_locales/da.pak
Kevin Kofler b6bc154
%lang(de) %{_qt5_translationdir}/qtwebengine_locales/de.pak
Kevin Kofler b6bc154
%lang(el) %{_qt5_translationdir}/qtwebengine_locales/el.pak
Kevin Kofler b6bc154
%lang(en) %{_qt5_translationdir}/qtwebengine_locales/en-GB.pak
Kevin Kofler b6bc154
%lang(en) %{_qt5_translationdir}/qtwebengine_locales/en-US.pak
Kevin Kofler b6bc154
%lang(es) %{_qt5_translationdir}/qtwebengine_locales/es-419.pak
Kevin Kofler b6bc154
%lang(es) %{_qt5_translationdir}/qtwebengine_locales/es.pak
Kevin Kofler b6bc154
%lang(et) %{_qt5_translationdir}/qtwebengine_locales/et.pak
Kevin Kofler b6bc154
%lang(fa) %{_qt5_translationdir}/qtwebengine_locales/fa.pak
Kevin Kofler b6bc154
%lang(fi) %{_qt5_translationdir}/qtwebengine_locales/fi.pak
Kevin Kofler b6bc154
%lang(fil) %{_qt5_translationdir}/qtwebengine_locales/fil.pak
Kevin Kofler b6bc154
%lang(fr) %{_qt5_translationdir}/qtwebengine_locales/fr.pak
Kevin Kofler b6bc154
%lang(gu) %{_qt5_translationdir}/qtwebengine_locales/gu.pak
Kevin Kofler b6bc154
%lang(he) %{_qt5_translationdir}/qtwebengine_locales/he.pak
Kevin Kofler b6bc154
%lang(hi) %{_qt5_translationdir}/qtwebengine_locales/hi.pak
Kevin Kofler b6bc154
%lang(hr) %{_qt5_translationdir}/qtwebengine_locales/hr.pak
Kevin Kofler b6bc154
%lang(hu) %{_qt5_translationdir}/qtwebengine_locales/hu.pak
Kevin Kofler b6bc154
%lang(id) %{_qt5_translationdir}/qtwebengine_locales/id.pak
Kevin Kofler b6bc154
%lang(it) %{_qt5_translationdir}/qtwebengine_locales/it.pak
Kevin Kofler b6bc154
%lang(ja) %{_qt5_translationdir}/qtwebengine_locales/ja.pak
Kevin Kofler b6bc154
%lang(kn) %{_qt5_translationdir}/qtwebengine_locales/kn.pak
Kevin Kofler b6bc154
%lang(ko) %{_qt5_translationdir}/qtwebengine_locales/ko.pak
Kevin Kofler b6bc154
%lang(lt) %{_qt5_translationdir}/qtwebengine_locales/lt.pak
Kevin Kofler b6bc154
%lang(lv) %{_qt5_translationdir}/qtwebengine_locales/lv.pak
Kevin Kofler b6bc154
%lang(ml) %{_qt5_translationdir}/qtwebengine_locales/ml.pak
Kevin Kofler b6bc154
%lang(mr) %{_qt5_translationdir}/qtwebengine_locales/mr.pak
Kevin Kofler b6bc154
%lang(ms) %{_qt5_translationdir}/qtwebengine_locales/ms.pak
Kevin Kofler b6bc154
%lang(nb) %{_qt5_translationdir}/qtwebengine_locales/nb.pak
Kevin Kofler b6bc154
%lang(nl) %{_qt5_translationdir}/qtwebengine_locales/nl.pak
Kevin Kofler b6bc154
%lang(pl) %{_qt5_translationdir}/qtwebengine_locales/pl.pak
Kevin Kofler b6bc154
%lang(pt_BR) %{_qt5_translationdir}/qtwebengine_locales/pt-BR.pak
Kevin Kofler b6bc154
%lang(pt_PT) %{_qt5_translationdir}/qtwebengine_locales/pt-PT.pak
Kevin Kofler b6bc154
%lang(ro) %{_qt5_translationdir}/qtwebengine_locales/ro.pak
Kevin Kofler b6bc154
%lang(ru) %{_qt5_translationdir}/qtwebengine_locales/ru.pak
Kevin Kofler b6bc154
%lang(sk) %{_qt5_translationdir}/qtwebengine_locales/sk.pak
Kevin Kofler b6bc154
%lang(sl) %{_qt5_translationdir}/qtwebengine_locales/sl.pak
Kevin Kofler b6bc154
%lang(sr) %{_qt5_translationdir}/qtwebengine_locales/sr.pak
Kevin Kofler b6bc154
%lang(sv) %{_qt5_translationdir}/qtwebengine_locales/sv.pak
Kevin Kofler b6bc154
%lang(sw) %{_qt5_translationdir}/qtwebengine_locales/sw.pak
Kevin Kofler b6bc154
%lang(ta) %{_qt5_translationdir}/qtwebengine_locales/ta.pak
Kevin Kofler b6bc154
%lang(te) %{_qt5_translationdir}/qtwebengine_locales/te.pak
Kevin Kofler b6bc154
%lang(th) %{_qt5_translationdir}/qtwebengine_locales/th.pak
Kevin Kofler b6bc154
%lang(tr) %{_qt5_translationdir}/qtwebengine_locales/tr.pak
Kevin Kofler b6bc154
%lang(uk) %{_qt5_translationdir}/qtwebengine_locales/uk.pak
Kevin Kofler b6bc154
%lang(vi) %{_qt5_translationdir}/qtwebengine_locales/vi.pak
Kevin Kofler b6bc154
%lang(zh_CN) %{_qt5_translationdir}/qtwebengine_locales/zh-CN.pak
Kevin Kofler b6bc154
%lang(zh_TW) %{_qt5_translationdir}/qtwebengine_locales/zh-TW.pak
Kevin Kofler 17d0457
Kevin Kofler 17d0457
%files devel
Rex Dieter b72c3e9
%{rpm_macros_dir}/macros.qt5-qtwebengine
Kevin Kofler 17d0457
%{_qt5_headerdir}/Qt*/
Kevin Kofler 17d0457
%{_qt5_libdir}/libQt5*.so
Kevin Kofler 17d0457
%{_qt5_libdir}/libQt5*.prl
Kevin Kofler 17d0457
%{_qt5_libdir}/cmake/Qt5*/
Kevin Kofler 17d0457
%{_qt5_libdir}/pkgconfig/Qt5*.pc
Kevin Kofler 17d0457
%{_qt5_archdatadir}/mkspecs/modules/*.pri
Kevin Kofler 17d0457
Kevin Kofler 17d0457
%files examples
Kevin Kofler 17d0457
%{_qt5_examplesdir}/
Kevin Kofler 17d0457
Rex Dieter 83336fe
%if 0%{?docs}
Rex Dieter 83336fe
%files doc
Rex Dieter 83336fe
%{_qt5_docdir}/*
Rex Dieter 83336fe
%endif
Kevin Kofler 17d0457
b8ca77a
Rex Dieter 83336fe
%changelog
Kevin Kofler e7e2ed3
* Sun Jun 11 2017 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.9.0-1
Kevin Kofler c87d486
- Update to 5.9.0
Kevin Kofler c87d486
- Update version numbers of bundled stuff
Kevin Kofler c87d486
- Use bundled libsrtp and protobuf, Chromium dropped unbundling support for them
Kevin Kofler c3ca37c
- Use bundled libxml2 and libxslt, QtWebEngine 5.9 requires a libxml2 built with
Kevin Kofler c3ca37c
  ICU due to https://bugreports.qt.io/browse/QTBUG-59094, Fedora libxml2 is not
Kevin Kofler c87d486
- Add missing Provides: bundled(hunspell) for the spellchecking added in 5.8
Kevin Kofler c87d486
- Rebase linux-pri, no-neon, system-icu-utf, no-sse2, arm-fpu-fix,
Kevin Kofler c87d486
  openmax-dl-neon and webrtc-neon-detect patches (port to GN)
Kevin Kofler c87d486
- Sync system-nspr-prtime patch with Debian (they ported it to GN)
Kevin Kofler c87d486
- Rebase fix-extractcflag patch
Kevin Kofler c87d486
- Restore NEON runtime detection in Skia, drop old skia-neon patch (rewritten)
Kevin Kofler c87d486
- Drop webrtc-neon, v8-gcc7, pdfium-gcc7, wtf-gcc7, fix-open-in-new-tab and
Kevin Kofler c87d486
  fix-dead-keys patches, fixed upstream
Kevin Kofler c87d486
- Update system libvpx/libwebp version requirements (libvpx now F25+ only)
Kevin Kofler c87d486
- Drop the flag hacks (-g1 -fno-delete-null-pointer-checks) that are fixed
Kevin Kofler c87d486
  upstream, force -g2 on x86_64 instead
Kevin Kofler eb0dbd1
- Force verbose output from the GN bootstrap process
Kevin Kofler 9dda045
- Backport upstream patch to fix GN FTBFS on aarch64 (QTBUG-61128)
Kevin Kofler 0b8f82e
- Backport patch to fix FTBFS with GCC on aarch64 from upstream Chromium
Kevin Kofler ac7d2ae
- Fix src/3rdparty/chromium/build/linux/unbundle/re2.gn
Kevin Kofler c87d486
Rex Dieter 0d02999
* Sat May 13 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.8.0-14
Rex Dieter 0d02999
- fix rpm macros
Rex Dieter 0d02999
Rex Dieter f109527
* Thu May 11 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.8.0-13
Rex Dieter f109527
- apply Qt5WebEngineCoreConfig.cmake hack only on < f27
Rex Dieter f109527
Rex Dieter 2d1135b
* Wed May 10 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.8.0-12
Rex Dieter 72d1dd5
- rebuild (Qt-5.9), disable docs for f27+
Rex Dieter 2d1135b
Kevin Kofler 35eddbb
* Fri Apr 28 2017 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.8.0-11
Kevin Kofler 35eddbb
- Backport upstream fix for non-functional dead keys in text fields
Kevin Kofler 35eddbb
Kevin Kofler 9c17aa1
* Tue Apr 25 2017 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.8.0-10
Kevin Kofler 9c17aa1
- Backport upstream fix for blank pages when a link opens in a new tab
Kevin Kofler 9c17aa1
Rex Dieter b72c3e9
* Mon Apr 17 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.8.0-9
Rex Dieter b72c3e9
- +macros.qt5-qtwebengine
Rex Dieter b72c3e9
Rex Dieter 9ecb278
* Mon Apr 10 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.8.0-8
Rex Dieter 9ecb278
- Qt5WebEngineCoreConfig.cmake: fix when using Qt < %%version (#1438877)
Rex Dieter 9ecb278
Kevin Kofler 0041669
* Tue Apr 04 2017 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.8.0-7
Kevin Kofler 0041669
- File trigger: silence qwebengine_convert_dict output and ignore its exit code
Kevin Kofler 0041669
Rex Dieter 0761086
* Mon Apr 03 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.8.0-6
Rex Dieter 0761086
- build docs on all archs
Rex Dieter 0761086
Kevin Kofler d26228f
* Fri Mar 31 2017 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.8.0-5
Kevin Kofler d26228f
- Enable use_spellchecker explicitly so that it is also enabled on Qt 5.7
Kevin Kofler d3327ed
- Use file triggers to automatically convert system hunspell dictionaries
Kevin Kofler d26228f
Kevin Kofler 6441d4c
* Fri Mar 31 2017 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.8.0-4
Kevin Kofler 6441d4c
- Fix no-sse2 patch FTBFS (on i686)
Kevin Kofler 6441d4c
Rex Dieter a9c34c5
* Thu Mar 30 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.8.0-3
Rex Dieter a9c34c5
- make buildable against qt5 < 5.8 too
Rex Dieter a9c34c5
Kevin Kofler 944ce12
* Tue Mar 07 2017 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.8.0-2
Kevin Kofler 944ce12
- Fix FTBFS in the WTF part of Blink/WebKit with GCC 7
Kevin Kofler 944ce12
Kevin Kofler 944ce12
* Mon Mar 06 2017 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.8.0-1
Kevin Kofler 944ce12
- Update to 5.8.0
Kevin Kofler 944ce12
- Update version numbers of bundled stuff
Kevin Kofler 944ce12
- Rebase (unfuzz) system-nspr-prtime and system-icu-utf patches
Kevin Kofler 944ce12
- Drop system-icu54 patch, ICU 5.4 no longer supported
Kevin Kofler 944ce12
- Rebase the webrtc-neon-detect patch (backported portions no longer needed)
Kevin Kofler 944ce12
- Rebase the no-sse2 patch
Kevin Kofler 944ce12
- Update clean_ffmpeg.sh: autorename* files now #include the unrenamed ones
Kevin Kofler 944ce12
- Update -docs BuildRequires and Requires (Helio Castro)
Kevin Kofler 944ce12
- Fix FTBFS in V8 with GCC 7 (by Ben Noordhuis, backported from Chromium RPM)
Kevin Kofler 944ce12
- Fix FTBFS in PDFium with GCC 7: backport upstream cleanup removing that code
Kevin Kofler 944ce12
- Generate qtwebengine-3rdparty.qdoc, it is missing from the tarball
Kevin Kofler 944ce12
- Work around missing qt5_qtwebengine_arches macro on F24
Kevin Kofler 944ce12
- Upstream added a qwebengine_convert_dict executable, package it
Kevin Kofler 944ce12
61c97e9
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.7.1-8
61c97e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
61c97e9
3adf37e
* Wed Feb 01 2017 Sandro Mani <manisandro@gmail.com> - 5.7.1-7
3adf37e
- Rebuild (libwebp)
3adf37e
Orion Poplawski 533a842
* Thu Jan 26 2017 Orion Poplawski <orion@cora.nwra.com> - 5.7.1-6
Orion Poplawski 533a842
- Rebuild for protobuf 3.2.0
Orion Poplawski 533a842
Rex Dieter 75f724a
* Mon Jan 02 2017 Rex Dieter <rdieter@math.unl.edu> - 5.7.1-5
Rex Dieter 75f724a
- filter (designer) plugin provides
Rex Dieter 75f724a
Kevin Kofler 80fa434
* Thu Dec 08 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.7.1-4
Kevin Kofler 80fa434
- Respun tarball (now really includes the page margin fix)
Kevin Kofler 80fa434
- Change qt5-qtbase dependency from >= to =
Kevin Kofler 80fa434
Kevin Kofler 4dfda4a
* Sun Dec 04 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.7.1-3
Kevin Kofler 4dfda4a
- Ship the license files
Kevin Kofler 4dfda4a
Kevin Kofler 14b292e
* Sun Dec 04 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.7.1-2
Kevin Kofler db8ac78
- clean_qtwebengine.sh: Rip out openh264 sources
Kevin Kofler 3a314c6
- Rebase no-neon patch, add new arm-fpu-fix patch where no-neon not wanted
Kevin Kofler 3a314c6
- Try enabling arm_neon unconditionally, #1282495 should be fixed even in F23
Kevin Kofler 80fa434
- Remove Android dependencies from openmax_dl ARM NEON detection (detect.c)
Kevin Kofler 4d98042
- Set CFLAGS, unset both CFLAGS and CXXFLAGS between qmake and make
Kevin Kofler 6f435b9
- chromium-skia: build SkUtilsArm.cpp also on non-Android ARM
Kevin Kofler 6f435b9
- webrtc: backport CPU feature detection for ARM Linux, enable it for Chromium
Kevin Kofler 3a314c6
cb70d95
* Thu Nov 10 2016 Helio Chissini de Castro <helio@kde.org> - 5.7.1-1
cb70d95
- New upstream version
Orion Poplawski f5dc1ee
Rex Dieter 89d84b5
* Wed Sep 14 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.0-8
Rex Dieter 89d84b5
- ExclusiveArch: %%{qt5_qtwebengine_arches} (defined by qt5-srpm-macros)
Rex Dieter 89d84b5
Kevin Kofler bda8451
* Fri Sep 09 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.7.0-7
Kevin Kofler bda8451
- apply the correct page margins from the QPageLayout to Chromium printing
Kevin Kofler bda8451
Kevin Kofler 2096181
* Sat Aug 13 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.7.0-6
Kevin Kofler 2096181
- Fix crash when building against glibc 2.24 (#1364781) (upstream patch)
Kevin Kofler 2096181
Rex Dieter 2cc6774
* Sun Jul 31 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.0-5
Rex Dieter 2cc6774
- BR: cmake (for cmake autoprovides support mostly)
Rex Dieter 2cc6774
Kevin Kofler e2d56e5
* Tue Jul 26 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.7.0-4
Kevin Kofler e2d56e5
- Restore system-icu54 patch, the fix was lost upstream
Kevin Kofler e2d56e5
5237d9e
* Sat Jul 23 2016 Christian Dersch <lupinix@mailbox.org> - 5.7.0-3
5237d9e
- Rebuilt for libvpx.so.4 soname bump
5237d9e
Kevin Kofler 84af15c
* Wed Jul 20 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.7.0-2
Kevin Kofler 84af15c
- clean_ffmpeg.sh: Whitelist libavutil/aarch64/timer.h (#1358428)
Kevin Kofler 84af15c
Kevin Kofler 335f582
* Mon Jul 18 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.7.0-1
Kevin Kofler 778be18
- Update to 5.7.0
Kevin Kofler 778be18
- Update version numbers of bundled stuff
Kevin Kofler 778be18
- Update system libvpx/libwebp version requirements (now F24+ only)
Kevin Kofler c44c0d5
- Drop no-format patch, fixed upstream (they stopped passing -Wno-format)
Kevin Kofler c44c0d5
- Rebase linux-pri patch (use_system_protobuf is now a qmake flag)
Kevin Kofler ed26f4f
- Rebase system-nspr-prtime, system-icu-utf and no-sse2 patches
Kevin Kofler 335f582
- Fix ARM NEON handling in webrtc gyp files (honor arm_neon=0)
Kevin Kofler 778be18
Rex Dieter 3eab3a6
* Tue Jun 14 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.1-3
Rex Dieter 3eab3a6
- rebuild (glibc)
Rex Dieter 3eab3a6
Rex Dieter 3ae0724
* Sun Jun 12 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.1-2
Rex Dieter 3ae0724
- add versioned qt5-qtbase runtime dep
Rex Dieter 3ae0724
Kevin Kofler 6d2db9a
* Sat Jun 11 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.6.1-1
Kevin Kofler d8f3edf
- Update to 5.6.1
Kevin Kofler d8f3edf
- Rebase linux-pri patch (drop the parts already fixed upstream)
Kevin Kofler d8f3edf
- Drop backported chimera-nss-init patch, already applied upstream
Kevin Kofler d8f3edf
- Rebase no-sse2 patch (the core_module.pro change)
Kevin Kofler 6d2db9a
- Add the new designer/libqwebengineview.so plugin to the file list
Kevin Kofler d8f3edf
Rex Dieter efad6cc
* Mon Jun 06 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-8
Rex Dieter efad6cc
- workaround stackmashing runtime errors in re2-related bundled headers (#1337585)
Rex Dieter efad6cc
Rex Dieter 463136e
* Sat May 21 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-7
Rex Dieter 463136e
- rebuild (pciutuils)
Rex Dieter 463136e
Rex Dieter 1c39d15
* Wed May 18 2016 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-6
Rex Dieter 1c39d15
- BR: git-core
Rex Dieter 1c39d15
6a3240c
* Fri Apr 15 2016 David Tardon <dtardon@redhat.com> - 5.6.0-5
6a3240c
- rebuild for ICU 57.1
6a3240c
66e7324
* Fri Apr 08 2016 Than Ngo <than@redhat.com> - 5.6.0-4
66e7324
- drop ppc ppc64 ppc64le from ExclusiveArch, it's not supported yet
66e7324
Kevin Kofler 9659c06
* Thu Mar 24 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.6.0-3
Kevin Kofler 1b4283e
- Build with CONFIG+="webcore_debug v8base_debug force_debug_info"
Kevin Kofler 9673c10
- Force -fno-delete-null-pointer-checks through CXXFLAGS, Qt flags not used here
Kevin Kofler 4fe7f89
- Use -g1 instead of -g on non-x86_64 to avoid memory exhaustion
Kevin Kofler 9659c06
- Work around debugedit failure by removing "./" from #line commands and
Kevin Kofler 9659c06
  changing "//" to "/" in an #include command
Kevin Kofler c13613a
Kevin Kofler 4f844a7
* Fri Mar 18 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.6.0-2
Kevin Kofler 4f844a7
- Avoid checking for the nonexistent icudtl.dat and silence the warnings
Kevin Kofler 4f844a7
Kevin Kofler 4596e73
* Thu Mar 17 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.6.0-1
Kevin Kofler 4596e73
- Update to 5.6.0 (final)
Kevin Kofler 4596e73
- Drop system-icu54 patch, fixed upstream
Kevin Kofler 4596e73
Kevin Kofler b6bc154
* Thu Feb 25 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.6.0-0.19.rc
Kevin Kofler 26c2ef5
- Update to 5.6.0 RC
Kevin Kofler b6bc154
- Rebase linux-pri and no-sse2 patches
Kevin Kofler 7f40671
- Remove BuildRequires pkgconfig(flac), pkgconfig(speex), no longer needed
Kevin Kofler b6bc154
- Update file list for 5.6.0 RC (resources now in resources/ subdirectory)
Kevin Kofler b6bc154
- Tag translations with correct %%lang tags
Kevin Kofler 26c2ef5
Kevin Kofler 26c2ef5
* Wed Feb 24 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.6.0-0.18.beta
Kevin Kofler 58b406a
- no-sse2 patch: Fix FFT (RealFourier) in webrtc on non-SSE2 x86
Kevin Kofler 58b406a
Kevin Kofler 9ac4c0c
* Tue Feb 23 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.6.0-0.17.beta
Kevin Kofler 9ac4c0c
- Fix FTBFS on aarch64: Respin tarball with fixed clean_ffmpeg.sh (#1310753).
Kevin Kofler 9ac4c0c
1968dff
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.0-0.16.beta
1968dff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
1968dff
Kevin Kofler 7c8a25c
* Tue Jan 19 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.6.0-0.15.beta
Kevin Kofler 90225e7
- Build V8 as a shared library on i686 to allow for swappable backends
Kevin Kofler e670d51
- Build both the x87 version and the SSE2 version of V8 on i686
Kevin Kofler 24bef19
- Add the private library directory to the file list on i686
Kevin Kofler fa42c47
- Add Provides/Requires filtering for libv8.so (i686) and for plugins
Kevin Kofler 90225e7
Kevin Kofler 2684898
* Sun Jan 17 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.6.0-0.14.beta
Kevin Kofler 6d0400b
- Do not require SSE2 on i686
Kevin Kofler 6d0400b
Kevin Kofler 9a15e3c
* Thu Jan 14 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.6.0-0.13.beta
Kevin Kofler 9a15e3c
- Drop nss321 backport (and the related nss-headers patch), it did not help
Kevin Kofler 9a15e3c
- Do an NSS/BoringSSL "chimera build" as will be the default in Chromium 47
Kevin Kofler 9a15e3c
- Update License accordingly (add "OpenSSL")
Kevin Kofler 9a15e3c
- Fix the "chimera build" to call EnsureNSSHttpIOInit (backport from Chromium)
Kevin Kofler 9a15e3c
Kevin Kofler 2ce8abf
* Wed Jan 13 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.6.0-0.12.beta
Kevin Kofler 2ce8abf
- Update forked NSS SSL code to 3.21, match system NSS (backport from Chromium)
Kevin Kofler 2ce8abf
Kevin Kofler 75c5566
* Wed Jan 13 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.6.0-0.11.beta
Kevin Kofler 632ea2d
- Add an (optimistic) ExclusiveArch list because of V8 (tracking bug: #1298011)
Kevin Kofler 632ea2d
Kevin Kofler d3940c7
* Tue Jan 12 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.6.0-0.10.beta
Kevin Kofler d3940c7
- Unbundle prtime.cc, use the system NSPR instead (which is already required)
Kevin Kofler d3940c7
- Unbundle icu_utf.cc, use the system ICU instead (which is already required)
Kevin Kofler d3940c7
Kevin Kofler 87fb388
* Mon Jan 11 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.6.0-0.9.beta
Kevin Kofler 87fb388
- linux-pri.patch: Set icu_use_data_file_flag=0 for system ICU
Kevin Kofler 87fb388
Kevin Kofler 134ba1a
* Mon Jan 11 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.6.0-0.8.beta
Kevin Kofler 134ba1a
- Build against the system libvpx also on F23 (1.4.0), worked in Copr
Kevin Kofler 134ba1a
Kevin Kofler 0b8bca0
* Mon Jan 11 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.6.0-0.7.beta
Kevin Kofler 0b8bca0
- Use the system libvpx on F24+ (1.5.0)
Kevin Kofler 0b8bca0
- Fixes to Provides: bundled(*): libwebp if bundled, x86inc only on x86
Kevin Kofler 0b8bca0
Kevin Kofler 8fec587
* Sun Jan 10 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.6.0-0.6.beta
Kevin Kofler 8fec587
- Fix extractCFlag to also look in QMAKE_CFLAGS_RELEASE (needed for ARM)
Kevin Kofler 8fec587
- Fix FTBFS on ARM: Disable NEON due to #1282495 (GCC bug)
Kevin Kofler 8fec587
Kevin Kofler bf16304
* Sat Jan 09 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.6.0-0.5.beta
Kevin Kofler dda9dc4
- Fix FTBFS on ARM: linux-pri patch: Set use_system_yasm only on x86_64 and i386
Kevin Kofler 4844045
- Fix FTBFS on ARM: Respin tarball with: clean_ffmpeg.sh: Add missing ARM files
Kevin Kofler bf16304
Kevin Kofler bf16304
* Sat Jan 09 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.6.0-0.4.beta.1
Kevin Kofler a6f7223
- Use more specific BuildRequires for docs (thanks to rdieter)
Kevin Kofler a6f7223
- Fix FTBFS against ICU 54 (F22/F23), thanks to spot for the Chromium fix
Kevin Kofler a6f7223
Kevin Kofler bf16304
* Fri Jan 08 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.6.0-0.4.beta
Kevin Kofler 17d0457
- Fix License tag
Kevin Kofler 17d0457
- Use %%_qt5_examplesdir macro
Kevin Kofler 17d0457
- Add Provides: bundled(*) for all the bundled libraries that I found
Kevin Kofler 17d0457
Kevin Kofler bf16304
* Wed Jan 06 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.6.0-0.3.beta
Kevin Kofler 17d0457
- linux-pri patch: Add use_system_protobuf, went missing in the 5.6 rebase
Kevin Kofler 17d0457
Kevin Kofler bf16304
* Wed Jan 06 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.6.0-0.2.beta
Kevin Kofler 17d0457
- linux-pri patch: Add missing newline at the end of the log line
Kevin Kofler 17d0457
- Use export for NINJA_PATH (fixes system ninja-build use)
Kevin Kofler 17d0457
Kevin Kofler bf16304
* Wed Jan 06 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.6.0-0.1.beta
Kevin Kofler 17d0457
- Readd BR pkgconfig(jsoncpp) because linux.pri now checks for it
Kevin Kofler 17d0457
- BR yasm only on x86 (i686, x86_64)
Kevin Kofler 17d0457
- Add dot at the end of %%description
Kevin Kofler 17d0457
- Rebase no-format patch
Kevin Kofler 17d0457
- Replace unbundle-gyp.patch with new linux-pri.patch
Kevin Kofler 17d0457
- Use system ninja-build instead of the bundled one
Kevin Kofler 17d0457
- Run the unbundling script replace_gyp_files.py in linux.pri rather than here
Kevin Kofler 17d0457
- Update file list for 5.6.0-beta (no more libffmpegsumo since Chromium 45)
Kevin Kofler 17d0457
Kevin Kofler 17d0457
* Tue Jan 05 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.5.1-4
Kevin Kofler 17d0457
- Remove unused BRs flex, libgcrypt-devel, bzip2-devel, pkgconfig(gio-2.0),
Kevin Kofler 17d0457
  pkgconfig(hunspell), pkgconfig(libpcre), pkgconfig(libssl),
Kevin Kofler 17d0457
  pkgconfig(libcrypto), pkgconfig(jsoncpp), pkgconfig(libmtp),
Kevin Kofler 17d0457
  pkgconfig(libexif), pkgconfig(liblzma), pkgconfig(cairo), pkgconfig(libusb),
Kevin Kofler 17d0457
  perl(version), perl(Digest::MD5), perl(Text::ParseWords), ruby
Kevin Kofler 17d0457
- Add missing explicit BRs on pkgconfig(x11),  pkgconfig(xext),
Kevin Kofler 17d0457
  pkgconfig(xfixes), pkgconfig(xdamage), pkgconfig(egl)
Kevin Kofler 17d0457
- Fix BR pkgconfig(flac++) to pkgconfig(flac) (libFLAC++ not used, only libFLAC)
Kevin Kofler 17d0457
- Fix BR python-devel to python
Kevin Kofler 17d0457
- Remove unused -Duse_system_openssl=1 flag (QtWebEngine uses NSS instead)
Kevin Kofler 17d0457
- Remove unused -Duse_system_jsoncpp=1 and -Duse_system_libusb=1 flags
Kevin Kofler 17d0457
Kevin Kofler 17d0457
* Mon Jan 04 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.5.1-3
Kevin Kofler 17d0457
- Update file list for 5.5.1 (add qtwebengine_resources_[12]00p.pak)
Kevin Kofler 17d0457
Kevin Kofler 17d0457
* Mon Jan 04 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.5.1-2
Kevin Kofler 17d0457
- Add missing explicit BRs on pkgconfig(expat) and pkgconfig(libxml-2.0)
Kevin Kofler 17d0457
- Remove unused BR v8-devel (cannot currently be unbundled)
Kevin Kofler 17d0457
Kevin Kofler 17d0457
* Thu Dec 24 2015 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.5.1-1
Kevin Kofler 17d0457
- Update to 5.5.1
Kevin Kofler 17d0457
- Remove patent-encumbered codecs in the bundled FFmpeg from the tarball
Kevin Kofler 17d0457
Kevin Kofler 17d0457
* Fri Jul 17 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-2
Kevin Kofler 17d0457
- Update with unbundle flags. Adapted from original 5.4 Suse package
Kevin Kofler 17d0457
- Disable vpx and sqlite as unbundle due some compilation issues
Kevin Kofler 17d0457
- Enable verbose build
Kevin Kofler 17d0457
Kevin Kofler 17d0457
* Fri Jul 17 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-1
Kevin Kofler 17d0457
- Initial spec
Kevin Kofler 17d0457
Kevin Kofler 17d0457
* Thu Jun 25 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.2.rc
Kevin Kofler 17d0457
- Update for official RC1 released packages