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