GNU bug report logs - #59434
[PATCH] gnu: Add hyprland.

Previous Next

Package: guix-patches;

Reported by: Adam Faiz <adam.faiz <at> disroot.org>

Date: Mon, 21 Nov 2022 05:54:02 UTC

Severity: normal

Tags: patch

Done: John Kehayias <john.kehayias <at> protonmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: John Kehayias <john.kehayias <at> protonmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#59434: closed ([PATCH] gnu: Add hyprland.)
Date: Wed, 01 Jan 2025 20:12:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 01 Jan 2025 20:11:04 +0000
with message-id <87v7uyi9bh.fsf <at> protonmail.com>
and subject line Re: [bug#59434] hyprland
has caused the debbugs.gnu.org bug report #59434,
regarding [PATCH] gnu: Add hyprland.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
59434: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59434
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Adam Faiz <adam.faiz <at> disroot.org>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add hyprland.
Date: Mon, 21 Nov 2022 13:53:44 +0800
From a8f78a0b951cce3ab4c03b3f1e61b1b95d93c723 Mon Sep 17 00:00:00 2001
From: AwesomeAdam54321 <adam.faiz <at> disroot.org>
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


[Message part 3 (message/rfc822, inline)]
From: John Kehayias <john.kehayias <at> protonmail.com>
To: Graguton <graguton <at> gmail.com>, Adam Faiz <adam.faiz <at> disroot.org>,
 Léonard <Leonard.Gomez <at> protonmail.com>,
 Ricardo Wurmus <rekado <at> elephly.net>
Cc: 59434-done <at> debbugs.gnu.org
Subject: Re: [bug#59434] hyprland
Date: Wed, 01 Jan 2025 20:11:04 +0000
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.)



This bug report was last modified 235 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.