Package Details: xdg-desktop-portal-wlr-git v0.3.0.r15.gefcbcb6-1

Git Clone URL: (read-only, click to copy)
Package Base: xdg-desktop-portal-wlr-git
Description: xdg-desktop-portal backend for wlroots
Upstream URL:
Keywords: screenshare wayland wlroots
Licenses: custom:MIT
Conflicts: xdg-desktop-portal-wlr
Provides: xdg-desktop-portal-impl, xdg-desktop-portal-wlr
Submitter: Depau
Maintainer: danshick
Last Packager: danshick
Votes: 6
Popularity: 0.188187
First Submitted: 2019-10-19 05:02
Last Updated: 2021-05-04 17:43

Dependencies (13)

Required by (3)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

Depau commented on 2021-01-18 12:31

You can adopt the package and apply all the needed changes. I do not use Sway any more, so I can't test the changes and ensure they are appropriate.

auruser123 commented on 2021-01-18 10:18

can somebody update the package with @thotypous patch ?

thotypous commented on 2021-01-14 18:57

The following patch fixes the issue reported by @danshick. Please apply:

diff --git a/PKGBUILD b/PKGBUILD
index 745a53e..dbac880 100644
@@ -34,7 +34,7 @@ build () {
   msg2 "Note: this package, by default, creates a debug, non-stripped build to aid reporting bugs and development."
   msg2 "If you would like a smaller release build, please consider editing the PKGBUILD or using the non-git package."
        rm -rf build
-       arch-meson "${pkgname}" build
+       arch-meson "${pkgname}" build -Dsd-bus-provider=libsystemd
        ninja -C build

danshick commented on 2021-01-09 17:52

arch-meson is breaking this build by setting --auto_features=enabled. It needs to be set back to auto so that our build can detect if you are using systemd, elogind, or basu. You could also manually specify a logind provider with -Dsd-bus-provider=systemd or similar.

kris7t commented on 2021-01-09 12:08

Build currently fails with

xdg-desktop-portal-wlr-git/ ERROR: Assert failed: sd-bus-provider must not be set to auto since auto_features != auto

Depau commented on 2020-09-11 14:43


Yeah this is a circular dependency issue that occurs only at build time (if you build the package, remove the other implementation and install the package it will work). Maybe I should remove the dependency on xdg-desktop-portal so that the package builds without installing another implementation, but then you'll still have to ensure xdg-desktop-portal is installed.

Keep in mind that you still need a -gtk/-kde implementation in most cases anyway. Portals are free to implement a subset of features, if you have multiple installed it will use wlr first and then fill the gaps with the other portals.

For example, the "file chooser" portal is not provided by the -wlr portal impl, so you won't be able to use Flatpaks that use this feature unless you install another implementation as well.

soyuka commented on 2020-09-05 14:26


I feel this package is still not installable using package managers like yay or aurman and I had an issue using makepkg directly. Indeed, it looks for xdg-desktop-portal which looks for xdg-desktop-portal-impl. As the wlr is not listed, we'll be asked to install either kde either gtk. Is there a way to install only wlr?

See for more details about this.

Thanks @Depau for the detailed comment. Installing -kde actually solves the issue I had.

danshick commented on 2020-06-12 16:45

Thanks, much appreciated. Now if users raise issues, we'll have a convenient way to get them onto master with debugging symbols present.

Depau commented on 2020-05-24 23:04

Well I guess it makes sense if it helps development.

I will also add a build-time message to warn the users, since as an AUR users I generally don't like it when maintainers do that.

EDIT: it's up :)

danshick commented on 2020-05-24 21:08

Would you mind adding debug and !strip to the options? It would make it easier for getting coredump backtraces for users reporting bugs against master. Now that there's a non -git package, I think this is appropriate.