Package Details: hyprland-git 0.44.0.r46.0baf166d-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: 94
Popularity: 8.13
First Submitted: 2022-04-12 20:26 (UTC)
Last Updated: 2024-10-17 15:07 (UTC)

Dependencies (54)

Required by (57)

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 .. 5 6 7 8 9 10 11 12 13 14 15 .. 30 Next › Last »

<deleted-account> commented on 2024-04-13 13:29 (UTC)

@marianoboragno

Changes applied, thank you.

maxbko commented on 2024-04-13 12:44 (UTC)

Tried to install hyprland-git using yay to migrate from hyprland-nvidia 0.31.0-2 but get this error when installing hyprland-git: Submodule 'subprojects/hyprland-protocols' (https://github.com/hyprwm/hyprland-protocols) registered for path 'subprojects/hyprland-protocols' Submodule 'subprojects/tracy' (https://github.com/wolfpld/tracy) registered for path 'subprojects/tracy' Submodule 'subprojects/udis86' (https://github.com/canihavesomecoffee/udis86) registered for path 'subprojects/udis86' Submodule 'subprojects/wlroots-hyprland' (https://github.com/hyprwm/wlroots-hyprland) registered for path 'subprojects/wlroots-hyprland' Cloning into '/home/maxb/.cache/yay/hyprland-git/src/Hyprland/subprojects/hyprland-protocols'... done. Cloning into '/home/maxb/.cache/yay/hyprland-git/src/Hyprland/subprojects/tracy'... done. Cloning into '/home/maxb/.cache/yay/hyprland-git/src/Hyprland/subprojects/udis86'... done. Cloning into '/home/maxb/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots-hyprland'... Submodule path 'subprojects/hyprland-protocols': checked out '0c2ce70625cb30aef199cb388f99e19a61a6ce03' Submodule path 'subprojects/tracy': checked out '37aff70dfa50cf6307b3fee6074d627dc2929143' Submodule path 'subprojects/udis86': checked out '5336633af70f3917760a6d441ff02d93477b0c86' Submodule path 'subprojects/wlroots-hyprland': checked out '62eeffbe233d199f520a5755c344e85f8eab7940' fatal: cannot change to 'subprojects/wlroots': No such file or directory ==> ERROR: A failure occurred in prepare(). Aborting... -> error making: hyprland-git-exit status 4 -> Failed to install the following packages. Manual intervention is required: hyprland-git - exit status 4

Can anyone help fixing it? I've tried cleanBuild option but it doesn't help

marianoboragno commented on 2024-04-13 02:35 (UTC) (edited on 2024-04-13 02:37 (UTC) by marianoboragno)

Vaxry forked wlroot, so the library has to be pulled from his fork. Create PKGBUILD.patch with the contents below and patch PKGBUILD. This will let you update Hyprland. Good luck!

EDIT: the format broke the patch, get it here: https://pastebin.com/7WPZ7ewq

alekgr commented on 2024-04-12 23:29 (UTC)

today its not building in prepare()

==> Starting prepare()... Submodule 'subprojects/hyprland-protocols' (https://github.com/hyprwm/hyprland-protocols) registered for path 'subprojects/hyprland-protocols' Submodule 'subprojects/tracy' (https://github.com/wolfpld/tracy) registered for path 'subprojects/tracy' Submodule 'subprojects/udis86' (https://github.com/canihavesomecoffee/udis86) registered for path 'subprojects/udis86' Submodule 'subprojects/wlroots-hyprland' (https://github.com/hyprwm/wlroots-hyprland) registered for path 'subprojects/wlroots-hyprland' Cloning into '/home/alek/.cache/paru/clone/hyprland-git/src/Hyprland/subprojects/hyprland-protocols'... done. Cloning into '/home/alek/.cache/paru/clone/hyprland-git/src/Hyprland/subprojects/tracy'... done. Cloning into '/home/alek/.cache/paru/clone/hyprland-git/src/Hyprland/subprojects/udis86'... done. Cloning into '/home/alek/.cache/paru/clone/hyprland-git/src/Hyprland/subprojects/wlroots-hyprland'... Submodule path 'subprojects/hyprland-protocols': checked out '0c2ce70625cb30aef199cb388f99e19a61a6ce03' Submodule path 'subprojects/tracy': checked out '37aff70dfa50cf6307b3fee6074d627dc2929143' Submodule path 'subprojects/udis86': checked out '5336633af70f3917760a6d441ff02d93477b0c86' Submodule path 'subprojects/wlroots-hyprland': checked out '62eeffbe233d199f520a5755c344e85f8eab7940' fatal: cannot change to 'subprojects/wlroots': No such file or directory ==> ERROR: A failure occurred in prepare(). Aborting... error: failed to build 'hyprland-git-0.35.0.r104.bc3f5b94-1': error: packages failed to build: hyprland-git-0.35.0.r104.bc3f5b94-1

<deleted-account> commented on 2024-04-01 04:17 (UTC)

@landb0x207

Indeed, thank you for the notification, the package has been updated accordingly.

landb0x207 commented on 2024-04-01 04:10 (UTC) (edited on 2024-04-01 04:10 (UTC) by landb0x207)

@memchr

hyprpm update uses the Makefile to install Hyprland's headers and since the installheaders target depends upon cpio, shouldn't that make it a runtime dependency?

<deleted-account> commented on 2024-03-31 09:39 (UTC)

@landb0x207

This PKGBUILD doesn't use Makefile.

landb0x207 commented on 2024-03-30 15:56 (UTC) (edited on 2024-03-30 15:56 (UTC) by landb0x207)

hyprpm depends upon cpio but the PKGBUILD is missing this dependency. cpio is called in the installheaders target for the makefile (see here)

<deleted-account> commented on 2024-03-29 06:17 (UTC)

hyprcursor seems to now be required (Hyprland wouldn't launch until I installed it), should be added as a dependency.

I don't understand, it's been in the PKGBUILD for 4 weeks.

rabcor commented on 2024-03-29 06:14 (UTC)

hyprcursor seems to now be required (Hyprland wouldn't launch until I installed it), should be added as a dependency.