Github messages for voidlinux
 help / color / mirror / Atom feed
From: mdkcore0 <mdkcore0@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] slack-desktop: allow the use of WebRTCPipeWireCapturer flag, adopt
Date: Thu, 04 Apr 2024 16:12:34 +0200	[thread overview]
Message-ID: <20240404141234.5381727AC3@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-49298@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1116 bytes --]

There is an updated pull request by mdkcore0 against master on the void-packages repository

https://github.com/mdkcore0/void-packages update-slack-desktop
https://github.com/void-linux/void-packages/pull/49298

slack-desktop: allow the use of WebRTCPipeWireCapturer flag, adopt
Slack seems to [disable screen sharing on Wayland](https://forums.slackcommunity.com/s/question/0D53a00009BSEGACA5/when-will-slack-support-wayland-screen-sharing-does-anyone-have-workarounds-or-hacks-to-make-it-work), this commit allow the use of WebRTCPipeWireCapturer.
Final user still needs to add the flag on the command line to make use of it:
`--enable-features=WebRTCPipeWireCapturer --ozone-platform-hint=auto`.

Note: just tested on Wayland, it would be great if someone tested it on x11 too.
Note2: As discussed below with @dataCobra, I'm adopting this package.

#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture: x86_64-libc


A patch file from https://github.com/void-linux/void-packages/pull/49298.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update-slack-desktop-49298.patch --]
[-- Type: text/x-diff, Size: 1808 bytes --]

From 1096492183d8f840e4b1029710e95888ef8ba094 Mon Sep 17 00:00:00 2001
From: Rodrigo Oliveira <mdkcore@qtrnn.io>
Date: Thu, 14 Mar 2024 17:18:19 -0300
Subject: [PATCH] slack-desktop: allow the use of WebRTCPipeWireCapturer flag,
 adopt

Slack seems to disable screen sharing on Wayland [1], so this commit
allow the use of WebRTCPipeWireCapturer.
Note that the user still need to add the flag on the command line to
enable it: --enable-features=WebRTCPipeWireCapturer
--ozone-platform-hint=auto.

[1] https://forums.slackcommunity.com/s/question/0D53a00009BSEGACA5/when-will-slack-support-wayland-screen-sharing-does-anyone-have-workarounds-or-hacks-to-make-it-work
---
 srcpkgs/slack-desktop/template | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/slack-desktop/template b/srcpkgs/slack-desktop/template
index 4ed60d25375222..1a7288bd1a3460 100644
--- a/srcpkgs/slack-desktop/template
+++ b/srcpkgs/slack-desktop/template
@@ -1,11 +1,11 @@
 # Template file for 'slack-desktop'
 pkgname=slack-desktop
 version=4.36.140
-revision=1
+revision=2
 archs="x86_64"
 depends="xdg-utils"
 short_desc="Messaging app for teams"
-maintainer="dataCobra <datacobra@thinkbot.de>"
+maintainer="Rodrigo Oliveira <mdkcore@qtrnn.io>"
 license="custom:Proprietary"
 homepage="https://slack.com/"
 distfiles="https://downloads.slack-edge.com/releases/linux/${version}/prod/x64/${pkgname}-${version}-amd64.deb"
@@ -19,6 +19,7 @@ do_install() {
 	vinstall usr/share/applications/slack.desktop 644 usr/share/applications
 	vinstall usr/share/pixmaps/slack.png 644 usr/share/pixmaps
 	mkdir ${DESTDIR}/usr/bin
+	vsed -i -e 's/,"WebRTCPipeWireCapturer"/,"LebRTCPipeWireCapturer"/' usr/lib/slack/resources/app.asar
 	vcopy usr/lib/slack usr/lib
 	ln -s ../lib/slack/slack ${DESTDIR}/usr/bin/slack
 }

  parent reply	other threads:[~2024-04-04 14:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-14 20:41 [PR PATCH] slack-desktop: allow the use of WebRTCPipeWireCapturer flag mdkcore0
2024-03-14 20:41 ` mdkcore0
2024-03-14 22:01 ` [PR PATCH] [Updated] " mdkcore0
2024-03-15  7:01 ` dataCobra
2024-03-20  6:42 ` dataCobra
2024-03-20  6:42 ` dataCobra
2024-03-20 16:19 ` mdkcore0
2024-03-20 16:23 ` [PR PATCH] [Updated] " mdkcore0
2024-04-04 14:12 ` mdkcore0 [this message]
2024-04-05  1:25 ` [PR PATCH] [Merged]: slack-desktop: allow the use of WebRTCPipeWireCapturer flag, adopt cinerea0

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240404141234.5381727AC3@inbox.vuxu.org \
    --to=mdkcore0@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).