end-4 / dots-hyprland

i hate minimalism so...
https://end-4.github.io/dots-hyprland-wiki/en/
GNU General Public License v3.0
3.94k stars 267 forks source link

[Issue] have issue about installing #666

Open ANRY17 opened 3 months ago

ANRY17 commented 3 months ago

PXL_20240630_201048889 Error installing xdg-portal-hyprland-git

mateusz-bloch commented 3 months ago

I encountered the same problem. From what I see, xdg-portal-hyprland-git is out-of-date. I haven't tested xdg-desktop-portal-hyprland; I directly downloaded the mentioned package from GitHub, but the problem persisted. Helped this here: https://github.com/hyprwm/xdg-desktop-portal-hyprland/issues/230#issuecomment-2198611963.

JuanDavid006 commented 3 months ago

I found a temporal workaround for this:

1: Use git clone instead of curl script since you will be able to modify local files in your home folder

2: Run script 'till the package building error part, ignore that error and the script will try to install the portal package but since you couldn't build the "xdg-desktop-portal-hyprland-git" package it will give you another error, keep the script open and DON'T exit just leave it like that and proceed to step 3

3: Modify the PKGBUILD inside the ~/dots-hyprland/arch-packages/illogical-impulse-portal directory and delete the -git part from the "xdg-desktop-portal-hyprland-git" line. So it should just say this: 'xdg-desktop-portal-hyprland" Save and exit.

4: Run pacman and install "xdg-desktop-portal-hyprland" directly from the extra repo.

5: Retry the step in your install.sh script and it should proceed as normal...

krister-dahl commented 2 months ago

I had the same issue. Managed to solve it by opening another terminal and: yay -S xdg-desktop-portal-hyprland...and so on. Then repeated the command.