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 .. 11 12 13 14 15 16 17 18 19 20 21 .. 32 Next › Last »

marten commented on 2023-12-27 16:06 (UTC)

Indeed, with --devel flag it works :), thanks!

kescherAUR commented on 2023-12-27 15:59 (UTC)

Maybe a yay issue, but also maybe you didn't enable --devel in yay, which is needed for VCS packages. Either way, with Devel enabled for paru, it works fine.

marten commented on 2023-12-27 15:52 (UTC) (edited on 2023-12-27 15:52 (UTC) by marten)

Sorry, my bad. Both yay -Syu or just yay (implicit yay -Syu) don't update the package.

marten commented on 2023-12-27 15:24 (UTC) (edited on 2023-12-27 15:25 (UTC) by marten)

yay -Syy doesn't update this package. This package is treated as up-to-date despite it being clearly not on my machine.

Only explicit reinstallation using yay -S hyprland-git updated the package to HEAD.

Why does this package not get automatically updated using yay? Do I do sth wrong?

<deleted-account> commented on 2023-12-13 03:41 (UTC)

Looks like a pre-processor problem (NDEBUG disables asserts).

https://github.com/hyprwm/Hyprland/pull/3702

dickby commented on 2023-12-13 00:05 (UTC)

@xiota hyprctl version shows

flags: (if any)
debug

If i build it manually from the cloned git repo with make release this flag is not set

dickby commented on 2023-12-12 17:31 (UTC)

This seems to produce a debug build.