From e114317dbbdc634ba5700e4a37ba37fecb7fff45 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 18 Jun 2015 21:51:38 +0000 Subject: [PATCH 01/13] - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild --- qt5-qtwebkit.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/qt5-qtwebkit.spec b/qt5-qtwebkit.spec index c99ad82..43280f4 100644 --- a/qt5-qtwebkit.spec +++ b/qt5-qtwebkit.spec @@ -13,7 +13,7 @@ Summary: Qt5 - QtWebKit components Name: qt5-qtwebkit Version: 5.4.2 -Release: 1%{?dist} +Release: 2%{?dist} # See LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt, for details # See also http://qt-project.org/doc/qt-5.0/qtdoc/licensing.html @@ -204,6 +204,9 @@ popd %changelog +* Thu Jun 18 2015 Fedora Release Engineering - 5.4.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + * Wed Jun 03 2015 Jan Grulich - 5.4.2-1 - 5.4.2 From 5ec8cad9a3767578c41beb546d651cc4295cdc5a Mon Sep 17 00:00:00 2001 From: Helio Chissini de Castro Date: Mon, 29 Jun 2015 18:05:11 -0300 Subject: [PATCH 02/13] - Update rc1 5.5.0 --- .gitignore | 1 + qt5-qtwebkit.spec | 26 +++++++++++--------------- sources | 2 +- 3 files changed, 13 insertions(+), 16 deletions(-) diff --git a/.gitignore b/.gitignore index 9590011..3bf7dd7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /qtwebkit-opensource-src-5.4.0.tar.xz /qtwebkit-opensource-src-5.4.1.tar.xz /qtwebkit-opensource-src-5.4.2.tar.xz +/qtwebkit-opensource-src-5.5.0-rc.tar.xz diff --git a/qt5-qtwebkit.spec b/qt5-qtwebkit.spec index 43280f4..dc6206e 100644 --- a/qt5-qtwebkit.spec +++ b/qt5-qtwebkit.spec @@ -7,23 +7,22 @@ # where qt5-qttools builds are not yet available # only primary archs (for now), allow secondary to bootstrap %ifarch %{arm} %{ix86} x86_64 -%define docs 1 +#%define docs 1 +%define docs 0 %endif +%define prerelease rc + Summary: Qt5 - QtWebKit components Name: qt5-qtwebkit -Version: 5.4.2 -Release: 2%{?dist} +Version: 5.5.0 +Release: 0.2.rc%{?dist} # See LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt, for details # See also http://qt-project.org/doc/qt-5.0/qtdoc/licensing.html License: LGPLv2 with exceptions or GPLv3 with exceptions -Url: http://qt-project.org/ -%if 0%{?pre:1} -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 +Url: http://www.qt.io +Source0: http://download.qt.io/development_releases/qt/5.5/%{version}%{?prerelease:-%{prerelease}}/submodules/%{qt_module}-opensource-src-%{version}%{?prerelease:-%{prerelease}}.tar.xz # Search /usr/lib{,64}/mozilla/plugins-wrapped for browser plugins too Patch1: qtwebkit-opensource-src-5.2.0-pluginpath.patch @@ -112,7 +111,7 @@ BuildArch: noarch %prep -%setup -q -n qtwebkit-opensource-src-%{version}%{?pre:-%{pre}} +%setup -q -n %{qt_module}-opensource-src-%{version}%{?prerelease:-%{prerelease}} %patch1 -p1 -b .pluginpath %patch3 -p1 -b .debuginfo @@ -135,7 +134,6 @@ mv Source/ThirdParty/ANGLE/ \ Source/ThirdParty/orig/ %endif - %build mkdir %{_target_platform} pushd %{_target_platform} @@ -155,7 +153,6 @@ make %{?_smp_mflags} docs %endif popd - %install make install INSTALL_ROOT=%{buildroot} -C %{_target_platform} @@ -175,7 +172,6 @@ for prl_file in libQt5*.prl ; do done popd - %post -p /sbin/ldconfig %postun -p /sbin/ldconfig @@ -204,8 +200,8 @@ popd %changelog -* Thu Jun 18 2015 Fedora Release Engineering - 5.4.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild +* Thu Jun 25 2015 Helio Chissini de Castro - 5.5.0-0.2.rc +- Update for official RC1 released packages * Wed Jun 03 2015 Jan Grulich - 5.4.2-1 - 5.4.2 diff --git a/sources b/sources index d886ed8..2de698e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b711b3f32646d72cd281b3c17ab6d14e qtwebkit-opensource-src-5.4.2.tar.xz +170e79f831c6b1f1c46ef815e0f0ebd5 qtwebkit-opensource-src-5.5.0-rc.tar.xz From ccc6c0f297f0eac3dca651898aa34aeb19174853 Mon Sep 17 00:00:00 2001 From: Helio Chissini de Castro Date: Wed, 1 Jul 2015 11:46:26 -0300 Subject: [PATCH 03/13] - New final upstream release Qt 5.5.0 --- qt5-qtwebkit.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qt5-qtwebkit.spec b/qt5-qtwebkit.spec index dc6206e..cacd966 100644 --- a/qt5-qtwebkit.spec +++ b/qt5-qtwebkit.spec @@ -11,18 +11,18 @@ %define docs 0 %endif -%define prerelease rc +#define prerelease rc Summary: Qt5 - QtWebKit components Name: qt5-qtwebkit Version: 5.5.0 -Release: 0.2.rc%{?dist} +Release: 1%{?dist} # See LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt, for details # See also http://qt-project.org/doc/qt-5.0/qtdoc/licensing.html License: LGPLv2 with exceptions or GPLv3 with exceptions Url: http://www.qt.io -Source0: http://download.qt.io/development_releases/qt/5.5/%{version}%{?prerelease:-%{prerelease}}/submodules/%{qt_module}-opensource-src-%{version}%{?prerelease:-%{prerelease}}.tar.xz +Source0: http://download.qt.io/official_releases/qt/5.5/%{version}%{?prerelease:-%{prerelease}}/submodules/%{qt_module}-opensource-src-%{version}%{?prerelease:-%{prerelease}}.tar.xz # Search /usr/lib{,64}/mozilla/plugins-wrapped for browser plugins too Patch1: qtwebkit-opensource-src-5.2.0-pluginpath.patch From cd8caaa8794010ca9958510fdb64d9799ebcb767 Mon Sep 17 00:00:00 2001 From: Helio Chissini de Castro Date: Wed, 1 Jul 2015 13:10:32 -0300 Subject: [PATCH 04/13] - Missing proper sources --- .gitignore | 1 + sources | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 3bf7dd7..4f0e516 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /qtwebkit-opensource-src-5.4.1.tar.xz /qtwebkit-opensource-src-5.4.2.tar.xz /qtwebkit-opensource-src-5.5.0-rc.tar.xz +/qtwebkit-opensource-src-5.5.0.tar.xz diff --git a/sources b/sources index 2de698e..217503f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -170e79f831c6b1f1c46ef815e0f0ebd5 qtwebkit-opensource-src-5.5.0-rc.tar.xz +5335fe211f5c0f92a4f6ca370fa9a0ce qtwebkit-opensource-src-5.5.0.tar.xz From 1afcd29b87b6f6c5201806e743ca97d8eca1e90a Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Mon, 13 Jul 2015 21:17:43 -0500 Subject: [PATCH 05/13] 5.5.0-2 - add 5.5.0-1 changelog - BR: qt5-qtwebchannel-devel - (re)enable docs --- qt5-qtwebkit.spec | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/qt5-qtwebkit.spec b/qt5-qtwebkit.spec index cacd966..78b6281 100644 --- a/qt5-qtwebkit.spec +++ b/qt5-qtwebkit.spec @@ -7,8 +7,7 @@ # where qt5-qttools builds are not yet available # only primary archs (for now), allow secondary to bootstrap %ifarch %{arm} %{ix86} x86_64 -#%define docs 1 -%define docs 0 +%define docs 1 %endif #define prerelease rc @@ -16,7 +15,7 @@ Summary: Qt5 - QtWebKit components Name: qt5-qtwebkit Version: 5.5.0 -Release: 1%{?dist} +Release: 2%{?dist} # See LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt, for details # See also http://qt-project.org/doc/qt-5.0/qtdoc/licensing.html @@ -55,6 +54,7 @@ BuildRequires: qt5-qtbase-devel >= %{version} BuildRequires: qt5-qtdeclarative-devel >= %{version} BuildRequires: qt5-qtlocation-devel BuildRequires: qt5-qtsensors-devel +BuildRequires: qt5-qtwebchannel BuildRequires: bison BuildRequires: flex @@ -200,6 +200,14 @@ popd %changelog +* Mon Jul 13 2015 Rex Dieter - 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 - 5.5.0-1 +- New final upstream release Qt 5.5.0 + * Thu Jun 25 2015 Helio Chissini de Castro - 5.5.0-0.2.rc - Update for official RC1 released packages From e82025a33ce69c7ac237ad5dfaf73977044e9592 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Thu, 16 Jul 2015 12:02:31 -0500 Subject: [PATCH 06/13] tighten deps (#1233829) --- qt5-qtwebkit.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/qt5-qtwebkit.spec b/qt5-qtwebkit.spec index 78b6281..c2ecd86 100644 --- a/qt5-qtwebkit.spec +++ b/qt5-qtwebkit.spec @@ -15,7 +15,7 @@ Summary: Qt5 - QtWebKit components Name: qt5-qtwebkit Version: 5.5.0 -Release: 2%{?dist} +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 @@ -83,7 +83,8 @@ BuildRequires: perl perl(version) perl(Digest::MD5) perl(Text::ParseWords) BuildRequires: ruby 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 @@ -200,6 +201,9 @@ popd %changelog +* Thu Jul 16 2015 Rex Dieter 5.5.0-3 +- tighten deps (#1233829) + * Mon Jul 13 2015 Rex Dieter - 5.5.0-2 - add 5.5.0-1 changelog - BR: qt5-qtwebchannel-devel From d854d862a5eca07c8830c3d14d720f99e73dc48e Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Wed, 29 Jul 2015 11:33:45 -0500 Subject: [PATCH 07/13] docs: BuildRequires: qt5-qhelpgenerator, standardize bootstrapping --- qt5-qtwebkit.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/qt5-qtwebkit.spec b/qt5-qtwebkit.spec index c2ecd86..57476e6 100644 --- a/qt5-qtwebkit.spec +++ b/qt5-qtwebkit.spec @@ -6,16 +6,20 @@ # 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 +#global bootstrap 1 + +%if ! 0%{?bootstrap} %ifarch %{arm} %{ix86} x86_64 %define docs 1 %endif +%endif #define prerelease rc Summary: Qt5 - QtWebKit components Name: qt5-qtwebkit Version: 5.5.0 -Release: 3%{?dist} +Release: 4%{?dist} # See LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt, for details # See also http://qt-project.org/doc/qt-5.0/qtdoc/licensing.html @@ -103,8 +107,7 @@ Requires: qt5-qtdeclarative-devel%{?_isa} %if 0%{?docs} %package doc Summary: API documentation for %{name} -# for qhelpgenerator -BuildRequires: qt5-qttools-devel +BuildRequires: qt5-qhelpgenerator BuildArch: noarch %description doc %{summary}. @@ -201,6 +204,9 @@ popd %changelog +* Wed Jul 29 2015 Rex Dieter 5.5.0-4 +- -docs: BuildRequires: qt5-qhelpgenerator, standardize bootstrapping + * Thu Jul 16 2015 Rex Dieter 5.5.0-3 - tighten deps (#1233829) From d2a7000f583a0a9be697b8af4f15a3a4d1feb0e2 Mon Sep 17 00:00:00 2001 From: Helio Chissini de Castro Date: Mon, 5 Oct 2015 13:58:00 -0300 Subject: [PATCH 08/13] - Prepare to 5.5.1 release with Qt 5.5.1 RC --- .gitignore | 1 + qt5-qtwebkit.spec | 9 ++++++--- sources | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 4f0e516..48835f3 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /qtwebkit-opensource-src-5.4.2.tar.xz /qtwebkit-opensource-src-5.5.0-rc.tar.xz /qtwebkit-opensource-src-5.5.0.tar.xz +/qtwebkit-opensource-src-5.5.1-rc1.tar.xz diff --git a/qt5-qtwebkit.spec b/qt5-qtwebkit.spec index 57476e6..3cbaa22 100644 --- a/qt5-qtwebkit.spec +++ b/qt5-qtwebkit.spec @@ -14,12 +14,12 @@ %endif %endif -#define prerelease rc +%define prerelease rc1 Summary: Qt5 - QtWebKit components Name: qt5-qtwebkit -Version: 5.5.0 -Release: 4%{?dist} +Version: 5.5.1 +Release: 1%{?dist} # See LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt, for details # See also http://qt-project.org/doc/qt-5.0/qtdoc/licensing.html @@ -204,6 +204,9 @@ popd %changelog +* Tue Sep 29 2015 Helio Chissini de Castro - 5.5.1-1 +- Update to Qt 5.5.1 RC1 + * Wed Jul 29 2015 Rex Dieter 5.5.0-4 - -docs: BuildRequires: qt5-qhelpgenerator, standardize bootstrapping diff --git a/sources b/sources index 217503f..def8eaa 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -5335fe211f5c0f92a4f6ca370fa9a0ce qtwebkit-opensource-src-5.5.0.tar.xz +9304560261185e5cef7934901626f3c1 qtwebkit-opensource-src-5.5.1-rc1.tar.xz From 74e3f43030216dfb00d4dd99581553f4cd47fda8 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Fri, 9 Oct 2015 07:27:58 -0500 Subject: [PATCH 09/13] BR: perl(Getopt::Long) --- qt5-qtwebkit.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qt5-qtwebkit.spec b/qt5-qtwebkit.spec index 3cbaa22..8f05518 100644 --- a/qt5-qtwebkit.spec +++ b/qt5-qtwebkit.spec @@ -83,7 +83,8 @@ BuildRequires: pkgconfig(libwebp) BuildRequires: pkgconfig(libxslt) BuildRequires: pkgconfig(sqlite3) 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: zlib-devel From 1a4a3d6c18ea6ff830ea8297e6df6e138563e384 Mon Sep 17 00:00:00 2001 From: Helio Chissini de Castro Date: Thu, 15 Oct 2015 11:23:27 -0300 Subject: [PATCH 10/13] - Update to final release --- .gitignore | 1 + qt5-qtwebkit.spec | 2 +- sources | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 48835f3..d818f91 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /qtwebkit-opensource-src-5.5.0-rc.tar.xz /qtwebkit-opensource-src-5.5.0.tar.xz /qtwebkit-opensource-src-5.5.1-rc1.tar.xz +/qtwebkit-opensource-src-5.5.1.tar.xz diff --git a/qt5-qtwebkit.spec b/qt5-qtwebkit.spec index 8f05518..e1fd2f0 100644 --- a/qt5-qtwebkit.spec +++ b/qt5-qtwebkit.spec @@ -14,7 +14,7 @@ %endif %endif -%define prerelease rc1 +## define prerelease rc1 Summary: Qt5 - QtWebKit components Name: qt5-qtwebkit diff --git a/sources b/sources index def8eaa..c3c4633 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9304560261185e5cef7934901626f3c1 qtwebkit-opensource-src-5.5.1-rc1.tar.xz +681328edb539b8fa3a273b38c90b3e31 qtwebkit-opensource-src-5.5.1.tar.xz From 8e356ef5f0a2d7ca89655a67190dc9e34fc0c2eb Mon Sep 17 00:00:00 2001 From: Helio Chissini de Castro Date: Thu, 15 Oct 2015 11:24:15 -0300 Subject: [PATCH 11/13] - Update to final release --- qt5-qtwebkit.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/qt5-qtwebkit.spec b/qt5-qtwebkit.spec index e1fd2f0..8495a2b 100644 --- a/qt5-qtwebkit.spec +++ b/qt5-qtwebkit.spec @@ -19,7 +19,7 @@ Summary: Qt5 - QtWebKit components Name: qt5-qtwebkit Version: 5.5.1 -Release: 1%{?dist} +Release: 2%{?dist} # See LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt, for details # See also http://qt-project.org/doc/qt-5.0/qtdoc/licensing.html @@ -205,6 +205,9 @@ popd %changelog +* Thu Oct 15 2015 Helio Chissini de Castro - 5.5.1-2 +- Update to final release 5.5.1 + * Tue Sep 29 2015 Helio Chissini de Castro - 5.5.1-1 - Update to Qt 5.5.1 RC1 From 94c03c2705d1e0ce9fe6dd298d0efbe770012599 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Fri, 16 Oct 2015 09:13:53 -0500 Subject: [PATCH 12/13] drop (unused) system_angle support/patches at least until anyone else is interested in picking up maintenance of angleproject in fedora, see also: https://bugzilla.redhat.com/show_bug.cgi?id=967234 --- qt5-qtwebkit.spec | 22 +--- ...it-opensource-src-5.0.2-system_angle.patch | 114 ------------------ webkit-commit-142567.patch | 57 --------- 3 files changed, 4 insertions(+), 189 deletions(-) delete mode 100644 qtwebkit-opensource-src-5.0.2-system_angle.patch delete mode 100644 webkit-commit-142567.patch diff --git a/qt5-qtwebkit.spec b/qt5-qtwebkit.spec index 8495a2b..7383767 100644 --- a/qt5-qtwebkit.spec +++ b/qt5-qtwebkit.spec @@ -19,7 +19,7 @@ Summary: Qt5 - QtWebKit components Name: qt5-qtwebkit Version: 5.5.1 -Release: 2%{?dist} +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 @@ -36,14 +36,6 @@ Patch3: qtwebkit-opensource-src-5.0.1-debuginfo.patch # tweak linker flags to minimize memory usage on "small" platforms 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 Patch7: 0001-Add-ARM-64-support.patch @@ -121,10 +113,6 @@ BuildArch: noarch %patch1 -p1 -b .pluginpath %patch3 -p1 -b .debuginfo %patch4 -p1 -b .save_memory -%if 0%{?system_angle} -#patch5 -p1 -b .system_angle -%patch6 -p1 -b .svn142567 -%endif %patch7 -p1 -b .aarch64 %patch8 -p1 -b .no_rpath @@ -134,17 +122,12 @@ mkdir Source/ThirdParty/orig mv Source/ThirdParty/{gtest/,qunit/} \ Source/ThirdParty/orig/ -%if 0%{?system_angle} -mv Source/ThirdParty/ANGLE/ \ - Source/ThirdParty/orig/ -%endif %build mkdir %{_target_platform} pushd %{_target_platform} %{qmake_qt5} .. \ - %{?system_angle:DEFINES+=USE_SYSTEM_ANGLE=1} \ %ifnarch %{arm} %{ix86} x86_64 DEFINES+=ENABLE_JIT=0 DEFINES+=ENABLE_YARR_JIT=0 %endif @@ -205,6 +188,9 @@ popd %changelog +* Fri Oct 16 2015 Rex Dieter 5.5.1-3 +- drop (unused) system_angle support/patches + * Thu Oct 15 2015 Helio Chissini de Castro - 5.5.1-2 - Update to final release 5.5.1 diff --git a/qtwebkit-opensource-src-5.0.2-system_angle.patch b/qtwebkit-opensource-src-5.0.2-system_angle.patch deleted file mode 100644 index 6d5009c..0000000 --- a/qtwebkit-opensource-src-5.0.2-system_angle.patch +++ /dev/null @@ -1,114 +0,0 @@ -diff -up qtwebkit-opensource-src-5.0.2/Source/api.pri.system_angle qtwebkit-opensource-src-5.0.2/Source/api.pri ---- qtwebkit-opensource-src-5.0.2/Source/api.pri.system_angle 2013-04-08 19:11:51.000000000 -0500 -+++ qtwebkit-opensource-src-5.0.2/Source/api.pri 2013-05-25 07:24:57.723118634 -0500 -@@ -24,8 +24,6 @@ build?(webkit1): { - } - build?(webkit2): QMAKE_INTERNAL_INCLUDED_FILES *= WebKit2/Target.pri - --use?(3D_GRAPHICS): WEBKIT += angle -- - MODULE = webkit - CONFIG += creating_module - -diff -up qtwebkit-opensource-src-5.0.2/Source/WebCore/Target.pri.system_angle qtwebkit-opensource-src-5.0.2/Source/WebCore/Target.pri ---- qtwebkit-opensource-src-5.0.2/Source/WebCore/Target.pri.system_angle 2013-04-08 19:11:51.000000000 -0500 -+++ qtwebkit-opensource-src-5.0.2/Source/WebCore/Target.pri 2013-05-25 07:24:57.722118644 -0500 -@@ -3988,7 +3988,7 @@ use?(3D_GRAPHICS) { - platform/graphics/texmap/TextureMapperGL.cpp \ - platform/graphics/texmap/TextureMapperShaderManager.cpp - -- INCLUDEPATH += $$PWD/platform/graphics/gpu -+ INCLUDEPATH += $$PWD/platform/graphics/gpu /usr/include/GLSLANG - - contains(QT_CONFIG, opengl) | contains(QT_CONFIG, opengles2) { - !contains(QT_CONFIG, opengles2) { -diff -up qtwebkit-opensource-src-5.0.2/Source/WebCore/WebCore.pri.system_angle qtwebkit-opensource-src-5.0.2/Source/WebCore/WebCore.pri ---- qtwebkit-opensource-src-5.0.2/Source/WebCore/WebCore.pri.system_angle 2013-05-25 07:24:57.718118687 -0500 -+++ qtwebkit-opensource-src-5.0.2/Source/WebCore/WebCore.pri 2013-05-25 09:24:18.318809566 -0500 -@@ -214,12 +214,13 @@ enable?(WEB_AUDIO) { - - use?(3D_GRAPHICS) { - win32: { -- win32-g++: { -+ win32-g++*: { - # Make sure OpenGL libs are after the webcore lib so MinGW can resolve symbols - contains(QT_CONFIG, opengles2) { - CONFIG(debug, debug|release):contains(QT_CONFIG, angle) { - LIBS += $$QMAKE_LIBS_OPENGL_ES2_DEBUG - } else { -+ INCLUDEPATH += /usr/i686-w64-mingw32/sys-root/mingw/include/GLSLANG - LIBS += $$QMAKE_LIBS_OPENGL_ES2 - } - } else { -@@ -228,6 +229,8 @@ use?(3D_GRAPHICS) { - } - } else { - contains(QT_CONFIG, opengles2): LIBS += -lEGL -+ INCLUDEPATH += /usr/include/GLSLANG -+ LIBS += -ltranslator_glsl -ltranslator_common -lpreprocessor - } - } - -diff -up qtwebkit-opensource-src-5.0.2/Source/WebKit2/Target.pri.system_angle qtwebkit-opensource-src-5.0.2/Source/WebKit2/Target.pri ---- qtwebkit-opensource-src-5.0.2/Source/WebKit2/Target.pri.system_angle 2013-04-08 19:11:42.000000000 -0500 -+++ qtwebkit-opensource-src-5.0.2/Source/WebKit2/Target.pri 2013-05-25 07:24:57.723118634 -0500 -@@ -938,7 +938,10 @@ enable?(TOUCH_EVENTS) { - - enable?(GEOLOCATION): QT += location - --use?(3D_GRAPHICS): WEBKIT += angle -+use?(3D_GRAPHICS) { -+ WEBKIT += angle -+ INCLUDEPATH += /usr/include/GLSLANG -+} - - use?(PLUGIN_BACKEND_XLIB) { - DEFINES += XP_UNIX -diff -up qtwebkit-opensource-src-5.0.2/Source/WebKit/WebKit1.pro.system_angle qtwebkit-opensource-src-5.0.2/Source/WebKit/WebKit1.pro ---- qtwebkit-opensource-src-5.0.2/Source/WebKit/WebKit1.pro.system_angle 2013-04-08 19:11:39.000000000 -0500 -+++ qtwebkit-opensource-src-5.0.2/Source/WebKit/WebKit1.pro 2013-05-25 07:24:57.722118644 -0500 -@@ -92,7 +92,10 @@ HEADERS += \ - INCLUDEPATH += \ - $$PWD/qt/WebCoreSupport - --use?(3D_GRAPHICS): WEBKIT += angle -+use?(3D_GRAPHICS) { -+ WEBKIT += angle -+ INCLUDEPATH += /usr/include/GLSLANG -+} - - enable?(GEOLOCATION) { - HEADERS += \ -diff -up qtwebkit-opensource-src-5.0.2/Tools/qmake/mkspecs/features/webkit_modules.prf.system_angle qtwebkit-opensource-src-5.0.2/Tools/qmake/mkspecs/features/webkit_modules.prf ---- qtwebkit-opensource-src-5.0.2/Tools/qmake/mkspecs/features/webkit_modules.prf.system_angle 2013-04-08 19:11:53.000000000 -0500 -+++ qtwebkit-opensource-src-5.0.2/Tools/qmake/mkspecs/features/webkit_modules.prf 2013-05-25 07:24:57.723118634 -0500 -@@ -7,7 +7,7 @@ - - # Reorder libraries so that the link and include order is correct, - # and make sure the case matches the original case. --libraries = WebKit1 WebKit2 WebCore ANGLE JavaScriptCore WTF -+libraries = WebKit1 WebKit2 WebCore JavaScriptCore WTF - for(library, libraries) { - contains(WEBKIT, $$lower($$library)) { - WEBKIT -= $$lower($$library) -diff -up qtwebkit-opensource-src-5.0.2/Tools/qmake/mkspecs/modules/angle.prf.system_angle qtwebkit-opensource-src-5.0.2/Tools/qmake/mkspecs/modules/angle.prf -diff -up qtwebkit-opensource-src-5.0.2/WebKit.pro.system_angle qtwebkit-opensource-src-5.0.2/WebKit.pro ---- qtwebkit-opensource-src-5.0.2/WebKit.pro.system_angle 2013-04-08 19:11:32.000000000 -0500 -+++ qtwebkit-opensource-src-5.0.2/WebKit.pro 2013-05-25 07:24:57.720118666 -0500 -@@ -18,11 +18,11 @@ JavaScriptCore.file = Source/JavaScriptC - JavaScriptCore.makefile = Makefile.JavaScriptCore - SUBDIRS += JavaScriptCore - --use?(3D_GRAPHICS) { -- ANGLE.file = Source/ThirdParty/ANGLE/ANGLE.pro -- ANGLE.makefile = Makefile.ANGLE -- SUBDIRS += ANGLE --} -+#use?(3D_GRAPHICS) { -+# ANGLE.file = Source/ThirdParty/ANGLE/ANGLE.pro -+# ANGLE.makefile = Makefile.ANGLE -+# SUBDIRS += ANGLE -+#} - - WebCore.file = Source/WebCore/WebCore.pro - WebCore.makefile = Makefile.WebCore diff --git a/webkit-commit-142567.patch b/webkit-commit-142567.patch deleted file mode 100644 index af8c3e8..0000000 --- a/webkit-commit-142567.patch +++ /dev/null @@ -1,57 +0,0 @@ -Index: trunk/Source/WebCore/platform/graphics/ANGLEWebKitBridge.cpp -=================================================================== ---- trunk/Source/WebCore/platform/graphics/ANGLEWebKitBridge.cpp (revision 136430) -+++ trunk/Source/WebCore/platform/graphics/ANGLEWebKitBridge.cpp (revision 142567) -@@ -33,7 +33,14 @@ - namespace WebCore { - --inline static int getValidationResultValue(const ShHandle compiler, ShShaderInfo shaderInfo) --{ -- int value = -1; -+// Temporary typedef to support an incompatible change in the ANGLE API. -+#if !defined(ANGLE_SH_VERSION) || ANGLE_SH_VERSION < 108 -+typedef int ANGLEGetInfoType; -+#else -+typedef size_t ANGLEGetInfoType; -+#endif -+ -+inline static ANGLEGetInfoType getValidationResultValue(const ShHandle compiler, ShShaderInfo shaderInfo) -+{ -+ ANGLEGetInfoType value = 0; - ShGetInfo(compiler, shaderInfo, &value); - return value; -@@ -56,13 +63,11 @@ - } - -- int numSymbols = getValidationResultValue(compiler, symbolType); -- if (numSymbols < 0) -- return false; -- -- int maxNameLength = getValidationResultValue(compiler, symbolMaxNameLengthType); -+ ANGLEGetInfoType numSymbols = getValidationResultValue(compiler, symbolType); -+ -+ ANGLEGetInfoType maxNameLength = getValidationResultValue(compiler, symbolMaxNameLengthType); - if (maxNameLength <= 1) - return false; - -- int maxMappedNameLength = getValidationResultValue(compiler, SH_MAPPED_NAME_MAX_LENGTH); -+ ANGLEGetInfoType maxMappedNameLength = getValidationResultValue(compiler, SH_MAPPED_NAME_MAX_LENGTH); - if (maxMappedNameLength <= 1) - return false; -@@ -72,7 +77,7 @@ - Vector mappedNameBuffer(maxMappedNameLength); - -- for (int i = 0; i < numSymbols; ++i) { -+ for (ANGLEGetInfoType i = 0; i < numSymbols; ++i) { - ANGLEShaderSymbol symbol; -- int nameLength = -1; -+ ANGLEGetInfoType nameLength = 0; - switch (symbolType) { - case SH_ACTIVE_ATTRIBUTES: -@@ -88,5 +93,5 @@ - return false; - } -- if (nameLength <= 0) -+ if (!nameLength) - return false; - From 62ddb7faf720fbea74f8a8dc35b936074a0ec5c4 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Tue, 20 Oct 2015 13:05:27 -0500 Subject: [PATCH 13/13] angle remnants --- qt5-qtwebkit.spec | 4 ---- 1 file changed, 4 deletions(-) diff --git a/qt5-qtwebkit.spec b/qt5-qtwebkit.spec index 7383767..151493e 100644 --- a/qt5-qtwebkit.spec +++ b/qt5-qtwebkit.spec @@ -42,10 +42,6 @@ Patch7: 0001-Add-ARM-64-support.patch # truly madly deeply no rpath please, kthxbye 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-qtdeclarative-devel >= %{version} BuildRequires: qt5-qtlocation-devel