Got flagged a couple of times that the pkgver
was too low, so I changed it to zero.
Search Criteria
Package Details: hyprland-git 0.45.0.r18.3fb47372-1
Package Actions
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) |
Dependencies (54)
- aquamarine-gitAUR
- cairo (cairo-gitAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR)
- glslang (glslang-gitAUR)
- hyprcursor-gitAUR
- hyprlang-gitAUR
- hyprutils-gitAUR
- libdisplay-info (libdisplay-info-gitAUR)
- libdrm (libdrm-gitAUR)
- libglvnd (libglvnd-gitAUR)
- libinput (libinput-noaccumAUR, libinput-multiplierAUR, libinput-three-finger-dragAUR)
- libliftoff (libliftoff-gitAUR)
- libx11 (libx11-gitAUR)
- libxcb (libxcb-gitAUR)
- libxcomposite
- libxcursor
- libxfixes
- libxkbcommon (libxkbcommon-gitAUR)
- libxrender
- mesa (mesa-minimal-gitAUR, mesa-gitAUR, mesa-wsl2-gitAUR, amdonly-gaming-mesa-gitAUR, mesa-amd-bc250AUR, mesa-amber)
- opengl-driver (nvidia-410xx-utilsAUR, nvidia-440xx-utilsAUR, nvidia-430xx-utilsAUR, nvidia-vulkan-utilsAUR, nvidia-390xx-utilsAUR, mesa-minimal-gitAUR, mesa-gitAUR, nvidia-utils-teslaAUR, mesa-wsl2-gitAUR, nvidia-535xx-utilsAUR, nvidia-525xx-utilsAUR, nvidia-510xx-utilsAUR, nvidia-utils-betaAUR, nvidia-470xx-utilsAUR, amdonly-gaming-mesa-gitAUR, mesa-amd-bc250AUR, nvidia-550xx-utilsAUR, mesa, mesa-amber, nvidia-utils)
- pango (pango-gitAUR)
- pixman (pixman-gitAUR)
- polkit (polkit-gitAUR, polkit-consolekitAUR)
- seatd (seatd-gitAUR)
- systemd-libs (systemd-chromiumos-libsAUR, systemd-libs-selinuxAUR, sysupdated-systemd-libs-gitAUR, systemd-libs-gitAUR, systemd-libs-fmlAUR)
- tomlplusplus
- wayland (wayland-gitAUR, wayland-asan-gitAUR, wayland-chromiumAUR)
- wayland-protocols (wayland-protocols-gitAUR)
- xcb-proto (xcb-proto-gitAUR)
- xcb-util
- xcb-util-errors
- xcb-util-image
- xcb-util-keysyms
- xcb-util-renderutil
- xcb-util-wm
- xorg-xwayland (xorg-xwayland-gitAUR, xorg-xwayland-hidpi-xpropAUR, xorg-xwayland-bug865-issue1578AUR)
- cmake (cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- hyprland-protocols-gitAUR (make)
- hyprwayland-scanner-gitAUR (make)
- jq (jq-gitAUR) (make)
- make (make-gitAUR) (make)
- meson (meson-gitAUR) (make)
- ninja (ninja-kitwareAUR, ninja-memAUR, ninja-fuchsia-gitAUR, ninja-gitAUR, ninja-jobserverAUR) (make)
- patch (patch-gitAUR) (make)
- pkgconf (pkgconf-gitAUR) (make)
- xorgproto (xorgproto-gitAUR) (make)
- cmake (cmake-gitAUR) (optional) – to build and install plugins using hyprpm
- cpio (cpio-gitAUR) (optional) – to build and install plugins using hyprpm
- meson (meson-gitAUR) (optional) – to build and install plugins using hyprpm
- uwsmAUR (optional) – the recommended way to start Hyprland
Required by (59)
- focal-hyprland-git (requires hyprland)
- gbar-git (requires hyprland) (optional)
- grimblast-git (requires hyprland)
- hdisplays (requires hyprland) (make)
- hy3 (requires hyprland)
- hy3-git (requires hyprland)
- hycov-git (requires hyprland)
- hypr-trans-git (requires hyprland)
- hyprdim (requires hyprland)
- hyprdwl-git (requires hyprland)
- hyprforest-installer-bin (requires hyprland) (optional)
- hyprfreeze-git (requires hyprland)
- hyprgui (requires hyprland) (optional)
- hyprgui-bin (requires hyprland) (optional)
- hyprland-activewindow (requires hyprland)
- hyprland-autoname-workspaces-git (requires hyprland)
- hyprland-plugin-borders-plus-plus (requires hyprland)
- hyprland-plugin-borders-plus-plus (requires hyprland) (make)
- hyprland-plugin-borders-plus-plus-git (make)
- hyprland-plugin-csgo-vulkan-fix (requires hyprland)
- hyprland-plugin-csgo-vulkan-fix (requires hyprland) (make)
- hyprland-plugin-csgo-vulkan-fix-git (make)
- hyprland-plugin-hyprbars (requires hyprland)
- hyprland-plugin-hyprbars (requires hyprland) (make)
- hyprland-plugin-hyprbars-git (make)
- hyprland-plugin-hyprexpo (requires hyprland)
- hyprland-plugin-hyprexpo (requires hyprland) (make)
- hyprland-plugin-hyprscroller-git (requires hyprland)
- hyprland-plugin-hyprtrails (requires hyprland)
- hyprland-plugin-hyprtrails (requires hyprland) (make)
- hyprland-plugin-hyprtrails-git (make)
- hyprland-plugin-hyprwinwrap (requires hyprland)
- hyprland-plugin-hyprwinwrap (requires hyprland) (make)
- hyprland-plugin-hyprwinwrap-git (make)
- hyprland-scratchpad-git (requires hyprland)
- hyprland-target (requires hyprland)
- hyprland-workspaces (requires hyprland)
- hyprlux (requires hyprland)
- hyproled-git (requires hyprland)
- hyprpanel (requires hyprland)
- hyprpanel-bin (requires hyprland)
- hyprpaper-gen-git (requires hyprland) (optional)
- hyprscratch (requires hyprland)
- hyprshade (requires hyprland)
- hyprshade-git (requires hyprland)
- hyprshade-rewrite-git (requires hyprland)
- hyprsome-git (requires hyprland)
- hyprsunset (requires hyprland)
- hyprswitch (requires hyprland)
- lxqt-wayland-session-git (requires hyprland) (optional)
- mist-de (requires hyprland)
- ml4w-hyprland (requires hyprland)
- ml4w-hyprland-git (requires hyprland)
- pyprland (requires hyprland)
- signal-desktop-fix-sway (requires hyprland) (optional)
- wallpickr-git (requires hyprland)
- wlr-layout-ui (requires hyprland) (optional)
- wlr-layout-ui-git (requires hyprland) (optional)
- xdg-desktop-portal-hyprland-git (requires hyprland) (optional)
Sources (2)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 12 .. 32 Next › Last »
<deleted-account> commented on 2024-06-27 07:15 (UTC)
DodoGTA commented on 2024-06-27 07:00 (UTC)
Why does this package have a 0 pkgver in the AUR listing?
earlybird commented on 2024-06-26 09:46 (UTC)
Here is a working pkgbuild - https://pastebin.com/anARcKRb
<deleted-account> commented on 2024-06-26 05:55 (UTC)
The libdisplay-info
problem is caused by the PKGBUILD having libdisplay-info.so.1
in the dependency array. To fix this, uninstall hyprland-git
, upgrade libdisplay-info and then reinstall hyprland-git
hyprland is not the solo consumer of libdisplay-info
, using the git version may cause conflicts. so it's not an option.
<deleted-account> commented on 2024-06-26 05:55 (UTC)
The libdisplay-info
problem is caused by the older PKGBUILDs having libdisplay-info.so.1
in the dependency array. To fix this, uninstall hyprland-git
, upgrade libdisplay-info and then reinstall hyprland-git
hyprland is not the solo consumer of libdisplay-info
, using the git version may cause conflicts. so it's not an option.
earlybird commented on 2024-06-23 07:30 (UTC) (edited on 2024-06-23 07:31 (UTC) by earlybird)
Why not change these ( hyprutils hyprcursor hyprlang hyprwayland-scanner libdisplay-info) into their -git counterparts in the PKGBUILDS?
zjeffer commented on 2024-06-10 20:19 (UTC)
@memchr
Hyprland source changes frequently, it is recommended to use the -git version of the dependent hyprwm libraries.
Indeed, so can't you change the PKGBUILD to depend on the -git libraries instead of the non-git ones?
Currently, on a new system running paru -S hyprland-git
will install the non-git dependencies, failing the compilation of Hyprland.
<deleted-account> commented on 2024-06-10 00:39 (UTC)
hyprwm libraries
Hyprland source changes frequently, it is recommended to use the -git
version of the dependent hyprwm libraries.
- hyprutils-git
- hyprcursor-git
- hyprlang-git
paru
paru -S --asdeps hyprutils-git hyprlang-git hyprcursor-git
yay
yay -S --asdeps hyprutils-git hyprlang-git hyprcursor-git
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 asprotocols/linux-dmabuf-v1.hpp
, then rebuild or installhyprwayland-scanner-git
; - Use
-git
packages for all hyprwm libraries; - Compile with
makepkg --cleanbulid
.
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.
alekgr commented on 2024-06-09 05:13 (UTC)
looks like hyprutils( newe repo) is needed here to build hyprland
-
The C compiler identification is GNU 14.1.1 -- The CXX compiler identification is GNU 14.1.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring hyprlang in Release -- Found PkgConfig: /usr/bin/pkg-config (found version "2.1.1") -- Checking for module 'hyprutils>=0.1.1' -- Package 'hyprutils', required by 'virtual:world', not found CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:634 (message): The following required packages were not found:
-
hyprutils>=0.1.1
Call Stack (most recent call first): /usr/share/cmake/Modules/FindPkgConfig.cmake:862 (_pkg_check_modules_internal) CMakeLists.txt:32 (pkg_check_modules)
-- Configuring incomplete, errors occurred! ==> ERROR: A failure occurred
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.