Package Details: xdg-desktop-portal-wlr-git 0.7.0.r11.g1eaa02e-1

Git Clone URL: https://aur.archlinux.org/xdg-desktop-portal-wlr-git.git (read-only, click to copy)
Package Base: xdg-desktop-portal-wlr-git
Description: xdg-desktop-portal backend for wlroots
Upstream URL: https://github.com/emersion/xdg-desktop-portal-wlr
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: 7
Popularity: 0.46
First Submitted: 2019-10-19 05:02 (UTC)
Last Updated: 2024-01-08 19:12 (UTC)

Dependencies (13)

Required by (29)

Sources (1)

Latest Comments

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

auruser123 commented on 2021-01-18 10:18 (UTC)

can somebody update the package with @thotypous patch ?

thotypous commented on 2021-01-14 18:57 (UTC)

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

diff --git a/PKGBUILD b/PKGBUILD
index 745a53e..dbac880 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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 (UTC) (edited on 2021-01-09 17:53 (UTC) by danshick)

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 (UTC)

Build currently fails with

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

depau commented on 2020-09-11 14:43 (UTC) (edited on 2020-09-11 14:44 (UTC) by depau)

@soyuka

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 (UTC) (edited on 2020-09-21 10:08 (UTC) by soyuka)

Hi,

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 https://github.com/emersion/xdg-desktop-portal-wlr/issues/49 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 (UTC)

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 (UTC) (edited on 2020-05-24 23:07 (UTC) by depau)

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 (UTC)

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.

https://wiki.archlinux.org/index.php/Debug_-_Getting_Traces#General

depau commented on 2020-05-13 17:27 (UTC)

Added. I also added obs-xdg-portal, though it's marked as missing because obs-xdg-portal-git is missing the provides variable.