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

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

This is from chaotic-aur. Can you reproduce it on your own machine?

xiota commented on 2023-10-18 21:42 (UTC) (edited on 2023-10-18 21:48 (UTC) by xiota)

hyprland-git-0.31.0.r7.a0b675ec-1-x86_64.pkg.tar.zst, built yesterday, clean chroot.

$ tar tf hyprland-git-0.31.0.r7.a0b675ec-1-x86_64.pkg.tar.zst | grep xml
usr/share/hyprland-protocols/protocols/hyprland-global-shortcuts-v1.xml
usr/share/hyprland-protocols/protocols/hyprland-toplevel-export-v1.xml

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

@grappas

$ pacman -Ql hyprland-git | grep 'hyprland-toplevel-export-v1.xml'

Nope, hyprland-git does not install these files, your packages are out of date.

grappas commented on 2023-10-18 20:32 (UTC)

error: failed to commit transaction (conflicting files)
xdg-desktop-portal-hyprland-git: /usr/share/hyprland-protocols/protocols/hyprland-global-shortcuts-v1.xml exists in filesystem (owned by hyprland-git)
xdg-desktop-portal-hyprland-git: /usr/share/hyprland-protocols/protocols/hyprland-toplevel-export-v1.xml exists in filesystem (owned by hyprland-git)
xdg-desktop-portal-hyprland-git: /usr/share/pkgconfig/hyprland-protocols.pc exists in filesystem (owned by hyprland-git)
Errors occurred, no packages were upgraded.
 -> error installing repo packages

<deleted-account> commented on 2023-10-18 03:00 (UTC)

Thanks, fixed.

therafal commented on 2023-10-16 23:29 (UTC) (edited on 2023-10-16 23:37 (UTC) by therafal)

@memchr I use Artix with s6 as init. ~Seems like it still gives the same error.~

Edit: My bad, didn't clear the cache of paru. It works now. Thanks a lot

<deleted-account> commented on 2023-10-16 23:13 (UTC)

@therafal Fixed, please try again. Apparently the cause of the error is that the arch-meson script uses auto_features=enabled.

<deleted-account> commented on 2023-10-16 22:41 (UTC)

What is your system? systemd is a hard dependency of base (archlinux), required by virtually all packages, including pacman.