Subject: bug#59434: closed (Re: [bug#59434] hyprland)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 01 Jan 2025 20:12:02 +0000

Your bug report

#59434: [PATCH] gnu: Add hyprland.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
59434: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59434
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#59434] hyprland
From: John Kehayias <[email-masked]>
To: Graguton <[email-masked]>, Adam Faiz <[email-masked]>,Léonard <[email-masked]>, Ricardo Wurmus <[email-masked]>
Cc: [email-masked]
Date: Wed, 01 Jan 2025 20:11:04 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

On Thu, Apr 25, 2024 at 03:51 AM, Graguton wrote:

> It appears that 59434 has been fixed and will no longer block this patch, although it is now out of date. This is my first time commenting or using guix
> so I am not familiar enough to complete this myself. There appears to be an up to date version at
> https://github.com/rakino/Rosenthal/blob/trunk/rosenthal/packages/wm.scm but it is implemented differently and I do not have the experience to
> know why.
>
> Thanks, Ethan

Following up on this old patch as hyprland was added to Guix some weeks
ago,  yay!

John

PS: Ethan and Léonard, your emails did not go to anyone since you only
sent it to the debbugs number. Unfortunately that is not an email list,
alias, for forward to anyone. In the future, please look to "wide reply"
or reply all via mumi, emacs debbugs, or getting emails from the debbugs
website. (A common and annoying gotcha.)

Subject: [PATCH] gnu: Add hyprland.
From: Adam Faiz <[email-masked]>
To: [email-masked]
Date: Mon, 21 Nov 2022 13:53:44 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

 From a8f78a0b951cce3ab4c03b3f1e61b1b95d93c723 Mon Sep 17 00:00:00 2001
From: AwesomeAdam54321 <[email-masked]>
Date: Mon, 21 Nov 2022 13:29:16 +0800
Subject: [PATCH] gnu: Add hyprland.

* gnu/packages/wm.scm (hyprland): New variable.
---
  gnu/packages/wm.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++
  1 file changed, 44 insertions(+)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index c87a616ed9..c2b567bd62 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -107,6 +107,7 @@ (define-module (gnu packages wm)
    #:use-module (gnu packages freedesktop)
    #:use-module (gnu packages fribidi)
    #:use-module (gnu packages gawk)
+  #:use-module (gnu packages gcc)
    #:use-module (gnu packages gl)
    #:use-module (gnu packages glib)
    #:use-module (gnu packages gperf)
@@ -2723,6 +2724,49 @@ (define-public hikari
  capabilities.  It is heavily inspired by the Calm Window manager(cwm).")
      (license license:bsd-2)))

+(define-public hyprland
+  (package
+    (name "hyprland")
+    (version "0.18.0beta")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/hyprwm/Hyprland")
+             (commit (string-append "v"version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1sbf12mqvgqpjfw4bni4p2gk2djnh49fwzki4dnsyq4ykcp7x6hb"))
+       (modules '((guix build utils)))
+       (snippet
+        #~(begin
+            ;; Unbundle dependencies and add it to the dependency list
+            (delete-file-recursively "subprojects")
+            (substitute* "CMakeLists.txt"
+              ((".*subprojects/wlroots/.*") "")
+              (("libinput)") "libinput wlroots)"))))))
+    (build-system cmake-build-system)
+    (native-inputs
+     (list pkg-config gcc-12))
+    (inputs
+     (list wayland
+           wayland-protocols
+           cairo
+           pango
+           libdrm
+           egl-wayland
+           libxkbcommon
+           libinput
+           wlroots))
+    (home-page "https://www.hyprland.org/")
+    (synopsis "Dynamic tiling Wayland compositor based on wlroots")
+    (description
+     "Hyprland is a dynamic tiling Wayland compositor based on wlroots
+that doesn't sacrifice on its looks. It supports multiple layouts,
+fancy effects, has a very flexible IPC model allowing for a lot of
+customization, and more. ")
+    (license license:bsd-3)))
+
  (define-public devour
    (package
      (name "devour")
-- 
2.38.1