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 .. 23 24 25 26 27 28 29 30 Next › Last »

EinderJam commented on 2022-07-06 16:10 (UTC) (edited on 2022-07-06 21:41 (UTC) by EinderJam)

@primalmotion, @ryo1711

I managed to fix my issue:

  • /usr/lib/libwlroots.so.11032 was not owned by any package and caused conflicts when installing hyprland-git
  • /usr/lib/libwlroots.so was a symlink belonging to wlroots, pointing on libwlroots.so.11032 instead of libwlroots.so.10

What I did:

  1. reinstall wlroots to fix the symlink

    sudo pacman -S wlroots --asdeps
    
  2. Remove libwlroots.so.11032

    sudo rm /usr/lib/libwlroots.so.11032
    
  3. (re)install hyprland-git

EinderJam commented on 2022-07-06 06:13 (UTC)

@ryu1711 Thank you! @That1Calculator are you aware of the issue?

ryo1711 commented on 2022-07-02 10:39 (UTC)

@EinderJam, @primalmotion, I get the error as well with wlroots installed. Ignoring to build wlroots in the PKGBUILD (commenting out lines 66, 67, 68 and 84) fixes it though.

EinderJam commented on 2022-07-02 06:39 (UTC)

@primalmotion I also get this error when building, with wlroots installed, not wlroots-git

GuessWhatBBQ commented on 2022-06-30 12:45 (UTC) (edited on 2022-06-30 12:47 (UTC) by GuessWhatBBQ)

Cmake looks for wlroots in /usr i.e the library needs to be installed before it can begin compiling or cmake somehow needs to be pointed to the wlroots that was compiled in $(srcdir)/tmpwlr.

The best option would probably be to create a separate package in the AUR called wlroots-hyprland with the required version of wlroots compiled and to make that a dependency of hyprland-git so that it's installed in the system beforehand.

primalmotion commented on 2022-06-29 20:58 (UTC) (edited on 2022-06-29 20:59 (UTC) by primalmotion)

The last change broke the install process

error: failed to commit transaction (conflicting files)
hyprland-git: /usr/lib/libwlroots.so.11032 exists in filesystem
Errors occurred, no packages were upgraded.
 -> exit status 1

I guess this is because I already have (and need) wlroots-git installed?

ErikR commented on 2022-06-26 12:42 (UTC)

Any way of installing hyprland-git while also having sway-git and wlroots-git installed?

dr460nf1r3 commented on 2022-06-15 14:49 (UTC) (edited on 2022-06-19 18:10 (UTC) by dr460nf1r3)

[379/379] Linking target examples/pointer cd wlroots && sudo ninja -C build/ install Why exactly is sudo required here? This should not be the case, it breaks automated builds. Edit: opened an issue as the makefile causes the problem.

FabioLolix commented on 2022-06-12 21:03 (UTC)

I am on a quad-core machine and a part of the build runs with -j 10 which could cause issues and slower builds.

@8x13b that is not set by the pkgbuild