check-xdg-portal: Add helper to check xdg-desktop-portal
Compare changes
Files
2
helpers/check-xdg-portal.c
0 → 100644
+ 255
− 0
With this helper we are able to check if xdg-desktop-portal
is
currently installed and working. It also checks if there is at least a
portal backend implementation.
It returns 0 if xdg-desktop-portal
is available and there is at least
a backend implementation.
It returns 1 if something is missing or an error occurred.
Currently I'm just adding the helper without using it yet because I wanted to gather some feedback first.
Given the fact that there was even a proposed idea of implementing our own IPC service to avoid xdg-desktop-portal
entirely.
/cc @smcv