Package Details: hyprland-git 0.38.0.r105.582d6233-1

Git Clone URL: https://aur.archlinux.org/hyprland-git.git (read-only, click to copy)
Package Base: hyprland-git
Description: A dynamic tiling Wayland compositor based on wlroots that doesn't sacrifice on its looks.
Upstream URL: https://github.com/hyprwm/Hyprland
Licenses: BSD
Conflicts: hyprland
Provides: hyprland
Submitter: hertog
Maintainer: memchr
Last Packager: memchr
Votes: 72
Popularity: 6.59
First Submitted: 2022-04-12 20:26 (UTC)
Last Updated: 2024-04-28 00:10 (UTC)

Required by (34)

Sources (5)

Pinned Comments

memchr commented on 2024-04-26 13:54 (UTC) (edited on 2024-04-26 13:55 (UTC) by memchr)

What is the difference between foo and foo-git packages?

Many AUR packages come in "stable" release and "unstable" development versions. Development packages usually have a suffix denoting their Version Control System and are not intended for regular use, but may offer new features or bugfixes. Because these packages only download the latest available source when you execute makepkg, their pkgver() in the AUR does not reflect upstream changes.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 .. 23 Next › Last »

memchr commented on 2024-02-23 13:17 (UTC) (edited on 2024-02-23 13:18 (UTC) by memchr)

Latest pyprland 2.0.3-1 seems to be unable to find poetry even though it's installed globally and working with other packages that rely on poetry for build.

I'm not sure how this issue is related to this PKGBUILD.

/home/norfen/.local/lib/python3.11/site-packages/pyproject_hooks

PEP 668 discourages the practice of installing Python packages system-wide with pip install -U. And since you are building a package, it would be better to install the dependencies using pacman instead of pip.

https://peps.python.org/pep-0668/

nathanchere commented on 2024-02-23 10:38 (UTC)

Latest pyprland 2.0.3-1 seems to be unable to find poetry even though it's installed globally and working with other packages that rely on poetry for build.

==> Making package: pyprland 2.0.3-1 (Fri 23 Feb 2024 11:31:20)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
HEAD is now at d69133b change default release title
==> Removing existing $pkgdir/ directory...
==> Starting build()...
* Getting build dependencies for wheel...

Traceback (most recent call last):
  File "/home/norfen/.local/lib/python3.11/site-packages/pyproject_hooks/_impl.py", line 321, in _call_hook
    raise BackendUnavailable(data.get('traceback', ''))
pyproject_hooks._impl.BackendUnavailable: Traceback (most recent call last):
  File "/home/norfen/.local/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 77, in _build_backend
    obj = import_module(mod_path)
          ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/norfen/.local/share/miniconda3/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1126, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1126, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1126, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1140, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'poetry'

ERROR Backend 'poetry.core.masonry.api' is not available.

WA4NDR commented on 2024-02-19 02:12 (UTC)

Seconded on the new dependency for hyprlang.

I pulled updates today and the build of this package failed due to the new dependency.

justinesmithies commented on 2024-02-18 15:45 (UTC)

This package as of today now requires either hyprlang or hyprlang-git to build.

memchr commented on 2024-02-02 16:50 (UTC) (edited on 2024-02-02 17:09 (UTC) by memchr)

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.

MikeWalrus commented on 2024-02-02 07:24 (UTC)

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().

ogios commented on 2024-01-31 15:48 (UTC) (edited on 2024-01-31 15:56 (UTC) by ogios)

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

bvr commented on 2024-01-31 14:35 (UTC)

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()

memchr commented on 2024-01-26 08:34 (UTC)

@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

memchr commented on 2024-01-26 08:31 (UTC)

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