123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776 |
- %global qt_module qtwebengine
- %global _hardened_build 1
- # define to build docs, need to undef this for bootstrapping
- # where qt5-qttools builds are not yet available
- # only primary archs (for now), allow secondary to bootstrap
- %ifarch %{arm} %{ix86} x86_64
- #global docs 1
- %endif
- %if 0
- # need libvpx >= 1.8.0
- %global use_system_libvpx 1
- %endif
- %if 0
- # need libwebp >= 0.4.3
- %global use_system_libwebp 1
- %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$
- %global qt5_minorver 5.12
- %global qt5_version 5.12.8
- #global qt5_patchlevel 1
- Summary: Qt5 - QtWebEngine components
- Name: qt5-qtwebengine
- Version: %{qt5_version}%{?qt5_patchlevel:.%{qt5_patchlevel}}
- Release: 2%{?_dist_release}
- # 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: https://www.qt.io/
- Vendor: Project Vine
- Distribution: Vine Linux
- # cleaned tarball with patent-encumbered codecs removed from the bundled FFmpeg
- # wget https://download.qt.io/official_releases/qt/5.6/5.6.1-1/submodules/qtwebengine-everywhere-src-5.6.1-1.tar.xz
- # ./clean_qtwebengine.sh 5.6.1-1
- Source0: %{qt_module}-everywhere-src-%{qt5_version}%{?qt5_patchlevel:-%{qt5_patchlevel}}-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
- # pulseaudio headers
- Source20: pulseaudio-12.2-headers.tar.gz
- # some tweaks to linux.pri (system yasm, link libpci, run unbundling script)
- Patch0: qtwebengine-everywhere-src-5.10.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-everywhere-src-5.11.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.12.4-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
- # workaround FTBFS against kernel-headers-5.2.0+
- Patch4: qtwebengine-SIOCGSTAMP.patch
- # remove Android dependencies from openmax_dl ARM NEON detection (detect.c)
- Patch10: qtwebengine-opensource-src-5.9.0-openmax-dl-neon.patch
- # Force verbose output from the GN bootstrap process
- Patch21: qtwebengine-everywhere-src-5.12.0-gn-bootstrap-verbose.patch
- # Fix/workaround FTBFS on aarch64 with newer glibc
- Patch24: qtwebengine-everywhere-src-5.11.3-aarch64-new-stat.patch
- # handled by qt5-srpm-macros, which defines %%qt5_qtwebengine_arches
- ExclusiveArch: %{qt5_qtwebengine_arches}
- BuildRequires: qt5-rpm-macros
- BuildRequires: qt5-srpm-macros
- 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
- # for examples?
- BuildRequires: qt5-qtquickcontrols2-devel
- BuildRequires: ninja
- BuildRequires: cmake
- BuildRequires: bison
- BuildRequires: flex
- BuildRequires: gcc-c++
- # gn links statically (for now)
- BuildRequires: libstdc++-static
- BuildRequires: git-core
- BuildRequires: gperf
- BuildRequires: krb5-devel
- BuildRequires: libicu-devel
- BuildRequires: libjpeg-turbo-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(jsoncpp)
- BuildRequires: pkgconfig(libpng)
- BuildRequires: pkgconfig(libudev)
- %if 0%{?use_system_libwebp}
- BuildRequires: pkgconfig(libwebp) >= 0.6.0
- %endif
- BuildRequires: pkgconfig(harfbuzz)
- BuildRequires: pkgconfig(libdrm)
- BuildRequires: opus-devel
- BuildRequires: pkgconfig(protobuf)
- BuildRequires: pkgconfig(libevent)
- BuildRequires: zlib-devel
- #BuildRequires: pkgconfig(minizip)
- BuildRequires: pkgconfig(x11)
- BuildRequires: pkgconfig(xi)
- BuildRequires: libXcursor-devel
- 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: pciutils-devel
- BuildRequires: pkgconfig(dbus-1)
- BuildRequires: pkgconfig(nss)
- BuildRequires: pkgconfig(lcms2)
- BuildRequires: perl
- BuildRequires: python
- BuildRequires: python-rpm-macros
- %if 0%{?use_system_libvpx}
- BuildRequires: pkgconfig(vpx) >= 1.7.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 are backported, see:
- # http://code.qt.io/cgit/qt/qtwebengine-chromium.git/log/?h=45-based
- Provides: bundled(chromium) = 61.0.3163.140
- # 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 47 now defaults to: 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 process_ffmpeg_gyp.py.
- # see src/3rdparty/chromium/third_party/ffmpeg/Changelog for the version number
- Provides: bundled(ffmpeg) = 3.3
- Provides: bundled(hunspell) = 1.6.0
- Provides: bundled(iccjpeg)
- # bundled as "khronos", headers only
- Provides: bundled(khronos_headers)
- # bundled as "leveldatabase"
- Provides: bundled(leveldb) = 1.20
- # bundled as "libjingle_xmpp"
- Provides: bundled(libjingle)
- # see src/3rdparty/chromium/third_party/libsrtp/CHANGES for the version number
- Provides: bundled(libsrtp) = 2.1.0
- %if !0%{?use_system_libvpx}
- # claims "Version: 1.6.0", but according to the fine print, this is actually a
- # snapshot from master from after the 1.6.1 release
- Provides: bundled(libvpx) = 1.6.1
- %endif
- %if !0%{?use_system_libwebp}
- Provides: bundled(libwebp) = 0.6.0
- %endif
- # bundled as "libxml"
- # 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/linux/config.h for version
- Provides: bundled(libxslt) = 1.1.29
- Provides: bundled(libXNVCtrl) = 302.17
- Provides: bundled(libyuv) = 1658
- Provides: bundled(modp_b64)
- 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.20
- Provides: bundled(usrsctp)
- Provides: bundled(webrtc) = 90
- %ifarch %{ix86} x86_64
- # bundled by ffmpeg and libvpx:
- # header (for assembly) only
- Provides: bundled(x86inc)
- %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:
- Provides: bundled(mojo)
- # see src/3rdparty/chromium/v8/include/v8_version.h for the version number
- Provides: bundled(v8) = 6.1.534.44
- # 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}
- # not arch'd for now, see if can get away with avoiding multilib'ing -- rex
- Requires: %{name}-devtools = %{version}-%{release}
- %description devel
- %{summary}.
- %package devtools
- Summary: WebEngine devtools_resources
- Requires: %{name}%{?_isa} = %{version}-%{release}
- %description devtools
- Support for remote debugging.
- %package examples
- Summary: Example files for %{name}
- %description examples
- %{summary}.
- %if 0%{?docs}
- %package doc
- Summary: API documentation for %{name}
- BuildRequires: qt5-qhelpgenerator
- BuildRequires: qt5-qdoc
- BuildArch: noarch
- %description doc
- %{summary}.
- %endif
- %debug_package
- %prep
- %setup -q -n %{qt_module}-everywhere-src-%{qt5_version}
- %if 0
- tar xvf %{SOURCE20}
- mv pulse src/3rdparty/chromium/
- %endif
- %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 .SIOCGSTAMP
- ## upstream patches
- %patch10 -p1 -b .openmax-dl-neon
- ## NEEDSWORK
- #patch21 -p1 -b .gn-bootstrap-verbose
- %patch24 -p1 -b .aarch64-new-stat
- # 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="%{?__ninja_common_opts}"
- export NINJA_PATH=%{_bindir}/ninja-build
- export RE2_INCLUDE=$(pwd)/src/3rdparty/chromium/third_party/re2
- export CFLAGS="%{optflags}"
- #ifnarch x86_64
- # most arches run out of memory with full debuginfo, so use -g1 on non-x86_64
- export CFLAGS=`echo "$CFLAGS" | sed -e 's/ -g / -g1 /g'`
- #endif
- export CXXFLAGS="%{optflags} -fno-delete-null-pointer-checks"
- #ifnarch x86_64
- # most arches run out of memory with full debuginfo, so use -g1 on non-x86_64
- export CXXFLAGS=`echo "$CXXFLAGS" | sed -e 's/ -g / -g1 /g'`
- #endif
- mkdir %{_target_platform}
- pushd %{_target_platform}
- %{qmake_qt5} \
- %{?debug_config:CONFIG+="%{debug_config}"} \
- CONFIG+="link_pulseaudio" \
- QMAKE_EXTRA_ARGS+="-system-webengine-icu" \
- QMAKE_EXTRA_ARGS+="-webengine-kerberos" \
- ..
- # if we keep these set here, gyp picks up duplicate flags
- unset CFLAGS
- export CFLAGS
- unset CXXFLAGS
- export CXXFLAGS
- # workaround, disable parallel compilation as it fails to compile in brew
- make %{?_smp_mflags}
- %if 0%{?docs}
- make %{?_smp_mflags} docs
- %endif
- popd
- %install
- rm -rf %{buildroot}
- 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
- # explicitly omit, at least until there's a real library installed associated with it -- rex
- rm -fv %{buildroot}%{_libdir}/Qt5WebEngineCore.la
- mkdir -p %{buildroot}%{_qtwebengine_dictionaries_dir}
- # adjust cmake dep(s) to allow for using the same Qt5 that was used to build it
- # using the lesser of %%version, %%_qt5_version
- %global lesser_version $(echo -e "%{version}\\n%{_qt5_version}" | sort -V | head -1)
- sed -i -e "s|%{version} \${_Qt5WebEngine|%{lesser_version} \${_Qt5WebEngine|" \
- %{buildroot}%{_qt5_libdir}/cmake/Qt5WebEngine*/Qt5WebEngine*Config.cmake
- %post -p /sbin/ldconfig
- %postun -p /sbin/ldconfig
- %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}
- %if 0%{?sse2}
- # shared V8 library and its SSE2 version
- %{_qt5_libdir}/qtwebengine/
- %endif
- %{_qt5_plugindir}/designer/libqwebengineview.so
- %dir %{_qt5_datadir}/resources/
- %{_qt5_datadir}/resources/qtwebengine_resources_100p.pak
- %{_qt5_datadir}/resources/qtwebengine_resources_200p.pak
- %{_qt5_datadir}/resources/qtwebengine_resources.pak
- %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}/Qt5WebEngineCore.la
- %{_qt5_libdir}/cmake/Qt5*/
- %{_qt5_libdir}/pkgconfig/Qt5*.pc
- %{_qt5_archdatadir}/mkspecs/modules/*.pri
- %files devtools
- %{_qt5_datadir}/resources/qtwebengine_devtools_resources.pak
- %files examples
- %{_qt5_examplesdir}/
- %if 0%{?docs}
- %files doc
- %{_qt5_docdir}/*
- %endif
- %changelog
- * Fri Apr 24 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.8-2
- - rebuilt with icu-67.
- * Wed Apr 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.8-1
- - new upstream release.
- - built with libevent-2.1.11.
- * Mon Mar 23 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.7-1
- - new upstream release.
- - dropped Patch1000: fixed in upstream.
- * Sun Oct 20 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.5-1
- - new upstream release.
- * Fri Nov 16 2018 Toshiaki Ara <ara_t@384.jp> - 5.6.3-2
- - rebuild with libevent-2.1.8
- * Tue Jan 09 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.6.3-1
- - new upstream release.
- * Mon Jul 11 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.6.1.1-1
- - new upstream release.
- - initial build for Vine Linux.
- - updated Source1.
- * Tue Jun 14 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.1-3
- - rebuild (glibc)
- * Sun Jun 12 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.1-2
- - add versioned qt5-qtbase runtime dep
- * Sat Jun 11 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 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 <rdieter@fedoraproject.org> - 5.6.0-8
- - workaround stackmashing runtime errors in re2-related bundled headers (#1337585)
- * Sat May 21 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-7
- - rebuild (pciutuils)
- * Wed May 18 2016 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-6
- - BR: git-core
- * Fri Apr 15 2016 David Tardon <dtardon@redhat.com> - 5.6.0-5
- - rebuild for ICU 57.1
- * Fri Apr 08 2016 Than Ngo <than@redhat.com> - 5.6.0-4
- - drop ppc ppc64 ppc64le from ExclusiveArch, it's not supported yet
- * Thu Mar 24 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 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 <Kevin@tigcc.ticalc.org> - 5.6.0-2
- - Avoid checking for the nonexistent icudtl.dat and silence the warnings
- * Thu Mar 17 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.6.0-1
- - Update to 5.6.0 (final)
- - Drop system-icu54 patch, fixed upstream
- * Thu Feb 25 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 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 <Kevin@tigcc.ticalc.org> - 5.6.0-0.18.beta
- - no-sse2 patch: Fix FFT (RealFourier) in webrtc on non-SSE2 x86
- * Tue Feb 23 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 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 <releng@fedoraproject.org> - 5.6.0-0.16.beta
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
- * Tue Jan 19 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 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 <Kevin@tigcc.ticalc.org> - 5.6.0-0.14.beta
- - Do not require SSE2 on i686
- * Thu Jan 14 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 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 <Kevin@tigcc.ticalc.org> - 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 <Kevin@tigcc.ticalc.org> - 5.6.0-0.11.beta
- - Add an (optimistic) ExclusiveArch list because of V8 (tracking bug: #1298011)
- * Tue Jan 12 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 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 <Kevin@tigcc.ticalc.org> - 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 <Kevin@tigcc.ticalc.org> - 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 <Kevin@tigcc.ticalc.org> - 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 <Kevin@tigcc.ticalc.org> - 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 <Kevin@tigcc.ticalc.org> - 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 <Kevin@tigcc.ticalc.org> - 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 <Kevin@tigcc.ticalc.org> - 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 <Kevin@tigcc.ticalc.org> - 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 <Kevin@tigcc.ticalc.org> - 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 <Kevin@tigcc.ticalc.org> - 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 <Kevin@tigcc.ticalc.org> - 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 <Kevin@tigcc.ticalc.org> - 5.5.1-3
- - Update file list for 5.5.1 (add qtwebengine_resources_[12]00p.pak)
- * Mon Jan 04 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 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 <Kevin@tigcc.ticalc.org> - 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 <helio@kde.org> - 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 <helio@kde.org> - 5.5.0-1
- - Initial spec
- * Thu Jun 25 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.2.rc
- - Update for official RC1 released packages
|