* Re: chromium: update to 87.0.4280.88.
2020-12-10 1:45 [PR PATCH] chromium: update to 87.0.4280.88 pbui
@ 2020-12-12 14:36 ` ericonr
2020-12-12 15:03 ` pbui
` (41 subsequent siblings)
42 siblings, 0 replies; 44+ messages in thread
From: ericonr @ 2020-12-12 14:36 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 400 bytes --]
New comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/27060#issuecomment-743765044
Comment:
Launches on musl just fine, though for some reason the tab crashes when trying to open youtube videos.
How do you select the release to use? I see quite a few in https://chromium.googlesource.com/chromium/src.git/+refs that would seem to be after this one.
^ permalink raw reply [flat|nested] 44+ messages in thread
* Re: chromium: update to 87.0.4280.88.
2020-12-10 1:45 [PR PATCH] chromium: update to 87.0.4280.88 pbui
2020-12-12 14:36 ` ericonr
@ 2020-12-12 15:03 ` pbui
2020-12-12 15:55 ` Logarithmus
` (40 subsequent siblings)
42 siblings, 0 replies; 44+ messages in thread
From: pbui @ 2020-12-12 15:03 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 570 bytes --]
New comment by pbui on void-packages repository
https://github.com/void-linux/void-packages/pull/27060#issuecomment-743768604
Comment:
> How do you select the release to use? I see quite a few in https://chromium.googlesource.com/chromium/src.git/+refs that would seem to be after this one.
We get the version numbers from this dashboard: https://chromiumdash.appspot.com/releases?platform=Linux
As usual, we stick to the Stable channel (the later versions are Beta and Dev). Different platforms (ie. Android), may also have slightly different numbers as well.
^ permalink raw reply [flat|nested] 44+ messages in thread
* Re: chromium: update to 87.0.4280.88.
2020-12-10 1:45 [PR PATCH] chromium: update to 87.0.4280.88 pbui
2020-12-12 14:36 ` ericonr
2020-12-12 15:03 ` pbui
@ 2020-12-12 15:55 ` Logarithmus
2020-12-12 15:56 ` Logarithmus
` (39 subsequent siblings)
42 siblings, 0 replies; 44+ messages in thread
From: Logarithmus @ 2020-12-12 15:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 842 bytes --]
New comment by Logarithmus on void-packages repository
https://github.com/void-linux/void-packages/pull/27060#issuecomment-743775955
Comment:
> Launches on musl just fine, though for some reason the tab crashes when trying to open youtube videos.
>
> How do you select the release to use? I see quite a few in https://chromium.googlesource.com/chromium/src.git/+refs that would seem to be after this one.
I use musl and have this problem for half a year, tabs with heavy scripting/videos crash randomly with "Aw, snap!" (error 256).
Also starting from Chromium 87 the browser can crash entirely for no reason. I've tried to gather a crash dump, but had no luck. It seems that crash dumps can only be enabled in proprietary Chrome, not in Chromium, though I may be wrong about this, I didn't perform extensive research on this topic.
^ permalink raw reply [flat|nested] 44+ messages in thread
* Re: chromium: update to 87.0.4280.88.
2020-12-10 1:45 [PR PATCH] chromium: update to 87.0.4280.88 pbui
` (2 preceding siblings ...)
2020-12-12 15:55 ` Logarithmus
@ 2020-12-12 15:56 ` Logarithmus
2020-12-12 15:58 ` Logarithmus
` (38 subsequent siblings)
42 siblings, 0 replies; 44+ messages in thread
From: Logarithmus @ 2020-12-12 15:56 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 239 bytes --]
New comment by Logarithmus on void-packages repository
https://github.com/void-linux/void-packages/pull/27060#issuecomment-743776149
Comment:
BTW, why do you keep ignoring [my PR](https://github.com/void-linux/void-packages/pull/26144)?
^ permalink raw reply [flat|nested] 44+ messages in thread
* Re: chromium: update to 87.0.4280.88.
2020-12-10 1:45 [PR PATCH] chromium: update to 87.0.4280.88 pbui
` (3 preceding siblings ...)
2020-12-12 15:56 ` Logarithmus
@ 2020-12-12 15:58 ` Logarithmus
2020-12-12 16:00 ` Logarithmus
` (37 subsequent siblings)
42 siblings, 0 replies; 44+ messages in thread
From: Logarithmus @ 2020-12-12 15:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 336 bytes --]
New comment by Logarithmus on void-packages repository
https://github.com/void-linux/void-packages/pull/27060#issuecomment-743776149
Comment:
BTW, why do you keep ignoring [my PR](https://github.com/void-linux/void-packages/pull/26144)?
@ifreund confirmed that it works. I even took videos of it working, both on hardware and in VM.
^ permalink raw reply [flat|nested] 44+ messages in thread
* Re: chromium: update to 87.0.4280.88.
2020-12-10 1:45 [PR PATCH] chromium: update to 87.0.4280.88 pbui
` (4 preceding siblings ...)
2020-12-12 15:58 ` Logarithmus
@ 2020-12-12 16:00 ` Logarithmus
2020-12-12 16:02 ` Logarithmus
` (36 subsequent siblings)
42 siblings, 0 replies; 44+ messages in thread
From: Logarithmus @ 2020-12-12 16:00 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 412 bytes --]
New comment by Logarithmus on void-packages repository
https://github.com/void-linux/void-packages/pull/27060#issuecomment-743776149
Comment:
BTW, why do you keep ignoring [my PR](https://github.com/void-linux/void-packages/pull/26144)?
@ifreund confirmed that it works. I even took videos of it working, both on hardware and in VM.
IMHO, `chromium` version bump is a nice occasion to merge this PR as well.
^ permalink raw reply [flat|nested] 44+ messages in thread
* Re: chromium: update to 87.0.4280.88.
2020-12-10 1:45 [PR PATCH] chromium: update to 87.0.4280.88 pbui
` (5 preceding siblings ...)
2020-12-12 16:00 ` Logarithmus
@ 2020-12-12 16:02 ` Logarithmus
2020-12-12 16:06 ` pbui
` (35 subsequent siblings)
42 siblings, 0 replies; 44+ messages in thread
From: Logarithmus @ 2020-12-12 16:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 410 bytes --]
New comment by Logarithmus on void-packages repository
https://github.com/void-linux/void-packages/pull/27060#issuecomment-743776149
Comment:
BTW, why do you keep ignoring [my PR](https://github.com/void-linux/void-packages/pull/26144)?
@ifreund confirmed that it works. I even took videos of it working, both on hardware and in VM.
IMHO, `chromium` version bump is a nice occasion to merge my PR as well.
^ permalink raw reply [flat|nested] 44+ messages in thread
* Re: chromium: update to 87.0.4280.88.
2020-12-10 1:45 [PR PATCH] chromium: update to 87.0.4280.88 pbui
` (6 preceding siblings ...)
2020-12-12 16:02 ` Logarithmus
@ 2020-12-12 16:06 ` pbui
2020-12-12 16:07 ` Logarithmus
` (34 subsequent siblings)
42 siblings, 0 replies; 44+ messages in thread
From: pbui @ 2020-12-12 16:06 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 353 bytes --]
New comment by pbui on void-packages repository
https://github.com/void-linux/void-packages/pull/27060#issuecomment-743777416
Comment:
@Logarithmus I'm not a developer... I'm just a contributor like you, so I don't have any power to merge your work. I suppose I can incorporate your PR into my own, but I don't think it's my place to take your work.
^ permalink raw reply [flat|nested] 44+ messages in thread
* Re: chromium: update to 87.0.4280.88.
2020-12-10 1:45 [PR PATCH] chromium: update to 87.0.4280.88 pbui
` (7 preceding siblings ...)
2020-12-12 16:06 ` pbui
@ 2020-12-12 16:07 ` Logarithmus
2020-12-12 16:14 ` Logarithmus
` (33 subsequent siblings)
42 siblings, 0 replies; 44+ messages in thread
From: Logarithmus @ 2020-12-12 16:07 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 655 bytes --]
New comment by Logarithmus on void-packages repository
https://github.com/void-linux/void-packages/pull/27060#issuecomment-743776149
Comment:
BTW, why do you keep ignoring [my PR](https://github.com/void-linux/void-packages/pull/26144)?
@ifreund confirmed that it works. I even took videos of it working, both on hardware and in VM.
IMHO, `chromium` version bump is a nice occasion to merge my PR as well.
AFAIK, currently chromium with this compile flag & firefox with 800 lines-long patch are the only ways to share screen on Wayland. That's why I think enabling this flag is important, especially considering that many people work/study remotely.
^ permalink raw reply [flat|nested] 44+ messages in thread
* Re: chromium: update to 87.0.4280.88.
2020-12-10 1:45 [PR PATCH] chromium: update to 87.0.4280.88 pbui
` (8 preceding siblings ...)
2020-12-12 16:07 ` Logarithmus
@ 2020-12-12 16:14 ` Logarithmus
2020-12-12 16:47 ` pbui
` (32 subsequent siblings)
42 siblings, 0 replies; 44+ messages in thread
From: Logarithmus @ 2020-12-12 16:14 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 770 bytes --]
New comment by Logarithmus on void-packages repository
https://github.com/void-linux/void-packages/pull/27060#issuecomment-743778413
Comment:
> @Logarithmus I'm not a developer... I'm just a contributor like you, so I don't have any power to merge your work. I suppose I can incorporate your PR into my own, but I don't think it's my place to take your work.
You can easily merge my branch into yours with the following steps:
1) `cd` to `void-packages`
2) `sudo xbps-install -S github-cli`
3) `gh pull checkout 27060`
4) `git checkout chromium && git rebase libpipewire02`
5) Resolve the conflicts (version number & hashsum)
6) `git add srcpkgs/chromium`
7) `git rebase --continue`
My name will appear in the commit message along with yours automatically.
^ permalink raw reply [flat|nested] 44+ messages in thread
* Re: chromium: update to 87.0.4280.88.
2020-12-10 1:45 [PR PATCH] chromium: update to 87.0.4280.88 pbui
` (9 preceding siblings ...)
2020-12-12 16:14 ` Logarithmus
@ 2020-12-12 16:47 ` pbui
2020-12-12 16:53 ` Logarithmus
` (31 subsequent siblings)
42 siblings, 0 replies; 44+ messages in thread
From: pbui @ 2020-12-12 16:47 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 394 bytes --]
New comment by pbui on void-packages repository
https://github.com/void-linux/void-packages/pull/27060#issuecomment-743782441
Comment:
The steps weren't quite right, but I figured it out and am rebuilding chromium with pipewire support and a small musl fix mentioned here: https://github.com/void-linux/void-packages/pull/24578
It will be a few hours before I can confirm the build works.
^ permalink raw reply [flat|nested] 44+ messages in thread
* Re: chromium: update to 87.0.4280.88.
2020-12-10 1:45 [PR PATCH] chromium: update to 87.0.4280.88 pbui
` (10 preceding siblings ...)
2020-12-12 16:47 ` pbui
@ 2020-12-12 16:53 ` Logarithmus
2020-12-12 16:55 ` ifreund
` (30 subsequent siblings)
42 siblings, 0 replies; 44+ messages in thread
From: Logarithmus @ 2020-12-12 16:53 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 640 bytes --]
New comment by Logarithmus on void-packages repository
https://github.com/void-linux/void-packages/pull/27060#issuecomment-743783207
Comment:
Wow, thank you so much! Could you tell what specific musl fix did you
mean in your previous message?
On Sat, 2020-12-12 at 08:47 -0800, Peter Bui wrote:
> The steps weren't quite right, but I figured it out and am rebuilding
> chromium with pipewire support and a small musl fix mentioned here:
> #24578
> It will be a few hours before I can confirm the build works.
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub, or unsubscribe.
^ permalink raw reply [flat|nested] 44+ messages in thread
* Re: chromium: update to 87.0.4280.88.
2020-12-10 1:45 [PR PATCH] chromium: update to 87.0.4280.88 pbui
` (11 preceding siblings ...)
2020-12-12 16:53 ` Logarithmus
@ 2020-12-12 16:55 ` ifreund
2020-12-12 16:58 ` Logarithmus
` (29 subsequent siblings)
42 siblings, 0 replies; 44+ messages in thread
From: ifreund @ 2020-12-12 16:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 347 bytes --]
New comment by ifreund on void-packages repository
https://github.com/void-linux/void-packages/pull/27060#issuecomment-743783488
Comment:
> Wow, thank you so much! Could you tell what specific musl fix did you mean in your previous message?
Even more direct link: https://github.com/void-linux/void-packages/pull/24578#issuecomment-684177274
^ permalink raw reply [flat|nested] 44+ messages in thread
* Re: chromium: update to 87.0.4280.88.
2020-12-10 1:45 [PR PATCH] chromium: update to 87.0.4280.88 pbui
` (12 preceding siblings ...)
2020-12-12 16:55 ` ifreund
@ 2020-12-12 16:58 ` Logarithmus
2020-12-12 20:35 ` pbui
` (28 subsequent siblings)
42 siblings, 0 replies; 44+ messages in thread
From: Logarithmus @ 2020-12-12 16:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 690 bytes --]
New comment by Logarithmus on void-packages repository
https://github.com/void-linux/void-packages/pull/27060#issuecomment-743776149
Comment:
BTW, why do you keep ignoring [my PR](https://github.com/void-linux/void-packages/pull/26144)?
@ifreund confirmed that it works. I even took videos of it working, both on hardware and in VM.
IMHO, `chromium` version bump is a nice occasion to merge my PR as well.
AFAIK, currently chromium with this compile flag & firefox with 800 lines-long patch are the only ways to share screen on Wayland with Zoom, Discord, Skype and such. That's why I think enabling this flag is important, especially considering that many people work/study remotely.
^ permalink raw reply [flat|nested] 44+ messages in thread
* Re: chromium: update to 87.0.4280.88.
2020-12-10 1:45 [PR PATCH] chromium: update to 87.0.4280.88 pbui
` (13 preceding siblings ...)
2020-12-12 16:58 ` Logarithmus
@ 2020-12-12 20:35 ` pbui
2020-12-12 20:47 ` ifreund
` (27 subsequent siblings)
42 siblings, 0 replies; 44+ messages in thread
From: pbui @ 2020-12-12 20:35 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 593 bytes --]
New comment by pbui on void-packages repository
https://github.com/void-linux/void-packages/pull/27060#issuecomment-743838145
Comment:
@Logarithmus @ifreund I was able to build the version of chromium with the pipewire build option on, but when I go to install it, xbps does not require libpipewire0.2 as a dependency.
Checking `ldd` on `/usr/lib/chromium/chromium` shows that the executable does not depend on `libpipewire`... did I do something wrong or is this expected? I can run my rebuilt chromium without libpipewire0.2 installed.
In the meantime, I am building musl now...
^ permalink raw reply [flat|nested] 44+ messages in thread
* Re: chromium: update to 87.0.4280.88.
2020-12-10 1:45 [PR PATCH] chromium: update to 87.0.4280.88 pbui
` (14 preceding siblings ...)
2020-12-12 20:35 ` pbui
@ 2020-12-12 20:47 ` ifreund
2020-12-12 20:50 ` [PR PATCH] [Updated] " pbui
` (26 subsequent siblings)
42 siblings, 0 replies; 44+ messages in thread
From: ifreund @ 2020-12-12 20:47 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 896 bytes --]
New comment by ifreund on void-packages repository
https://github.com/void-linux/void-packages/pull/27060#issuecomment-743850979
Comment:
> @Logarithmus @ifreund I was able to build the version of chromium with the pipewire build option on, but when I go to install it, xbps does not require libpipewire0.2 as a dependency.
>
> Checking `ldd` on `/usr/lib/chromium/chromium` shows that the executable does not depend on `libpipewire`... did I do something wrong or is this expected? I can run my rebuilt chromium without libpipewire0.2 installed.
I believe chromium loads `libpipewire0.2` with `dlopen(3)` when it is needed for screensharing. I just tested and removing `libpipewire0.2` doesn't cause any crash when trying to screenshare with webrtc but it doesn't work either. Reinstalling it makes screen share function again. Perhaps `libpipewire0.2` shouldn't be a hard dependency?
^ permalink raw reply [flat|nested] 44+ messages in thread
* Re: [PR PATCH] [Updated] chromium: update to 87.0.4280.88.
2020-12-10 1:45 [PR PATCH] chromium: update to 87.0.4280.88 pbui
` (15 preceding siblings ...)
2020-12-12 20:47 ` ifreund
@ 2020-12-12 20:50 ` pbui
2020-12-12 20:51 ` Logarithmus
` (25 subsequent siblings)
42 siblings, 0 replies; 44+ messages in thread
From: pbui @ 2020-12-12 20:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 420 bytes --]
There is an updated pull request by pbui against master on the void-packages repository
https://github.com/pbui/void-packages chromium
https://github.com/void-linux/void-packages/pull/27060
chromium: update to 87.0.4280.88.
[ci skip]
- Built for x86_64, x86_64-musl.
- Tested on x86_64.
- Also update chromium-widevine.
A patch file from https://github.com/void-linux/void-packages/pull/27060.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-chromium-27060.patch --]
[-- Type: text/x-diff, Size: 8941 bytes --]
From 7136ee83500fd01f094ef3e90b5ef07833b4dc91 Mon Sep 17 00:00:00 2001
From: Artur Sinila <opensource@logarithmus.dev>
Date: Wed, 4 Nov 2020 02:42:23 +0300
Subject: [PATCH 1/5] New package: libpipewire0.2
---
srcpkgs/libpipewire0.2-devel | 1 +
srcpkgs/libpipewire0.2/template | 36 +++++++++++++++++++++++++++++++++
2 files changed, 37 insertions(+)
create mode 120000 srcpkgs/libpipewire0.2-devel
create mode 100644 srcpkgs/libpipewire0.2/template
diff --git a/srcpkgs/libpipewire0.2-devel b/srcpkgs/libpipewire0.2-devel
new file mode 120000
index 00000000000..456616f84ec
--- /dev/null
+++ b/srcpkgs/libpipewire0.2-devel
@@ -0,0 +1 @@
+libpipewire0.2
\ No newline at end of file
diff --git a/srcpkgs/libpipewire0.2/template b/srcpkgs/libpipewire0.2/template
new file mode 100644
index 00000000000..62c18860c00
--- /dev/null
+++ b/srcpkgs/libpipewire0.2/template
@@ -0,0 +1,36 @@
+# Template file for 'libpipewire0.2'
+pkgname=libpipewire0.2
+version=0.2.7
+revision=1
+wrksrc=pipewire-${version}
+build_style=meson
+configure_args="-Dgstreamer=disabled -Ddocs=false -Dsystemd=false"
+hostmakedepends="pkg-config"
+makedepends="dbus-devel alsa-lib-devel libudev-devel"
+short_desc="Server and user space API to deal with multimedia pipelines (v0.2)"
+maintainer="Artur Sinila <opensource@logarithmus.dev>"
+license="MIT"
+homepage="https://pipewire.org/"
+changelog="https://gitlab.freedesktop.org/pipewire/pipewire/-/raw/master/NEWS"
+distfiles="https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/${version}/pipewire-${version}.tar.gz"
+checksum=bfaa0f6ae6c0791e2e0b59234d399753bf24f1b33dbf587682363a8463dd8df1
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+ makedepends+=" libatomic-devel"
+ LDFLAGS+=" -latomic"
+fi
+
+post_install() {
+ rm -r ${DESTDIR}/{etc,usr/bin}
+ vlicense LICENSE
+}
+
+libpipewire0.2-devel_package() {
+ depends="${pkgname}-${version}_${revision}"
+ short_desc+=" - pipewire and libspa development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove usr/lib/libpipewire-0.2.so
+ }
+}
From 664020361f4b1681a61442d78c1060563c939d82 Mon Sep 17 00:00:00 2001
From: Artur Sinila <opensource@logarithmus.dev>
Date: Sat, 21 Nov 2020 03:58:45 +0300
Subject: [PATCH 2/5] common/shlibs: add libpipewire0.2
---
common/shlibs | 1 +
1 file changed, 1 insertion(+)
diff --git a/common/shlibs b/common/shlibs
index 70577febab0..26a0413aedb 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3272,6 +3272,7 @@ libarcan_shmif_ext.so.0.11 arcan-0.5.4.3_1
libarcan_shmif_server.so.0.11 arcan-0.5.4.3_1
libarcan_tui.so.0.11 arcan-0.5.4.3_1
liblwipv6.so.2 lwipv6-1.5a_1
+libpipewire-0.2.so.1 libpipewire0.2-0.2.7_1
libpipewire-0.3.so.0 libpipewire-0.3.6_1
libvolk.so.2.2.1 volk-2.2.1_1
libgnuradio-runtime.so.3.8.0 gnuradio-3.8.0.0_1
From 3ca947b26d444d7e1c8cf01056c8c57675e021ad Mon Sep 17 00:00:00 2001
From: Artur Sinila <opensource@logarithmus.dev>
Date: Thu, 5 Nov 2020 07:24:27 +0300
Subject: [PATCH 3/5] chromium: enable WebRTC screen sharing via PipeWire [ci
skip]
---
srcpkgs/chromium/template | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/chromium/template b/srcpkgs/chromium/template
index b31a09ed1f6..1a77a9f9da7 100644
--- a/srcpkgs/chromium/template
+++ b/srcpkgs/chromium/template
@@ -16,12 +16,13 @@ lib32disabled=yes
nodebug=yes
nopie=yes # contains tools that are not PIE, enables PIE itself
-build_options="clang js_optimize vaapi pulseaudio sndio"
+build_options="clang js_optimize vaapi pulseaudio sndio pipewire"
desc_option_clang="Use clang to build"
desc_option_js_optimize="Optimize the JS used for Chromium's UI"
desc_option_vaapi="Enable support for VA-API"
desc_option_pulseaudio="Enable support for PulseAudio"
desc_option_sndio="Enable support for sndio"
+desc_option_pipewire="Enable support for screen sharing for WebRTC via PipeWire"
hostmakedepends="$(vopt_if clang clang) python pkgconf perl gperf bison ninja nodejs hwids
libatomic-devel libevent-devel libglib-devel $(vopt_if js_optimize openjdk)"
@@ -34,7 +35,7 @@ makedepends="libpng-devel gtk+-devel gtk+3-devel nss-devel pciutils-devel
libjpeg-turbo-devel libevent-devel json-c-devel harfbuzz-devel
minizip-devel jsoncpp-devel zlib-devel libcap-devel libXdamage-devel
re2-devel fontconfig-devel freetype-devel opus-devel
- ffmpeg-devel libva-devel python-setuptools xcb-proto
+ ffmpeg-devel libva-devel python-setuptools xcb-proto libpipewire0.2-devel
$(vopt_if sndio sndio-devel)"
depends="libexif hwids desktop-file-utils hicolor-icon-theme xdg-utils"
@@ -42,7 +43,7 @@ case "$XBPS_TARGET_MACHINE" in
ppc64*-musl) makedepends+=" libucontext-devel" ;;
esac
-build_options_default="clang js_optimize vaapi pulseaudio"
+build_options_default="clang js_optimize vaapi pulseaudio pipewire"
post_patch() {
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
@@ -196,6 +197,10 @@ do_configure() {
"use_pulseaudio=$(vopt_if pulseaudio true false)"
)
+ conf+=(
+ "rtc_use_pipewire=$(vopt_if pipewire true false)"
+ )
+
# Use explicit library dependencies instead of dlopen.
# GN only has "link_pulseaudio", the other options used before are not available atm
# linux_link_cups=true
From 7dac3ede6e79625d78100947469c844ca9223e5c Mon Sep 17 00:00:00 2001
From: Peter Bui <pbui@github.bx612.space>
Date: Wed, 9 Dec 2020 20:38:35 -0500
Subject: [PATCH 4/5] chromium: update to 87.0.4280.88.
- Built for x86_64, x86_64-musl.
- Tested on x86_64.
- Add patch to fix musl 1.2 (reference:
https://github.com/void-linux/void-packages/pull/24578#issuecomment-684177274)
---
.../chromium/files/musl-patches/musl-sandbox.patch | 13 +++++++++++++
srcpkgs/chromium/template | 4 ++--
2 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/chromium/files/musl-patches/musl-sandbox.patch b/srcpkgs/chromium/files/musl-patches/musl-sandbox.patch
index c770e76d868..230bb7bbd29 100644
--- a/srcpkgs/chromium/files/musl-patches/musl-sandbox.patch
+++ b/srcpkgs/chromium/files/musl-patches/musl-sandbox.patch
@@ -77,3 +77,16 @@ index 80f02c0..21fbe21 100644
case __NR_unshare:
#if !defined(__mips__) && !defined(__aarch64__)
case __NR_vfork:
+--- sandbox/policy/linux/bpf_renderer_policy_linux.cc
++++ sandbox/policy/linux/bpf_renderer_policy_linux.cc
+@@ -100,9 +100,9 @@
+ case __NR_uname:
+ case __NR_sched_getparam:
+ case __NR_sched_getscheduler:
++ case __NR_sched_setscheduler:
+ return Allow();
+ case __NR_sched_getaffinity:
+- case __NR_sched_setscheduler:
+ return RestrictSchedTarget(GetPolicyPid(), sysno);
+ case __NR_prlimit64:
+ // See crbug.com/662450 and setrlimit comment above.
diff --git a/srcpkgs/chromium/template b/srcpkgs/chromium/template
index 1a77a9f9da7..6c667e99d8e 100644
--- a/srcpkgs/chromium/template
+++ b/srcpkgs/chromium/template
@@ -1,7 +1,7 @@
# Template file for 'chromium'
pkgname=chromium
# See http://www.chromium.org/developers/calendar for the latest version
-version=87.0.4280.66
+version=87.0.4280.88
revision=1
archs="i686* x86_64* aarch64* armv7l* ppc64le*"
short_desc="Google's attempt at creating a safer, faster, and more stable browser"
@@ -9,7 +9,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://www.chromium.org/"
distfiles="https://commondatastorage.googleapis.com/chromium-browser-official/${pkgname}-${version}.tar.xz"
-checksum=29a8e4ea82edec2fdcf34ece68323bec7ab90f3d5669e6b77f58cff9c278f741
+checksum=3e4645328735ef60db78d1a313efb3770a3edeaede90d076414df52f567a09c0
nocross=yes
lib32disabled=yes
From 736f09315078b4cfe541b9e4973acdcc773578e5 Mon Sep 17 00:00:00 2001
From: Peter Bui <pbui@github.bx612.space>
Date: Wed, 9 Dec 2020 20:42:32 -0500
Subject: [PATCH 5/5] chromium-widevine: update to 87.0.4280.88.
---
srcpkgs/chromium-widevine/INSTALL | 2 +-
srcpkgs/chromium-widevine/template | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/chromium-widevine/INSTALL b/srcpkgs/chromium-widevine/INSTALL
index a8de96756c4..1f63fd0f44c 100644
--- a/srcpkgs/chromium-widevine/INSTALL
+++ b/srcpkgs/chromium-widevine/INSTALL
@@ -1,6 +1,6 @@
# INSTALL
-checksum=e7e4c6a2108140c572562867f522d0311a25ce03ea36c5452cb8431865871226
+checksum=4bc68502dc5e22d5c264b3fb5d0a1ecfdadc3ba21d945646d8d37de4b8a96e58
_baseUrl="https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable"
_filename="google-chrome-stable_${VERSION%_*}-1_amd64.deb"
DISTFILE="${_baseUrl}/${_filename}"
diff --git a/srcpkgs/chromium-widevine/template b/srcpkgs/chromium-widevine/template
index 66626f83af3..32ede6c8bda 100644
--- a/srcpkgs/chromium-widevine/template
+++ b/srcpkgs/chromium-widevine/template
@@ -6,7 +6,7 @@ _chromeVersion="current"
_channel="stable"
pkgname=chromium-widevine
-version=87.0.4280.66
+version=87.0.4280.88
revision=1
archs="x86_64"
create_wrksrc=yes
^ permalink raw reply [flat|nested] 44+ messages in thread
* Re: chromium: update to 87.0.4280.88.
2020-12-10 1:45 [PR PATCH] chromium: update to 87.0.4280.88 pbui
` (16 preceding siblings ...)
2020-12-12 20:50 ` [PR PATCH] [Updated] " pbui
@ 2020-12-12 20:51 ` Logarithmus
2020-12-12 20:55 ` [PR REVIEW] " ericonr
` (24 subsequent siblings)
42 siblings, 0 replies; 44+ messages in thread
From: Logarithmus @ 2020-12-12 20:51 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1051 bytes --]
New comment by Logarithmus on void-packages repository
https://github.com/void-linux/void-packages/pull/27060#issuecomment-743855627
Comment:
Check out this:
https://github.com/void-linux/void-packages/pull/26144#issuecomment-731490664
It seems that after one of the force-pushes `libpipewire0.2` magically
disappeared from `depends` section of `chromium`'s `template` file.
Adding it back should do the trick.
On Sat, 2020-12-12 at 12:35 -0800, Peter Bui wrote:
> @Logarithmus @ifreund I was able to build the version of chromium
> with the pipewire build option on, but when I go to install it, xbps
> does not require libpipewire0.2 as a dependency.
> Checking ldd on /usr/lib/chromium/chromium shows that the executable
> does not depend on libpipewire... did I do something wrong or is this
> expected? I can run my rebuilt chromium without libpipewire0.2
> installed.
> In the meantime, I am building musl now...
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub, or unsubscribe.
^ permalink raw reply [flat|nested] 44+ messages in thread
* Re: [PR REVIEW] chromium: update to 87.0.4280.88.
2020-12-10 1:45 [PR PATCH] chromium: update to 87.0.4280.88 pbui
` (17 preceding siblings ...)
2020-12-12 20:51 ` Logarithmus
@ 2020-12-12 20:55 ` ericonr
2020-12-12 20:55 ` Logarithmus
` (23 subsequent siblings)
42 siblings, 0 replies; 44+ messages in thread
From: ericonr @ 2020-12-12 20:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 217 bytes --]
New review comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/27060#discussion_r541778947
Comment:
@Logarithmus this should conflict with `pipewire-devel`, shouldn't it?
^ permalink raw reply [flat|nested] 44+ messages in thread
* Re: [PR REVIEW] chromium: update to 87.0.4280.88.
2020-12-10 1:45 [PR PATCH] chromium: update to 87.0.4280.88 pbui
` (18 preceding siblings ...)
2020-12-12 20:55 ` [PR REVIEW] " ericonr
@ 2020-12-12 20:55 ` Logarithmus
2020-12-12 20:55 ` Logarithmus
` (22 subsequent siblings)
42 siblings, 0 replies; 44+ messages in thread
From: Logarithmus @ 2020-12-12 20:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 191 bytes --]
New review comment by Logarithmus on void-packages repository
https://github.com/void-linux/void-packages/pull/27060#discussion_r541778814
Comment:
Add `$(vopt_if pipewire libpipewire0.2)`
^ permalink raw reply [flat|nested] 44+ messages in thread
* Re: [PR REVIEW] chromium: update to 87.0.4280.88.
2020-12-10 1:45 [PR PATCH] chromium: update to 87.0.4280.88 pbui
` (19 preceding siblings ...)
2020-12-12 20:55 ` Logarithmus
@ 2020-12-12 20:55 ` Logarithmus
2020-12-12 20:57 ` pbui
` (21 subsequent siblings)
42 siblings, 0 replies; 44+ messages in thread
From: Logarithmus @ 2020-12-12 20:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 219 bytes --]
New review comment by Logarithmus on void-packages repository
https://github.com/void-linux/void-packages/pull/27060#discussion_r541778699
Comment:
`libpipewire0.2-devel` -> `$(vopt_if pipewire libpipewire0.2-devel)`
^ permalink raw reply [flat|nested] 44+ messages in thread
* Re: [PR REVIEW] chromium: update to 87.0.4280.88.
2020-12-10 1:45 [PR PATCH] chromium: update to 87.0.4280.88 pbui
` (20 preceding siblings ...)
2020-12-12 20:55 ` Logarithmus
@ 2020-12-12 20:57 ` pbui
2020-12-12 20:57 ` Logarithmus
` (20 subsequent siblings)
42 siblings, 0 replies; 44+ messages in thread
From: pbui @ 2020-12-12 20:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 370 bytes --]
New review comment by pbui on void-packages repository
https://github.com/void-linux/void-packages/pull/27060#discussion_r541779244
Comment:
I believe @ifreund suggests that pipewire is not a hard dependency, so we can probably leave it out (compile support for it, but not make it required).
I can confirm that I can run chromium without it, so that should be OK.
^ permalink raw reply [flat|nested] 44+ messages in thread
* Re: [PR REVIEW] chromium: update to 87.0.4280.88.
2020-12-10 1:45 [PR PATCH] chromium: update to 87.0.4280.88 pbui
` (21 preceding siblings ...)
2020-12-12 20:57 ` pbui
@ 2020-12-12 20:57 ` Logarithmus
2020-12-12 20:58 ` Logarithmus
` (19 subsequent siblings)
42 siblings, 0 replies; 44+ messages in thread
From: Logarithmus @ 2020-12-12 20:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 317 bytes --]
New review comment by Logarithmus on void-packages repository
https://github.com/void-linux/void-packages/pull/27060#discussion_r541779291
Comment:
> @Logarithmus this should conflict with `pipewire-devel`, shouldn't it?
No, it doesn't, because `pipewire-devel` contains `/usr/lib/libpipewire-0.3.so`, not `0.2`
^ permalink raw reply [flat|nested] 44+ messages in thread
* Re: [PR REVIEW] chromium: update to 87.0.4280.88.
2020-12-10 1:45 [PR PATCH] chromium: update to 87.0.4280.88 pbui
` (22 preceding siblings ...)
2020-12-12 20:57 ` Logarithmus
@ 2020-12-12 20:58 ` Logarithmus
2020-12-12 20:59 ` [PR PATCH] [Updated] " pbui
` (18 subsequent siblings)
42 siblings, 0 replies; 44+ messages in thread
From: Logarithmus @ 2020-12-12 20:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 204 bytes --]
New review comment by Logarithmus on void-packages repository
https://github.com/void-linux/void-packages/pull/27060#discussion_r541778814
Comment:
Add `$(vopt_if pipewire libpipewire0.2)` to `depends`
^ permalink raw reply [flat|nested] 44+ messages in thread
* Re: [PR PATCH] [Updated] chromium: update to 87.0.4280.88.
2020-12-10 1:45 [PR PATCH] chromium: update to 87.0.4280.88 pbui
` (23 preceding siblings ...)
2020-12-12 20:58 ` Logarithmus
@ 2020-12-12 20:59 ` pbui
2020-12-12 20:59 ` [PR REVIEW] " Logarithmus
` (17 subsequent siblings)
42 siblings, 0 replies; 44+ messages in thread
From: pbui @ 2020-12-12 20:59 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 420 bytes --]
There is an updated pull request by pbui against master on the void-packages repository
https://github.com/pbui/void-packages chromium
https://github.com/void-linux/void-packages/pull/27060
chromium: update to 87.0.4280.88.
[ci skip]
- Built for x86_64, x86_64-musl.
- Tested on x86_64.
- Also update chromium-widevine.
A patch file from https://github.com/void-linux/void-packages/pull/27060.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-chromium-27060.patch --]
[-- Type: text/x-diff, Size: 8847 bytes --]
From 7136ee83500fd01f094ef3e90b5ef07833b4dc91 Mon Sep 17 00:00:00 2001
From: Artur Sinila <opensource@logarithmus.dev>
Date: Wed, 4 Nov 2020 02:42:23 +0300
Subject: [PATCH 1/5] New package: libpipewire0.2
---
srcpkgs/libpipewire0.2-devel | 1 +
srcpkgs/libpipewire0.2/template | 36 +++++++++++++++++++++++++++++++++
2 files changed, 37 insertions(+)
create mode 120000 srcpkgs/libpipewire0.2-devel
create mode 100644 srcpkgs/libpipewire0.2/template
diff --git a/srcpkgs/libpipewire0.2-devel b/srcpkgs/libpipewire0.2-devel
new file mode 120000
index 00000000000..456616f84ec
--- /dev/null
+++ b/srcpkgs/libpipewire0.2-devel
@@ -0,0 +1 @@
+libpipewire0.2
\ No newline at end of file
diff --git a/srcpkgs/libpipewire0.2/template b/srcpkgs/libpipewire0.2/template
new file mode 100644
index 00000000000..62c18860c00
--- /dev/null
+++ b/srcpkgs/libpipewire0.2/template
@@ -0,0 +1,36 @@
+# Template file for 'libpipewire0.2'
+pkgname=libpipewire0.2
+version=0.2.7
+revision=1
+wrksrc=pipewire-${version}
+build_style=meson
+configure_args="-Dgstreamer=disabled -Ddocs=false -Dsystemd=false"
+hostmakedepends="pkg-config"
+makedepends="dbus-devel alsa-lib-devel libudev-devel"
+short_desc="Server and user space API to deal with multimedia pipelines (v0.2)"
+maintainer="Artur Sinila <opensource@logarithmus.dev>"
+license="MIT"
+homepage="https://pipewire.org/"
+changelog="https://gitlab.freedesktop.org/pipewire/pipewire/-/raw/master/NEWS"
+distfiles="https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/${version}/pipewire-${version}.tar.gz"
+checksum=bfaa0f6ae6c0791e2e0b59234d399753bf24f1b33dbf587682363a8463dd8df1
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+ makedepends+=" libatomic-devel"
+ LDFLAGS+=" -latomic"
+fi
+
+post_install() {
+ rm -r ${DESTDIR}/{etc,usr/bin}
+ vlicense LICENSE
+}
+
+libpipewire0.2-devel_package() {
+ depends="${pkgname}-${version}_${revision}"
+ short_desc+=" - pipewire and libspa development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove usr/lib/libpipewire-0.2.so
+ }
+}
From 664020361f4b1681a61442d78c1060563c939d82 Mon Sep 17 00:00:00 2001
From: Artur Sinila <opensource@logarithmus.dev>
Date: Sat, 21 Nov 2020 03:58:45 +0300
Subject: [PATCH 2/5] common/shlibs: add libpipewire0.2
---
common/shlibs | 1 +
1 file changed, 1 insertion(+)
diff --git a/common/shlibs b/common/shlibs
index 70577febab0..26a0413aedb 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3272,6 +3272,7 @@ libarcan_shmif_ext.so.0.11 arcan-0.5.4.3_1
libarcan_shmif_server.so.0.11 arcan-0.5.4.3_1
libarcan_tui.so.0.11 arcan-0.5.4.3_1
liblwipv6.so.2 lwipv6-1.5a_1
+libpipewire-0.2.so.1 libpipewire0.2-0.2.7_1
libpipewire-0.3.so.0 libpipewire-0.3.6_1
libvolk.so.2.2.1 volk-2.2.1_1
libgnuradio-runtime.so.3.8.0 gnuradio-3.8.0.0_1
From 45c7ca780a56f5233f79a7dbe5b6bd559b975738 Mon Sep 17 00:00:00 2001
From: Artur Sinila <opensource@logarithmus.dev>
Date: Thu, 5 Nov 2020 07:24:27 +0300
Subject: [PATCH 3/5] chromium: enable WebRTC screen sharing via PipeWire
---
srcpkgs/chromium/template | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/chromium/template b/srcpkgs/chromium/template
index b31a09ed1f6..cf14cbb47ca 100644
--- a/srcpkgs/chromium/template
+++ b/srcpkgs/chromium/template
@@ -16,12 +16,13 @@ lib32disabled=yes
nodebug=yes
nopie=yes # contains tools that are not PIE, enables PIE itself
-build_options="clang js_optimize vaapi pulseaudio sndio"
+build_options="clang js_optimize vaapi pulseaudio sndio pipewire"
desc_option_clang="Use clang to build"
desc_option_js_optimize="Optimize the JS used for Chromium's UI"
desc_option_vaapi="Enable support for VA-API"
desc_option_pulseaudio="Enable support for PulseAudio"
desc_option_sndio="Enable support for sndio"
+desc_option_pipewire="Enable support for screen sharing for WebRTC via PipeWire"
hostmakedepends="$(vopt_if clang clang) python pkgconf perl gperf bison ninja nodejs hwids
libatomic-devel libevent-devel libglib-devel $(vopt_if js_optimize openjdk)"
@@ -35,14 +36,14 @@ makedepends="libpng-devel gtk+-devel gtk+3-devel nss-devel pciutils-devel
minizip-devel jsoncpp-devel zlib-devel libcap-devel libXdamage-devel
re2-devel fontconfig-devel freetype-devel opus-devel
ffmpeg-devel libva-devel python-setuptools xcb-proto
- $(vopt_if sndio sndio-devel)"
+ $(vopt_if pipewire libpipewire0.2-devel) $(vopt_if sndio sndio-devel)"
depends="libexif hwids desktop-file-utils hicolor-icon-theme xdg-utils"
case "$XBPS_TARGET_MACHINE" in
ppc64*-musl) makedepends+=" libucontext-devel" ;;
esac
-build_options_default="clang js_optimize vaapi pulseaudio"
+build_options_default="clang js_optimize vaapi pulseaudio pipewire"
post_patch() {
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
@@ -196,6 +197,10 @@ do_configure() {
"use_pulseaudio=$(vopt_if pulseaudio true false)"
)
+ conf+=(
+ "rtc_use_pipewire=$(vopt_if pipewire true false)"
+ )
+
# Use explicit library dependencies instead of dlopen.
# GN only has "link_pulseaudio", the other options used before are not available atm
# linux_link_cups=true
From 062cfb23d4b3c1e707e4d1c2cb66f163cfd2aaf9 Mon Sep 17 00:00:00 2001
From: Peter Bui <pbui@github.bx612.space>
Date: Wed, 9 Dec 2020 20:38:35 -0500
Subject: [PATCH 4/5] chromium: update to 87.0.4280.88.
- Built for x86_64, x86_64-musl.
- Tested on x86_64.
- Add patch to fix musl 1.2 (reference:
https://github.com/void-linux/void-packages/pull/24578#issuecomment-684177274)
---
.../chromium/files/musl-patches/musl-sandbox.patch | 13 +++++++++++++
srcpkgs/chromium/template | 4 ++--
2 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/chromium/files/musl-patches/musl-sandbox.patch b/srcpkgs/chromium/files/musl-patches/musl-sandbox.patch
index c770e76d868..230bb7bbd29 100644
--- a/srcpkgs/chromium/files/musl-patches/musl-sandbox.patch
+++ b/srcpkgs/chromium/files/musl-patches/musl-sandbox.patch
@@ -77,3 +77,16 @@ index 80f02c0..21fbe21 100644
case __NR_unshare:
#if !defined(__mips__) && !defined(__aarch64__)
case __NR_vfork:
+--- sandbox/policy/linux/bpf_renderer_policy_linux.cc
++++ sandbox/policy/linux/bpf_renderer_policy_linux.cc
+@@ -100,9 +100,9 @@
+ case __NR_uname:
+ case __NR_sched_getparam:
+ case __NR_sched_getscheduler:
++ case __NR_sched_setscheduler:
+ return Allow();
+ case __NR_sched_getaffinity:
+- case __NR_sched_setscheduler:
+ return RestrictSchedTarget(GetPolicyPid(), sysno);
+ case __NR_prlimit64:
+ // See crbug.com/662450 and setrlimit comment above.
diff --git a/srcpkgs/chromium/template b/srcpkgs/chromium/template
index cf14cbb47ca..7cb351b6f26 100644
--- a/srcpkgs/chromium/template
+++ b/srcpkgs/chromium/template
@@ -1,7 +1,7 @@
# Template file for 'chromium'
pkgname=chromium
# See http://www.chromium.org/developers/calendar for the latest version
-version=87.0.4280.66
+version=87.0.4280.88
revision=1
archs="i686* x86_64* aarch64* armv7l* ppc64le*"
short_desc="Google's attempt at creating a safer, faster, and more stable browser"
@@ -9,7 +9,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://www.chromium.org/"
distfiles="https://commondatastorage.googleapis.com/chromium-browser-official/${pkgname}-${version}.tar.xz"
-checksum=29a8e4ea82edec2fdcf34ece68323bec7ab90f3d5669e6b77f58cff9c278f741
+checksum=3e4645328735ef60db78d1a313efb3770a3edeaede90d076414df52f567a09c0
nocross=yes
lib32disabled=yes
From 2f4bd556513bafa451a9ee7e0ee209d14a31893a Mon Sep 17 00:00:00 2001
From: Peter Bui <pbui@github.bx612.space>
Date: Wed, 9 Dec 2020 20:42:32 -0500
Subject: [PATCH 5/5] chromium-widevine: update to 87.0.4280.88.
---
srcpkgs/chromium-widevine/INSTALL | 2 +-
srcpkgs/chromium-widevine/template | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/chromium-widevine/INSTALL b/srcpkgs/chromium-widevine/INSTALL
index a8de96756c4..1f63fd0f44c 100644
--- a/srcpkgs/chromium-widevine/INSTALL
+++ b/srcpkgs/chromium-widevine/INSTALL
@@ -1,6 +1,6 @@
# INSTALL
-checksum=e7e4c6a2108140c572562867f522d0311a25ce03ea36c5452cb8431865871226
+checksum=4bc68502dc5e22d5c264b3fb5d0a1ecfdadc3ba21d945646d8d37de4b8a96e58
_baseUrl="https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable"
_filename="google-chrome-stable_${VERSION%_*}-1_amd64.deb"
DISTFILE="${_baseUrl}/${_filename}"
diff --git a/srcpkgs/chromium-widevine/template b/srcpkgs/chromium-widevine/template
index 66626f83af3..32ede6c8bda 100644
--- a/srcpkgs/chromium-widevine/template
+++ b/srcpkgs/chromium-widevine/template
@@ -6,7 +6,7 @@ _chromeVersion="current"
_channel="stable"
pkgname=chromium-widevine
-version=87.0.4280.66
+version=87.0.4280.88
revision=1
archs="x86_64"
create_wrksrc=yes
^ permalink raw reply [flat|nested] 44+ messages in thread
* Re: [PR REVIEW] chromium: update to 87.0.4280.88.
2020-12-10 1:45 [PR PATCH] chromium: update to 87.0.4280.88 pbui
` (24 preceding siblings ...)
2020-12-12 20:59 ` [PR PATCH] [Updated] " pbui
@ 2020-12-12 20:59 ` Logarithmus
2020-12-12 21:00 ` pbui
` (16 subsequent siblings)
42 siblings, 0 replies; 44+ messages in thread
From: Logarithmus @ 2020-12-12 20:59 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 206 bytes --]
New review comment by Logarithmus on void-packages repository
https://github.com/void-linux/void-packages/pull/27060#discussion_r541779570
Comment:
We should really add optional dependencies into `xbps`.
^ permalink raw reply [flat|nested] 44+ messages in thread
* Re: [PR REVIEW] chromium: update to 87.0.4280.88.
2020-12-10 1:45 [PR PATCH] chromium: update to 87.0.4280.88 pbui
` (25 preceding siblings ...)
2020-12-12 20:59 ` [PR REVIEW] " Logarithmus
@ 2020-12-12 21:00 ` pbui
2020-12-12 23:06 ` pbui
` (15 subsequent siblings)
42 siblings, 0 replies; 44+ messages in thread
From: pbui @ 2020-12-12 21:00 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 150 bytes --]
New review comment by pbui on void-packages repository
https://github.com/void-linux/void-packages/pull/27060#discussion_r541779634
Comment:
Fixed.
^ permalink raw reply [flat|nested] 44+ messages in thread
* Re: chromium: update to 87.0.4280.88.
2020-12-10 1:45 [PR PATCH] chromium: update to 87.0.4280.88 pbui
` (26 preceding siblings ...)
2020-12-12 21:00 ` pbui
@ 2020-12-12 23:06 ` pbui
2020-12-12 23:08 ` Logarithmus
` (14 subsequent siblings)
42 siblings, 0 replies; 44+ messages in thread
From: pbui @ 2020-12-12 23:06 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 237 bytes --]
New comment by pbui on void-packages repository
https://github.com/void-linux/void-packages/pull/27060#issuecomment-743917815
Comment:
@ericonr I can cross build for x86_64-musl, but I don't have a musl system to confirm that it runs.
^ permalink raw reply [flat|nested] 44+ messages in thread
* Re: chromium: update to 87.0.4280.88.
2020-12-10 1:45 [PR PATCH] chromium: update to 87.0.4280.88 pbui
` (27 preceding siblings ...)
2020-12-12 23:06 ` pbui
@ 2020-12-12 23:08 ` Logarithmus
2020-12-12 23:20 ` pbui
` (13 subsequent siblings)
42 siblings, 0 replies; 44+ messages in thread
From: Logarithmus @ 2020-12-12 23:08 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 324 bytes --]
New comment by Logarithmus on void-packages repository
https://github.com/void-linux/void-packages/pull/27060#issuecomment-743917925
Comment:
> @ericonr I can cross build for x86_64-musl, but I don't have a musl system to confirm that it runs.
You can upload `*.xbps` package and I can test it on my laptop if you want
^ permalink raw reply [flat|nested] 44+ messages in thread
* Re: chromium: update to 87.0.4280.88.
2020-12-10 1:45 [PR PATCH] chromium: update to 87.0.4280.88 pbui
` (28 preceding siblings ...)
2020-12-12 23:08 ` Logarithmus
@ 2020-12-12 23:20 ` pbui
2020-12-12 23:40 ` Logarithmus
` (12 subsequent siblings)
42 siblings, 0 replies; 44+ messages in thread
From: pbui @ 2020-12-12 23:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 225 bytes --]
New comment by pbui on void-packages repository
https://github.com/void-linux/void-packages/pull/27060#issuecomment-743919112
Comment:
Sure, you can get it here: https://h4x0r.space/chromium-87.0.4280.88_1.x86_64-musl.xbps
^ permalink raw reply [flat|nested] 44+ messages in thread
* Re: chromium: update to 87.0.4280.88.
2020-12-10 1:45 [PR PATCH] chromium: update to 87.0.4280.88 pbui
` (29 preceding siblings ...)
2020-12-12 23:20 ` pbui
@ 2020-12-12 23:40 ` Logarithmus
2020-12-12 23:41 ` Logarithmus
` (11 subsequent siblings)
42 siblings, 0 replies; 44+ messages in thread
From: Logarithmus @ 2020-12-12 23:40 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 533 bytes --]
New comment by Logarithmus on void-packages repository
https://github.com/void-linux/void-packages/pull/27060#issuecomment-743920892
Comment:
It works, also I didn't encounter "Aw, snap!" yet, but maybe it will
pop up later: https://youtu.be/6VKSHMYZNic
On Sat, 2020-12-12 at 15:20 -0800, Peter Bui wrote:
> Sure, you can get it here:
> https://h4x0r.space/chromium-87.0.4280.88_1.x86_64-musl.xbps
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub, or unsubscribe.
^ permalink raw reply [flat|nested] 44+ messages in thread
* Re: chromium: update to 87.0.4280.88.
2020-12-10 1:45 [PR PATCH] chromium: update to 87.0.4280.88 pbui
` (30 preceding siblings ...)
2020-12-12 23:40 ` Logarithmus
@ 2020-12-12 23:41 ` Logarithmus
2020-12-13 1:13 ` ericonr
` (10 subsequent siblings)
42 siblings, 0 replies; 44+ messages in thread
From: Logarithmus @ 2020-12-12 23:41 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 262 bytes --]
New comment by Logarithmus on void-packages repository
https://github.com/void-linux/void-packages/pull/27060#issuecomment-743920892
Comment:
@pbui It works, also I didn't encounter "Aw, snap!" yet, but maybe it will pop up later: https://youtu.be/6VKSHMYZNic
^ permalink raw reply [flat|nested] 44+ messages in thread
* Re: chromium: update to 87.0.4280.88.
2020-12-10 1:45 [PR PATCH] chromium: update to 87.0.4280.88 pbui
` (31 preceding siblings ...)
2020-12-12 23:41 ` Logarithmus
@ 2020-12-13 1:13 ` ericonr
2020-12-13 1:15 ` [PR REVIEW] " ericonr
` (9 subsequent siblings)
42 siblings, 0 replies; 44+ messages in thread
From: ericonr @ 2020-12-13 1:13 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 177 bytes --]
New comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/27060#issuecomment-743930203
Comment:
Neat, this one can browse youtube :)
^ permalink raw reply [flat|nested] 44+ messages in thread
* Re: [PR REVIEW] chromium: update to 87.0.4280.88.
2020-12-10 1:45 [PR PATCH] chromium: update to 87.0.4280.88 pbui
` (32 preceding siblings ...)
2020-12-13 1:13 ` ericonr
@ 2020-12-13 1:15 ` ericonr
2020-12-13 1:18 ` ericonr
` (8 subsequent siblings)
42 siblings, 0 replies; 44+ messages in thread
From: ericonr @ 2020-12-13 1:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 245 bytes --]
New review comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/27060#discussion_r541816127
Comment:
Hm, the files under `/usr/include` in `pipewire-devel` seem to be appropriately versioned as well.
^ permalink raw reply [flat|nested] 44+ messages in thread
* Re: chromium: update to 87.0.4280.88.
2020-12-10 1:45 [PR PATCH] chromium: update to 87.0.4280.88 pbui
` (33 preceding siblings ...)
2020-12-13 1:15 ` [PR REVIEW] " ericonr
@ 2020-12-13 1:18 ` ericonr
2020-12-13 2:54 ` [PR PATCH] [Updated] " pbui
` (7 subsequent siblings)
42 siblings, 0 replies; 44+ messages in thread
From: ericonr @ 2020-12-13 1:18 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 207 bytes --]
New comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/27060#issuecomment-743930780
Comment:
Ah, the shlibs commit can be folded into the `New package` commit.
^ permalink raw reply [flat|nested] 44+ messages in thread
* Re: [PR PATCH] [Updated] chromium: update to 87.0.4280.88.
2020-12-10 1:45 [PR PATCH] chromium: update to 87.0.4280.88 pbui
` (34 preceding siblings ...)
2020-12-13 1:18 ` ericonr
@ 2020-12-13 2:54 ` pbui
2020-12-13 2:55 ` pbui
` (6 subsequent siblings)
42 siblings, 0 replies; 44+ messages in thread
From: pbui @ 2020-12-13 2:54 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 420 bytes --]
There is an updated pull request by pbui against master on the void-packages repository
https://github.com/pbui/void-packages chromium
https://github.com/void-linux/void-packages/pull/27060
chromium: update to 87.0.4280.88.
[ci skip]
- Built for x86_64, x86_64-musl.
- Tested on x86_64.
- Also update chromium-widevine.
A patch file from https://github.com/void-linux/void-packages/pull/27060.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-chromium-27060.patch --]
[-- Type: text/x-diff, Size: 8653 bytes --]
From 2ed6c6d16a60fb036b3f98a007be11659505f699 Mon Sep 17 00:00:00 2001
From: Artur Sinila <opensource@logarithmus.dev>
Date: Wed, 4 Nov 2020 02:42:23 +0300
Subject: [PATCH 1/4] New package: libpipewire0.2
- Add libpipewire0.2 to common/shlibs
---
common/shlibs | 1 +
srcpkgs/libpipewire0.2-devel | 1 +
srcpkgs/libpipewire0.2/template | 36 +++++++++++++++++++++++++++++++++
3 files changed, 38 insertions(+)
create mode 120000 srcpkgs/libpipewire0.2-devel
create mode 100644 srcpkgs/libpipewire0.2/template
diff --git a/common/shlibs b/common/shlibs
index 70577febab0..26a0413aedb 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3272,6 +3272,7 @@ libarcan_shmif_ext.so.0.11 arcan-0.5.4.3_1
libarcan_shmif_server.so.0.11 arcan-0.5.4.3_1
libarcan_tui.so.0.11 arcan-0.5.4.3_1
liblwipv6.so.2 lwipv6-1.5a_1
+libpipewire-0.2.so.1 libpipewire0.2-0.2.7_1
libpipewire-0.3.so.0 libpipewire-0.3.6_1
libvolk.so.2.2.1 volk-2.2.1_1
libgnuradio-runtime.so.3.8.0 gnuradio-3.8.0.0_1
diff --git a/srcpkgs/libpipewire0.2-devel b/srcpkgs/libpipewire0.2-devel
new file mode 120000
index 00000000000..456616f84ec
--- /dev/null
+++ b/srcpkgs/libpipewire0.2-devel
@@ -0,0 +1 @@
+libpipewire0.2
\ No newline at end of file
diff --git a/srcpkgs/libpipewire0.2/template b/srcpkgs/libpipewire0.2/template
new file mode 100644
index 00000000000..62c18860c00
--- /dev/null
+++ b/srcpkgs/libpipewire0.2/template
@@ -0,0 +1,36 @@
+# Template file for 'libpipewire0.2'
+pkgname=libpipewire0.2
+version=0.2.7
+revision=1
+wrksrc=pipewire-${version}
+build_style=meson
+configure_args="-Dgstreamer=disabled -Ddocs=false -Dsystemd=false"
+hostmakedepends="pkg-config"
+makedepends="dbus-devel alsa-lib-devel libudev-devel"
+short_desc="Server and user space API to deal with multimedia pipelines (v0.2)"
+maintainer="Artur Sinila <opensource@logarithmus.dev>"
+license="MIT"
+homepage="https://pipewire.org/"
+changelog="https://gitlab.freedesktop.org/pipewire/pipewire/-/raw/master/NEWS"
+distfiles="https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/${version}/pipewire-${version}.tar.gz"
+checksum=bfaa0f6ae6c0791e2e0b59234d399753bf24f1b33dbf587682363a8463dd8df1
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+ makedepends+=" libatomic-devel"
+ LDFLAGS+=" -latomic"
+fi
+
+post_install() {
+ rm -r ${DESTDIR}/{etc,usr/bin}
+ vlicense LICENSE
+}
+
+libpipewire0.2-devel_package() {
+ depends="${pkgname}-${version}_${revision}"
+ short_desc+=" - pipewire and libspa development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove usr/lib/libpipewire-0.2.so
+ }
+}
From ef79e029d50a717cf8e5669f4d9132ebf43dafc8 Mon Sep 17 00:00:00 2001
From: Artur Sinila <opensource@logarithmus.dev>
Date: Thu, 5 Nov 2020 07:24:27 +0300
Subject: [PATCH 2/4] chromium: enable WebRTC screen sharing via PipeWire
---
srcpkgs/chromium/template | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/chromium/template b/srcpkgs/chromium/template
index b31a09ed1f6..cf14cbb47ca 100644
--- a/srcpkgs/chromium/template
+++ b/srcpkgs/chromium/template
@@ -16,12 +16,13 @@ lib32disabled=yes
nodebug=yes
nopie=yes # contains tools that are not PIE, enables PIE itself
-build_options="clang js_optimize vaapi pulseaudio sndio"
+build_options="clang js_optimize vaapi pulseaudio sndio pipewire"
desc_option_clang="Use clang to build"
desc_option_js_optimize="Optimize the JS used for Chromium's UI"
desc_option_vaapi="Enable support for VA-API"
desc_option_pulseaudio="Enable support for PulseAudio"
desc_option_sndio="Enable support for sndio"
+desc_option_pipewire="Enable support for screen sharing for WebRTC via PipeWire"
hostmakedepends="$(vopt_if clang clang) python pkgconf perl gperf bison ninja nodejs hwids
libatomic-devel libevent-devel libglib-devel $(vopt_if js_optimize openjdk)"
@@ -35,14 +36,14 @@ makedepends="libpng-devel gtk+-devel gtk+3-devel nss-devel pciutils-devel
minizip-devel jsoncpp-devel zlib-devel libcap-devel libXdamage-devel
re2-devel fontconfig-devel freetype-devel opus-devel
ffmpeg-devel libva-devel python-setuptools xcb-proto
- $(vopt_if sndio sndio-devel)"
+ $(vopt_if pipewire libpipewire0.2-devel) $(vopt_if sndio sndio-devel)"
depends="libexif hwids desktop-file-utils hicolor-icon-theme xdg-utils"
case "$XBPS_TARGET_MACHINE" in
ppc64*-musl) makedepends+=" libucontext-devel" ;;
esac
-build_options_default="clang js_optimize vaapi pulseaudio"
+build_options_default="clang js_optimize vaapi pulseaudio pipewire"
post_patch() {
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
@@ -196,6 +197,10 @@ do_configure() {
"use_pulseaudio=$(vopt_if pulseaudio true false)"
)
+ conf+=(
+ "rtc_use_pipewire=$(vopt_if pipewire true false)"
+ )
+
# Use explicit library dependencies instead of dlopen.
# GN only has "link_pulseaudio", the other options used before are not available atm
# linux_link_cups=true
From f1ff565e0c135559fb4d21c7fbe01f97ff32489a Mon Sep 17 00:00:00 2001
From: Peter Bui <pbui@github.bx612.space>
Date: Wed, 9 Dec 2020 20:38:35 -0500
Subject: [PATCH 3/4] chromium: update to 87.0.4280.88.
- Built for x86_64, x86_64-musl.
- Tested on x86_64.
- Add patch to fix musl 1.2 (reference:
https://github.com/void-linux/void-packages/pull/24578#issuecomment-684177274)
---
.../chromium/files/musl-patches/musl-sandbox.patch | 13 +++++++++++++
srcpkgs/chromium/template | 4 ++--
2 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/chromium/files/musl-patches/musl-sandbox.patch b/srcpkgs/chromium/files/musl-patches/musl-sandbox.patch
index c770e76d868..230bb7bbd29 100644
--- a/srcpkgs/chromium/files/musl-patches/musl-sandbox.patch
+++ b/srcpkgs/chromium/files/musl-patches/musl-sandbox.patch
@@ -77,3 +77,16 @@ index 80f02c0..21fbe21 100644
case __NR_unshare:
#if !defined(__mips__) && !defined(__aarch64__)
case __NR_vfork:
+--- sandbox/policy/linux/bpf_renderer_policy_linux.cc
++++ sandbox/policy/linux/bpf_renderer_policy_linux.cc
+@@ -100,9 +100,9 @@
+ case __NR_uname:
+ case __NR_sched_getparam:
+ case __NR_sched_getscheduler:
++ case __NR_sched_setscheduler:
+ return Allow();
+ case __NR_sched_getaffinity:
+- case __NR_sched_setscheduler:
+ return RestrictSchedTarget(GetPolicyPid(), sysno);
+ case __NR_prlimit64:
+ // See crbug.com/662450 and setrlimit comment above.
diff --git a/srcpkgs/chromium/template b/srcpkgs/chromium/template
index cf14cbb47ca..7cb351b6f26 100644
--- a/srcpkgs/chromium/template
+++ b/srcpkgs/chromium/template
@@ -1,7 +1,7 @@
# Template file for 'chromium'
pkgname=chromium
# See http://www.chromium.org/developers/calendar for the latest version
-version=87.0.4280.66
+version=87.0.4280.88
revision=1
archs="i686* x86_64* aarch64* armv7l* ppc64le*"
short_desc="Google's attempt at creating a safer, faster, and more stable browser"
@@ -9,7 +9,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://www.chromium.org/"
distfiles="https://commondatastorage.googleapis.com/chromium-browser-official/${pkgname}-${version}.tar.xz"
-checksum=29a8e4ea82edec2fdcf34ece68323bec7ab90f3d5669e6b77f58cff9c278f741
+checksum=3e4645328735ef60db78d1a313efb3770a3edeaede90d076414df52f567a09c0
nocross=yes
lib32disabled=yes
From acdea255873d78a5fc5860952ecda3af46809330 Mon Sep 17 00:00:00 2001
From: Peter Bui <pbui@github.bx612.space>
Date: Wed, 9 Dec 2020 20:42:32 -0500
Subject: [PATCH 4/4] chromium-widevine: update to 87.0.4280.88.
---
srcpkgs/chromium-widevine/INSTALL | 2 +-
srcpkgs/chromium-widevine/template | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/chromium-widevine/INSTALL b/srcpkgs/chromium-widevine/INSTALL
index a8de96756c4..1f63fd0f44c 100644
--- a/srcpkgs/chromium-widevine/INSTALL
+++ b/srcpkgs/chromium-widevine/INSTALL
@@ -1,6 +1,6 @@
# INSTALL
-checksum=e7e4c6a2108140c572562867f522d0311a25ce03ea36c5452cb8431865871226
+checksum=4bc68502dc5e22d5c264b3fb5d0a1ecfdadc3ba21d945646d8d37de4b8a96e58
_baseUrl="https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable"
_filename="google-chrome-stable_${VERSION%_*}-1_amd64.deb"
DISTFILE="${_baseUrl}/${_filename}"
diff --git a/srcpkgs/chromium-widevine/template b/srcpkgs/chromium-widevine/template
index 66626f83af3..32ede6c8bda 100644
--- a/srcpkgs/chromium-widevine/template
+++ b/srcpkgs/chromium-widevine/template
@@ -6,7 +6,7 @@ _chromeVersion="current"
_channel="stable"
pkgname=chromium-widevine
-version=87.0.4280.66
+version=87.0.4280.88
revision=1
archs="x86_64"
create_wrksrc=yes
^ permalink raw reply [flat|nested] 44+ messages in thread
* Re: chromium: update to 87.0.4280.88.
2020-12-10 1:45 [PR PATCH] chromium: update to 87.0.4280.88 pbui
` (35 preceding siblings ...)
2020-12-13 2:54 ` [PR PATCH] [Updated] " pbui
@ 2020-12-13 2:55 ` pbui
2020-12-13 5:47 ` [PR REVIEW] " ericonr
` (5 subsequent siblings)
42 siblings, 0 replies; 44+ messages in thread
From: pbui @ 2020-12-13 2:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 209 bytes --]
New comment by pbui on void-packages repository
https://github.com/void-linux/void-packages/pull/27060#issuecomment-743939495
Comment:
@ericonr I've squashed the shlibs commit into the `New package` commit.
^ permalink raw reply [flat|nested] 44+ messages in thread
* Re: [PR REVIEW] chromium: update to 87.0.4280.88.
2020-12-10 1:45 [PR PATCH] chromium: update to 87.0.4280.88 pbui
` (36 preceding siblings ...)
2020-12-13 2:55 ` pbui
@ 2020-12-13 5:47 ` ericonr
2020-12-13 9:00 ` Logarithmus
` (4 subsequent siblings)
42 siblings, 0 replies; 44+ messages in thread
From: ericonr @ 2020-12-13 5:47 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 176 bytes --]
New review comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/27060#discussion_r541852063
Comment:
libudev-devel isn't a package
^ permalink raw reply [flat|nested] 44+ messages in thread
* Re: [PR REVIEW] chromium: update to 87.0.4280.88.
2020-12-10 1:45 [PR PATCH] chromium: update to 87.0.4280.88 pbui
` (37 preceding siblings ...)
2020-12-13 5:47 ` [PR REVIEW] " ericonr
@ 2020-12-13 9:00 ` Logarithmus
2020-12-13 12:08 ` Logarithmus
` (3 subsequent siblings)
42 siblings, 0 replies; 44+ messages in thread
From: Logarithmus @ 2020-12-13 9:00 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 220 bytes --]
New review comment by Logarithmus on void-packages repository
https://github.com/void-linux/void-packages/pull/27060#discussion_r541881150
Comment:
How did it build then? Or maybe the package name has changed recently
^ permalink raw reply [flat|nested] 44+ messages in thread
* Re: chromium: update to 87.0.4280.88.
2020-12-10 1:45 [PR PATCH] chromium: update to 87.0.4280.88 pbui
` (38 preceding siblings ...)
2020-12-13 9:00 ` Logarithmus
@ 2020-12-13 12:08 ` Logarithmus
2020-12-13 14:10 ` [PR REVIEW] " pbui
` (2 subsequent siblings)
42 siblings, 0 replies; 44+ messages in thread
From: Logarithmus @ 2020-12-13 12:08 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 445 bytes --]
New comment by Logarithmus on void-packages repository
https://github.com/void-linux/void-packages/pull/27060#issuecomment-743998183
Comment:
Turns out "Aw, snap" (error 256) still happens, but much more rare.
On Sat, 2020-12-12 at 17:13 -0800, Érico Nogueira Rolim wrote:
> Neat, this one can browse youtube :)
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub, or unsubscribe.
^ permalink raw reply [flat|nested] 44+ messages in thread
* Re: [PR REVIEW] chromium: update to 87.0.4280.88.
2020-12-10 1:45 [PR PATCH] chromium: update to 87.0.4280.88 pbui
` (39 preceding siblings ...)
2020-12-13 12:08 ` Logarithmus
@ 2020-12-13 14:10 ` pbui
2020-12-13 14:12 ` [PR PATCH] [Updated] " pbui
2020-12-13 21:28 ` [PR PATCH] [Merged]: " ericonr
42 siblings, 0 replies; 44+ messages in thread
From: pbui @ 2020-12-13 14:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 228 bytes --]
New review comment by pbui on void-packages repository
https://github.com/void-linux/void-packages/pull/27060#discussion_r541933107
Comment:
Looks like `eudev-libudev-devel` provides `libudev-devel`... I'll switch it to that.
^ permalink raw reply [flat|nested] 44+ messages in thread
* Re: [PR PATCH] [Updated] chromium: update to 87.0.4280.88.
2020-12-10 1:45 [PR PATCH] chromium: update to 87.0.4280.88 pbui
` (40 preceding siblings ...)
2020-12-13 14:10 ` [PR REVIEW] " pbui
@ 2020-12-13 14:12 ` pbui
2020-12-13 21:28 ` [PR PATCH] [Merged]: " ericonr
42 siblings, 0 replies; 44+ messages in thread
From: pbui @ 2020-12-13 14:12 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 420 bytes --]
There is an updated pull request by pbui against master on the void-packages repository
https://github.com/pbui/void-packages chromium
https://github.com/void-linux/void-packages/pull/27060
chromium: update to 87.0.4280.88.
[ci skip]
- Built for x86_64, x86_64-musl.
- Tested on x86_64.
- Also update chromium-widevine.
A patch file from https://github.com/void-linux/void-packages/pull/27060.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-chromium-27060.patch --]
[-- Type: text/x-diff, Size: 8657 bytes --]
From a6793a4afb84c06efeb8885969ef300811d8fde9 Mon Sep 17 00:00:00 2001
From: Artur Sinila <opensource@logarithmus.dev>
Date: Wed, 4 Nov 2020 02:42:23 +0300
Subject: [PATCH 1/4] New package: libpipewire0.2
Add libpipewire0.2 to common/shlibs
---
common/shlibs | 1 +
srcpkgs/libpipewire0.2-devel | 1 +
srcpkgs/libpipewire0.2/template | 36 +++++++++++++++++++++++++++++++++
3 files changed, 38 insertions(+)
create mode 120000 srcpkgs/libpipewire0.2-devel
create mode 100644 srcpkgs/libpipewire0.2/template
diff --git a/common/shlibs b/common/shlibs
index 70577febab0..26a0413aedb 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3272,6 +3272,7 @@ libarcan_shmif_ext.so.0.11 arcan-0.5.4.3_1
libarcan_shmif_server.so.0.11 arcan-0.5.4.3_1
libarcan_tui.so.0.11 arcan-0.5.4.3_1
liblwipv6.so.2 lwipv6-1.5a_1
+libpipewire-0.2.so.1 libpipewire0.2-0.2.7_1
libpipewire-0.3.so.0 libpipewire-0.3.6_1
libvolk.so.2.2.1 volk-2.2.1_1
libgnuradio-runtime.so.3.8.0 gnuradio-3.8.0.0_1
diff --git a/srcpkgs/libpipewire0.2-devel b/srcpkgs/libpipewire0.2-devel
new file mode 120000
index 00000000000..456616f84ec
--- /dev/null
+++ b/srcpkgs/libpipewire0.2-devel
@@ -0,0 +1 @@
+libpipewire0.2
\ No newline at end of file
diff --git a/srcpkgs/libpipewire0.2/template b/srcpkgs/libpipewire0.2/template
new file mode 100644
index 00000000000..88a6666d9df
--- /dev/null
+++ b/srcpkgs/libpipewire0.2/template
@@ -0,0 +1,36 @@
+# Template file for 'libpipewire0.2'
+pkgname=libpipewire0.2
+version=0.2.7
+revision=1
+wrksrc=pipewire-${version}
+build_style=meson
+configure_args="-Dgstreamer=disabled -Ddocs=false -Dsystemd=false"
+hostmakedepends="pkg-config"
+makedepends="dbus-devel alsa-lib-devel eudev-libudev-devel"
+short_desc="Server and user space API to deal with multimedia pipelines (v0.2)"
+maintainer="Artur Sinila <opensource@logarithmus.dev>"
+license="MIT"
+homepage="https://pipewire.org/"
+changelog="https://gitlab.freedesktop.org/pipewire/pipewire/-/raw/master/NEWS"
+distfiles="https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/${version}/pipewire-${version}.tar.gz"
+checksum=bfaa0f6ae6c0791e2e0b59234d399753bf24f1b33dbf587682363a8463dd8df1
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+ makedepends+=" libatomic-devel"
+ LDFLAGS+=" -latomic"
+fi
+
+post_install() {
+ rm -r ${DESTDIR}/{etc,usr/bin}
+ vlicense LICENSE
+}
+
+libpipewire0.2-devel_package() {
+ depends="${pkgname}-${version}_${revision}"
+ short_desc+=" - pipewire and libspa development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove usr/lib/libpipewire-0.2.so
+ }
+}
From 3d72e266d4fa245a2b6ca42ce06b1aa137828f72 Mon Sep 17 00:00:00 2001
From: Artur Sinila <opensource@logarithmus.dev>
Date: Thu, 5 Nov 2020 07:24:27 +0300
Subject: [PATCH 2/4] chromium: enable WebRTC screen sharing via PipeWire
---
srcpkgs/chromium/template | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/chromium/template b/srcpkgs/chromium/template
index b31a09ed1f6..cf14cbb47ca 100644
--- a/srcpkgs/chromium/template
+++ b/srcpkgs/chromium/template
@@ -16,12 +16,13 @@ lib32disabled=yes
nodebug=yes
nopie=yes # contains tools that are not PIE, enables PIE itself
-build_options="clang js_optimize vaapi pulseaudio sndio"
+build_options="clang js_optimize vaapi pulseaudio sndio pipewire"
desc_option_clang="Use clang to build"
desc_option_js_optimize="Optimize the JS used for Chromium's UI"
desc_option_vaapi="Enable support for VA-API"
desc_option_pulseaudio="Enable support for PulseAudio"
desc_option_sndio="Enable support for sndio"
+desc_option_pipewire="Enable support for screen sharing for WebRTC via PipeWire"
hostmakedepends="$(vopt_if clang clang) python pkgconf perl gperf bison ninja nodejs hwids
libatomic-devel libevent-devel libglib-devel $(vopt_if js_optimize openjdk)"
@@ -35,14 +36,14 @@ makedepends="libpng-devel gtk+-devel gtk+3-devel nss-devel pciutils-devel
minizip-devel jsoncpp-devel zlib-devel libcap-devel libXdamage-devel
re2-devel fontconfig-devel freetype-devel opus-devel
ffmpeg-devel libva-devel python-setuptools xcb-proto
- $(vopt_if sndio sndio-devel)"
+ $(vopt_if pipewire libpipewire0.2-devel) $(vopt_if sndio sndio-devel)"
depends="libexif hwids desktop-file-utils hicolor-icon-theme xdg-utils"
case "$XBPS_TARGET_MACHINE" in
ppc64*-musl) makedepends+=" libucontext-devel" ;;
esac
-build_options_default="clang js_optimize vaapi pulseaudio"
+build_options_default="clang js_optimize vaapi pulseaudio pipewire"
post_patch() {
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
@@ -196,6 +197,10 @@ do_configure() {
"use_pulseaudio=$(vopt_if pulseaudio true false)"
)
+ conf+=(
+ "rtc_use_pipewire=$(vopt_if pipewire true false)"
+ )
+
# Use explicit library dependencies instead of dlopen.
# GN only has "link_pulseaudio", the other options used before are not available atm
# linux_link_cups=true
From 5465fba983022511ccf2173efcd2f077c23f4b4a Mon Sep 17 00:00:00 2001
From: Peter Bui <pbui@github.bx612.space>
Date: Wed, 9 Dec 2020 20:38:35 -0500
Subject: [PATCH 3/4] chromium: update to 87.0.4280.88.
- Built for x86_64, x86_64-musl.
- Tested on x86_64.
- Add patch to fix musl 1.2 (reference:
https://github.com/void-linux/void-packages/pull/24578#issuecomment-684177274)
---
.../chromium/files/musl-patches/musl-sandbox.patch | 13 +++++++++++++
srcpkgs/chromium/template | 4 ++--
2 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/chromium/files/musl-patches/musl-sandbox.patch b/srcpkgs/chromium/files/musl-patches/musl-sandbox.patch
index c770e76d868..230bb7bbd29 100644
--- a/srcpkgs/chromium/files/musl-patches/musl-sandbox.patch
+++ b/srcpkgs/chromium/files/musl-patches/musl-sandbox.patch
@@ -77,3 +77,16 @@ index 80f02c0..21fbe21 100644
case __NR_unshare:
#if !defined(__mips__) && !defined(__aarch64__)
case __NR_vfork:
+--- sandbox/policy/linux/bpf_renderer_policy_linux.cc
++++ sandbox/policy/linux/bpf_renderer_policy_linux.cc
+@@ -100,9 +100,9 @@
+ case __NR_uname:
+ case __NR_sched_getparam:
+ case __NR_sched_getscheduler:
++ case __NR_sched_setscheduler:
+ return Allow();
+ case __NR_sched_getaffinity:
+- case __NR_sched_setscheduler:
+ return RestrictSchedTarget(GetPolicyPid(), sysno);
+ case __NR_prlimit64:
+ // See crbug.com/662450 and setrlimit comment above.
diff --git a/srcpkgs/chromium/template b/srcpkgs/chromium/template
index cf14cbb47ca..7cb351b6f26 100644
--- a/srcpkgs/chromium/template
+++ b/srcpkgs/chromium/template
@@ -1,7 +1,7 @@
# Template file for 'chromium'
pkgname=chromium
# See http://www.chromium.org/developers/calendar for the latest version
-version=87.0.4280.66
+version=87.0.4280.88
revision=1
archs="i686* x86_64* aarch64* armv7l* ppc64le*"
short_desc="Google's attempt at creating a safer, faster, and more stable browser"
@@ -9,7 +9,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://www.chromium.org/"
distfiles="https://commondatastorage.googleapis.com/chromium-browser-official/${pkgname}-${version}.tar.xz"
-checksum=29a8e4ea82edec2fdcf34ece68323bec7ab90f3d5669e6b77f58cff9c278f741
+checksum=3e4645328735ef60db78d1a313efb3770a3edeaede90d076414df52f567a09c0
nocross=yes
lib32disabled=yes
From 95b4ffea5f050fce7a66153f957da19b804f7b53 Mon Sep 17 00:00:00 2001
From: Peter Bui <pbui@github.bx612.space>
Date: Wed, 9 Dec 2020 20:42:32 -0500
Subject: [PATCH 4/4] chromium-widevine: update to 87.0.4280.88.
---
srcpkgs/chromium-widevine/INSTALL | 2 +-
srcpkgs/chromium-widevine/template | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/chromium-widevine/INSTALL b/srcpkgs/chromium-widevine/INSTALL
index a8de96756c4..1f63fd0f44c 100644
--- a/srcpkgs/chromium-widevine/INSTALL
+++ b/srcpkgs/chromium-widevine/INSTALL
@@ -1,6 +1,6 @@
# INSTALL
-checksum=e7e4c6a2108140c572562867f522d0311a25ce03ea36c5452cb8431865871226
+checksum=4bc68502dc5e22d5c264b3fb5d0a1ecfdadc3ba21d945646d8d37de4b8a96e58
_baseUrl="https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable"
_filename="google-chrome-stable_${VERSION%_*}-1_amd64.deb"
DISTFILE="${_baseUrl}/${_filename}"
diff --git a/srcpkgs/chromium-widevine/template b/srcpkgs/chromium-widevine/template
index 66626f83af3..32ede6c8bda 100644
--- a/srcpkgs/chromium-widevine/template
+++ b/srcpkgs/chromium-widevine/template
@@ -6,7 +6,7 @@ _chromeVersion="current"
_channel="stable"
pkgname=chromium-widevine
-version=87.0.4280.66
+version=87.0.4280.88
revision=1
archs="x86_64"
create_wrksrc=yes
^ permalink raw reply [flat|nested] 44+ messages in thread
* Re: [PR PATCH] [Merged]: chromium: update to 87.0.4280.88.
2020-12-10 1:45 [PR PATCH] chromium: update to 87.0.4280.88 pbui
` (41 preceding siblings ...)
2020-12-13 14:12 ` [PR PATCH] [Updated] " pbui
@ 2020-12-13 21:28 ` ericonr
42 siblings, 0 replies; 44+ messages in thread
From: ericonr @ 2020-12-13 21:28 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 269 bytes --]
There's a merged pull request on the void-packages repository
chromium: update to 87.0.4280.88.
https://github.com/void-linux/void-packages/pull/27060
Description:
[ci skip]
- Built for x86_64, x86_64-musl.
- Tested on x86_64.
- Also update chromium-widevine.
^ permalink raw reply [flat|nested] 44+ messages in thread