From bd8453c0a681f51ca70233321ab3bc2c732703a2 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Sat, 8 Feb 2025 19:48:06 +0100 Subject: [PATCH] chromium: update to 133.0.6943.53. --- .../files/musl-patches/libc++-musl.patch | 21 +++++++++---------- srcpkgs/chromium/patches/browser-size_t.patch | 10 --------- .../patches/chromium-119-assert.patch | 12 ----------- ...hromium-125-disable-FFmpegAllowLists.patch | 12 ----------- srcpkgs/chromium/template | 9 ++++---- 5 files changed, 14 insertions(+), 50 deletions(-) delete mode 100644 srcpkgs/chromium/patches/browser-size_t.patch delete mode 100644 srcpkgs/chromium/patches/chromium-119-assert.patch delete mode 100644 srcpkgs/chromium/patches/chromium-125-disable-FFmpegAllowLists.patch diff --git a/srcpkgs/chromium/files/musl-patches/libc++-musl.patch b/srcpkgs/chromium/files/musl-patches/libc++-musl.patch index b90a54daa8b..11de10fc77d 100644 --- a/srcpkgs/chromium/files/musl-patches/libc++-musl.patch +++ b/srcpkgs/chromium/files/musl-patches/libc++-musl.patch @@ -1,12 +1,11 @@ -Source: https://git.alpinelinux.org/aports/tree/community/chromium/yes-musl.patch ---- ./buildtools/third_party/libc++/__config_site.orig -+++ ./buildtools/third_party/libc++/__config_site -@@ -18,7 +18,7 @@ - /* #undef _LIBCPP_ABI_FORCE_MICROSOFT */ - /* #undef _LIBCPP_HAS_NO_THREADS */ - /* #undef _LIBCPP_HAS_NO_MONOTONIC_CLOCK */ --/* #undef _LIBCPP_HAS_MUSL_LIBC */ +--- a/buildtools/third_party/libc++/__config_site ++++ b/buildtools/third_party/libc++/__config_site +@@ -25,7 +25,7 @@ + #define _LIBCPP_HAS_THREADS 1 + #define _LIBCPP_HAS_MONOTONIC_CLOCK 1 + #define _LIBCPP_HAS_TERMINAL 1 +-#define _LIBCPP_HAS_MUSL_LIBC 0 +#define _LIBCPP_HAS_MUSL_LIBC 1 - /* #undef _LIBCPP_HAS_THREAD_API_PTHREAD */ - /* #undef _LIBCPP_HAS_THREAD_API_EXTERNAL */ - /* #undef _LIBCPP_HAS_THREAD_API_WIN32 */ + + #ifdef _WIN32 + #define _LIBCPP_HAS_THREAD_API_PTHREAD 0 diff --git a/srcpkgs/chromium/patches/browser-size_t.patch b/srcpkgs/chromium/patches/browser-size_t.patch deleted file mode 100644 index 36af0ec6c4a..00000000000 --- a/srcpkgs/chromium/patches/browser-size_t.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/chrome/browser/search/background/ntp_backgrounds.h 2020-08-10 20:39:20.000000000 +0200 -+++ b/chrome/browser/search/background/ntp_backgrounds.h 2020-09-04 13:48:22.640023256 +0200 -@@ -6,6 +6,7 @@ - #define CHROME_BROWSER_SEARCH_BACKGROUND_NTP_BACKGROUNDS_H_ - - #include -+#include - - class GURL; - diff --git a/srcpkgs/chromium/patches/chromium-119-assert.patch b/srcpkgs/chromium/patches/chromium-119-assert.patch deleted file mode 100644 index 6c502f13a59..00000000000 --- a/srcpkgs/chromium/patches/chromium-119-assert.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -up chromium-119.0.6045.59/v8/src/base/small-vector.h.than chromium-119.0.6045.59/v8/src/base/small-vector.h ---- chromium-119.0.6045.59/v8/src/base/small-vector.h.than 2023-11-01 16:13:12.645301345 +0100 -+++ chromium-119.0.6045.59/v8/src/base/small-vector.h 2023-11-01 16:13:29.660610182 +0100 -@@ -22,7 +22,7 @@ template ::value); - - public: diff --git a/srcpkgs/chromium/patches/chromium-125-disable-FFmpegAllowLists.patch b/srcpkgs/chromium/patches/chromium-125-disable-FFmpegAllowLists.patch deleted file mode 100644 index e03688cdcbb..00000000000 --- a/srcpkgs/chromium/patches/chromium-125-disable-FFmpegAllowLists.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -up chromium-125.0.6422.41/media/base/media_switches.cc.disable-FFmpegAllowLists chromium-125.0.6422.41/media/base/media_switches.cc ---- chromium-125.0.6422.41/media/base/media_switches.cc.disable-FFmpegAllowLists 2024-05-12 21:28:43.694027396 +0200 -+++ chromium-125.0.6422.41/media/base/media_switches.cc 2024-05-12 21:32:48.155063623 +0200 -@@ -1753,7 +1753,7 @@ BASE_FEATURE(kUseWindowBoundsForPip, - // Enables FFmpeg allow lists for supported codecs / containers. - BASE_FEATURE(kFFmpegAllowLists, - "FFmpegAllowLists", -- base::FEATURE_ENABLED_BY_DEFAULT); -+ base::FEATURE_DISABLED_BY_DEFAULT); - - #if BUILDFLAG(IS_WIN) - // Enables audio offload when supported by endpoints. diff --git a/srcpkgs/chromium/template b/srcpkgs/chromium/template index ecb3e910f37..c6c4f79502a 100644 --- a/srcpkgs/chromium/template +++ b/srcpkgs/chromium/template @@ -1,20 +1,20 @@ # Template file for 'chromium' pkgname=chromium # See https://chromiumdash.appspot.com/releases?platform=Linux for the latest version -version=132.0.6834.83 +version=133.0.6943.53 revision=1 archs="i686* x86_64* aarch64* armv7l*" _llvmver=19 hostmakedepends=" $(vopt_if clang "clang${_llvmver} lld${_llvmver} llvm${_llvmver} compiler-rt${_llvmver}") bison git gperf hwids ninja nodejs perl pkg-config python3 - libepoxy-devel libevent-devel libglib-devel rust rust-bindgen + libepoxy-devel libglib-devel rust rust-bindgen gn" makedepends=" alsa-lib-devel libdav1d-devel brotli-devel cups-devel elfutils-devel fontconfig-devel freetype-devel gtk+3-devel libXScrnSaver-devel libXcomposite-devel libXcursor-devel libXdamage-devel libXi-devel libXrandr-devel - libavif-devel libcap-devel libcurl-devel libdrm-devel libevent-devel + libavif-devel libcap-devel libcurl-devel libdrm-devel libexif-devel libflac-devel libgcrypt-devel libjpeg-turbo-devel libmtp-devel libpng-devel libva-devel libwebp-devel libxml2-devel libxshmfence-devel libxslt-devel minizip-devel mit-krb5-devel nss-devel opus-devel @@ -31,7 +31,7 @@ license="BSD-3-Clause" homepage="https://www.chromium.org/" distfiles="https://commondatastorage.googleapis.com/chromium-browser-official/chromium-${version}.tar.xz" #distfiles="https://chromium-tarballs.distfiles.gentoo.org/chromium-${version}.tar.xz" -checksum=f98315eacbf3be106feca37f8243d8c4092d4fd832c918aa36dc229eb6ab39e0 +checksum=433c8891a3d717994b0e9544334491888e835a4b813354eefacae05489c23d01 lib32disabled=yes @@ -169,7 +169,6 @@ do_configure() { fontconfig freetype libdrm - libevent libjpeg libpng libwebp