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.30
First Submitted: 2022-04-12 20:26 (UTC)
Last Updated: 2024-11-21 17:56 (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

« First ‹ Previous 1 .. 8 9 10 11 12 13 14 15 16 17 18 .. 32 Next › Last »

KosmX commented on 2024-03-15 23:44 (UTC)

building fails in chroot (something is missing)

==> ERROR: Could not resolve all dependencies. ==> ERROR: Build failed, check /var/lib/aurbuild/x86_64/kosmx/build error: failed to download sources for '{}': failed to run: makechrootpkg -cu -r /var/lib/aurbuild/x86_64 -d /var/cache/pacman/pkg/ -- -ofA: error: packages failed to build: hyprland-git-0.35.0.r104.bc3f5b94-1

facet commented on 2024-03-10 08:52 (UTC)

@memchr remove clangbincc works for me. Maybe add it as a conflict package?

alekgr commented on 2024-03-09 23:31 (UTC)

Well got it install after reinstalling hyprcursor (need higher version of hyprlang)

alekgr commented on 2024-03-09 23:09 (UTC)

hyprcursor and hyprcusor-git doesn't install

Ghosthree3 commented on 2024-03-09 18:04 (UTC)

Seems to require hyprcursor now.

Run-time dependency hyprcursor found: NO (tried pkgconfig and cmake)

src/meson.build:14:4: ERROR: Dependency "hyprcursor" not found, tried pkgconfig and cmake

zakklol commented on 2024-03-09 06:17 (UTC)

A word of warning/if you're desperately googling I hope you find this:

Clean builds of hyprland-git were generating unstable binaries for me. Random crashes, black screens etc. I figured out that deleting ~/.config/sccache directory fixes it. Uninstalling the sccache package should also work. I think it may have gotten installed via some build dependency, but I can't find exactly what.

<deleted-account> commented on 2024-03-08 05:24 (UTC)

@facet

Cannot be reproduced.

What is the output of

objdump -f build/protocols/libserver_protos.a

facet commented on 2024-03-08 04:44 (UTC)

cannot build as:

/usr/bin/ld: protocols/libserver_protos.a: error adding symbols: file format not recognized

ShinobiX9X commented on 2024-03-03 06:22 (UTC)

@memchr, Thank you, I was on hyprlang-git from the AUR which has a lower number. I now replaced it with the pacman hyprlang package.

<deleted-account> commented on 2024-03-02 08:33 (UTC)

@ShinobiX9X

pacman -Syu

The hyprlang version in the repo is 0.4.1-1.