Merge branch 'rawhide' into epel8

epel8 imports/epel8/chromium-131.0.6778.85-1.el8
Than Ngo 1 month ago
commit f6808531e1

@ -1,7 +1,6 @@
Index: chromium-130.0.6723.44/third_party/libvpx/source/config/linux/ppc64/vp8_rtcd.h diff -Nur chromium-131.0.6778.69.orig/third_party/libvpx/source/config/linux/ppc64/vp8_rtcd.h chromium-131.0.6778.69/third_party/libvpx/source/config/linux/ppc64/vp8_rtcd.h
=================================================================== --- chromium-131.0.6778.69.orig/third_party/libvpx/source/config/linux/ppc64/vp8_rtcd.h 2024-11-12 22:49:02.000000000 +0100
--- chromium-130.0.6723.44.orig/third_party/libvpx/source/config/linux/ppc64/vp8_rtcd.h +++ chromium-131.0.6778.69/third_party/libvpx/source/config/linux/ppc64/vp8_rtcd.h 1970-01-01 01:00:00.000000000 +0100
+++ /dev/null
@@ -1,330 +0,0 @@ @@ -1,330 +0,0 @@
-/* -/*
- * Copyright (c) 2024 The WebM project authors. All Rights Reserved. - * Copyright (c) 2024 The WebM project authors. All Rights Reserved.
@ -333,11 +332,10 @@ Index: chromium-130.0.6723.44/third_party/libvpx/source/config/linux/ppc64/vp8_r
-#endif -#endif
- -
-#endif // VP8_RTCD_H_ -#endif // VP8_RTCD_H_
Index: chromium-130.0.6723.44/third_party/libvpx/source/config/linux/ppc64/vp9_rtcd.h diff -Nur chromium-131.0.6778.69.orig/third_party/libvpx/source/config/linux/ppc64/vp9_rtcd.h chromium-131.0.6778.69/third_party/libvpx/source/config/linux/ppc64/vp9_rtcd.h
=================================================================== --- chromium-131.0.6778.69.orig/third_party/libvpx/source/config/linux/ppc64/vp9_rtcd.h 2024-11-12 22:49:02.000000000 +0100
--- chromium-130.0.6723.44.orig/third_party/libvpx/source/config/linux/ppc64/vp9_rtcd.h +++ chromium-131.0.6778.69/third_party/libvpx/source/config/linux/ppc64/vp9_rtcd.h 1970-01-01 01:00:00.000000000 +0100
+++ /dev/null @@ -1,206 +0,0 @@
@@ -1,203 +0,0 @@
-/* -/*
- * Copyright (c) 2024 The WebM project authors. All Rights Reserved. - * Copyright (c) 2024 The WebM project authors. All Rights Reserved.
- * - *
@ -366,6 +364,9 @@ Index: chromium-130.0.6723.44/third_party/libvpx/source/config/linux/ppc64/vp9_r
-#include "vp9/common/vp9_enums.h" -#include "vp9/common/vp9_enums.h"
-#include "vp9/common/vp9_filter.h" -#include "vp9/common/vp9_filter.h"
-#include "vpx/vpx_integer.h" -#include "vpx/vpx_integer.h"
-#if !CONFIG_REALTIME_ONLY && CONFIG_VP9_ENCODER
-#include "vp9/encoder/vp9_temporal_filter.h"
-#endif
- -
-struct macroblockd; -struct macroblockd;
- -
@ -541,10 +542,9 @@ Index: chromium-130.0.6723.44/third_party/libvpx/source/config/linux/ppc64/vp9_r
-#endif -#endif
- -
-#endif // VP9_RTCD_H_ -#endif // VP9_RTCD_H_
Index: chromium-130.0.6723.44/third_party/libvpx/source/config/linux/ppc64/vpx_config.asm diff -Nur chromium-131.0.6778.69.orig/third_party/libvpx/source/config/linux/ppc64/vpx_config.asm chromium-131.0.6778.69/third_party/libvpx/source/config/linux/ppc64/vpx_config.asm
=================================================================== --- chromium-131.0.6778.69.orig/third_party/libvpx/source/config/linux/ppc64/vpx_config.asm 2024-11-12 22:49:02.000000000 +0100
--- chromium-130.0.6723.44.orig/third_party/libvpx/source/config/linux/ppc64/vpx_config.asm +++ chromium-131.0.6778.69/third_party/libvpx/source/config/linux/ppc64/vpx_config.asm 1970-01-01 01:00:00.000000000 +0100
+++ /dev/null
@@ -1,108 +0,0 @@ @@ -1,108 +0,0 @@
-@ This file was created from a .asm file -@ This file was created from a .asm file
-@ using the ads2gas.pl script. -@ using the ads2gas.pl script.
@ -654,10 +654,9 @@ Index: chromium-130.0.6723.44/third_party/libvpx/source/config/linux/ppc64/vpx_c
-.equ DECODE_WIDTH_LIMIT , 16384 -.equ DECODE_WIDTH_LIMIT , 16384
-.equ DECODE_HEIGHT_LIMIT , 16384 -.equ DECODE_HEIGHT_LIMIT , 16384
- .section .note.GNU-stack,"",%progbits - .section .note.GNU-stack,"",%progbits
Index: chromium-130.0.6723.44/third_party/libvpx/source/config/linux/ppc64/vpx_config.c diff -Nur chromium-131.0.6778.69.orig/third_party/libvpx/source/config/linux/ppc64/vpx_config.c chromium-131.0.6778.69/third_party/libvpx/source/config/linux/ppc64/vpx_config.c
=================================================================== --- chromium-131.0.6778.69.orig/third_party/libvpx/source/config/linux/ppc64/vpx_config.c 2024-11-12 22:49:02.000000000 +0100
--- chromium-130.0.6723.44.orig/third_party/libvpx/source/config/linux/ppc64/vpx_config.c +++ chromium-131.0.6778.69/third_party/libvpx/source/config/linux/ppc64/vpx_config.c 1970-01-01 01:00:00.000000000 +0100
+++ /dev/null
@@ -1,10 +0,0 @@ @@ -1,10 +0,0 @@
-/* Copyright (c) 2011 The WebM project authors. All Rights Reserved. */ -/* Copyright (c) 2011 The WebM project authors. All Rights Reserved. */
-/* */ -/* */
@ -669,10 +668,9 @@ Index: chromium-130.0.6723.44/third_party/libvpx/source/config/linux/ppc64/vpx_c
-#include "vpx/vpx_codec.h" -#include "vpx/vpx_codec.h"
-static const char* const cfg = "--target=ppc64le-linux-gcc --enable-external-build --enable-postproc --enable-multi-res-encoding --enable-temporal-denoising --enable-vp9-temporal-denoising --enable-vp9-postproc --size-limit=16384x16384 --enable-realtime-only --disable-install-docs --disable-libyuv --enable-unit-tests"; -static const char* const cfg = "--target=ppc64le-linux-gcc --enable-external-build --enable-postproc --enable-multi-res-encoding --enable-temporal-denoising --enable-vp9-temporal-denoising --enable-vp9-postproc --size-limit=16384x16384 --enable-realtime-only --disable-install-docs --disable-libyuv --enable-unit-tests";
-const char *vpx_codec_build_config(void) {return cfg;} -const char *vpx_codec_build_config(void) {return cfg;}
Index: chromium-130.0.6723.44/third_party/libvpx/source/config/linux/ppc64/vpx_config.h diff -Nur chromium-131.0.6778.69.orig/third_party/libvpx/source/config/linux/ppc64/vpx_config.h chromium-131.0.6778.69/third_party/libvpx/source/config/linux/ppc64/vpx_config.h
=================================================================== --- chromium-131.0.6778.69.orig/third_party/libvpx/source/config/linux/ppc64/vpx_config.h 2024-11-12 22:49:02.000000000 +0100
--- chromium-130.0.6723.44.orig/third_party/libvpx/source/config/linux/ppc64/vpx_config.h +++ chromium-131.0.6778.69/third_party/libvpx/source/config/linux/ppc64/vpx_config.h 1970-01-01 01:00:00.000000000 +0100
+++ /dev/null
@@ -1,117 +0,0 @@ @@ -1,117 +0,0 @@
-/* Copyright (c) 2011 The WebM project authors. All Rights Reserved. */ -/* Copyright (c) 2011 The WebM project authors. All Rights Reserved. */
-/* */ -/* */
@ -791,10 +789,9 @@ Index: chromium-130.0.6723.44/third_party/libvpx/source/config/linux/ppc64/vpx_c
-#define DECODE_WIDTH_LIMIT 16384 -#define DECODE_WIDTH_LIMIT 16384
-#define DECODE_HEIGHT_LIMIT 16384 -#define DECODE_HEIGHT_LIMIT 16384
-#endif /* VPX_CONFIG_H */ -#endif /* VPX_CONFIG_H */
Index: chromium-130.0.6723.44/third_party/libvpx/source/config/linux/ppc64/vpx_dsp_rtcd.h diff -Nur chromium-131.0.6778.69.orig/third_party/libvpx/source/config/linux/ppc64/vpx_dsp_rtcd.h chromium-131.0.6778.69/third_party/libvpx/source/config/linux/ppc64/vpx_dsp_rtcd.h
=================================================================== --- chromium-131.0.6778.69.orig/third_party/libvpx/source/config/linux/ppc64/vpx_dsp_rtcd.h 2024-11-12 22:49:02.000000000 +0100
--- chromium-130.0.6723.44.orig/third_party/libvpx/source/config/linux/ppc64/vpx_dsp_rtcd.h +++ chromium-131.0.6778.69/third_party/libvpx/source/config/linux/ppc64/vpx_dsp_rtcd.h 1970-01-01 01:00:00.000000000 +0100
+++ /dev/null
@@ -1,2138 +0,0 @@ @@ -1,2138 +0,0 @@
-/* -/*
- * Copyright (c) 2024 The WebM project authors. All Rights Reserved. - * Copyright (c) 2024 The WebM project authors. All Rights Reserved.
@ -2934,10 +2931,9 @@ Index: chromium-130.0.6723.44/third_party/libvpx/source/config/linux/ppc64/vpx_d
-#endif -#endif
- -
-#endif // VPX_DSP_RTCD_H_ -#endif // VPX_DSP_RTCD_H_
Index: chromium-130.0.6723.44/third_party/libvpx/source/config/linux/ppc64/vpx_scale_rtcd.h diff -Nur chromium-131.0.6778.69.orig/third_party/libvpx/source/config/linux/ppc64/vpx_scale_rtcd.h chromium-131.0.6778.69/third_party/libvpx/source/config/linux/ppc64/vpx_scale_rtcd.h
=================================================================== --- chromium-131.0.6778.69.orig/third_party/libvpx/source/config/linux/ppc64/vpx_scale_rtcd.h 2024-11-12 22:49:02.000000000 +0100
--- chromium-130.0.6723.44.orig/third_party/libvpx/source/config/linux/ppc64/vpx_scale_rtcd.h +++ chromium-131.0.6778.69/third_party/libvpx/source/config/linux/ppc64/vpx_scale_rtcd.h 1970-01-01 01:00:00.000000000 +0100
+++ /dev/null
@@ -1,110 +0,0 @@ @@ -1,110 +0,0 @@
-/* -/*
- * Copyright (c) 2024 The WebM project authors. All Rights Reserved. - * Copyright (c) 2024 The WebM project authors. All Rights Reserved.

@ -1,13 +1,24 @@
Index: chromium-128.0.6613.113/base/compiler_specific.h diff -up chromium-131.0.6778.69/base/compiler_specific.h.me chromium-131.0.6778.69/base/compiler_specific.h
=================================================================== --- chromium-131.0.6778.69/base/compiler_specific.h.me 2024-11-19 20:44:12.404060581 +0100
--- chromium-128.0.6613.113.orig/base/compiler_specific.h +++ chromium-131.0.6778.69/base/compiler_specific.h 2024-11-19 20:44:54.434121935 +0100
+++ chromium-128.0.6613.113/base/compiler_specific.h @@ -152,7 +152,7 @@
@@ -88,7 +88,7 @@ // MUSTTAIL return Func1(d + 1); // `Func1()` will be tail-called.
// Can be used only on return statements, even for functions returning void. // }
// Caller and callee must have the same number of arguments and its types must // ```
// be "similar". -#if __has_cpp_attribute(clang::musttail)
-#if defined(__clang__) && HAS_ATTRIBUTE(musttail) +#if __has_cpp_attribute(clang::musttail) && !defined(__powerpc64__)
+#if defined(__clang__) && HAS_ATTRIBUTE(musttail) && !defined(__powerpc64__)
#define MUSTTAIL [[clang::musttail]] #define MUSTTAIL [[clang::musttail]]
#else #else
#define MUSTTAIL #define MUSTTAIL
diff -up chromium-131.0.6778.85/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/compiler_specific.h.me chromium-131.0.6778.85/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/compiler_specific.h
--- chromium-131.0.6778.85/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/compiler_specific.h.me 2024-11-20 18:50:28.690761262 +0100
+++ chromium-131.0.6778.85/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/compiler_specific.h 2024-11-20 18:54:49.374711202 +0100
@@ -138,7 +138,7 @@
// PA_MUSTTAIL return Func1(d + 1); // `Func1()` will be tail-called.
// }
// ```
-#if PA_HAS_CPP_ATTRIBUTE(clang::musttail)
+#if PA_HAS_CPP_ATTRIBUTE(clang::musttail) && !defined(__powerpc64__)
#define PA_MUSTTAIL [[clang::musttail]]
#else
#define PA_MUSTTAIL

@ -0,0 +1,13 @@
diff -up chromium-131.0.6778.69/build/linux/unbundle/freetype.gn.me chromium-131.0.6778.69/build/linux/unbundle/freetype.gn
--- chromium-131.0.6778.69/build/linux/unbundle/freetype.gn.me 2024-11-13 08:48:26.212329841 +0100
+++ chromium-131.0.6778.69/build/linux/unbundle/freetype.gn 2024-11-13 08:49:03.071985611 +0100
@@ -11,4 +11,9 @@ declare_args() {
# System FreeType configurations other than as described WILL INTRODUCE TEXT
# RENDERING AND SECURITY REGRESSIONS.
use_system_freetype = true
+
+ # Use FreeType for font rendering. If this is set to false, FreeType is
+ # replaced with the Rust-based Fontations set of libraries plus Skia
+ # path rendering.
+ enable_freetype = true
}

@ -34,7 +34,7 @@ case "$GRAPHIC_DRIVER" in
# The NVIDIA VaAPI drivers are known to not support Chromium # The NVIDIA VaAPI drivers are known to not support Chromium
# see https://crbug.com/1492880. This feature switch is # see https://crbug.com/1492880. This feature switch is
# provided for developers to test VaAPI drivers on NVIDIA GPUs # provided for developers to test VaAPI drivers on NVIDIA GPUs
CHROMIUM_FLAGS+=" --use-gl=angle --use-angle=gl --disable-gpu-compositing" CHROMIUM_FLAGS+=" --use-gl=angle --use-angle=gl"
FEATURES+="VaapiVideoDecodeLinuxGL,VaapiVideoEncoder,VaapiOnNvidiaGPUs" FEATURES+="VaapiVideoDecodeLinuxGL,VaapiVideoEncoder,VaapiOnNvidiaGPUs"
;; ;;
intel) intel)
@ -42,7 +42,7 @@ case "$GRAPHIC_DRIVER" in
FEATURES+="VaapiVideoEncoder,VaapiVideoDecodeLinuxGL" FEATURES+="VaapiVideoEncoder,VaapiVideoDecodeLinuxGL"
;; ;;
*) *)
CHROMIUM_FLAGS+=" --use-gl=angle --use-angle=gl" CHROMIUM_FLAGS+=" --use-gl=angle --use-angle=gl --disable-gpu-compositing"
FEATURES+="VaapiVideoEncoder,VaapiVideoDecodeLinuxGL" FEATURES+="VaapiVideoEncoder,VaapiVideoDecodeLinuxGL"
;; ;;
esac esac

@ -145,7 +145,10 @@
%global __requires_exclude ^(%{chromium_path}/.*\\.so|%{chromium_path}/.*\\.so.*)$ %global __requires_exclude ^(%{chromium_path}/.*\\.so|%{chromium_path}/.*\\.so.*)$
# enable|disable use_custom_libcxx # enable|disable use_custom_libcxx
%global use_custom_libcxx 0
%if 0%{?rhel} || 0%{?fedora} == 39
%global use_custom_libcxx 1 %global use_custom_libcxx 1
%endif
# enable|disable control flow integrity support # enable|disable control flow integrity support
%global cfi 0 %global cfi 0
@ -154,9 +157,11 @@
%endif %endif
# enable qt backend # enable qt backend
%global enable_qt 0
%global use_qt6 0 %global use_qt6 0
%global use_qt 0 %global use_qt 0
%if %{enable_qt}
%if 0%{?rhel} > 9 || 0%{?fedora} > 39 %if 0%{?rhel} > 9 || 0%{?fedora} > 39
%global use_qt6 1 %global use_qt6 1
%global use_qt 1 %global use_qt 1
@ -166,6 +171,7 @@
%global use_qt 1 %global use_qt 1
%endif %endif
%endif %endif
%endif
# bundle re2, jsoncpp, woff2 - build errors with use_custom_libcxx=true # bundle re2, jsoncpp, woff2 - build errors with use_custom_libcxx=true
%global bundlere2 1 %global bundlere2 1
@ -187,6 +193,7 @@
%global bundlelibdrm 1 %global bundlelibdrm 1
%global bundlefontconfig 1 %global bundlefontconfig 1
%global bundleffmpegfree 1 %global bundleffmpegfree 1
# openjpeg2, need to update to 2.5.x
%global bundlelibopenjpeg2 1 %global bundlelibopenjpeg2 1
%global bundlelibtiff 1 %global bundlelibtiff 1
%global bundlelibxml 1 %global bundlelibxml 1
@ -212,7 +219,7 @@
# disable bundleminizip for epel and Fedora39 due to old minizip version # disable bundleminizip for epel and Fedora39 due to old minizip version
%global bundleminizip 1 %global bundleminizip 1
%if 0%{?fedora} || 0%{?rhel} >= 9 %if 0%{?fedora} || 0%{?rhel} > 8
%global bundlezstd 0 %global bundlezstd 0
%global bundlefontconfig 0 %global bundlefontconfig 0
%global bundledav1d 0 %global bundledav1d 0
@ -223,14 +230,13 @@
%global bundlefreetype 0 %global bundlefreetype 0
%global bundlelibtiff 0 %global bundlelibtiff 0
%global bundlelibxml 0 %global bundlelibxml 0
%if 0%{?rhel} == 9 %if 0%{?rhel} > 9
# old version, need to update openjpeg to 2.5.x %global bundlelibopenjpeg2 0
%global bundlelibopenjpeg2 1 %global bundleharfbuzz 0
%global bundlecrc32c 1 %global bundlebrotli 0
%global bundleharfbuzz 1 %global bundlelibwebp 0
%global bundlebrotli 1 %endif
%global bundlelibwebp 1 %if 0%{?fedora}
%else
%global bundlelibopenjpeg2 0 %global bundlelibopenjpeg2 0
%global bundlecrc32c 0 %global bundlecrc32c 0
%global bundleharfbuzz 0 %global bundleharfbuzz 0
@ -273,7 +279,7 @@
%endif %endif
Name: chromium%{chromium_channel} Name: chromium%{chromium_channel}
Version: 130.0.6723.116 Version: 131.0.6778.85
Release: 1%{?dist} Release: 1%{?dist}
Summary: A WebKit (Blink) powered web browser that Google doesn't want you to use Summary: A WebKit (Blink) powered web browser that Google doesn't want you to use
Url: http://www.chromium.org/Home Url: http://www.chromium.org/Home
@ -306,6 +312,9 @@ Patch91: chromium-108-system-opus.patch
# python-3,13, Deprecationwarning: 'count' is passed as positionaö argument # python-3,13, Deprecationwarning: 'count' is passed as positionaö argument
Patch100: chromium-128.0.6613.137-python-3.13-warning.patch Patch100: chromium-128.0.6613.137-python-3.13-warning.patch
# fix build error with system freetype
Patch101: chromium-131-system-freetype.patch
# system ffmpeg # system ffmpeg
# need for old ffmpeg 5.x on epel9 # need for old ffmpeg 5.x on epel9
Patch129: chromium-125-ffmpeg-5.x-reordered_opaque.patch Patch129: chromium-125-ffmpeg-5.x-reordered_opaque.patch
@ -765,7 +774,7 @@ BuildRequires: ninja-build
# Yes, java is needed as well.. # Yes, java is needed as well..
%if %{build_headless} %if %{build_headless}
BuildRequires: java-1.8.0-openjdk-headless BuildRequires: java-openjdk-headless
%endif %endif
BuildRequires: libevdev-devel BuildRequires: libevdev-devel
@ -1018,6 +1027,8 @@ Qt6 UI for chromium.
%patch -P100 -p1 -b .python-3.13-warning %patch -P100 -p1 -b .python-3.13-warning
%endif %endif
%patch -P101 -p1 -b .chromium-131-system-freetype
%if ! %{bundleffmpegfree} %if ! %{bundleffmpegfree}
%if 0%{?rhel} == 9 %if 0%{?rhel} == 9
%patch -P129 -p1 -R -b .ffmpeg-5.x-reordered_opaque %patch -P129 -p1 -R -b .ffmpeg-5.x-reordered_opaque
@ -1185,10 +1196,6 @@ sed -i 's|/opt/google/chrome-remote-desktop|%{crd_path}|g' remoting/host/setup/d
# bz#2265957, add correct platform # bz#2265957, add correct platform
sed -i "s/Linux x86_64/Linux %{_arch}/" content/common/user_agent.cc sed -i "s/Linux x86_64/Linux %{_arch}/" content/common/user_agent.cc
%if ! %{bundledav1d}
cp -a third_party/dav1d/version/version.h third_party/dav1d/libdav1d/include/dav1d/
%endif
%build %build
# reduce warnings # reduce warnings
@ -1917,6 +1924,21 @@ getent group chrome-remote-desktop >/dev/null || groupadd -r chrome-remote-deskt
%endif %endif
%changelog %changelog
* Wed Nov 20 2024 Than Ngo <than@redhat.com> - 131.0.6778.85-1
- Update to 131.0.6778.85
* High CVE-2024-11395: Type Confusion in V8
* Tue Nov 12 2024 Than Ngo <than@redhat.com> - 131.0.6778.69-1
- Update to 131.0.6778.69
* High CVE-2024-11110: Inappropriate implementation in Blink
* Medium CVE-2024-11111: Inappropriate implementation in Autofill
* Medium CVE-2024-11112: Use after free in Media
* Medium CVE-2024-11113: Use after free in Accessibility
* Medium CVE-2024-11114: Inappropriate implementation in Views
* Medium CVE-2024-11115: Insufficient policy enforcement in Navigation
* Medium CVE-2024-11116: Inappropriate implementation in Paint
* Low CVE-2024-11117: Inappropriate implementation in FileSystem
* Sun Nov 10 2024 Than Ngo <than@redhat.com> - 130.0.6723.116-1 * Sun Nov 10 2024 Than Ngo <than@redhat.com> - 130.0.6723.116-1
- Update to 130.0.6723.116 - Update to 130.0.6723.116
* High CVE-2024-10826: Use after free in Family Experience * High CVE-2024-10826: Use after free in Family Experience

@ -99,7 +99,6 @@ header_files=" libavcodec/x86/inline_asm.h \
libavcodec/get_bits.h \ libavcodec/get_bits.h \
libavcodec/h263dsp.h \ libavcodec/h263dsp.h \
libavcodec/h264chroma.h \ libavcodec/h264chroma.h \
libavcodec/hevc.h \
libavcodec/hpeldsp.h \ libavcodec/hpeldsp.h \
libavcodec/hwaccels.h \ libavcodec/hwaccels.h \
libavcodec/hwaccel_internal.h \ libavcodec/hwaccel_internal.h \
@ -126,11 +125,6 @@ header_files=" libavcodec/x86/inline_asm.h \
libavcodec/mpegvideodata.h \ libavcodec/mpegvideodata.h \
libavcodec/mpegvideoencdsp.h \ libavcodec/mpegvideoencdsp.h \
libavcodec/options_table.h \ libavcodec/options_table.h \
libavcodec/opus.h \
libavcodec/opusdsp.h \
libavcodec/opus_celt.h \
libavcodec/opus_pvq.h \
libavcodec/opus_rc.h \
libavcodec/packet.h \ libavcodec/packet.h \
libavcodec/packet_internal.h \ libavcodec/packet_internal.h \
libavcodec/pcm_tablegen.h \ libavcodec/pcm_tablegen.h \
@ -270,7 +264,6 @@ manual_files=" libavcodec/aarch64/h264pred_neon.S \
libavformat/utils.c \ libavformat/utils.c \
libavformat/version.c \ libavformat/version.c \
libavutil/aarch64/asm.S \ libavutil/aarch64/asm.S \
libavutil/aarch64/bswap.h \
libavutil/aarch64/cpu.c \ libavutil/aarch64/cpu.c \
libavutil/aarch64/float_dsp_init.c \ libavutil/aarch64/float_dsp_init.c \
libavutil/aarch64/float_dsp_neon.S \ libavutil/aarch64/float_dsp_neon.S \

@ -1,15 +1,13 @@
author: Andres Salomon <dilinger@debian.org> diff -up chromium-131.0.6778.69/build/config/rust.gni.fix-rustc chromium-131.0.6778.69/build/config/rust.gni
description: allow ppc64le to build by using proper rustc target --- chromium-131.0.6778.69/build/config/rust.gni.fix-rustc 2024-11-12 22:48:45.000000000 +0100
Index: chromium-128.0.6613.113/build/config/rust.gni +++ chromium-131.0.6778.69/build/config/rust.gni 2024-11-19 23:01:25.484436409 +0100
=================================================================== @@ -200,6 +200,9 @@ if (is_linux || is_chromeos) {
--- chromium-128.0.6613.113.orig/build/config/rust.gni
+++ chromium-128.0.6613.113/build/config/rust.gni
@@ -186,6 +186,8 @@ rust_abi_target = ""
if (is_linux || is_chromeos) {
if (current_cpu == "arm64") { if (current_cpu == "arm64") {
rust_abi_target = "aarch64-unknown-linux-gnu" rust_abi_target = "aarch64-unknown-linux-gnu"
cargo_target_abi = ""
+ } else if (current_cpu == "ppc64") { + } else if (current_cpu == "ppc64") {
+ rust_abi_target = "powerpc64le-unknown-linux-gnu" + rust_abi_target = "powerpc64le-unknown-linux-gnu"
+ cargo_target_abi = ""
} else if (current_cpu == "x86") { } else if (current_cpu == "x86") {
rust_abi_target = "i686-unknown-linux-gnu" rust_abi_target = "i686-unknown-linux-gnu"
} else if (current_cpu == "x64") { cargo_target_abi = ""

@ -0,0 +1,61 @@
#! /bin/bash
SRC_DIR=chromium-src
VERSION=$1
if [[ -z $VERSION ]]; then
echo "Version is missing"
exit 1
fi
rm -rf $SRC_DIR && mkdir -p $SRC_DIR
pushd $SRC_DIR
cat >.gclient <<EOF
solutions = [
{
"name": "src",
"url": "https://chromium.googlesource.com/chromium/src.git",
"managed": False,
"custom_deps": {},
"custom_vars": {},
},
]
EOF
export PATH+=":$PWD/depot_tools"
export DEPOT_TOOLS_UPDATE=0
echo "Clone chromium-$VERSION..."
git clone -b $VERSION --depth=2 https://chromium.googlesource.com/chromium/src
echo "Clone depot_tools..."
git clone --depth=1 https://chromium.googlesource.com/chromium/tools/depot_tools
gclient sync --no-history --nohooks
src/tools/update_pgo_profiles.py --target=linux update --gs-url-base=chromium-optimization-profiles/pgo_profiles
src/build/util/lastchange.py -o src/build/util/LASTCHANGE
src/build/util/lastchange.py -s src/third_party/dawn --revision src/gpu/webgpu/DAWN_VERSION
src/build/util/lastchange.py -m GPU_LISTS_VERSION --revision-id-only --header src/gpu/config/gpu_lists_version.h
src/build/util/lastchange.py -m SKIA_COMMIT_HASH -s src/third_party/skia --header src/skia/ext/skia_commit_hash.h
find src -type d -name ".git" | xargs rm -rf
find src/third_party/jdk/current -type f -delete
rm -rf src/build/linux/debian_bullseye_amd64-sysroot \
src/build/linux/debian_bullseye_i386-sysroot \
src/third_party/node/linux/node-linux-x64* \
src/third_party/rust-toolchain \
src/third_party/rust-src
# clean ffmpeg
echo "Cleaning ffmpeg from proprietary things..."
ln -s ../clean_ffmpeg.sh .
ln -s ../ffmpeg-clean.patch .
ln -s ../get_free_ffmpeg_source_files.py .
./clean_ffmpeg.sh src 1
# clean openh264
echo "Cleaning openh264 from proprietary things..."
find src/third_party/openh264/src -type f -not -name '*.h' -delete
mv src ../chromium-$VERSION
popd
echo "Compressing cleaned tree, please wait..."
tar -cf - chromium-$VERSION | xz -9 -T 0 -f > chromium-$VERSION-clean.tar.xz
echo "Finished!"

@ -2,4 +2,4 @@ SHA512 (node-v20.6.1-linux-arm64.tar.xz) = adfcaf2c22614797fd69fb46d94c1cbf64dea
SHA512 (node-v20.6.1-linux-x64.tar.xz) = 7e15c05041a9a50f0046266aadb2e092a5aefbec19be1c7c809471add520cb57c7df3c47d88b1888b29bf2979dca3c92adddfd965370fa2a9da4ea02186464fd SHA512 (node-v20.6.1-linux-x64.tar.xz) = 7e15c05041a9a50f0046266aadb2e092a5aefbec19be1c7c809471add520cb57c7df3c47d88b1888b29bf2979dca3c92adddfd965370fa2a9da4ea02186464fd
SHA512 (linux-arm64-0.19.2.tgz) = 8a0d8fec6786fffcd6954d00820037a55d61e60762c74300df0801f8db27057562c221a063bedfb8df56af9ba80abb366336987e881782c5996e6f871abd3dc6 SHA512 (linux-arm64-0.19.2.tgz) = 8a0d8fec6786fffcd6954d00820037a55d61e60762c74300df0801f8db27057562c221a063bedfb8df56af9ba80abb366336987e881782c5996e6f871abd3dc6
SHA512 (linux-x64-0.19.2.tgz) = a31cc74c4bfa54f9b75d735a1cfc944d3b5efb7c06bfba9542da9a642ae0b2d235ea00ae84d3ad0572c406405110fe7b61377af0fd15803806ef78d20fc6f05d SHA512 (linux-x64-0.19.2.tgz) = a31cc74c4bfa54f9b75d735a1cfc944d3b5efb7c06bfba9542da9a642ae0b2d235ea00ae84d3ad0572c406405110fe7b61377af0fd15803806ef78d20fc6f05d
SHA512 (chromium-130.0.6723.116-clean.tar.xz) = ea9a84da6dbf90364e52cef81016683a2a6ac06de75df26c0522090dc0ccb8725b40364cf3d8330ca5d5f6d99ded99f2bf0858ac8d581b974f007c5cc887e62a SHA512 (chromium-131.0.6778.85-clean.tar.xz) = e2adae2de0de3910d8c915d0b7e1922ddaec5d8cc68d5fa6b0e99fa34ad052171e83333262ac3767f86fb32e5f31791b0ffee48ce694150d4bbaf30035e36052

Loading…
Cancel
Save