- fixed bz#2277228 - chromium wrapper causes library issues (symbol lookup error) - use system dav1d - drop patches which are needed for bundled libdav1d.epel9 imports/epel9/chromium-124.0.6367.91-1.el9
parent
007d8d62a1
commit
f09d3f6cf3
@ -1,23 +0,0 @@
|
||||
From 61dcf0ff9603e8f5b0a859fb0837c51527ebae43 Mon Sep 17 00:00:00 2001
|
||||
From: Colin Samples <colin.samples+git@gmail.com>
|
||||
Date: Fri, 1 Nov 2019 11:50:52 -0400
|
||||
Subject: [PATCH] Add PPC64 support for libdav1d
|
||||
|
||||
---
|
||||
third_party/dav1d/BUILD.gn | 21 ++++++++++++++++++++
|
||||
third_party/dav1d/generate_configs.py | 28 ++-------------------------
|
||||
third_party/dav1d/generate_source.py | 2 ++
|
||||
3 files changed, 25 insertions(+), 26 deletions(-)
|
||||
|
||||
Index: chromium-120.0.6099.71/third_party/dav1d/generate_configs.py
|
||||
===================================================================
|
||||
--- chromium-120.0.6099.71.orig/third_party/dav1d/generate_configs.py
|
||||
+++ chromium-120.0.6099.71/third_party/dav1d/generate_configs.py
|
||||
@@ -203,6 +203,7 @@ def main():
|
||||
linux_env = os.environ
|
||||
linux_env['CC'] = 'clang'
|
||||
|
||||
+ GenerateConfig('config/linux/ppc64', linux_env)
|
||||
GenerateConfig('config/linux/x64', linux_env)
|
||||
|
||||
noasm_dir = 'config/linux-noasm/x64'
|
@ -1,33 +0,0 @@
|
||||
From e14024659e0fc2af3df6ec56ce39a8e93b75722d Mon Sep 17 00:00:00 2001
|
||||
From: Colin Samples <colin.samples+git@gmail.com>
|
||||
Date: Sun, 8 Dec 2019 19:25:02 -0500
|
||||
Subject: [PATCH] Fix libdav1d compilation on clang ppc
|
||||
|
||||
---
|
||||
src/ppc/dav1d_types.h | 15 +++++++++++++++
|
||||
1 file changed, 15 insertions(+)
|
||||
|
||||
Index: chromium-120.0.6099.71/third_party/dav1d/libdav1d/src/ppc/dav1d_types.h
|
||||
===================================================================
|
||||
--- chromium-120.0.6099.71.orig/third_party/dav1d/libdav1d/src/ppc/dav1d_types.h
|
||||
+++ chromium-120.0.6099.71/third_party/dav1d/libdav1d/src/ppc/dav1d_types.h
|
||||
@@ -51,4 +51,19 @@
|
||||
#define u16l_to_i32(v) ((i32x4) vec_mergel((u16x8) v, vec_splat_u16(0)))
|
||||
#define i16l_to_i32(v) ((i32x4) vec_unpackl((i16x8)v))
|
||||
|
||||
+#if defined(__clang__)
|
||||
+#undef vec_splats
|
||||
+#define vec_splats(N) \
|
||||
+ _Generic((N), \
|
||||
+ unsigned char: ((u8x16)(N)), \
|
||||
+ signed char: ((i8x16)(N)), \
|
||||
+ unsigned short: ((u16x8)(N)), \
|
||||
+ signed short: ((i16x8)(N)), \
|
||||
+ unsigned int: ((u32x4)(N)), \
|
||||
+ signed int: ((i32x4)(N)), \
|
||||
+ unsigned long long: ((u64x2)(N)), \
|
||||
+ signed long long: ((i64x2)(N)) \
|
||||
+ )
|
||||
+#endif
|
||||
+
|
||||
#endif /* DAV1D_SRC_PPC_TYPES_H */
|
File diff suppressed because it is too large
Load Diff
@ -1,35 +0,0 @@
|
||||
--- a/third_party/libvpx/libvpx_srcs.gni
|
||||
+++ b/third_party/libvpx/libvpx_srcs.gni
|
||||
@@ -4302,6 +4302,7 @@
|
||||
"//third_party/libvpx/source/libvpx/vp9/common/vp9_seg_common.c",
|
||||
"//third_party/libvpx/source/libvpx/vp9/common/vp9_thread_common.c",
|
||||
"//third_party/libvpx/source/libvpx/vp9/common/vp9_tile_common.c",
|
||||
+ "//third_party/libvpx/source/libvpx/vp9/common/ppc/vp9_idct_vsx.c",
|
||||
"//third_party/libvpx/source/libvpx/vp9/decoder/vp9_decodeframe.c",
|
||||
"//third_party/libvpx/source/libvpx/vp9/decoder/vp9_decodemv.c",
|
||||
"//third_party/libvpx/source/libvpx/vp9/decoder/vp9_decoder.c",
|
||||
@@ -4340,6 +4341,7 @@
|
||||
"//third_party/libvpx/source/libvpx/vp9/encoder/vp9_svc_layercontext.c",
|
||||
"//third_party/libvpx/source/libvpx/vp9/encoder/vp9_tokenize.c",
|
||||
"//third_party/libvpx/source/libvpx/vp9/encoder/vp9_treewriter.c",
|
||||
+ "//third_party/libvpx/source/libvpx/vp9/encoder/ppc/vp9_quantize_vsx.c",
|
||||
"//third_party/libvpx/source/libvpx/vp9/vp9_cx_iface.c",
|
||||
"//third_party/libvpx/source/libvpx/vp9/vp9_dx_iface.c",
|
||||
"//third_party/libvpx/source/libvpx/vp9/vp9_iface_common.c",
|
||||
@@ -4368,6 +4370,16 @@
|
||||
"//third_party/libvpx/source/libvpx/vpx_dsp/variance.c",
|
||||
"//third_party/libvpx/source/libvpx/vpx_dsp/vpx_convolve.c",
|
||||
"//third_party/libvpx/source/libvpx/vpx_dsp/vpx_dsp_rtcd.c",
|
||||
+ "//third_party/libvpx/source/libvpx/vpx_dsp/ppc/deblock_vsx.c",
|
||||
+ "//third_party/libvpx/source/libvpx/vpx_dsp/ppc/fdct32x32_vsx.c",
|
||||
+ "//third_party/libvpx/source/libvpx/vpx_dsp/ppc/hadamard_vsx.c",
|
||||
+ "//third_party/libvpx/source/libvpx/vpx_dsp/ppc/intrapred_vsx.c",
|
||||
+ "//third_party/libvpx/source/libvpx/vpx_dsp/ppc/inv_txfm_vsx.c",
|
||||
+ "//third_party/libvpx/source/libvpx/vpx_dsp/ppc/quantize_vsx.c",
|
||||
+ "//third_party/libvpx/source/libvpx/vpx_dsp/ppc/sad_vsx.c",
|
||||
+ "//third_party/libvpx/source/libvpx/vpx_dsp/ppc/subtract_vsx.c",
|
||||
+ "//third_party/libvpx/source/libvpx/vpx_dsp/ppc/variance_vsx.c",
|
||||
+ "//third_party/libvpx/source/libvpx/vpx_dsp/ppc/vpx_convolve_vsx.c",
|
||||
"//third_party/libvpx/source/libvpx/vpx_mem/vpx_mem.c",
|
||||
"//third_party/libvpx/source/libvpx/vpx_ports/ppc_cpudetect.c",
|
||||
"//third_party/libvpx/source/libvpx/vpx_scale/generic/gen_scalers.c",
|
@ -1,43 +0,0 @@
|
||||
Index: chromium-120.0.6099.71/third_party/dav1d/config/linux/ppc64/config.h
|
||||
===================================================================
|
||||
--- /dev/null
|
||||
+++ chromium-120.0.6099.71/third_party/dav1d/config/linux/ppc64/config.h
|
||||
@@ -0,0 +1,38 @@
|
||||
+/*
|
||||
+ * Autogenerated by the Meson build system.
|
||||
+ * Do not edit, your changes will be lost.
|
||||
+ */
|
||||
+
|
||||
+#pragma once
|
||||
+
|
||||
+#define ARCH_AARCH64 0
|
||||
+
|
||||
+#define ARCH_ARM 0
|
||||
+
|
||||
+#define ARCH_PPC64LE 1
|
||||
+
|
||||
+#define ARCH_X86 0
|
||||
+
|
||||
+#define ARCH_X86_32 0
|
||||
+
|
||||
+#define ARCH_X86_64 0
|
||||
+
|
||||
+#define CONFIG_16BPC 1
|
||||
+
|
||||
+#define CONFIG_8BPC 1
|
||||
+
|
||||
+// #define CONFIG_LOG 1 -- Logging is controlled by Chromium
|
||||
+
|
||||
+#define ENDIANNESS_BIG 0
|
||||
+
|
||||
+#define HAVE_ASM 1
|
||||
+
|
||||
+#define HAVE_CLOCK_GETTIME 1
|
||||
+
|
||||
+#define HAVE_DLSYM 1
|
||||
+
|
||||
+#define HAVE_GETAUXVAL 1
|
||||
+
|
||||
+#define HAVE_POSIX_MEMALIGN 1
|
||||
+
|
||||
+#define HAVE_UNISTD_H 1
|
Loading…
Reference in new issue