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 11 .. 23 Next › Last »

therafal commented on 2024-01-25 06:25 (UTC)

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

UltraBlack commented on 2024-01-13 17:16 (UTC) (edited on 2024-01-13 19:17 (UTC) by UltraBlack)

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

kelvie commented on 2024-01-02 18:45 (UTC)

This PKGBUILD doesn't enable the systemd meson feature, which breaks user units (such as xdg-desktop-portal) if certain environment variables aren't set inside them, such as WAYLAND_DISPLAY

From 9f342f06273b45f3a49944bbbdfb1a85c81ee96b Mon Sep 17 00:00:00 2001
From: Kelvie Wong <kelvie@kelvie.ca>
Date: Tue, 2 Jan 2024 10:41:03 -0800
Subject: [PATCH] Enable systemd build option

This sets USES_SYSTEMD which does a bunch of useful things such as set
the WAYLAND_DISPLAY and a bunch of other useful variables for user
systemd units.
---
 PKGBUILD | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/PKGBUILD b/PKGBUILD
index 45d0852..cec33fd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -109,7 +109,8 @@ build() {
     -D           b_lto=true \
     -D           b_pie=true \
     -D           default_library=shared \
-    -D           xwayland=enabled
+    -D           xwayland=enabled \
+    -D           systemd=enabled

   ln -sf wlroots build/subprojects/wlroots/include/wlr
   meson compile -C build
-- 
2.43.0


sinasina commented on 2024-01-01 19:54 (UTC)

@bvr

You are the best, thank you!

bvr commented on 2024-01-01 19:46 (UTC)

@sinasina fixed upstream

sinasina commented on 2024-01-01 16:59 (UTC) (edited on 2024-01-01 17:04 (UTC) by sinasina)

    ==> Starting prepare()...
   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/hellow/.cache/yay/hyprland-git/src/Hyprland/subprojects/hyprland-protocols'...    
     done.
     Cloning into '/home/hellow/.cache/yay/hyprland-git/src/Hyprland/subprojects/tracy'...
   done.
   Cloning into '/home/hellow/.cache/yay/hyprland-git/src/Hyprland/subprojects/udis86'...
    done.
     Cloning into '/home/hellow/.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 'f81c3d93cd6f61b20ae784297679283438def8df'
     HEAD is now at f81c3d93 backend/drm: save current refresh rate
   patching file include/meson.build
   patching file include/wlr/meson.build
  patching file meson.build
    Hunk #1 FAILED at 15.
    1 out of 1 hunk FAILED -- saving rejects to file meson.build.rej
      ==> 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

meson.build.rej:

 --- meson.build 
 +++ meson.build
 @@ -15,7 +15,7 @@ project(
  # necessary for bugfix releases. Increasing soversion is required because
  # wlroots never guarantees ABI stability -- only API stability is      guaranteed
  # between minor releases.
 -soversion = 13
 +soversion = 13032

  little_endian = target_machine.endian() == 'little'
  big_endian = target_machine.endian() == 'big'

marten commented on 2023-12-27 16:06 (UTC)

Indeed, with --devel flag it works :), thanks!

kescherAUR commented on 2023-12-27 15:59 (UTC)

Maybe a yay issue, but also maybe you didn't enable --devel in yay, which is needed for VCS packages. Either way, with Devel enabled for paru, it works fine.

marten commented on 2023-12-27 15:52 (UTC) (edited on 2023-12-27 15:52 (UTC) by marten)

Sorry, my bad. Both yay -Syu or just yay (implicit yay -Syu) don't update the package.