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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Adam Faiz <adam.faiz@HIDDEN>; Keywords: patch; dated Mon, 21 Nov 2022 05:54:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.
Added blocking bug(s) 59433 Request was from Ricardo Wurmus <rekado@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 59434 <at> debbugs.gnu.org:


Received: (at 59434) by debbugs.gnu.org; 27 Dec 2022 18:20:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 27 13:20:42 2022
Received: from localhost ([127.0.0.1]:56462 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pAEZ7-0000mW-UR
	for submit <at> debbugs.gnu.org; Tue, 27 Dec 2022 13:20:42 -0500
Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21180)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rekado@HIDDEN>) id 1pAEZ6-0000mL-3J
 for 59434 <at> debbugs.gnu.org; Tue, 27 Dec 2022 13:20:40 -0500
ARC-Seal: i=1; a=rsa-sha256; t=1672165238; cv=none; 
 d=zohomail.com; s=zohoarc; 
 b=ApLe55qqQAkkpds98dPevbuGg4LgMEUeOzGQ6IsfAJvQ1b3Jow8m64RHfJOJNnP0fdypLWPCQvZlReD6kp0gudLoslHgr00uBQ62t6qCldcR0gTUasqzjWEDsxA2dqUQ0YAJ9k4ovvloQ+lEsJQyU7L2VgSltV2QzYd3vF7opdY=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com;
 s=zohoarc; t=1672165238;
 h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To;
 bh=/uRRal4LmGkclZOKWgGT8y7LFRTyPCkR97Ulb9517SM=; 
 b=W/Z/JkoDqNeQJ9mtnahwj+4V4I648h8WfM5+Uh1VpusU6OfLtp78jhjDV4MShBJOBMwLh6O1qZ8ENj7EWNTcx0GpvuUcPVCb5CZt8rVhEQ1t5F0Bvdsq9K9twxB1xtzb1R/QovJF5MXHRbBujfB7Sl/yukp/dFaSPpn20VVNnno=
ARC-Authentication-Results: i=1; mx.zohomail.com;
 dkim=pass  header.i=elephly.net;
 spf=pass  smtp.mailfrom=rekado@HIDDEN;
 dmarc=pass header.from=<rekado@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1672165238; 
 s=zoho; d=elephly.net; i=rekado@HIDDEN;
 h=From:From:To:To:Subject:Subject:Date:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To:Cc;
 bh=/uRRal4LmGkclZOKWgGT8y7LFRTyPCkR97Ulb9517SM=;
 b=iuXxhUALLYMwOIL17D+elS+2wc7vXWKiRIZGWUZatdZjEU4Lnt6Rm2PEZVHBuYSr
 Bt/fZvsV8XqretxbeBzNqOtNjGr+aRHdTakwHkUc4DO+d4k1C8l2z6aV42xmYAOhFc7
 fmS3dj4JNMXnM8DGSaTO45XvfkMJP2GBhippU03Y=
Received: from localhost (i5E862CA0.versanet.de [94.134.44.160]) by
 mx.zohomail.com with SMTPS id 1672165237665242.02981894389507;
 Tue, 27 Dec 2022 10:20:37 -0800 (PST)
User-agent: mu4e 1.8.13; emacs 28.2
From: Ricardo Wurmus <rekado@HIDDEN>
To: 59434 <at> debbugs.gnu.org
Subject: [PATCH] gnu: Add hyprland.
Date: Tue, 27 Dec 2022 19:19:39 +0100
X-URL: https://elephly.net
X-PGP-Key: https://elephly.net/rekado.pubkey
X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
Message-ID: <874jtgbte4.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
X-ZohoMailClient: External
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 59434
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi Adam,

thank you for the patch.  Unfortunately, this package does not build:

