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 2 3 4 5 6 7 8 9 10 .. 30 Next › Last »

zjeffer commented on 2024-06-29 07:59 (UTC)

@xiota SCRINFO should now be fixed.

<deleted-account> commented on 2024-06-27 07:15 (UTC)

Got flagged a couple of times that the pkgver was too low, so I changed it to zero.

DodoGTA commented on 2024-06-27 07:00 (UTC)

Why does this package have a 0 pkgver in the AUR listing?

earlybird commented on 2024-06-26 09:46 (UTC)

Here is a working pkgbuild - https://pastebin.com/anARcKRb

<deleted-account> commented on 2024-06-26 05:55 (UTC)

The libdisplay-info problem is caused by the PKGBUILD having libdisplay-info.so.1 in the dependency array. To fix this, uninstall hyprland-git, upgrade libdisplay-info and then reinstall hyprland-git

hyprland is not the solo consumer of libdisplay-info, using the git version may cause conflicts. so it's not an option.

<deleted-account> commented on 2024-06-26 05:55 (UTC)

The libdisplay-info problem is caused by the older PKGBUILDs having libdisplay-info.so.1 in the dependency array. To fix this, uninstall hyprland-git, upgrade libdisplay-info and then reinstall hyprland-git

hyprland is not the solo consumer of libdisplay-info, using the git version may cause conflicts. so it's not an option.

earlybird commented on 2024-06-23 07:30 (UTC) (edited on 2024-06-23 07:31 (UTC) by earlybird)

Why not change these ( hyprutils hyprcursor hyprlang hyprwayland-scanner libdisplay-info) into their -git counterparts in the PKGBUILDS?

zjeffer commented on 2024-06-10 20:19 (UTC)

@memchr

Hyprland source changes frequently, it is recommended to use the -git version of the dependent hyprwm libraries.

Indeed, so can't you change the PKGBUILD to depend on the -git libraries instead of the non-git ones?

Currently, on a new system running paru -S hyprland-git will install the non-git dependencies, failing the compilation of Hyprland.

<deleted-account> commented on 2024-06-10 00:39 (UTC)

hyprwm libraries

Hyprland source changes frequently, it is recommended to use the -git version of the dependent hyprwm libraries.

  • hyprutils-git
  • hyprcursor-git
  • hyprlang-git

paru

paru -S --asdeps hyprutils-git hyprlang-git hyprcursor-git

yay

yay -S --asdeps hyprutils-git hyprlang-git hyprcursor-git

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;
  • Use -git packages for all hyprwm libraries;
  • Compile with makepkg --cleanbulid.

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.