From 745f56f66c6d23bce392e20160da5ffdd2941a5e Mon Sep 17 00:00:00 2001 From: Duncaen Date: Thu, 7 Aug 2025 22:15:48 +0200 Subject: [PATCH] chromium: update to 139.0.7258.127. --- .../patches/chromium-119-fix-aarch64-musl.patch | 11 ----------- .../chromium-revert-drop-of-system-java.patch | 15 --------------- srcpkgs/chromium/template | 9 ++++----- 3 files changed, 4 insertions(+), 31 deletions(-) delete mode 100644 srcpkgs/chromium/patches/chromium-119-fix-aarch64-musl.patch delete mode 100644 srcpkgs/chromium/patches/chromium-revert-drop-of-system-java.patch diff --git a/srcpkgs/chromium/patches/chromium-119-fix-aarch64-musl.patch b/srcpkgs/chromium/patches/chromium-119-fix-aarch64-musl.patch deleted file mode 100644 index cbb2ec14c90..00000000000 --- a/srcpkgs/chromium/patches/chromium-119-fix-aarch64-musl.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/v8/src/base/cpu.cc -+++ b/v8/src/base/cpu.cc -@@ -14,7 +14,7 @@ - #if V8_OS_LINUX - #include // AT_HWCAP - #endif --#if V8_GLIBC_PREREQ(2, 16) || V8_OS_ANDROID -+#if V8_OS_LINUX || V8_OS_ANDROID - #include // getauxval() - #endif - #if V8_OS_QNX diff --git a/srcpkgs/chromium/patches/chromium-revert-drop-of-system-java.patch b/srcpkgs/chromium/patches/chromium-revert-drop-of-system-java.patch deleted file mode 100644 index 117a50f8e4f..00000000000 --- a/srcpkgs/chromium/patches/chromium-revert-drop-of-system-java.patch +++ /dev/null @@ -1,15 +0,0 @@ -This was dropped for some reason in 6951c37cecd05979b232a39e5c10e6346a0f74ef ---- a/third_party/closure_compiler/compiler.py 2021-05-20 04:17:53.000000000 +0200 -+++ b/third_party/closure_compiler/compiler.py 2021-05-20 04:17:53.000000000 +0200 -@@ -13,8 +13,9 @@ - - - _CURRENT_DIR = os.path.join(os.path.dirname(__file__)) --_JAVA_PATH = os.path.join(_CURRENT_DIR, "..", "jdk", "current", "bin", "java") --assert os.path.isfile(_JAVA_PATH), "java only allowed in android builds" -+_JAVA_BIN = "java" -+_JDK_PATH = os.path.join(_CURRENT_DIR, "..", "jdk", "current", "bin", "java") -+_JAVA_PATH = _JDK_PATH if os.path.isfile(_JDK_PATH) else _JAVA_BIN - - class Compiler(object): - """Runs the Closure compiler on given source files to typecheck them diff --git a/srcpkgs/chromium/template b/srcpkgs/chromium/template index 0b12b20a2b5..d786d57f56c 100644 --- a/srcpkgs/chromium/template +++ b/srcpkgs/chromium/template @@ -1,7 +1,7 @@ # Template file for 'chromium' pkgname=chromium # See https://chromiumdash.appspot.com/releases?platform=Linux for the latest version -version=138.0.7204.157 +version=139.0.7258.127 revision=1 archs="i686* x86_64* aarch64* armv7l*" _llvmver=19 @@ -29,10 +29,11 @@ short_desc="Google's attempt at creating a safer, faster, and more stable browse maintainer="Duncaen " license="BSD-3-Clause" homepage="https://www.chromium.org/" -distfiles="https://commondatastorage.googleapis.com/chromium-browser-official/chromium-${version}.tar.xz" +# distfiles="https://commondatastorage.googleapis.com/chromium-browser-official/chromium-${version}.tar.xz" # distfiles="https://chromium-tarballs.distfiles.gentoo.org/chromium-${version}.tar.xz" # distfiles="https://chromium.googlesource.com/chromium/src.git/+archive/refs/tags/${version}.tar.gz" -checksum=835dfd3228f6adb2a8c78e296c7d4981aee35daee401a2fe1493b4657d736d25 +distfiles="https://github.com/chromium-linux-tarballs/chromium-tarballs/releases/download/${version}/chromium-${version}-linux.tar.xz" +checksum=140e6a3b5f21f128d807812befdc15bc1eb0b1bf9c9f4445414236272b50646e lib32disabled=yes @@ -198,8 +199,6 @@ do_configure() { local clang_version="$(clang -dumpversion)" conf=( - 'enable_nacl=false' - 'use_sysroot=false' 'host_pkg_config="/usr/bin/pkg-config"'