* [PR PATCH] chromium: update to 129.0.6668.58.
@ 2024-09-20 9:51 Johnnynator
2024-09-20 10:06 ` [PR PATCH] [Updated] " Johnnynator
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: Johnnynator @ 2024-09-20 9:51 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1273 bytes --]
There is a new pull request by Johnnynator against master on the void-packages repository
https://github.com/Johnnynator/void-packages chromium
https://github.com/void-linux/void-packages/pull/52286
chromium: update to 129.0.6668.58.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
Quickly tested on x86_64-musl with `--js-flags="--jitless --wasm_jitless"`, all the jits are still horribly broken on musl.
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, `x86_64. x86_64-musl`
-->
[skip ci]
A patch file from https://github.com/void-linux/void-packages/pull/52286.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-chromium-52286.patch --]
[-- Type: text/x-diff, Size: 3716 bytes --]
From 584f5b8bf07db757d0caeec6ea98b99bf222c8fa Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Thu, 19 Sep 2024 19:32:17 +0200
Subject: [PATCH] chromium: update to 129.0.6668.58.
---
srcpkgs/chromium/patches/sndio.patch | 22 ++++++++++------------
srcpkgs/chromium/template | 13 ++++++++++---
2 files changed, 20 insertions(+), 15 deletions(-)
diff --git a/srcpkgs/chromium/patches/sndio.patch b/srcpkgs/chromium/patches/sndio.patch
index 077ceaa8acbce4..cc4e858d2abdc2 100644
--- a/srcpkgs/chromium/patches/sndio.patch
+++ b/srcpkgs/chromium/patches/sndio.patch
@@ -1,16 +1,14 @@
diff -Naur chromium-83.0.4103.97.orig/media/BUILD.gn chromium-83.0.4103.97/media/BUILD.gn
---- a/media/BUILD.gn 2020-06-03 20:40:26.000000000 +0200
-+++ b/media/BUILD.gn 2021-06-13 17:32:28.510395975 +0200
-@@ -65,6 +65,9 @@
- defines += [ "DLOPEN_PULSEAUDIO" ]
- }
- }
-+ if (use_sndio) {
-+ defines += [ "USE_SNDIO" ]
-+ }
- if (use_cras) {
- defines += [ "USE_CRAS" ]
- }
+--- chromium-129.0.6668.58/media/BUILD.gn 2024-09-18 00:00:12.319230000 +0200
++++ - 2024-09-19 19:44:06.486438185 +0200
+@@ -66,6 +66,7 @@
+ "USE_CHROMEOS_PROTECTED_MEDIA=$use_chromeos_protected_media",
+ "USE_CRAS=$use_cras",
+ "USE_PROPRIETARY_CODECS=$proprietary_codecs",
++ "USE_SNDIO=$use_sndio",
+ ]
+
+ if (enable_library_cdms) {
diff -Naur chromium-83.0.4103.97.orig/media/audio/BUILD.gn chromium-83.0.4103.97/media/audio/BUILD.gn
--- a/media/audio/BUILD.gn 2020-06-03 20:39:37.000000000 +0200
+++ b/media/audio/BUILD.gn 2020-06-13 17:32:28.511395969 +0200
diff --git a/srcpkgs/chromium/template b/srcpkgs/chromium/template
index e11022f6246d49..854ae2086a6c55 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=128.0.6613.84
+version=129.0.6668.58
revision=1
archs="i686* x86_64* aarch64* armv7l*"
hostmakedepends="
@@ -28,17 +28,18 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://www.chromium.org/"
distfiles="https://commondatastorage.googleapis.com/chromium-browser-official/${pkgname}-${version}.tar.xz"
-checksum=9297c1e1dc9310534f6a48f90eacc2eac1d964ac3c827dc0798594e8a2742dc4
+checksum=eaf850183d32627ce0cde9f3d3f853bc11c217ef7f41540303214ed47803d96d
lib32disabled=yes
-build_options="clang libcxx debug vaapi pulseaudio sndio pipewire lto"
+build_options="clang libcxx debug vaapi pulseaudio sndio pipewire lto drumbrake"
build_options_default="clang libcxx vaapi pulseaudio pipewire"
desc_option_clang="Use clang to build"
desc_option_libcxx="Use bundled libc++"
desc_option_debug="Build with debug symbols"
desc_option_lto="Enable Link Time Optimization"
desc_option_pipewire="Enable support for screen sharing for WebRTC via PipeWire"
+desc_option_drumbrake="WebAssembly Interpreter"
if [ "$XBPS_LIBC" = musl ]; then
hostmakedepends+=" musl-legacy-compat"
@@ -48,6 +49,10 @@ if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-legacy-compat"
fi
+case "$XBPS_TARGET_MACHINE" in
+ x86_64-musl|aarch64-musl) build_options_default+" drumbrake";;
+esac
+
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" libX11-devel libxcb-devel pciutils-devel libXext-devel libglvnd-devel
libjpeg-turbo-devel libXi-devel nss-devel libpng-devel libwebp-devel
@@ -238,6 +243,8 @@ do_configure() {
"use_sndio=$(vopt_if sndio true false)"
+ "v8_enable_drumbrake=$(vopt_if drumbrake true false)"
+
# Always support proprietary codecs.
# Enable H.264 support in bundled ffmpeg.
'proprietary_codecs=true'
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PR PATCH] [Updated] chromium: update to 129.0.6668.58.
2024-09-20 9:51 [PR PATCH] chromium: update to 129.0.6668.58 Johnnynator
@ 2024-09-20 10:06 ` Johnnynator
2024-09-20 10:08 ` Johnnynator
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Johnnynator @ 2024-09-20 10:06 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1349 bytes --]
There is an updated pull request by Johnnynator against master on the void-packages repository
https://github.com/Johnnynator/void-packages chromium
https://github.com/void-linux/void-packages/pull/52286
chromium: update to 129.0.6668.58.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
Quickly tested on x86_64-musl with `--js-flags="--jitless --wasm_jitless"`, all the jits are still horribly broken on musl.
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, `x86_64. x86_64-musl`
#### Testing Repo
https://void.johnnynator.dev/dev/chromium/
[skip ci]
[ci skip]
A patch file from https://github.com/void-linux/void-packages/pull/52286.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-chromium-52286.patch --]
[-- Type: text/x-diff, Size: 4314 bytes --]
From ad40efbecb1945fdebb287da8769411d5992b430 Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Thu, 19 Sep 2024 19:32:17 +0200
Subject: [PATCH] chromium: update to 129.0.6668.58.
---
srcpkgs/chromium/files/chromium.sh | 3 +++
srcpkgs/chromium/patches/sndio.patch | 22 ++++++++++------------
srcpkgs/chromium/template | 13 ++++++++++---
3 files changed, 23 insertions(+), 15 deletions(-)
diff --git a/srcpkgs/chromium/files/chromium.sh b/srcpkgs/chromium/files/chromium.sh
index 46bf84c1b65d9b..314617726ee72b 100644
--- a/srcpkgs/chromium/files/chromium.sh
+++ b/srcpkgs/chromium/files/chromium.sh
@@ -1,5 +1,8 @@
#!/bin/sh
export CHROME_WRAPPER=/usr/lib/chromium/chromium
export CHROME_DESKTOP=chromium.desktop
+case $(xbps-uhelper arch) in
+ *-musl) CHROME_FLAGS="-js-flags='--jitless --wasm_jitless' $CHROME_FLAGS";;
+esac
CHROME_FLAGS="--enable-gpu-rasterization $CHROME_FLAGS"
exec /usr/lib/chromium/chromium $CHROME_FLAGS "$@"
diff --git a/srcpkgs/chromium/patches/sndio.patch b/srcpkgs/chromium/patches/sndio.patch
index 077ceaa8acbce4..cc4e858d2abdc2 100644
--- a/srcpkgs/chromium/patches/sndio.patch
+++ b/srcpkgs/chromium/patches/sndio.patch
@@ -1,16 +1,14 @@
diff -Naur chromium-83.0.4103.97.orig/media/BUILD.gn chromium-83.0.4103.97/media/BUILD.gn
---- a/media/BUILD.gn 2020-06-03 20:40:26.000000000 +0200
-+++ b/media/BUILD.gn 2021-06-13 17:32:28.510395975 +0200
-@@ -65,6 +65,9 @@
- defines += [ "DLOPEN_PULSEAUDIO" ]
- }
- }
-+ if (use_sndio) {
-+ defines += [ "USE_SNDIO" ]
-+ }
- if (use_cras) {
- defines += [ "USE_CRAS" ]
- }
+--- chromium-129.0.6668.58/media/BUILD.gn 2024-09-18 00:00:12.319230000 +0200
++++ - 2024-09-19 19:44:06.486438185 +0200
+@@ -66,6 +66,7 @@
+ "USE_CHROMEOS_PROTECTED_MEDIA=$use_chromeos_protected_media",
+ "USE_CRAS=$use_cras",
+ "USE_PROPRIETARY_CODECS=$proprietary_codecs",
++ "USE_SNDIO=$use_sndio",
+ ]
+
+ if (enable_library_cdms) {
diff -Naur chromium-83.0.4103.97.orig/media/audio/BUILD.gn chromium-83.0.4103.97/media/audio/BUILD.gn
--- a/media/audio/BUILD.gn 2020-06-03 20:39:37.000000000 +0200
+++ b/media/audio/BUILD.gn 2020-06-13 17:32:28.511395969 +0200
diff --git a/srcpkgs/chromium/template b/srcpkgs/chromium/template
index e11022f6246d49..854ae2086a6c55 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=128.0.6613.84
+version=129.0.6668.58
revision=1
archs="i686* x86_64* aarch64* armv7l*"
hostmakedepends="
@@ -28,17 +28,18 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://www.chromium.org/"
distfiles="https://commondatastorage.googleapis.com/chromium-browser-official/${pkgname}-${version}.tar.xz"
-checksum=9297c1e1dc9310534f6a48f90eacc2eac1d964ac3c827dc0798594e8a2742dc4
+checksum=eaf850183d32627ce0cde9f3d3f853bc11c217ef7f41540303214ed47803d96d
lib32disabled=yes
-build_options="clang libcxx debug vaapi pulseaudio sndio pipewire lto"
+build_options="clang libcxx debug vaapi pulseaudio sndio pipewire lto drumbrake"
build_options_default="clang libcxx vaapi pulseaudio pipewire"
desc_option_clang="Use clang to build"
desc_option_libcxx="Use bundled libc++"
desc_option_debug="Build with debug symbols"
desc_option_lto="Enable Link Time Optimization"
desc_option_pipewire="Enable support for screen sharing for WebRTC via PipeWire"
+desc_option_drumbrake="WebAssembly Interpreter"
if [ "$XBPS_LIBC" = musl ]; then
hostmakedepends+=" musl-legacy-compat"
@@ -48,6 +49,10 @@ if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-legacy-compat"
fi
+case "$XBPS_TARGET_MACHINE" in
+ x86_64-musl|aarch64-musl) build_options_default+" drumbrake";;
+esac
+
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" libX11-devel libxcb-devel pciutils-devel libXext-devel libglvnd-devel
libjpeg-turbo-devel libXi-devel nss-devel libpng-devel libwebp-devel
@@ -238,6 +243,8 @@ do_configure() {
"use_sndio=$(vopt_if sndio true false)"
+ "v8_enable_drumbrake=$(vopt_if drumbrake true false)"
+
# Always support proprietary codecs.
# Enable H.264 support in bundled ffmpeg.
'proprietary_codecs=true'
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PR PATCH] [Updated] chromium: update to 129.0.6668.58.
2024-09-20 9:51 [PR PATCH] chromium: update to 129.0.6668.58 Johnnynator
2024-09-20 10:06 ` [PR PATCH] [Updated] " Johnnynator
@ 2024-09-20 10:08 ` Johnnynator
2024-09-20 10:15 ` Johnnynator
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Johnnynator @ 2024-09-20 10:08 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1349 bytes --]
There is an updated pull request by Johnnynator against master on the void-packages repository
https://github.com/Johnnynator/void-packages chromium
https://github.com/void-linux/void-packages/pull/52286
chromium: update to 129.0.6668.58.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
Quickly tested on x86_64-musl with `--js-flags="--jitless --wasm_jitless"`, all the jits are still horribly broken on musl.
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, `x86_64. x86_64-musl`
#### Testing Repo
https://void.johnnynator.dev/dev/chromium/
[skip ci]
[ci skip]
A patch file from https://github.com/void-linux/void-packages/pull/52286.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-chromium-52286.patch --]
[-- Type: text/x-diff, Size: 4317 bytes --]
From eb4cc685b3abe3c2d454bb6c4c5a2611efb39a49 Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Thu, 19 Sep 2024 19:32:17 +0200
Subject: [PATCH] chromium: update to 129.0.6668.58.
---
srcpkgs/chromium/files/chromium.sh | 3 +++
srcpkgs/chromium/patches/sndio.patch | 22 ++++++++++------------
srcpkgs/chromium/template | 13 ++++++++++---
3 files changed, 23 insertions(+), 15 deletions(-)
diff --git a/srcpkgs/chromium/files/chromium.sh b/srcpkgs/chromium/files/chromium.sh
index 46bf84c1b65d9b..a3041c93e874df 100644
--- a/srcpkgs/chromium/files/chromium.sh
+++ b/srcpkgs/chromium/files/chromium.sh
@@ -1,5 +1,8 @@
#!/bin/sh
export CHROME_WRAPPER=/usr/lib/chromium/chromium
export CHROME_DESKTOP=chromium.desktop
+case $(xbps-uhelper arch) in
+ *-musl) CHROME_FLAGS="--js-flags=\"--jitless --wasm_jitless\" $CHROME_FLAGS";;
+esac
CHROME_FLAGS="--enable-gpu-rasterization $CHROME_FLAGS"
exec /usr/lib/chromium/chromium $CHROME_FLAGS "$@"
diff --git a/srcpkgs/chromium/patches/sndio.patch b/srcpkgs/chromium/patches/sndio.patch
index 077ceaa8acbce4..cc4e858d2abdc2 100644
--- a/srcpkgs/chromium/patches/sndio.patch
+++ b/srcpkgs/chromium/patches/sndio.patch
@@ -1,16 +1,14 @@
diff -Naur chromium-83.0.4103.97.orig/media/BUILD.gn chromium-83.0.4103.97/media/BUILD.gn
---- a/media/BUILD.gn 2020-06-03 20:40:26.000000000 +0200
-+++ b/media/BUILD.gn 2021-06-13 17:32:28.510395975 +0200
-@@ -65,6 +65,9 @@
- defines += [ "DLOPEN_PULSEAUDIO" ]
- }
- }
-+ if (use_sndio) {
-+ defines += [ "USE_SNDIO" ]
-+ }
- if (use_cras) {
- defines += [ "USE_CRAS" ]
- }
+--- chromium-129.0.6668.58/media/BUILD.gn 2024-09-18 00:00:12.319230000 +0200
++++ - 2024-09-19 19:44:06.486438185 +0200
+@@ -66,6 +66,7 @@
+ "USE_CHROMEOS_PROTECTED_MEDIA=$use_chromeos_protected_media",
+ "USE_CRAS=$use_cras",
+ "USE_PROPRIETARY_CODECS=$proprietary_codecs",
++ "USE_SNDIO=$use_sndio",
+ ]
+
+ if (enable_library_cdms) {
diff -Naur chromium-83.0.4103.97.orig/media/audio/BUILD.gn chromium-83.0.4103.97/media/audio/BUILD.gn
--- a/media/audio/BUILD.gn 2020-06-03 20:39:37.000000000 +0200
+++ b/media/audio/BUILD.gn 2020-06-13 17:32:28.511395969 +0200
diff --git a/srcpkgs/chromium/template b/srcpkgs/chromium/template
index e11022f6246d49..854ae2086a6c55 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=128.0.6613.84
+version=129.0.6668.58
revision=1
archs="i686* x86_64* aarch64* armv7l*"
hostmakedepends="
@@ -28,17 +28,18 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://www.chromium.org/"
distfiles="https://commondatastorage.googleapis.com/chromium-browser-official/${pkgname}-${version}.tar.xz"
-checksum=9297c1e1dc9310534f6a48f90eacc2eac1d964ac3c827dc0798594e8a2742dc4
+checksum=eaf850183d32627ce0cde9f3d3f853bc11c217ef7f41540303214ed47803d96d
lib32disabled=yes
-build_options="clang libcxx debug vaapi pulseaudio sndio pipewire lto"
+build_options="clang libcxx debug vaapi pulseaudio sndio pipewire lto drumbrake"
build_options_default="clang libcxx vaapi pulseaudio pipewire"
desc_option_clang="Use clang to build"
desc_option_libcxx="Use bundled libc++"
desc_option_debug="Build with debug symbols"
desc_option_lto="Enable Link Time Optimization"
desc_option_pipewire="Enable support for screen sharing for WebRTC via PipeWire"
+desc_option_drumbrake="WebAssembly Interpreter"
if [ "$XBPS_LIBC" = musl ]; then
hostmakedepends+=" musl-legacy-compat"
@@ -48,6 +49,10 @@ if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-legacy-compat"
fi
+case "$XBPS_TARGET_MACHINE" in
+ x86_64-musl|aarch64-musl) build_options_default+" drumbrake";;
+esac
+
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" libX11-devel libxcb-devel pciutils-devel libXext-devel libglvnd-devel
libjpeg-turbo-devel libXi-devel nss-devel libpng-devel libwebp-devel
@@ -238,6 +243,8 @@ do_configure() {
"use_sndio=$(vopt_if sndio true false)"
+ "v8_enable_drumbrake=$(vopt_if drumbrake true false)"
+
# Always support proprietary codecs.
# Enable H.264 support in bundled ffmpeg.
'proprietary_codecs=true'
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PR PATCH] [Updated] chromium: update to 129.0.6668.58.
2024-09-20 9:51 [PR PATCH] chromium: update to 129.0.6668.58 Johnnynator
2024-09-20 10:06 ` [PR PATCH] [Updated] " Johnnynator
2024-09-20 10:08 ` Johnnynator
@ 2024-09-20 10:15 ` Johnnynator
2024-09-20 13:23 ` [PR REVIEW] " Duncaen
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Johnnynator @ 2024-09-20 10:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1349 bytes --]
There is an updated pull request by Johnnynator against master on the void-packages repository
https://github.com/Johnnynator/void-packages chromium
https://github.com/void-linux/void-packages/pull/52286
chromium: update to 129.0.6668.58.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
Quickly tested on x86_64-musl with `--js-flags="--jitless --wasm_jitless"`, all the jits are still horribly broken on musl.
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, `x86_64. x86_64-musl`
#### Testing Repo
https://void.johnnynator.dev/dev/chromium/
[skip ci]
[ci skip]
A patch file from https://github.com/void-linux/void-packages/pull/52286.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-chromium-52286.patch --]
[-- Type: text/x-diff, Size: 4386 bytes --]
From b13391e914b72fa5346e65db44de2aed0e5e65f1 Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Thu, 19 Sep 2024 19:32:17 +0200
Subject: [PATCH] chromium: update to 129.0.6668.58.
---
srcpkgs/chromium/files/chromium.sh | 5 ++++-
srcpkgs/chromium/patches/sndio.patch | 22 ++++++++++------------
srcpkgs/chromium/template | 13 ++++++++++---
3 files changed, 24 insertions(+), 16 deletions(-)
diff --git a/srcpkgs/chromium/files/chromium.sh b/srcpkgs/chromium/files/chromium.sh
index 46bf84c1b65d9b..9d5e8e11a375c2 100644
--- a/srcpkgs/chromium/files/chromium.sh
+++ b/srcpkgs/chromium/files/chromium.sh
@@ -2,4 +2,7 @@
export CHROME_WRAPPER=/usr/lib/chromium/chromium
export CHROME_DESKTOP=chromium.desktop
CHROME_FLAGS="--enable-gpu-rasterization $CHROME_FLAGS"
-exec /usr/lib/chromium/chromium $CHROME_FLAGS "$@"
+case $(xbps-uhelper arch) in
+ *-musl) exec /usr/lib/chromium/chromium $CHROME_FLAGS --js-flags="--jitless --wasm_jitless" "$@";;
+ *) exec /usr/lib/chromium/chromium $CHROME_FLAGS "$@";;
+esac
diff --git a/srcpkgs/chromium/patches/sndio.patch b/srcpkgs/chromium/patches/sndio.patch
index 077ceaa8acbce4..cc4e858d2abdc2 100644
--- a/srcpkgs/chromium/patches/sndio.patch
+++ b/srcpkgs/chromium/patches/sndio.patch
@@ -1,16 +1,14 @@
diff -Naur chromium-83.0.4103.97.orig/media/BUILD.gn chromium-83.0.4103.97/media/BUILD.gn
---- a/media/BUILD.gn 2020-06-03 20:40:26.000000000 +0200
-+++ b/media/BUILD.gn 2021-06-13 17:32:28.510395975 +0200
-@@ -65,6 +65,9 @@
- defines += [ "DLOPEN_PULSEAUDIO" ]
- }
- }
-+ if (use_sndio) {
-+ defines += [ "USE_SNDIO" ]
-+ }
- if (use_cras) {
- defines += [ "USE_CRAS" ]
- }
+--- chromium-129.0.6668.58/media/BUILD.gn 2024-09-18 00:00:12.319230000 +0200
++++ - 2024-09-19 19:44:06.486438185 +0200
+@@ -66,6 +66,7 @@
+ "USE_CHROMEOS_PROTECTED_MEDIA=$use_chromeos_protected_media",
+ "USE_CRAS=$use_cras",
+ "USE_PROPRIETARY_CODECS=$proprietary_codecs",
++ "USE_SNDIO=$use_sndio",
+ ]
+
+ if (enable_library_cdms) {
diff -Naur chromium-83.0.4103.97.orig/media/audio/BUILD.gn chromium-83.0.4103.97/media/audio/BUILD.gn
--- a/media/audio/BUILD.gn 2020-06-03 20:39:37.000000000 +0200
+++ b/media/audio/BUILD.gn 2020-06-13 17:32:28.511395969 +0200
diff --git a/srcpkgs/chromium/template b/srcpkgs/chromium/template
index e11022f6246d49..854ae2086a6c55 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=128.0.6613.84
+version=129.0.6668.58
revision=1
archs="i686* x86_64* aarch64* armv7l*"
hostmakedepends="
@@ -28,17 +28,18 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://www.chromium.org/"
distfiles="https://commondatastorage.googleapis.com/chromium-browser-official/${pkgname}-${version}.tar.xz"
-checksum=9297c1e1dc9310534f6a48f90eacc2eac1d964ac3c827dc0798594e8a2742dc4
+checksum=eaf850183d32627ce0cde9f3d3f853bc11c217ef7f41540303214ed47803d96d
lib32disabled=yes
-build_options="clang libcxx debug vaapi pulseaudio sndio pipewire lto"
+build_options="clang libcxx debug vaapi pulseaudio sndio pipewire lto drumbrake"
build_options_default="clang libcxx vaapi pulseaudio pipewire"
desc_option_clang="Use clang to build"
desc_option_libcxx="Use bundled libc++"
desc_option_debug="Build with debug symbols"
desc_option_lto="Enable Link Time Optimization"
desc_option_pipewire="Enable support for screen sharing for WebRTC via PipeWire"
+desc_option_drumbrake="WebAssembly Interpreter"
if [ "$XBPS_LIBC" = musl ]; then
hostmakedepends+=" musl-legacy-compat"
@@ -48,6 +49,10 @@ if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-legacy-compat"
fi
+case "$XBPS_TARGET_MACHINE" in
+ x86_64-musl|aarch64-musl) build_options_default+" drumbrake";;
+esac
+
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" libX11-devel libxcb-devel pciutils-devel libXext-devel libglvnd-devel
libjpeg-turbo-devel libXi-devel nss-devel libpng-devel libwebp-devel
@@ -238,6 +243,8 @@ do_configure() {
"use_sndio=$(vopt_if sndio true false)"
+ "v8_enable_drumbrake=$(vopt_if drumbrake true false)"
+
# Always support proprietary codecs.
# Enable H.264 support in bundled ffmpeg.
'proprietary_codecs=true'
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PR REVIEW] chromium: update to 129.0.6668.58.
2024-09-20 9:51 [PR PATCH] chromium: update to 129.0.6668.58 Johnnynator
` (2 preceding siblings ...)
2024-09-20 10:15 ` Johnnynator
@ 2024-09-20 13:23 ` Duncaen
2024-09-20 14:05 ` [PR PATCH] [Updated] " Johnnynator
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Duncaen @ 2024-09-20 13:23 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 158 bytes --]
New review comment by Duncaen on void-packages repository
https://github.com/void-linux/void-packages/pull/52286#discussion_r1768610025
Comment:
typo, `+=`
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PR PATCH] [Updated] chromium: update to 129.0.6668.58.
2024-09-20 9:51 [PR PATCH] chromium: update to 129.0.6668.58 Johnnynator
` (3 preceding siblings ...)
2024-09-20 13:23 ` [PR REVIEW] " Duncaen
@ 2024-09-20 14:05 ` Johnnynator
2024-09-20 14:06 ` [PR REVIEW] " Johnnynator
2024-09-23 7:05 ` [PR PATCH] [Merged]: " Johnnynator
6 siblings, 0 replies; 8+ messages in thread
From: Johnnynator @ 2024-09-20 14:05 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1349 bytes --]
There is an updated pull request by Johnnynator against master on the void-packages repository
https://github.com/Johnnynator/void-packages chromium
https://github.com/void-linux/void-packages/pull/52286
chromium: update to 129.0.6668.58.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
Quickly tested on x86_64-musl with `--js-flags="--jitless --wasm_jitless"`, all the jits are still horribly broken on musl.
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, `x86_64. x86_64-musl`
#### Testing Repo
https://void.johnnynator.dev/dev/chromium/
[skip ci]
[ci skip]
A patch file from https://github.com/void-linux/void-packages/pull/52286.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-chromium-52286.patch --]
[-- Type: text/x-diff, Size: 4387 bytes --]
From 0f4bb9c96f0bbd664395b3822e16172ffea7243b Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Thu, 19 Sep 2024 19:32:17 +0200
Subject: [PATCH] chromium: update to 129.0.6668.58.
---
srcpkgs/chromium/files/chromium.sh | 5 ++++-
srcpkgs/chromium/patches/sndio.patch | 22 ++++++++++------------
srcpkgs/chromium/template | 13 ++++++++++---
3 files changed, 24 insertions(+), 16 deletions(-)
diff --git a/srcpkgs/chromium/files/chromium.sh b/srcpkgs/chromium/files/chromium.sh
index 46bf84c1b65d9b..9d5e8e11a375c2 100644
--- a/srcpkgs/chromium/files/chromium.sh
+++ b/srcpkgs/chromium/files/chromium.sh
@@ -2,4 +2,7 @@
export CHROME_WRAPPER=/usr/lib/chromium/chromium
export CHROME_DESKTOP=chromium.desktop
CHROME_FLAGS="--enable-gpu-rasterization $CHROME_FLAGS"
-exec /usr/lib/chromium/chromium $CHROME_FLAGS "$@"
+case $(xbps-uhelper arch) in
+ *-musl) exec /usr/lib/chromium/chromium $CHROME_FLAGS --js-flags="--jitless --wasm_jitless" "$@";;
+ *) exec /usr/lib/chromium/chromium $CHROME_FLAGS "$@";;
+esac
diff --git a/srcpkgs/chromium/patches/sndio.patch b/srcpkgs/chromium/patches/sndio.patch
index 077ceaa8acbce4..cc4e858d2abdc2 100644
--- a/srcpkgs/chromium/patches/sndio.patch
+++ b/srcpkgs/chromium/patches/sndio.patch
@@ -1,16 +1,14 @@
diff -Naur chromium-83.0.4103.97.orig/media/BUILD.gn chromium-83.0.4103.97/media/BUILD.gn
---- a/media/BUILD.gn 2020-06-03 20:40:26.000000000 +0200
-+++ b/media/BUILD.gn 2021-06-13 17:32:28.510395975 +0200
-@@ -65,6 +65,9 @@
- defines += [ "DLOPEN_PULSEAUDIO" ]
- }
- }
-+ if (use_sndio) {
-+ defines += [ "USE_SNDIO" ]
-+ }
- if (use_cras) {
- defines += [ "USE_CRAS" ]
- }
+--- chromium-129.0.6668.58/media/BUILD.gn 2024-09-18 00:00:12.319230000 +0200
++++ - 2024-09-19 19:44:06.486438185 +0200
+@@ -66,6 +66,7 @@
+ "USE_CHROMEOS_PROTECTED_MEDIA=$use_chromeos_protected_media",
+ "USE_CRAS=$use_cras",
+ "USE_PROPRIETARY_CODECS=$proprietary_codecs",
++ "USE_SNDIO=$use_sndio",
+ ]
+
+ if (enable_library_cdms) {
diff -Naur chromium-83.0.4103.97.orig/media/audio/BUILD.gn chromium-83.0.4103.97/media/audio/BUILD.gn
--- a/media/audio/BUILD.gn 2020-06-03 20:39:37.000000000 +0200
+++ b/media/audio/BUILD.gn 2020-06-13 17:32:28.511395969 +0200
diff --git a/srcpkgs/chromium/template b/srcpkgs/chromium/template
index e11022f6246d49..3003c9c632f314 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=128.0.6613.84
+version=129.0.6668.58
revision=1
archs="i686* x86_64* aarch64* armv7l*"
hostmakedepends="
@@ -28,17 +28,18 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://www.chromium.org/"
distfiles="https://commondatastorage.googleapis.com/chromium-browser-official/${pkgname}-${version}.tar.xz"
-checksum=9297c1e1dc9310534f6a48f90eacc2eac1d964ac3c827dc0798594e8a2742dc4
+checksum=eaf850183d32627ce0cde9f3d3f853bc11c217ef7f41540303214ed47803d96d
lib32disabled=yes
-build_options="clang libcxx debug vaapi pulseaudio sndio pipewire lto"
+build_options="clang libcxx debug vaapi pulseaudio sndio pipewire lto drumbrake"
build_options_default="clang libcxx vaapi pulseaudio pipewire"
desc_option_clang="Use clang to build"
desc_option_libcxx="Use bundled libc++"
desc_option_debug="Build with debug symbols"
desc_option_lto="Enable Link Time Optimization"
desc_option_pipewire="Enable support for screen sharing for WebRTC via PipeWire"
+desc_option_drumbrake="WebAssembly Interpreter"
if [ "$XBPS_LIBC" = musl ]; then
hostmakedepends+=" musl-legacy-compat"
@@ -48,6 +49,10 @@ if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-legacy-compat"
fi
+case "$XBPS_TARGET_MACHINE" in
+ x86_64-musl|aarch64-musl) build_options_default+=" drumbrake";;
+esac
+
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" libX11-devel libxcb-devel pciutils-devel libXext-devel libglvnd-devel
libjpeg-turbo-devel libXi-devel nss-devel libpng-devel libwebp-devel
@@ -238,6 +243,8 @@ do_configure() {
"use_sndio=$(vopt_if sndio true false)"
+ "v8_enable_drumbrake=$(vopt_if drumbrake true false)"
+
# Always support proprietary codecs.
# Enable H.264 support in bundled ffmpeg.
'proprietary_codecs=true'
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PR REVIEW] chromium: update to 129.0.6668.58.
2024-09-20 9:51 [PR PATCH] chromium: update to 129.0.6668.58 Johnnynator
` (4 preceding siblings ...)
2024-09-20 14:05 ` [PR PATCH] [Updated] " Johnnynator
@ 2024-09-20 14:06 ` Johnnynator
2024-09-23 7:05 ` [PR PATCH] [Merged]: " Johnnynator
6 siblings, 0 replies; 8+ messages in thread
From: Johnnynator @ 2024-09-20 14:06 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 157 bytes --]
New review comment by Johnnynator on void-packages repository
https://github.com/void-linux/void-packages/pull/52286#discussion_r1768694904
Comment:
Fixed
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PR PATCH] [Merged]: chromium: update to 129.0.6668.58.
2024-09-20 9:51 [PR PATCH] chromium: update to 129.0.6668.58 Johnnynator
` (5 preceding siblings ...)
2024-09-20 14:06 ` [PR REVIEW] " Johnnynator
@ 2024-09-23 7:05 ` Johnnynator
6 siblings, 0 replies; 8+ messages in thread
From: Johnnynator @ 2024-09-23 7:05 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1184 bytes --]
There's a merged pull request on the void-packages repository
chromium: update to 129.0.6668.58.
https://github.com/void-linux/void-packages/pull/52286
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
Quickly tested on x86_64-musl with `--js-flags="--jitless --wasm_jitless"`, all the jits are still horribly broken on musl.
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, `x86_64. x86_64-musl`
#### Testing Repo
https://void.johnnynator.dev/dev/chromium/
[skip ci]
[ci skip]
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2024-09-23 7:05 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-20 9:51 [PR PATCH] chromium: update to 129.0.6668.58 Johnnynator
2024-09-20 10:06 ` [PR PATCH] [Updated] " Johnnynator
2024-09-20 10:08 ` Johnnynator
2024-09-20 10:15 ` Johnnynator
2024-09-20 13:23 ` [PR REVIEW] " Duncaen
2024-09-20 14:05 ` [PR PATCH] [Updated] " Johnnynator
2024-09-20 14:06 ` [PR REVIEW] " Johnnynator
2024-09-23 7:05 ` [PR PATCH] [Merged]: " Johnnynator
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).