hyprwm / xdg-desktop-portal-hyprland

xdg-desktop-portal backend for Hyprland
BSD 3-Clause "New" or "Revised" License
307 stars 49 forks source link

Hardcoded cmake /usr/lib/xdph path #192

Closed alba4k closed 9 months ago

alba4k commented 9 months ago

This modifies a couple of files to use /usr/lib/xdg-desktop-portal-hyprland when trying to run the portan instead of @LIBEXECDIR@/xdg-desktop-portal-hyprland.

This is because the directory the initial executable is placed in won't always correspond to where the final one ends up being, e.g. when installing an aur package (this pr would fix the xdg-desktop-portal-hyprland-git aur package).

I am not sure if there are any other cases, where the cmake substitution is necessary.

bvr-yr commented 9 months ago

aur package just should be fixed, other distros may use /usr/libexec

alba4k commented 9 months ago

Yeah sadly I have no access to it (at least, currently). I'll probably close this in a few hours, just want to see if I get any further feedback from vaxry