|
|
@ -6,24 +6,26 @@
|
|
|
|
# define to build docs, need to undef this for bootstrapping
|
|
|
|
# define to build docs, need to undef this for bootstrapping
|
|
|
|
# where qt5-qttools builds are not yet available
|
|
|
|
# where qt5-qttools builds are not yet available
|
|
|
|
# only primary archs (for now), allow secondary to bootstrap
|
|
|
|
# only primary archs (for now), allow secondary to bootstrap
|
|
|
|
|
|
|
|
#global bootstrap 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if ! 0%{?bootstrap}
|
|
|
|
%ifarch %{arm} %{ix86} x86_64
|
|
|
|
%ifarch %{arm} %{ix86} x86_64
|
|
|
|
%define docs 1
|
|
|
|
%define docs 1
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## define prerelease rc1
|
|
|
|
|
|
|
|
|
|
|
|
Summary: Qt5 - QtWebKit components
|
|
|
|
Summary: Qt5 - QtWebKit components
|
|
|
|
Name: qt5-qtwebkit
|
|
|
|
Name: qt5-qtwebkit
|
|
|
|
Version: 5.4.2
|
|
|
|
Version: 5.5.1
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
|
|
|
|
|
|
|
# See LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt, for details
|
|
|
|
# See LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt, for details
|
|
|
|
# See also http://qt-project.org/doc/qt-5.0/qtdoc/licensing.html
|
|
|
|
# See also http://qt-project.org/doc/qt-5.0/qtdoc/licensing.html
|
|
|
|
License: LGPLv2 with exceptions or GPLv3 with exceptions
|
|
|
|
License: LGPLv2 with exceptions or GPLv3 with exceptions
|
|
|
|
Url: http://qt-project.org/
|
|
|
|
Url: http://www.qt.io
|
|
|
|
%if 0%{?pre:1}
|
|
|
|
Source0: http://download.qt.io/official_releases/qt/5.5/%{version}%{?prerelease:-%{prerelease}}/submodules/%{qt_module}-opensource-src-%{version}%{?prerelease:-%{prerelease}}.tar.xz
|
|
|
|
Source0: http://download.qt-project.org/development_releases/qt/5.4/%{version}-%{pre}/submodules/%{qt_module}-opensource-src-%{version}-%{pre}.tar.xz
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
Source0: http://download.qt-project.org/official_releases/qt/5.4/%{version}/submodules/%{qt_module}-opensource-src-%{version}.tar.xz
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Search /usr/lib{,64}/mozilla/plugins-wrapped for browser plugins too
|
|
|
|
# Search /usr/lib{,64}/mozilla/plugins-wrapped for browser plugins too
|
|
|
|
Patch1: qtwebkit-opensource-src-5.2.0-pluginpath.patch
|
|
|
|
Patch1: qtwebkit-opensource-src-5.2.0-pluginpath.patch
|
|
|
@ -34,28 +36,17 @@ Patch3: qtwebkit-opensource-src-5.0.1-debuginfo.patch
|
|
|
|
# tweak linker flags to minimize memory usage on "small" platforms
|
|
|
|
# tweak linker flags to minimize memory usage on "small" platforms
|
|
|
|
Patch4: qtwebkit-opensource-src-5.2.0-save_memory.patch
|
|
|
|
Patch4: qtwebkit-opensource-src-5.2.0-save_memory.patch
|
|
|
|
|
|
|
|
|
|
|
|
# use unbundled system angleproject library
|
|
|
|
|
|
|
|
#define system_angle 1
|
|
|
|
|
|
|
|
# NEEDS REBASE -- rex
|
|
|
|
|
|
|
|
Patch5: qtwebkit-opensource-src-5.0.2-system_angle.patch
|
|
|
|
|
|
|
|
# Fix compilation against latest ANGLE
|
|
|
|
|
|
|
|
# https://bugs.webkit.org/show_bug.cgi?id=109127
|
|
|
|
|
|
|
|
Patch6: webkit-commit-142567.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Add AArch64 support
|
|
|
|
# Add AArch64 support
|
|
|
|
Patch7: 0001-Add-ARM-64-support.patch
|
|
|
|
Patch7: 0001-Add-ARM-64-support.patch
|
|
|
|
|
|
|
|
|
|
|
|
# truly madly deeply no rpath please, kthxbye
|
|
|
|
# truly madly deeply no rpath please, kthxbye
|
|
|
|
Patch8: qtwebkit-opensource-src-5.2.1-no_rpath.patch
|
|
|
|
Patch8: qtwebkit-opensource-src-5.2.1-no_rpath.patch
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?system_angle}
|
|
|
|
|
|
|
|
BuildRequires: angleproject-devel angleproject-static
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: qt5-qtbase-devel >= %{version}
|
|
|
|
BuildRequires: qt5-qtbase-devel >= %{version}
|
|
|
|
BuildRequires: qt5-qtdeclarative-devel >= %{version}
|
|
|
|
BuildRequires: qt5-qtdeclarative-devel >= %{version}
|
|
|
|
BuildRequires: qt5-qtlocation-devel
|
|
|
|
BuildRequires: qt5-qtlocation-devel
|
|
|
|
BuildRequires: qt5-qtsensors-devel
|
|
|
|
BuildRequires: qt5-qtsensors-devel
|
|
|
|
|
|
|
|
BuildRequires: qt5-qtwebchannel
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: bison
|
|
|
|
BuildRequires: bison
|
|
|
|
BuildRequires: flex
|
|
|
|
BuildRequires: flex
|
|
|
@ -80,11 +71,13 @@ BuildRequires: pkgconfig(libwebp)
|
|
|
|
BuildRequires: pkgconfig(libxslt)
|
|
|
|
BuildRequires: pkgconfig(libxslt)
|
|
|
|
BuildRequires: pkgconfig(sqlite3)
|
|
|
|
BuildRequires: pkgconfig(sqlite3)
|
|
|
|
BuildRequires: pkgconfig(xcomposite) pkgconfig(xrender)
|
|
|
|
BuildRequires: pkgconfig(xcomposite) pkgconfig(xrender)
|
|
|
|
BuildRequires: perl perl(version) perl(Digest::MD5) perl(Text::ParseWords)
|
|
|
|
BuildRequires: perl perl(version)
|
|
|
|
|
|
|
|
BuildRequires: perl(Digest::MD5) perl(Text::ParseWords) perl(Getopt::Long)
|
|
|
|
BuildRequires: ruby
|
|
|
|
BuildRequires: ruby
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
|
|
|
|
|
|
|
|
%{?_qt5_version:Requires: qt5-qtbase%{?_isa} >= %{_qt5_version}}
|
|
|
|
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
|
|
|
|
|
|
|
|
%{?_qt5:Requires: qt5-qtdeclarative%{?_isa} = %{_qt5_version}}
|
|
|
|
|
|
|
|
|
|
|
|
##upstream patches
|
|
|
|
##upstream patches
|
|
|
|
|
|
|
|
|
|
|
@ -103,8 +96,7 @@ Requires: qt5-qtdeclarative-devel%{?_isa}
|
|
|
|
%if 0%{?docs}
|
|
|
|
%if 0%{?docs}
|
|
|
|
%package doc
|
|
|
|
%package doc
|
|
|
|
Summary: API documentation for %{name}
|
|
|
|
Summary: API documentation for %{name}
|
|
|
|
# for qhelpgenerator
|
|
|
|
BuildRequires: qt5-qhelpgenerator
|
|
|
|
BuildRequires: qt5-qttools-devel
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
%description doc
|
|
|
|
%description doc
|
|
|
|
%{summary}.
|
|
|
|
%{summary}.
|
|
|
@ -112,15 +104,11 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n qtwebkit-opensource-src-%{version}%{?pre:-%{pre}}
|
|
|
|
%setup -q -n %{qt_module}-opensource-src-%{version}%{?prerelease:-%{prerelease}}
|
|
|
|
|
|
|
|
|
|
|
|
%patch1 -p1 -b .pluginpath
|
|
|
|
%patch1 -p1 -b .pluginpath
|
|
|
|
%patch3 -p1 -b .debuginfo
|
|
|
|
%patch3 -p1 -b .debuginfo
|
|
|
|
%patch4 -p1 -b .save_memory
|
|
|
|
%patch4 -p1 -b .save_memory
|
|
|
|
%if 0%{?system_angle}
|
|
|
|
|
|
|
|
#patch5 -p1 -b .system_angle
|
|
|
|
|
|
|
|
%patch6 -p1 -b .svn142567
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%patch7 -p1 -b .aarch64
|
|
|
|
%patch7 -p1 -b .aarch64
|
|
|
|
%patch8 -p1 -b .no_rpath
|
|
|
|
%patch8 -p1 -b .no_rpath
|
|
|
|
|
|
|
|
|
|
|
@ -130,18 +118,12 @@ mkdir Source/ThirdParty/orig
|
|
|
|
mv Source/ThirdParty/{gtest/,qunit/} \
|
|
|
|
mv Source/ThirdParty/{gtest/,qunit/} \
|
|
|
|
Source/ThirdParty/orig/
|
|
|
|
Source/ThirdParty/orig/
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?system_angle}
|
|
|
|
|
|
|
|
mv Source/ThirdParty/ANGLE/ \
|
|
|
|
|
|
|
|
Source/ThirdParty/orig/
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
mkdir %{_target_platform}
|
|
|
|
mkdir %{_target_platform}
|
|
|
|
pushd %{_target_platform}
|
|
|
|
pushd %{_target_platform}
|
|
|
|
|
|
|
|
|
|
|
|
%{qmake_qt5} .. \
|
|
|
|
%{qmake_qt5} .. \
|
|
|
|
%{?system_angle:DEFINES+=USE_SYSTEM_ANGLE=1} \
|
|
|
|
|
|
|
|
%ifnarch %{arm} %{ix86} x86_64
|
|
|
|
%ifnarch %{arm} %{ix86} x86_64
|
|
|
|
DEFINES+=ENABLE_JIT=0 DEFINES+=ENABLE_YARR_JIT=0
|
|
|
|
DEFINES+=ENABLE_JIT=0 DEFINES+=ENABLE_YARR_JIT=0
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
@ -155,7 +137,6 @@ make %{?_smp_mflags} docs
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
popd
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
make install INSTALL_ROOT=%{buildroot} -C %{_target_platform}
|
|
|
|
make install INSTALL_ROOT=%{buildroot} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
|
@ -175,7 +156,6 @@ for prl_file in libQt5*.prl ; do
|
|
|
|
done
|
|
|
|
done
|
|
|
|
popd
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
@ -204,6 +184,32 @@ popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Fri Oct 16 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.1-3
|
|
|
|
|
|
|
|
- drop (unused) system_angle support/patches
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Oct 15 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-2
|
|
|
|
|
|
|
|
- Update to final release 5.5.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Sep 29 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-1
|
|
|
|
|
|
|
|
- Update to Qt 5.5.1 RC1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 29 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-4
|
|
|
|
|
|
|
|
- -docs: BuildRequires: qt5-qhelpgenerator, standardize bootstrapping
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 16 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-3
|
|
|
|
|
|
|
|
- tighten deps (#1233829)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jul 13 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.5.0-2
|
|
|
|
|
|
|
|
- add 5.5.0-1 changelog
|
|
|
|
|
|
|
|
- BR: qt5-qtwebchannel-devel
|
|
|
|
|
|
|
|
- (re)enable docs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 1 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-1
|
|
|
|
|
|
|
|
- New final upstream release Qt 5.5.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jun 25 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.2.rc
|
|
|
|
|
|
|
|
- Update for official RC1 released packages
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jun 03 2015 Jan Grulich <jgrulich@redhat.com> - 5.4.2-1
|
|
|
|
* Wed Jun 03 2015 Jan Grulich <jgrulich@redhat.com> - 5.4.2-1
|
|
|
|
- 5.4.2
|
|
|
|
- 5.4.2
|
|
|
|
|
|
|
|
|
|
|
|