Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xdg-desktop-portal: include a default portals.conf #46449

Merged
merged 1 commit into from
Oct 5, 2023

Conversation

classabbyamp
Copy link
Member

@classabbyamp classabbyamp commented Oct 5, 2023

Without this, xdg-desktop-portal cannot do anything as of 1.18.0. DEs and WMs should probably ship their own if they want to use a specific frontend, but this should be good enough for now.

This conf file is put in the lowest precedence location, and generic portals.conf is overriden if XDG_CURRENT_DESKTOP-portals.conf is found, so this should be fairly safe.

Additionally, this portals.conf does not require any specific frontend, just the special value *, which means the first one found in lexicographical order.

See portals.conf(5) for more details. This manpage is also installed now by adding python3-docutils to hostmakedepends.

fixes #46317

Testing the changes

  • I tested the changes in this PR: YES

Without this, `xdg-desktop-portal` cannot do anything as of 1.18.0. DEs
and WMs should probably ship their own if they want to use a specific
frontend, but this should be good enough for now.

This conf file is put in the lowest precedence location, and generic
`portals.conf` is overriden if `XDG_CURRENT_DESKTOP-portals.conf` is found,
so this should be fairly safe.

Additionally, this `portals.conf` does not require any specific frontend,
just the special value `*`, which means the first one found in
lexicographical order.

See [portals.conf(5)](https://github.com/flatpak/xdg-desktop-portal/blob/main/doc/portals-conf.rst)
for more details. This manpage is also installed now by adding
`python3-docutils` to `hostmakedepends`.

fixes void-linux#46317
@classabbyamp classabbyamp merged commit b4c404a into void-linux:master Oct 5, 2023
8 checks passed
@classabbyamp classabbyamp deleted the portal-conf branch October 5, 2023 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GTK3 file chooser doesn't work after upgrading xdg-desktop-portal to 1.18.0_1
1 participant