update to 109.0.5414.119 [release 109.0.5414.119-1mamba;Thu Jan 26 2023]

This commit is contained in:
Silvan Calarco 2024-01-05 21:14:06 +01:00
parent 6d107155e7
commit c43c62f944
3 changed files with 140 additions and 23 deletions

View File

@ -0,0 +1,38 @@
diff -upr third_party/angle.orig/BUILD.gn third_party/angle/BUILD.gn
--- third_party/angle.orig/BUILD.gn 2022-08-17 19:38:11.000000000 +0000
+++ third_party/angle/BUILD.gn 2022-08-18 11:04:09.061751111 +0000
@@ -489,6 +489,12 @@ config("angle_vulkan_wayland_config") {
if (angle_enable_vulkan && angle_use_wayland &&
defined(vulkan_wayland_include_dirs)) {
include_dirs = vulkan_wayland_include_dirs
+ } else if (angle_enable_vulkan && angle_use_wayland) {
+ include_dirs = [
+ "$wayland_gn_dir/src/src",
+ "$wayland_gn_dir/include/src",
+ "$wayland_gn_dir/include/protocol",
+ ]
}
}
@@ -1073,6 +1079,7 @@ if (angle_use_wayland) {
include_dirs = [
"$wayland_dir/egl",
"$wayland_dir/src",
+ "$wayland_gn_dir/include/protocol",
]
}
diff -upr third_party/angle.orig/src/third_party/volk/BUILD.gn third_party/angle/src/third_party/volk/BUILD.gn
--- third_party/angle.orig/src/third_party/volk/BUILD.gn 2022-08-17 19:38:12.000000000 +0000
+++ third_party/angle/src/third_party/volk/BUILD.gn 2022-08-18 11:04:36.499828006 +0000
@@ -21,6 +21,9 @@ source_set("volk") {
configs += [ "$angle_root:angle_no_cfi_icall" ]
public_deps = [ "$angle_vulkan_headers_dir:vulkan_headers" ]
if (angle_use_wayland) {
- include_dirs = [ "$wayland_dir/src" ]
+ include_dirs = [
+ "$wayland_dir/src",
+ "$wayland_gn_dir/include/protocol",
+ ]
}
}

View File

