unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Josselin Poiret via Guix-patches via <guix-patches@gnu.org>
To: 52492@debbugs.gnu.org
Cc: Josselin Poiret <dev@jpoiret.xyz>
Subject: [bug#52492] [PATCH 0/7] Improve screen sharing support under Wayland
Date: Tue, 14 Dec 2021 22:45:02 +0100	[thread overview]
Message-ID: <20211214214502.24913-1-dev@jpoiret.xyz> (raw)

Hello,

This patchset updates and improves various packages related to screen
sharing/screeshotting on Wayland, and especially wlroots-based
compositors.

I can get screensharing working in icecat on sway by manually starting
pipewire then wireplumber (and then xdg-desktop-portal-wlr followed by
xdg-desktop-portal if they're not installed in your profile, otherwise
your user DBus session will launch them automatically), and starting
icecat with

`LD_LIBRARY_PATH="$(./pre-inst-env guix build
pipewire)/lib:$LD_LIBRARY_PATH" icecat`

since the pipewire library is dlopened by libwebrtc rather than
statically or dynamically linked.  We could possibly add this to the
icecat package, as it has a wrapper doing a similar thing for other
libraries.

Another way to test screensharing without icecat would be to use this
python script [1], using `guix shell python python-pygobject
gst-plugins-bad pipewire python-dbus -- python3 xdp-screen-cast.py`.

I also took the liberty to patch xdg-desktop-portal-wlr's
screenshotting process, as it simply execl'd to slurp and grim.  Along
with an update to flameshot, I can use the latter properly on sway as
well.

Best,
Josselin

[1] https://gitlab.gnome.org/-/snippets/19

Josselin Poiret (7):
  gnu: pipewire-0.3: Use new input style
  gnu: pipewire-0.3: Update to 0.3.41
  gnu: Add wireplumber
  gnu: xdg-desktop-portal-wlr: Update to 0.5.0
  gnu: xdg-desktop-portal-wlr: Use new input style
  gnu: xdg-desktop-portal-wlr: Add binary dependencies
  gnu: flameshot: Update to 0.10.2

 gnu/local.mk                                  |  1 +
 gnu/packages/freedesktop.scm                  | 38 ++++++++++----
 gnu/packages/image.scm                        |  4 +-
 gnu/packages/linux.scm                        | 52 +++++++++++++++----
 ...g-desktop-portal-wlr-harcoded-length.patch | 28 ++++++++++
 5 files changed, 100 insertions(+), 23 deletions(-)
 create mode 100644 gnu/packages/patches/xdg-desktop-portal-wlr-harcoded-length.patch

-- 
2.34.0





             reply	other threads:[~2021-12-14 21:46 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-14 21:45 Josselin Poiret via Guix-patches via [this message]
2021-12-14 21:47 ` [bug#52492] [PATCH 1/7] gnu: pipewire-0.3: Use new input style Josselin Poiret via Guix-patches via
2021-12-19 12:23   ` [bug#52492] [PATCH 0/7] Improve screen sharing support under Wayland Mathieu Othacehe
2021-12-14 21:47 ` [bug#52492] [PATCH 2/7] gnu: pipewire-0.3: Update to 0.3.41 Josselin Poiret via Guix-patches via
2021-12-14 21:47 ` [bug#52492] [PATCH 3/7] gnu: Add wireplumber Josselin Poiret via Guix-patches via
2021-12-19 12:24   ` [bug#52492] [PATCH 0/7] Improve screen sharing support under Wayland Mathieu Othacehe
2021-12-14 21:47 ` [bug#52492] [PATCH 4/7] gnu: xdg-desktop-portal-wlr: Update to 0.5.0 Josselin Poiret via Guix-patches via
2021-12-14 21:47 ` [bug#52492] [PATCH 5/7] gnu: xdg-desktop-portal-wlr: Use new input style Josselin Poiret via Guix-patches via
2021-12-14 21:47 ` [bug#52492] [PATCH 6/7] gnu: xdg-desktop-portal-wlr: Add binary dependencies Josselin Poiret via Guix-patches via
2021-12-19 12:24   ` [bug#52492] [PATCH 0/7] Improve screen sharing support under Wayland Mathieu Othacehe
2021-12-14 21:47 ` [bug#52492] [PATCH 7/7] gnu: flameshot: Update to 0.10.2 Josselin Poiret via Guix-patches via
2021-12-19 12:22 ` bug#52492: [PATCH 0/7] Improve screen sharing support under Wayland Mathieu Othacehe

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=20211214214502.24913-1-dev@jpoiret.xyz \
    --to=guix-patches@gnu.org \
    --cc=52492@debbugs.gnu.org \
    --cc=dev@jpoiret.xyz \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).