I installed the wlroots header files because a) it's what the [extra] repo package does, b) hyprland includes wlroots with their own patches, and c) any hyprland plugins likely expect these files to be able to build
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)
- Show 39 more...
Sources (2)
Latest Comments
« First ‹ Previous 1 .. 21 22 23 24 25 26 27 28 29 30 31 32 Next › Last »
eclairevoyant commented on 2023-06-18 02:50 (UTC) (edited on 2023-06-18 02:52 (UTC) by eclairevoyant)
FabioLolix commented on 2023-06-17 13:36 (UTC)
why is install wlroots for,etc?
Wayland compositor based on wlroots
and is used as git submodules instead of using the system version (may not be compatible with system version)
rpi2 commented on 2023-06-17 02:35 (UTC)
why is install wlroots for,etc?
mitch_mg2 commented on 2023-06-15 23:49 (UTC)
@eclairevoyant. Build works! Congrats. Now we wait...
eclairevoyant commented on 2023-06-15 23:38 (UTC) (edited on 2023-06-15 23:39 (UTC) by eclairevoyant)
Fixed PKGBUILD here: https://gist.github.com/eclairevoyant/0007c44a52c715f243452d17362104b3#file-pkgbuild
This also fixes a reference to $srcdir
in /usr/include/hyprland/wlroots/config.h
eclairevoyant commented on 2023-06-15 22:40 (UTC)
Anyway I'm working on a PKGBUILD that should fix-fix all the issues below. Maybe I'll file a bug report for the Arch package too since it seems to have the missing-RELRO issue as well...
eclairevoyant commented on 2023-06-15 22:27 (UTC) (edited on 2023-06-15 22:27 (UTC) by eclairevoyant)
@mitch_mg2 your PKGBUILD also doesn't follow the git submodule guidelines as per https://wiki.archlinux.org/title/VCS_package_guidelines#Git_submodules and also doesn't handle LDFLAGS fully because it builds without RELRO - it has fixed it for Hyprland
and the so-file but not for hyprctl
. namcap
also highlights an insecure RUNPATH here which I just noticed (same issue in the AUR PKGBUILD though).
Also I just noticed that gcc
is in the makedepends
, it should be removed since it's part of base-devel
.
But to answer @rpi2's question, it builds fine in a clean chroot. So..... build in a clean chroot lol
mitch_mg2 commented on 2023-06-15 17:58 (UTC)
@rpi2. Raise an issue on the github so we don't litter the comments section with troubleshooting. This original PKGBUILD from 2023-03-20 has built fine for me on 0.26, which you were not able to build either and had to revert to 2947. I tested my custom PKGBUILD on a clean docker instance of arch:base-devel using this script (it uses yay as its aur helper): https://github.com/Stunkymonkey/aur-pkgbuild-tester
I built it successfully just some 15 minutes ago on the latest git commit "[gha] bump flake inputs" Im thinking it might be some sort of configuration error. I can help you over at github issues. @eclairevoyant and @Brynte can you test this as well?
rpi2 commented on 2023-06-15 10:07 (UTC)
@mitch_mg2, wlroots update & PKGBUILD got error.
mitch_mg2 commented on 2023-06-14 16:47 (UTC)
Sorry for the github plug, but I've hosted a revised PKGBUILD in my own repo, use at your own risk. Here are the following changes:
Removed the options flags that almost certainly caused the LDFLAGS errors (Section 4.4 in the ArchWiki: https://wiki.archlinux.org/title/makepkg ). Outright copy pasted @eclairevoyant's pkgver line. Removed -j flag Build and Package functions almost entirely copied off official repo package. There was a few discrepancies with file permissions Inserted header files several plugins rely on (such as hy3) that do not exist in the -git PKGBUILD. Also off the official PKGBUILD. Added a quick "prepare" function. Could use some revision but seems to work for now. Changed arch to x86_64 and aaarch64.
Please let me know of any issues with my edited PKGBUILD. Again, use at your own risk, this is experimental. https://github.com/MitchMG2/HyprlandPKGBUILDCustom
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.