Find a file
Simon Ser 6ecb5dffc7
ci: add Alpine build (#30)
Alpine uses musl, which may behave differently than glibc. Add Alpine to
the CI to make sure we don't rely on glibc-specific behaviour.

References: https://github.com/emersion/xdg-desktop-portal-wlr/issues/28
2020-04-23 09:57:02 -04:00
.builds ci: add Alpine build (#30) 2020-04-23 09:57:02 -04:00
contrib/systemd Add D-Bus and systemd service files 2020-04-10 10:48:41 +02:00
include Screencast session support (#22) 2020-04-16 10:21:55 +02:00
protocols Fix CI with libpipewire02, libdrm. Remove png.h unused import. Cleanup style. 2020-03-13 21:01:32 +01:00
src Globally define _POSIX_C_SOURCE in meson.build 2020-04-23 09:53:34 +02:00
.editorconfig Add yml exception to editorconfig 2020-03-13 21:01:32 +01:00
.gitignore Fix CI with libpipewire02, libdrm. Remove png.h unused import. Cleanup style. 2020-03-13 21:01:32 +01:00
LICENSE Initial commit 2018-12-12 11:46:19 +01:00
meson.build Globally define _POSIX_C_SOURCE in meson.build 2020-04-23 09:53:34 +02:00
meson_options.txt Add D-Bus and systemd service files 2020-04-10 10:48:41 +02:00
org.freedesktop.impl.portal.desktop.wlr.service.in Add D-Bus and systemd service files 2020-04-10 10:48:41 +02:00
README.md readme: add CI badge 2020-03-10 13:40:27 +01:00
wlr.portal First commit 2018-12-12 22:29:57 +01:00

xdg-desktop-portal-wlr

builds.sr.ht status

xdg-desktop-portal backend for wlroots

Building

meson build
ninja -C build

Installing

ninja -C build install

Make sure XDG_CURRENT_DESKTOP=sway is set.

/usr/lib/xdg-desktop-portal -r &
xdg-desktop-portal-wlr

Tooling

Useful tools include dbus-monitor to watch requests being made, and dbus-send and the similar busctl call for manual dbus calls.

You can test the integration with the portal-test Flatpak app.

Alternatively you can trigger it with trigger-screen-shot.py and xdp-screen-cast.py.

License

MIT