@ -0,0 +1,55 @@
From ded379824f5de39357b6b1894578101aba5cdf05 Mon Sep 17 00:00:00 2001
From: Eugene Zemtsov <eugene@chromium.org>
Date: Fri, 29 Jul 2022 04:41:04 +0000
Subject: [PATCH] Roll src/third_party/ffmpeg/ 880df5ede..b71ecd02b (279
commits)
https://chromium.googlesource.com/chromium/third_party/ffmpeg.git/+log/880df5ede50a..b71ecd02b479
$ git log 880df5ede..b71ecd02b --date=short --no-merges --format='%ad %ae %s'
2022-07-27 eugene Roll for M106
2022-07-25 andreas.rheinhardt avcodec/x86/pngdsp: Remove obsolete ff_add_bytes_l2_mmx()
2022-07-22 andreas.rheinhardt avcodec/hevcdec: Output MD5-message in one piece
2022-07-24 epirat07 configure: properly require libx264 if enabled
2022-07-24 zane avformat/argo_cvg: expose loop/reverb/checksum via metadata
(...)
2022-05-03 leo.izen avcodec/libjxldec: properly tag output colorspace
2022-06-25 ffmpeg avfilter/Makefile: always make colorspace.o
2022-03-02 brad avutil/ppc/cpu: Use proper header for OpenBSD PPC CPU detection
2022-06-24 jamrial avformat/http: include version.h
2022-05-16 mbonda-at-nvidia.com AV1 VDPAU hwaccel Decode support
Created with:
roll-dep src/third_party/ffmpeg
ffmpeg usage fix:
Switch from AVFrame::pkt_duration to AVFrame::duration,
AVFrame::pkt_duration is deprecated
Bug: 1344646
Change-Id: Iaa3abf48ef81dae6d282bca8f0fa2a8dffeeba25
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3788638
Reviewed-by: Will Cassella <cassew@chromium.org>
Commit-Queue: Eugene Zemtsov <eugene@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1029623}
---
media/filters/audio_file_reader.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/media/filters/audio_file_reader.cc b/media/filters/audio_file_reader.cc
index e1be5aa9a5b..951c003956f 100644
--- a/media/filters/audio_file_reader.cc
+++ b/media/filters/audio_file_reader.cc
@@ -243,10 +243,10 @@ bool AudioFileReader::OnNewFrame(
// silence from being output. In the case where we are also discarding some
// portion of the packet (as indicated by a negative pts), we further want to
// adjust the duration downward by however much exists before zero.
- if (audio_codec_ == AudioCodec::kAAC && frame->pkt_duration) {
+ if (audio_codec_ == AudioCodec::kAAC && frame->duration) {
const base::TimeDelta pkt_duration = ConvertFromTimeBase(
glue_->format_context()->streams[stream_index_]->time_base,
- frame->pkt_duration + std::min(static_cast<int64_t>(0), frame->pts));
+ frame->duration + std::min(static_cast<int64_t>(0), frame->pts));
const base::TimeDelta frame_duration =
base::Seconds(frames_read / static_cast<double>(sample_rate_));

View File

@ -1,8 +1,8 @@
%define MAJver %(echo %version | cut -d. -f1)
%define gcc_patchset 2
%define gcc_patchset 1
Name: chromium
Epoch: 3
Version: 104.0.5112.101
Version: 109.0.5414.119
Release: 1mamba
Summary: An open-source browser project that aims to build a safer, faster, and more stable way to experience the web
Group: Graphical Desktop/Applications/Internet
@ -53,6 +53,8 @@ Patch33: chromium-104.0.5112.79-roll-src-third_party-ffmpeg.patch
Patch34: chromium-102.0.5005.61-iwyu-add-utility-for-std-exchange.patch
Patch35: chromium-104.0.5112.79-remove-no-opaque-pointers-flag.patch
Patch36: chromium-104.0.5112.79-tflite-system-zlib.patch
Patch37: chromium-105.0.5195.102-angle-wayland-include-protocol.patch
Patch38: chromium-109.0.5414.119-REVERT-roll-src-third_party-ffmpeg-m106.patch
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -63,15 +65,17 @@ BuildRequires: libXext-devel
BuildRequires: libXfixes-devel
BuildRequires: libXrandr-devel
BuildRequires: libalsa-devel
BuildRequires: libat-spi2-atk-devel
BuildRequires: libaom-devel
BuildRequires: libat-spi2-core-devel
BuildRequires: libatk-devel
BuildRequires: libatomic-devel
BuildRequires: libavcodec-ffmpeg-devel
BuildRequires: libavformat-ffmpeg-devel
BuildRequires: libavif-devel
BuildRequires: libavutil-ffmpeg-devel
BuildRequires: libbrotli-devel
BuildRequires: libcairo-devel
BuildRequires: libcups-devel
BuildRequires: libdav1d-devel
BuildRequires: libdbus-devel
BuildRequires: libdrm-devel
BuildRequires: libexpat-devel
@ -83,6 +87,7 @@ BuildRequires: libglib-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libicu-devel
BuildRequires: libjpeg-devel
BuildRequires: libjsoncpp-devel
BuildRequires: libmesa-devel
BuildRequires: libminizip1-devel
BuildRequires: libnspr-devel
@ -96,6 +101,7 @@ BuildRequires: libsnappy-devel
BuildRequires: libstdc++6-devel
BuildRequires: libwayland-devel
BuildRequires: libwebp-devel
BuildRequires: libwoff2-devel
BuildRequires: libxcb-devel
BuildRequires: libxkbcommon-devel
BuildRequires: libxml2-devel
@ -103,33 +109,33 @@ BuildRequires: libxslt-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: libharfbuzz-devel >= 3.0.0
BuildRequires: libpthread-stubs-devel
BuildRequires: libgnome-keyring-devel
BuildRequires: gperf
BuildRequires: flex
BuildRequires: bison
BuildRequires: pam-devel
BuildRequires: yasm
BuildRequires: libbrotli-tools
BuildRequires: libdbus-glib-devel
BuildRequires: libXi-devel
BuildRequires: libXxf86vm-devel
BuildRequires: libkrb5-devel
BuildRequires: libe2fs-devel
BuildRequires: speech-dispatcher-devel >= 0.8-2mamba
BuildRequires: python-markupsafe-py3
BuildRequires: libxshmfence-devel
BuildRequires: libkeyutils-devel
BuildRequires: libgnutls-devel
BuildRequires: ninja
BuildRequires: libXcursor-devel
BuildRequires: libpci-devel
BuildRequires: libexif-devel
BuildRequires: libXtst-devel
BuildRequires: llvm
BuildRequires: llvm-tools
BuildRequires: gn
BuildRequires: bison
BuildRequires: clang
BuildRequires: compiler-rt
BuildRequires: flex
BuildRequires: gn
BuildRequires: gperf
BuildRequires: ninja
BuildRequires: pam-devel
BuildRequires: python-markupsafe-py3
BuildRequires: speech-dispatcher-devel >= 0.8-2mamba
BuildRequires: yasm
Requires(post): %{__install_info}
Requires: xdg-utils
Requires: libvdpau-Mesa
@ -145,6 +151,9 @@ Chromium is an open-source browser project that aims to build a safer, faster, a
%debug_package
# Don't clean build at the end
%global __spec_rmbuild_cmd /bin/true
%prep
#% setup -q -a2
%setup -q -D -T
@ -161,13 +170,15 @@ sed -i 's/OFFICIAL_BUILD/GOOGLE_CHROME_BUILD/' \
%patch3 -p1
%endif
%patch7 -p1 -b .use-oauth2-client-switches-as-default
%patch35 -p1 -b .remove-no-opaque-pointers-flag
#%patch35 -p1 -b .remove-no-opaque-pointers-flag
#%patch21 -p0 -b .unexpire-accelerated-video-decode-flag
#%patch22 -Rp1 -b .add-a-TODO-about-a-missing-pnacl-flag
#%patch18 -Rp1 -b .use-ffile-compilation-dir
%patch36 -p1 -b .tflite-system-zlib
#%patch36 -p1 -b .tflite-system-zlib
%patch33 -Rp1 -b .roll-src-third_party-ffmpeg
%patch12 -p1 -b .sql-make-VirtualCursor-standard-layout-type
%patch37 -p0 -b .angle-wayland-include-protocol
%patch38 -Rp1 -b .REVERT-roll-src-third_party-ffmpeg-m106
# Fixes for building with libstdc++ instead of libc++
#patch -Np1 -i patches/chromium-102-fenced_frame_utils-include.patch
@ -197,12 +208,17 @@ sed -i -e 's/\<xmlMalloc\>/malloc/' -e 's/\<xmlFree\>/free/' \
# Possible replacements are listed in build/linux/unbundle/replace_gn_files.py
# Keys are the names in the above script; values are the dependencies in Arch
declare -rgA _system_libs=(
[brotli]=brotli
[dav1d]=dav1d
[ffmpeg]=ffmpeg
[flac]=flac
[fontconfig]=fontconfig
[freetype]=libfreetype
[harfbuzz-ng]=harfbuzz
[icu]=icu
[jsoncpp]=jsoncpp
[libaom]=aom
[libavif]=libavif
[libdrm]=
[libjpeg]=libjpeg
[libpng]=libpng
@ -213,6 +229,7 @@ declare -rgA _system_libs=(
[opus]=opus
[re2]=re2
[snappy]=snappy
[woff2]=woff2
[zlib]=libminizip1
)
@ -282,29 +299,33 @@ export BACKTRACE="-funwind-tables -rdynamic"
chromium_conf=(
'custom_toolchain="//build/toolchain/linux/unbundle:default"'
'host_toolchain="//build/toolchain/linux/unbundle:default"'
'clang_base_path="/usr"'
'clang_use_chrome_plugins=false'
'chrome_pgo_phase=0' # needs newer clang to read the bundled PGO profile
'is_official_build=true' # implies is_cfi=true on x86_64
'symbol_level=0'
'treat_warnings_as_errors=false'
'fieldtrial_testing_like_official_build=true'
'disable_fieldtrial_testing_config=true'
'blink_enable_generated_code_formatting=false'
'ffmpeg_branding="Chrome"'
'proprietary_codecs=true'
'rtc_use_pipewire=true'
'link_pulseaudio=true'
'use_gnome_keyring=false'
'use_sysroot=false'
'use_custom_libcxx=false'
'use_gnome_keyring=false'
'use_sysroot=false'
'use_system_libwayland=true'
'use_system_wayland_scanner=true'
'enable_hangout_services_extension=true'
'enable_widevine=true'
'enable_nacl=false'
'use_vaapi=true'
'google_api_key="AIzaSyBT3wXwxmFuUQcyeMyp0MbHHhhFwNfWKTc"'
'symbol_level=0'
'is_debug=false'
'icu_use_data_file=false'
'toolprefix="%{_target_platform}-"'
)
# 'use_vaapi=true'
# 'fieldtrial_testing_like_official_build=true'
# 'chrome_pgo_phase=0' # pgo incompatible with llvm 11
# 'google_default_client_id="72870267994-r1bkll5bq0v275nnsa66d21h3t6ne10s.apps.googleusercontent.com"'
# 'google_default_client_secret="Pcdh5bzXx3nsECO_AlMlPXXk"'
@ -435,6 +456,9 @@ ln -s %{_libdir}/chromium/chromedriver %{buildroot}%{_bindir}/chromedriver
%{_mandir}/man1/chromium.1*
%changelog
* Thu Jan 26 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 109.0.5414.119-1mamba
- update to 109.0.5414.119
* Mon Aug 29 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 104.0.5112.101-1mamba
- update to 104.0.5112.101