Package Details: hyprland-git 0.45.0.r18.3fb47372-1

Git Clone URL: https://aur.archlinux.org/hyprland-git.git (read-only, click to copy)
Package Base: hyprland-git
Description: Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks
Upstream URL: https://github.com/hyprwm/Hyprland
Licenses: BSD-3-Clause
Conflicts: hyprland
Provides: hyprland
Submitter: hertog
Maintainer: Vaxry (zjeffer, alba4k)
Last Packager: alba4k
Votes: 97
Popularity: 8.47
First Submitted: 2022-04-12 20:26 (UTC)
Last Updated: 2024-11-21 17:56 (UTC)

Required by (59)

Sources (2)

Pinned Comments

zjeffer commented on 2024-07-17 16:50 (UTC) (edited on 2024-07-17 16:52 (UTC) by zjeffer)

Tips & tricks, common issues

using ccache/sccache

Precompiled headers (PCH) was enabled by default, this would most likely invalidate the compiler cache if any of the upstream header files change. To disable PCH, add the meson build option -Db_pch=false to build().

build() {
  ...
  meson setup build \
    -D b_pch=false
  ...
}

Build with specific pull requests

Use pick_mr <pull request number> at the end of prepare() to merge pull requests locally. For example, to merge https://github.com/hyprwm/Hyprland/pull/6268, use

prepare() {
    ...

    pick_mr 6268
}

Enable legacy renderer

In the build() function, add -D legacy_renderer=true to meson setup

Compilation errors

If you encounter compilation errors, try the following first:

  • If errors are raised by generated source files under protocols/, such as protocols/linux-dmabuf-v1.hpp, then rebuild or install hyprwayland-scanner-git;
  • Compile with makepkg --cleanbuild.

Symbol not declared

Errors like

  • <symbol> was not declared in this scope
  • <symbol> has not been declared

are usually caused by missing headers. Please consider reporting this upstream or creating a pull request if it has not already been done.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 .. 32 Next › Last »

<deleted-account> commented on 2024-08-19 21:14 (UTC)

@swiftRiver, it doesn't help.

swiftRiver commented on 2024-08-19 19:16 (UTC)

@arch-mage remove everything and then run

paru -S hyprcursor-git aquamarine-git hyprlang-git hyprland-git

<deleted-account> commented on 2024-08-19 04:23 (UTC)

What's wrong with the pkgbuild this time? yay can't fetch the new update

rabaimor commented on 2024-07-27 21:07 (UTC)

it seems that the missing libhyprutils.so.0 bug somehow magically gets fixed for everyone differently except me. symlinking the library just causes to hyprland to crash on start for me.

siresber commented on 2024-07-25 19:37 (UTC)

I fixed my hyprutils problem, I hope this solution will fixed someone's as well.

I tried to remove the hyprutils package and saw that it is a dependency package for the hyprlock package. I removed the hyprland-git and hyprlock, the hyprutils package is removed with hyprlock uninstallation. Then reinstalled the uninstalled packages (hyprland-git, hyprlock) and it seems fixed for now.

Before uninstalling, I tried the symlink solution, but I don't know if it is necessary for the reinstalling solution.

rabaimor commented on 2024-07-23 18:36 (UTC)

@neometra Thank you, but copying and symlinking resulted in the same outcome for me. An insta-crash when I try to start hyprland (It doesn't even starts). And so far I tried so many things but I wasted hours across multiple days trying to fix this, and that not my job, its the hyprland developers.

rabaimor commented on 2024-07-23 18:36 (UTC)

@neometra Thank you, but copying and symlinking resulted in the same outcome for me. An insta-crash when I try to start hyprland (It doesn't even starts). And so far I tried so many things but I wasted hours across multiple days trying to fix this, and that not my job, its the hyprland developers.

neometra commented on 2024-07-23 18:11 (UTC) (edited on 2024-07-23 18:13 (UTC) by neometra)

Hello, I am not much of a programmer, and I am new to ArchLinux, but I wanted to post this and hope it helps. I had the same issue as @rabaimor. Creating a symlink did not resolve my issue. I used the following command to do so.

sudo ln -s /usr/lib/libhyprutils.so.0.2.0 /usr/lib/libhyprutils.so.0

However, what did work was this command.

cp libhyprutils.so libhyprutils.so.0

For whatever reason the symlink would cause hyprctl to throw odd errors. Copying the file as you see above fixed everything. I do not know what the correct fix for this is but that is the workaround that has worked for me. Hope this helps.

zjeffer commented on 2024-07-21 21:35 (UTC) (edited on 2024-07-21 21:37 (UTC) by zjeffer)

aside from hyprcursor-git which gave me a build error, and I don't feel like trying to fix it when it wont make a difference anyways

I feel like that would make a difference, because if hyprcursor-git can't be installed, then hyprland won't be (re)installed either, because it's a required dependency, right? What's the error hyprcursor-git gives?

Also "ln -s /usr/lib/libhyprutils.so.0.2.0 /usr/lib/libhyprutils.so.0" only makes the error change to: "Hyprland: error while loading shared libraries: libhyprutils.so.1: cannot open shared object file: No such file or directory"

@rabaimor That's really strange. Can you post the output of the following commands?

whereis Hyprland
ldd $(which Hyprland) | grep -i hypr
paru -Ql hyprutils-git | grep -i "/usr/lib/"

rabaimor commented on 2024-07-21 21:19 (UTC)

@zjeffer tr leaves "⏎" at the output end but I know what you mean. Reinstalling all the dependencies (which I did already) does not fix the error. (aside from hyprcursor-git which gave me a build error, and I don't feel like trying to fix it when it wont make a difference anyways). Also "ln -s /usr/lib/libhyprutils.so.0.2.0 /usr/lib/libhyprutils.so.0" only makes the error change to: "Hyprland: error while loading shared libraries: libhyprutils.so.1: cannot open shared object file: No such file or directory"