yeah, my solution working pastebin: https://pastebin.com/gaJSBa8g
UPD: no it s not
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) |
yeah, my solution working pastebin: https://pastebin.com/gaJSBa8g
UPD: no it s not
about privileges... maybe problem cause in "make" in build() instead of "make PREFIX=/usr" and "PREFIX=/usr" in package() should be removed?
pkgver can be fixed, there is this problem too https://github.com/vaxerski/Hyprland/issues/16
(btw pkgname don't have to be in pkgdesc=)
also chroot does not have enough privileges to create .desktop, /usr/bin and /usr/share files
as i can see, pkgver() is useless, it returns '', what breaks building
Hello,
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
tobuild()
.Build with specific pull requests
Use
pick_mr <pull request number>
at the end ofprepare()
to merge pull requests locally. For example, to merge https://github.com/hyprwm/Hyprland/pull/6268, useEnable legacy renderer
In the
build()
function, add-D legacy_renderer=true
to meson setupCompilation errors
If you encounter compilation errors, try the following first:
protocols/
, such asprotocols/linux-dmabuf-v1.hpp
, then rebuild or installhyprwayland-scanner-git
;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.