Package Details: hyprland-git 0.44.0.r123.0ec128e5-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: 96
Popularity: 8.54
First Submitted: 2022-04-12 20:26 (UTC)
Last Updated: 2024-11-11 21:42 (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 2 3 4 5 6 7 8 9 .. 32 Next › Last »

alba4k commented on 2024-10-15 09:15 (UTC)

-git is always latest, reinstall aq-git to get that version

techz commented on 2024-10-15 01:42 (UTC)

Cannot update/install. Dep aquamarine-git needs version >= 0.4.2 but its on version 0.4.1

alba4k commented on 2024-10-14 07:22 (UTC)

You need to update xdg-desktop-portal-hyprland-git first

<deleted-account> commented on 2024-10-14 04:30 (UTC)

It builds, but can't 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-git) Errors occurred, no packages were upgraded. -> error installing: [/home/arch-mage/.cache/pacman/pkg/hyprland-git-0.44.0.r40.e7fd0f5a-1-x86_64.pkg.tar.zst] - exit status 1

xAsh commented on 2024-09-19 13:10 (UTC)

aquamarine broke the build again

<deleted-account> commented on 2024-09-19 11:46 (UTC)

Doesn't build

FAILED: src/Hyprland.p/debug_HyprCtl.cpp.o c++ -Isrc/Hyprland.p -Isrc -I../src -Isubprojects/udis86 -I../subprojects/udis86 -I../subprojects/udis86/libudis86 -Isubprojects/udis86/__CMake_build -I../subprojects/udis86/__CMake_build -Iprotocols -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/uuid -flto=auto -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -fpch-preprocess -include pch.hpp -D_FILE_OFFSET_BITS=64 -std=c++26 -O3 -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing -Wno-pointer-arith '-DDATAROOTDIR="/usr/share"' -DHAS_EXECINFO -DUSES_SYSTEMD -w -fPIE -pthread -MD -MQ src/Hyprland.p/debug_HyprCtl.cpp.o -MF src/Hyprland.p/debug_HyprCtl.cpp.o.d -o src/Hyprland.p/debug_HyprCtl.cpp.o -c ../src/debug/HyprCtl.cpp ../src/debug/HyprCtl.cpp: In function ‘std::string versionRequest(eHyprCtlOutputFormat, std::string)’: ../src/debug/HyprCtl.cpp:861:143: error: ‘AQUAMARINE_VERSION’ was not declared in this scope; did you mean ‘AQUAMARINE_FORWARD’? 861 | ").\nDate: " + GIT_COMMIT_DATE + "\nTag: " + GIT_TAG + ", commits: " + GIT_COMMITS + std::string{"\nbuilt against aquamarine "} + AQUAMARINE_VERSION + "\n" + | ^~~~~~~~~~~~~~~~~~ | AQUAMARINE_FORWARD ../src/debug/HyprCtl.cpp:888:13: error: ‘AQUAMARINE_VERSION’ was not declared in this scope; did you mean ‘AQUAMARINE_FORWARD’? 888 | AQUAMARINE_VERSION); | ^~~~~~~~~~~~~~~~~~ | AQUAMARINE_FORWARD [159/293] Compiling C++ object src/Hyprland.p/desktop_Window.cpp.o ninja: build stopped: subcommand failed.

zjeffer commented on 2024-08-24 16:38 (UTC)

Updated the package to use aquamarine-git again instead of the non-git version. Should solve issues where users had to manually resolve package dependency conflicts.

<deleted-account> commented on 2024-08-24 15:11 (UTC)

Everything builds, as expected. Should the package be unmarked as out-of-date, since this is a git package and there aren't any problems with it?

<deleted-account> commented on 2024-08-19 21:14 (UTC)

@swiftRiver, it doesn't help.

swiftRiver commented on 2024-08-19 19:16 (UTC)

@arch-mage remove everything and then run

paru -S hyprcursor-git aquamarine-git hyprlang-git hyprland-git