--8<---------------cut here---------------start------------->8---
/gnu/store/shhxkiy9qr695h8k64g9m6a03msaw2yk-gcc-12.2.0/bin/c++ -DGIT_BRANCH=
=3D\"\" -DGIT_COMMIT_HASH=3D\"\" -DGIT_COMMIT_MESSAGE=3D\"\" -DGIT_DIRTY=3D=
\"dirty\" -isystem /gnu/store/6gq2n65ixpn6drd5wai2h7g5wjm6bp2b-cairo-1.16.0=
/include/cairo -isystem /gnu/store/c1nvl9hcgl09nysmy1qqsz5ljiarxdjs-libdrm-=
2.4.107/include/libdrm -isystem /gnu/store/vk23fcm4livzrnb3kzhxs6yjds8f355c=
-pango-1.48.10/include/pango-1.0 -isystem /gnu/store/j8x167zaka2h6pxk7wiq5z=
kg67hzf8a2-pixman-0.40.0/include/pixman-1 -isystem /gnu/store/p7iq81hxxyk9z=
y7a9dngbf16zm8d4klx-libpng-1.6.37/include/libpng16 -isystem /gnu/store/96sr=
hmpmxa20wmsck95g3iq4hb3lz4a0-glib-2.70.2/include/glib-2.0 -isystem /gnu/sto=
re/96srhmpmxa20wmsck95g3iq4hb3lz4a0-glib-2.70.2/lib/glib-2.0/include -isyst=
em /gnu/store/ak70pk2hjks17cx7zjdmdmzpcpiy9gpi-freetype-2.10.4/include/free=
type2 -isystem /gnu/store/f6ibajh7x233cvr30c2p314l2absk36h-harfbuzz-2.8.2/i=
nclude/harfbuzz -isystem /gnu/store/v5x6f3dml69pmn4pfkl51j6y03v6rlsg-fribid=
i-1.0.9/include/fribidi -isystem /gnu/store/5583c2za2jsn9g6az79rnksgvigwnsk=
7-util-linux-2.37.2-lib/include/libmount -isystem /gnu/store/5583c2za2jsn9g=
6az79rnksgvigwnsk7-util-linux-2.37.2-lib/include/blkid -isystem /gnu/store/=
v3hqc5i1jqi0s04zxvi465bihrgb1sq1-elogind-246.10/include/elogind -O2 -g -DND=
EBUG -O3 -std=3Dc++23 -DWLR_USE_UNSTABLE -Wall -Wextra -Wno-unused-paramete=
r -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing -pthread=
 -MD -MT CMakeFiles/Hyprland.dir/src/debug/HyprCtl.cpp.o -MF CMakeFiles/Hyp=
rland.dir/src/debug/HyprCtl.cpp.o.d -o CMakeFiles/Hyprland.dir/src/debug/Hy=
prCtl.cpp.o -c /tmp/guix-build-hyprland-0.18.0beta.drv-0/source/src/debug/H=
yprCtl.cpp
In file included from /tmp/guix-build-hyprland-0.18.0beta.drv-0/source/src/=
defines.hpp:1,
                 from /tmp/guix-build-hyprland-0.18.0beta.drv-0/source/src/=
Window.hpp:3,
                 from /tmp/guix-build-hyprland-0.18.0beta.drv-0/source/src/=
Window.cpp:1:
/tmp/guix-build-hyprland-0.18.0beta.drv-0/source/src/includes.hpp:40:10: fa=
tal error: wlr/render/allocator.h: No such file or directory
   40 | #include <wlr/render/allocator.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/Hyprland.dir/build.make:93: CMakeFiles/Hyprland.di=
r/src/Window.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /tmp/guix-build-hyprland-0.18.0beta.drv-0/source/src/=
defines.hpp:1,
                 from /tmp/guix-build-hyprland-0.18.0beta.drv-0/source/src/=
Compositor.hpp:7,
                 from /tmp/guix-build-hyprland-0.18.0beta.drv-0/source/src/=
Compositor.cpp:1:
/tmp/guix-build-hyprland-0.18.0beta.drv-0/source/src/includes.hpp:40:10: fa=
tal error: wlr/render/allocator.h: No such file or directory
   40 | #include <wlr/render/allocator.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/Hyprland.dir/build.make:79: CMakeFiles/Hyprland.di=
r/src/Compositor.cpp.o] Error 1
In file included from /tmp/guix-build-hyprland-0.18.0beta.drv-0/source/src/=
config/../defines.hpp:1,
                 from /tmp/guix-build-hyprland-0.18.0beta.drv-0/source/src/=
config/ConfigManager.hpp:8,
                 from /tmp/guix-build-hyprland-0.18.0beta.drv-0/source/src/=
config/ConfigManager.cpp:1:
/tmp/guix-build-hyprland-0.18.0beta.drv-0/source/src/config/../includes.hpp=
:40:10: fatal error: wlr/render/allocator.h: No such file or directory
   40 | #include <wlr/render/allocator.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/Hyprland.dir/build.make:107: CMakeFiles/Hyprland.d=
ir/src/config/ConfigManager.cpp.o] Error 1
In file included from /tmp/guix-build-hyprland-0.18.0beta.drv-0/source/src/=
debug/../defines.hpp:1,
                 from /tmp/guix-build-hyprland-0.18.0beta.drv-0/source/src/=
