From 1d2f054da38e4d0f9c512e4bd0760a7dd29e9d02 Mon Sep 17 00:00:00 2001 From: Tom spot Callaway Date: Mon, 20 Dec 2021 11:28:13 -0500 Subject: [PATCH] enable WebRTCPipeWireCapturer by default --- ...110-enable-WebRTCPipeWireCapturer-byDefault.patch | 12 ++++++++++++ chromium.spec | 8 +++++++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 chromium-96.0.4664.110-enable-WebRTCPipeWireCapturer-byDefault.patch diff --git a/chromium-96.0.4664.110-enable-WebRTCPipeWireCapturer-byDefault.patch b/chromium-96.0.4664.110-enable-WebRTCPipeWireCapturer-byDefault.patch new file mode 100644 index 00000000..9d22e71f --- /dev/null +++ b/chromium-96.0.4664.110-enable-WebRTCPipeWireCapturer-byDefault.patch @@ -0,0 +1,12 @@ +diff -up chromium-96.0.4664.110/content/public/common/content_features.cc.enable-WebRTCPipeWireCapturer-byDefault chromium-96.0.4664.110/content/public/common/content_features.cc +--- chromium-96.0.4664.110/content/public/common/content_features.cc.enable-WebRTCPipeWireCapturer-byDefault 2021-12-20 11:24:28.862940185 -0500 ++++ chromium-96.0.4664.110/content/public/common/content_features.cc 2021-12-20 11:24:43.397027114 -0500 +@@ -1125,7 +1125,7 @@ const base::Feature kAuraWindowSubtreeCa + // Controls whether the PipeWire support for screen capturing is enabled on the + // Wayland display server. + const base::Feature kWebRtcPipeWireCapturer{"WebRTCPipeWireCapturer", +- base::FEATURE_DISABLED_BY_DEFAULT}; ++ base::FEATURE_ENABLED_BY_DEFAULT}; + #endif // defined(WEBRTC_USE_PIPEWIRE) + + enum class VideoCaptureServiceConfiguration { diff --git a/chromium.spec b/chromium.spec index 647a3651..2fff8631 100644 --- a/chromium.spec +++ b/chromium.spec @@ -221,7 +221,7 @@ Name: chromium%{chromium_channel}%{nsuffix} Name: chromium%{chromium_channel} %endif Version: %{majorversion}.0.4664.110 -Release: 1%{?dist} +Release: 2%{?dist} %if %{?freeworld} %if %{?shared} # chromium-libs-media-freeworld @@ -329,6 +329,8 @@ Patch96: chromium-94.0.4606.54-webrtc-BUILD.gn-fix-multiple-defines.patch Patch97: chromium-94.0.4606.61-remoting-extra-qualification.patch # From gentoo Patch98: chromium-94.0.4606.71-InkDropHost-crash.patch +# Enable WebRTCPPipeWireCapturer by default +Patch99: chromium-96.0.4664.110-enable-WebRTCPipeWireCapturer-byDefault.patch @@ -1013,6 +1015,7 @@ udev. %patch96 -p1 -b .webrtc-BUILD.gn-fix-multiple-defines %patch97 -p1 -b .remoting-extra-qualification %patch98 -p1 -b .InkDropHost-crash +%patch99 -p1 -b .enable-WebRTCPipeWireCapturer-byDefault # Fedora branded user agent %if 0%{?fedora} @@ -2112,6 +2115,9 @@ getent group chrome-remote-desktop >/dev/null || groupadd -r chrome-remote-deskt %changelog +* Mon Dec 20 2021 Tom Callaway - 96.0.4664.110-2 +- enable WebRTCPipeWireCapturer by default + * Thu Dec 16 2021 Tom Callaway - 96.0.4664.110-1 - update to 96.0.4664.110