Package Details: hyprland-git 0.45.0.r18.3fb47372-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: 97
Popularity: 8.47
First Submitted: 2022-04-12 20:26 (UTC)
Last Updated: 2024-11-21 17:56 (UTC)

Required by (59)

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 .. 18 19 20 21 22 23 24 25 26 27 28 .. 32 Next › Last »

MarcusE1W commented on 2023-10-06 10:36 (UTC)

I have found this issue for hyprland. Could that be useful ? https://github.com/hyprwm/Hyprland/issues/3263

rpi2 commented on 2023-10-03 00:00 (UTC)

can we edit some EXPORT to gcc-12?

<deleted-account> commented on 2023-10-02 22:35 (UTC)

Use gcc-13, upstream doesn't support gcc < 13 and clang < 16.

rpi2 commented on 2023-10-02 22:34 (UTC)

had same issue '#include <format> error', gcc-12.1

<deleted-account> commented on 2023-10-02 11:44 (UTC)

@MarcusE1W <format> is part of c++20. What compiler are you using?

MarcusE1W commented on 2023-10-02 11:31 (UTC) (edited on 2023-10-06 07:43 (UTC) by MarcusE1W)

I get an error when compiling the package for Vector2D.hpp:

/home/mmw/.cache/yay/hyprland-git/src/Hyprland/src/helpers/Vector2D.hpp:4:10: fatal error: format: No such file or directory
    4 | #include <format>
      |          ^~~~~~~~
compilation terminated.

Any ideas?

edit: I am using gcc12.1

<deleted-account> commented on 2023-09-30 02:55 (UTC)

Oops, this is after 1.0, I don't think it makes sense for this package to include xdg portal files anyway, removed.

<deleted-account> commented on 2023-09-30 02:42 (UTC)

Regarding hyprland-portals.conf, it is included in xdg-desktop-portal-hyprland, so the latest version of hyprland-git that also tries to include it cannot be installed:

I don't think the repo package includes it.

$ pacman -Fl xdg-desktop-portal-hyprland | grep usr/share/xdg-desktop-portal/
xdg-desktop-portal-hyprland usr/share/xdg-desktop-portal/
xdg-desktop-portal-hyprland usr/share/xdg-desktop-portal/portals/
xdg-desktop-portal-hyprland usr/share/xdg-desktop-portal/portals/hyprland.portal

Are you talking about the aur package?

bd4 commented on 2023-09-30 00:29 (UTC) (edited on 2023-09-30 00:30 (UTC) by bd4)

Regarding hyprland-portals.conf, it is included in xdg-desktop-portal-hyprland, so the latest version of hyprland-git that also tries to include it cannot be installed:

error: failed to commit transaction (conflicting files)
hyprland-git: /usr/share/xdg-desktop-portal/hyprland-portals.conf exists in filesystem (owned by xdg-desktop-portal-hyprland)
Errors occurred, no packages were upgraded.

I am not sure what the correct resolution is - should the file be removed from xdg-desktop-portal-hyprland and always be in hyprland?

rpi2 commented on 2023-09-29 22:27 (UTC)

aarch64, cmake --build ./build --config Release --target all -jnproc 2>/dev/null || getconf NPROCESSORS_CONF [0/2] Re-checking globbed directories... [17/86] Building CXX object CMakeFiles/Hyprland.dir/cmake_pch.hxx.gch FAILED: CMakeFiles/Hyprland.dir/cmake_pch.hxx.gch ...(more)