debug/../Compositor.hpp:7,
                 from /tmp/guix-build-hyprland-0.18.0beta.drv-0/source/src/=
debug/HyprCtl.hpp:3,
                 from /tmp/guix-build-hyprland-0.18.0beta.drv-0/source/src/=
debug/HyprCtl.cpp:1:
/tmp/guix-build-hyprland-0.18.0beta.drv-0/source/src/debug/../includes.hpp:=
40:10: fatal error: wlr/render/allocator.h: No such file or directory
   40 | #include <wlr/render/allocator.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/Hyprland.dir/build.make:121: CMakeFiles/Hyprland.d=
ir/src/debug/HyprCtl.cpp.o] Error 1
make[2]: Leaving directory '/tmp/guix-build-hyprland-0.18.0beta.drv-0/build'
make[1]: *** [CMakeFiles/Makefile2:86: CMakeFiles/Hyprland.dir/all] Error 2
make[1]: Leaving directory '/tmp/guix-build-hyprland-0.18.0beta.drv-0/build'
make: *** [Makefile:114: all] Error 2
--8<---------------cut here---------------end--------------->8---

wlroots does not provide this file.

--=20
Ricardo




Information forwarded to guix-patches@HIDDEN:
bug#59434; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 21 Nov 2022 05:53:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 21 00:53:54 2022
Received: from localhost ([127.0.0.1]:45116 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1owzkg-0002jD-E7
	for submit <at> debbugs.gnu.org; Mon, 21 Nov 2022 00:53:54 -0500
Received: from lists.gnu.org ([209.51.188.17]:39616)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <adam.faiz@HIDDEN>) id 1owzkf-0002j6-1b
 for submit <at> debbugs.gnu.org; Mon, 21 Nov 2022 00:53:53 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <adam.faiz@HIDDEN>)
 id 1owzke-0004Ht-Sq
 for guix-patches@HIDDEN; Mon, 21 Nov 2022 00:53:52 -0500
Received: from knopi.disroot.org ([178.21.23.139])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <adam.faiz@HIDDEN>)
 id 1owzkd-0007q7-8L
 for guix-patches@HIDDEN; Mon, 21 Nov 2022 00:53:52 -0500
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 160BB411B6
 for <guix-patches@HIDDEN>; Mon, 21 Nov 2022 06:53:50 +0100 (CET)
X-Virus-Scanned: SPAM Filter at disroot.org
Received: from knopi.disroot.org ([127.0.0.1])
 by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id swBta_98gIZV for <guix-patches@HIDDEN>;
 Mon, 21 Nov 2022 06:53:48 +0100 (CET)
Message-ID: <ac9bcef4-d8db-e9b6-80a3-79c7bbae65a5@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1669010027; bh=5jvaTpTCHWm7nwJ8HGPiUNLzCArYfo4DC4nKwMseGIA=;
 h=Date:To:From:Subject:From;
 b=bOuDsn/idHag84JSnA6BO5CihH3Tt89pIVK/aNRhFLbzVpJVlfLfKMgXAvtzWXUWE
 vSfeRkBP0SvtDunmusSHXRDPj5xPH+M2tJCQlIv1+xbVs6kzQ3OAe0XGghry2qNEJY
 hxafJs5hPT4VAiXC6vBMawewPcUGvOTDdE5LvQ4rwUhjACkTOM7kwz5uDYGttu37Ud
 Ja/hmZf2kr7Qmj/q2c5ECiq2ru3ruui0q2q8kBbcNReDzGdWyW0AO0cjsQS5u8CeCo
 OyivHmKGc2A/Fzc4LMoWtGidcJnR6bKVZMrPciGLqC9NEVGojG3cTX9VHW49OrkDlg
 UNR1RltULNMEQ==
Date: Mon, 21 Nov 2022 13:53:44 +0800
MIME-Version: 1.0
Content-Language: en-US
To: guix-patches@HIDDEN
From: Adam Faiz <adam.faiz@HIDDEN>
Subject: [PATCH] gnu: Add hyprland.
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=178.21.23.139; envelope-from=adam.faiz@HIDDEN;
 helo=knopi.disroot.org
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

 From a8f78a0b951cce3ab4c03b3f1e61b1b95d93c723 Mon Sep 17 00:00:00 2001
From: AwesomeAdam54321 <adam.faiz@HIDDEN>
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




Acknowledgement sent to Adam Faiz <adam.faiz@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#59434; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 27 Dec 2022 18:45:01 UTC

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