Seconded on the new dependency for hyprlang.
I pulled updates today and the build of this package failed due to the new dependency.
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, wayland-compositor |
Submitter: | hertog |
Maintainer: | Vaxry (zjeffer, alba4k) |
Last Packager: | alba4k |
Votes: | 95 |
Popularity: | 2.51 |
First Submitted: | 2022-04-12 20:26 (UTC) |
Last Updated: | 2025-04-11 23:37 (UTC) |
« First ‹ Previous 1 .. 17 18 19 20 21 22 23 24 25 26 27 .. 40 Next › Last »
Seconded on the new dependency for hyprlang.
I pulled updates today and the build of this package failed due to the new dependency.
This package as of today now requires either hyprlang
or hyprlang-git
to build.
we can statically link with wlroots
does it affect plugins?
EDIT:
Now that upstream doesn't patch the soversion of wlroots anymore
upstream still patches soversion of wlroots in CMakeLists. meson.build doesn't do this. But I think it's mostly used to build on nix.
Now that upstream doesn't patch the soversion of wlroots anymore, we can statically link with wlroots by adding the meson option -D wlroots:default_library=static
and removing $pkgdir/usr/lib in package().
need help here, what should i do with this
Submodule 'subprojects/hyprland-protocols' (https://github.com/hyprwm/hyprland-protocols) registered for path 'subprojects/hyprland-protocols'
Submodule 'subprojects/tracy' (https://github.com/wolfpld/tracy) registered for path 'subprojects/tracy'
Submodule 'subprojects/udis86' (https://github.com/canihavesomecoffee/udis86) registered for path 'subprojects/udis86'
Submodule 'wlroots' (https://gitlab.freedesktop.org/wlroots/wlroots.git) registered for path 'subprojects/wlroots'
Cloning into '/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/hyprland-protocols'...
done.
Cloning into '/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/tracy'...
done.
Cloning into '/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/udis86'...
done.
Cloning into '/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots'...
done.
Submodule path 'subprojects/hyprland-protocols': checked out '0c2ce70625cb30aef199cb388f99e19a61a6ce03'
Submodule path 'subprojects/tracy': checked out '37aff70dfa50cf6307b3fee6074d627dc2929143'
Submodule path 'subprojects/udis86': checked out '5336633af70f3917760a6d441ff02d93477b0c86'
Submodule path 'subprojects/wlroots': checked out '00b869c1a96f300a8f25da95d624524895e0ddf2'
HEAD is now at 00b869c1 backend/drm: add support for atomic tearing page-flips
/home/ogios/.cache/yay/hyprland-git/PKGBUILD: line 92: subprojects/packagefiles/wlroots-meson-build.patch: No such file or directory
==> ERROR: A failure occurred in prepare().
Aborting...
-> error making: hyprland-git-exit status 4
-> Failed to install the following packages. Manual intervention is required:
hyprland-git - exit status 4
and i've searched through, no such .patch
thing:
$ sudo find ~/ | grep subprojects | grep wlroots | grep meson | grep hyprland-git
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/backend/drm/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/backend/headless/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/backend/libinput/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/backend/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/backend/multi/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/backend/session/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/backend/wayland/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/backend/x11/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/examples/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/include/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/include/wlr/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/meson_options.txt
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/protocol/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/render/allocator/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/render/gles2/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/render/gles2/shaders/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/render/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/render/pixman/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/render/vulkan/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/render/vulkan/shaders/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/tinywl/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/types/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/util/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/xcursor/meson.build
/home/ogios/.cache/yay/hyprland-git/src/Hyprland/subprojects/wlroots/xwayland/meson.build
need to adjust a bit after commit
probably just
sed -E -i -e "s/(soversion = .*$)/soversion = 13032/g" subprojects/wlroots/meson.build
instead of patch
and
mv "$pkgdir/usr/include/wlr" "$pkgdir/usr/include/hyprland/wlroots"
in package()
@UltraBlack Yes, clang works.
But you will need libc++, since clang-16 in the repo doesn't compile hyprland with libstdc++. See https://aur.archlinux.org/packages/hyprland-git?O=70#comment-937055
It is in the dependencies, but I don't think artix report has it.
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=hyprland-git#n34
After the latest update, I get an error related to the lack of libsystemd. I'm on Artix Linux with s6 as the init, been using this package for a while without any problems. If you want to add it as a hard dep, you should at least add it to the dependencies.
meson.build:54:14: ERROR: Dependency "libsystemd" not found, tried pkgconfig and cmake
could you use clang instead of gcc for compiling this package? The gcc version on the arch arm mirrors is so outdated that this isn't buildable, and for months now. Clang allegedly works. They have a guide here
I sadly haven't been able to get this to work myself, but I might be missing something
Edit: No idea what it was but it's using clang now. I added the following to the meson command: CC=clang CXX=clang++ meson setup build ... -Dcpp_args=--stdlib=libstdc++ -Dc_args=-Wno-unused-command-line-argument"
, it's still crashing at a compiler error. Weird...
Pinned Comments
xiota commented on 2025-04-11 01:10 (UTC) (edited on 2025-04-11 01:11 (UTC) by xiota)
Here's the current depends tree to help people figure out (re)build order. Some duplicates are omitted.
alba4k commented on 2025-04-09 20:40 (UTC)
To report issues, open pull requests, or check out other hyprland-related packages, you can check out https://github.com/alba4k/hyprwm-pkgbuilds