Compare commits

...
Sign in to create a new pull request.

12 commits

Author SHA1 Message Date
Troy Dawson
03db8c90c1 Merge branch epel8-next into epel8 2022-11-08 11:12:54 -08:00
Troy Dawson
768ed7b15b Fix aarch64 build failures on epel8-next 2022-05-12 15:00:13 -07:00
Troy Dawson
e87a126ea1 Fix aarch64 build failures on epel8-next 2022-05-12 14:49:54 -07:00
Troy Dawson
6563eeeaf0 python2 rpms for rhel9 only 2022-05-06 10:00:40 -07:00
Troy Dawson
234878f38f Sync back to F34 version, but only use clone3 patch on fedora 2021-11-11 09:38:25 -08:00
Troy Dawson
f401d20b63 Revert to older version that builds 2021-11-10 11:59:53 -08:00
Troy Dawson
c1c359b9d4 Merge branch f34 into epel8 2021-11-10 09:41:24 -08:00
Troy Dawson
173967d59b Update to 5.12.8 2020-04-30 18:40:28 -07:00
Troy Dawson
908c51a8b7 Tweek on mkspecs fix 2019-11-06 23:08:48 +00:00
Troy Dawson
df5295b731 Add mkspecs to build on RHEL8 (Kevin Kofler) 2019-11-06 23:08:34 +00:00
Troy Dawson
c7a84d3268 Merge branch f30 into epel8 2019-08-01 08:06:45 -07:00
Gwyn Ciesla
55b15bbb4a "Adding package.cfg file" 2019-07-31 10:40:47 -05:00
2 changed files with 59 additions and 2 deletions

View file

@ -62,7 +62,7 @@
Summary: Qt5 - QtWebEngine components
Name: qt5-qtwebengine
Version: 5.15.8
Release: 5%{?dist}
Release: 5%{?dist}.1
# See LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt, for details
# See also http://qt-project.org/doc/qt-5.0/qtdoc/licensing.html
@ -120,6 +120,9 @@ Patch31: qtwebengine-everywhere-src-5.15.5-TRUE.patch
## Upstream patches:
## epel8 patches
Patch101: qtwebengine-everywhere-5.15.8-gcc-aarch64-hack.patch.patch
%if 0%{?fedora} || 0%{?epel} > 7
# handled by qt5-srpm-macros, which defines %%qt5_qtwebengine_arches
ExclusiveArch: %{qt5_qtwebengine_arches}
@ -416,7 +419,7 @@ mv pulse src/3rdparty/chromium/
pushd src/3rdparty/chromium
popd
%if 0%{?epel:1}
%if 0%{?rhel} && 0%{?rhel} == 9
# Install python2 from rpms
mkdir python2
pushd python2
@ -449,6 +452,9 @@ popd
%patch26 -p1 -b .use-python2
%patch31 -p1 -b .TRUE
## epel8 patches
%patch101 -p1 -b .fix-aarch64
# 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' \
@ -669,6 +675,9 @@ done
%changelog
* Thu May 12 2022 Troy Dawson <tdawson@redhat.com> - 5.15.8-5.1
- Fix aarch64 build failures on epel8-next
* Wed Mar 09 2022 Jan Grulich <jgrulich@redhat.com> - 5.15.8-5
- Rebuild (qt5)

View file

@ -0,0 +1,48 @@
From 14242d039503d5b79cb1867f06a5682cfde167f3 Mon Sep 17 00:00:00 2001
From: Troy Dawson <tdawson@redhat.com>
Date: Thu, 12 May 2022 13:17:26 -0700
Subject: [PATCH] gcc-aarch64-hack.patch
---
.../skia/third_party/skcms/src/Transform_inl.h | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/src/3rdparty/chromium/third_party/skia/third_party/skcms/src/Transform_inl.h b/src/3rdparty/chromium/third_party/skia/third_party/skcms/src/Transform_inl.h
index 2dcf717..02514ef 100644
--- a/src/3rdparty/chromium/third_party/skia/third_party/skcms/src/Transform_inl.h
+++ b/src/3rdparty/chromium/third_party/skia/third_party/skcms/src/Transform_inl.h
@@ -117,6 +117,22 @@ SI D cast(const S& v) {
#endif
}
+// This is a hack to work around GCC PR95726
+template <typename D, typename S>
+SI D cast2(const S& v) {
+#if N == 1
+ return (D)v;
+#elif defined(__clang__)
+ return __builtin_convertvector(v, D);
+#else
+ D d;
+ for (int i = 0; i < N; i++) {
+ d[i] = v[i];
+ }
+ return d;
+#endif
+}
+
template <typename D, typename S>
SI D bit_pun(const S& v) {
static_assert(sizeof(D) == sizeof(v), "");
@@ -618,7 +634,7 @@ SI F F_from_U16_BE(U16 v) {
// MSVC catches the "loss" of data here in the portable path, so we also make sure to mask.
U16 lo = (v >> 8),
hi = (v << 8) & 0xffff;
- return cast<F>(lo|hi) * (1/65535.0f);
+ return cast2<F>(lo|hi) * (1/65535.0f);
}
SI U16 U16_from_F(F v) {
--
2.36.1