Package Details: hyprland-git 0.44.0.r123.0ec128e5-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: 96
Popularity: 8.54
First Submitted: 2022-04-12 20:26 (UTC)
Last Updated: 2024-11-11 21:42 (UTC)

Dependencies (54)

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

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

izmyname commented on 2024-11-15 09:50 (UTC)

For some reason, hyprland is now build with 'debug' flag enabled.

alba4k commented on 2024-11-15 09:49 (UTC)

is hyprutils up to date?

techz commented on 2024-11-13 14:24 (UTC)

Tried the tips & ticks common issue potential fixes but still havent managed to get it working:

[106/302] Compiling C++ object hyprpm/src/hyprpm.p/core_PluginManager.cpp.o
FAILED: hyprpm/src/hyprpm.p/core_PluginManager.cpp.o
ccache c++ -Ihyprpm/src/hyprpm.p -Ihyprpm/src -I../hyprpm/src -flto=auto -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -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"' '-DHYPRLAND_VERSION="0.45.0"' -DHAS_EXECINFO '-DAQUAMARINE_VERSION="0.4.3"' -DUSES_SYSTEMD -w -fPIE -DTOML_HEADER_ONLY=0 -DTOML_SHARED_LIB=1 -pthread -MD -MQ hyprpm/src/hyprpm.p/core_PluginManager.cpp.o -MF hyprpm/src/hyprpm.p/core_PluginManager.cpp.o.d -o hyprpm/src/hyprpm.p/core_PluginManager.cpp.o -c ../hyprpm/src/core/PluginManager.cpp
../hyprpm/src/core/PluginManager.cpp:26:10: fatal error: hyprutils/os/Process.hpp: No such file or directory
   26 | #include <hyprutils/os/Process.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[108/302] Precompiling header ../src/pch/pch.hpp
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().

alekgr commented on 2024-11-12 22:47 (UTC)

I don't what happened but the latest update fixed my issue ..

izmyname commented on 2024-11-11 23:20 (UTC) (edited on 2024-11-11 23:20 (UTC) by izmyname)

alekgr, better make an issue on uwsm or hyprland github tracker. Hard to say, what's wrong, without logs

alekgr commented on 2024-11-11 22:56 (UTC)

any body getting blank screen when starting hyprland(uwsm-managed) from sddm I used install uwsm from aur.

izmyname commented on 2024-11-11 18:02 (UTC)

Not only a desktop file - a sizeable wiki rewrite, too. See https://github.com/hyprwm/Hyprland/pull/8339 https://github.com/hyprwm/Hyprland/pull/8376 https://github.com/hyprwm/hyprland-wiki/pull/850

alba4k commented on 2024-11-11 17:43 (UTC)

Will remove gdb later and probably also check what other hypr* packaged need it. As for uswm I'm not really sure. Sddm was previously recommended but not an optdep. Hyprland providing a customer .desktop file just for that would be a valid reason tho. I'll consider it I guess

izmyname commented on 2024-11-11 15:01 (UTC) (edited on 2024-11-11 15:02 (UTC) by izmyname)

UPD: gdb was removed from hyprland wiki installation page. Also, I suggest adding uwsm as an optional dep, since uwsm is now a recommended way to launch Hyprland session on systemd-based distros. Additionally, Hyprland provides hyprland-uwsm.desktop file for display managers.