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

Dependencies (54)

Required by (56)

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

<deleted-account> commented on 2023-11-11 00:30 (UTC)

This is a git package that always tracks the latest HEAD on the main branch. Please do not flag it as outdated because of the version number on the AUR web is low.

thatoneguy commented on 2023-11-02 03:37 (UTC)

@memchr yup. That worked. Thanks!

<deleted-account> commented on 2023-11-02 03:27 (UTC)

@thatoneguy Please update your local git clone of this PKGBUILD, which doesn't use the upstream makefile at all.

thatoneguy commented on 2023-11-02 03:25 (UTC) (edited on 2023-11-02 03:27 (UTC) by thatoneguy)

Build/install fails with the following error because the fixwlr make rule was removed in commit d4e4931 upstream. Please update the PKGBUILD.

Submodule path 'subprojects/hyprland-protocols': checked out '0c2ce70625cb30aef199cb388f99e19a61a6ce03'
Submodule path 'subprojects/tracy': checked out '897aec5b062664d2485f4f9a213715d2e527e0ca'
Submodule path 'subprojects/udis86': checked out '5336633af70f3917760a6d441ff02d93477b0c86'
Submodule path 'subprojects/wlroots': checked out '3406c1b17a4a7e6d4e2a7d9c1176affa72bce1bc'
make: *** No rule to make target 'fixwlr'.  Stop.
==> ERROR: A failure occurred in prepare().
    Aborting...

xiota commented on 2023-10-22 11:47 (UTC) (edited on 2023-10-22 11:49 (UTC) by xiota)

@memchr patch should not be in makedepends. It is installed with base-devel, which is an implied make dependency for all packages.

<deleted-account> commented on 2023-10-22 11:09 (UTC)

See comment https://aur.archlinux.org/packages/hyprland-git?O=30#comment-937055

Sorry, won't fix, as stated upstream, gcc >= 13 must be used.

MarcusE1W commented on 2023-10-22 11:00 (UTC)

On ArchlinuxARM is still only gcc12, but it has clang16, so I tried to use that. I used: export CC=clang and export CXX=clang++. However I get this error now right at the start:

Project version: 0.31.0
C compiler for the host machine: clang (clang 16.0.6 "clang version 16.0.6")
C linker for the host machine: clang ld.bfd 2.38
C++ compiler for the host machine: clang++ (clang 16.0.6 "clang version 16.0.6")
C++ linker for the host machine: clang++ ld.bfd 2.38
Host machine cpu family: aarch64
Host machine cpu: aarch64
Compiler for C++ supports arguments -std=c++23: NO 
Compiler for C++ supports arguments -std=c++2b: NO 

meson.build:20:2: ERROR: Problem encountered: Could not configure current C++ compiler (clang 16.0.6) with required C++ standard (C++23)

What would be the correct setup to use clang16 ?

Polar_Phoenix commented on 2023-10-22 06:31 (UTC)

patch command is used in prepare(). I suggest it need to be added in makedepends

<deleted-account> commented on 2023-10-21 21:50 (UTC)

@MarcusE1W Use gcc >= 13 or clang >= 16.

MarcusE1W commented on 2023-10-21 11:10 (UTC)

I still get this error:

../src/helpers/Vector2D.hpp:4:10: fatal error: format: No such file or directory
    4 | #include <format>
      |          ^~~~~~~~
compilation terminated.
[367/439] Linking target subprojects/wlroots/libwlroots.so.12032

Is there a solutions ?