Package Details: hyprland-git 0.42.0.r64.82c67e61-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
Conflicts: hyprland
Provides: hyprland
Submitter: hertog
Maintainer: Vaxry (zjeffer)
Last Packager: zjeffer
Votes: 89
Popularity: 6.21
First Submitted: 2022-04-12 20:26 (UTC)
Last Updated: 2024-08-24 16:36 (UTC)

Required by (48)

Sources (3)

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

1 2 3 4 5 6 .. 29 Next › Last »

xAsh commented on 2024-09-19 13:10 (UTC)

aquamarine broke the build again

arch-mage commented on 2024-09-19 11:46 (UTC) (edited on 2024-09-19 11:47 (UTC) by arch-mage)

Doesn't build

FAILED: src/Hyprland.p/debug_HyprCtl.cpp.o c++ -Isrc/Hyprland.p -Isrc -I../src -Isubprojects/udis86 -I../subprojects/udis86 -I../subprojects/udis86/libudis86 -Isubprojects/udis86/__CMake_build -I../subprojects/udis86/__CMake_build -Iprotocols -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/uuid -flto=auto -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -fpch-preprocess -include pch.hpp -D_FILE_OFFSET_BITS=64 -std=c++26 -O3 -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing -Wno-pointer-arith '-DDATAROOTDIR="/usr/share"' -DHAS_EXECINFO -DUSES_SYSTEMD -w -fPIE -pthread -MD -MQ src/Hyprland.p/debug_HyprCtl.cpp.o -MF src/Hyprland.p/debug_HyprCtl.cpp.o.d -o src/Hyprland.p/debug_HyprCtl.cpp.o -c ../src/debug/HyprCtl.cpp ../src/debug/HyprCtl.cpp: In function ‘std::string versionRequest(eHyprCtlOutputFormat, std::string)’: ../src/debug/HyprCtl.cpp:861:143: error: ‘AQUAMARINE_VERSION’ was not declared in this scope; did you mean ‘AQUAMARINE_FORWARD’? 861 | ").\nDate: " + GIT_COMMIT_DATE + "\nTag: " + GIT_TAG + ", commits: " + GIT_COMMITS + std::string{"\nbuilt against aquamarine "} + AQUAMARINE_VERSION + "\n" + | ^~~~~~~~~~~~~~~~~~ | AQUAMARINE_FORWARD ../src/debug/HyprCtl.cpp:888:13: error: ‘AQUAMARINE_VERSION’ was not declared in this scope; did you mean ‘AQUAMARINE_FORWARD’? 888 | AQUAMARINE_VERSION); | ^~~~~~~~~~~~~~~~~~ | AQUAMARINE_FORWARD [159/293] Compiling C++ object src/Hyprland.p/desktop_Window.cpp.o ninja: build stopped: subcommand failed.

zjeffer commented on 2024-08-24 16:38 (UTC)

Updated the package to use aquamarine-git again instead of the non-git version. Should solve issues where users had to manually resolve package dependency conflicts.

arch-mage commented on 2024-08-24 15:11 (UTC) (edited on 2024-08-24 15:11 (UTC) by arch-mage)

Everything builds, as expected. Should the package be unmarked as out-of-date, since this is a git package and there aren't any problems with it?

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

arch-mage 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.