From patchwork Mon Nov 21 05:53:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Faiz X-Patchwork-Id: 44742 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4E8EC27BBEC; Mon, 21 Nov 2022 05:54:20 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 954BA27BBE9 for ; Mon, 21 Nov 2022 05:54:18 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1owzkq-0004JO-QW; Mon, 21 Nov 2022 00:54:04 -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 ) id 1owzko-0004Iq-H7 for guix-patches@gnu.org; Mon, 21 Nov 2022 00:54:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1owzko-0007qg-8u for guix-patches@gnu.org; Mon, 21 Nov 2022 00:54:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1owzko-0002jb-5t for guix-patches@gnu.org; Mon, 21 Nov 2022 00:54:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59434] [PATCH] gnu: Add hyprland. Resent-From: Adam Faiz Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 21 Nov 2022 05:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59434 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59434@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166901003410496 (code B ref -1); Mon, 21 Nov 2022 05:54:02 +0000 Received: (at submit) by debbugs.gnu.org; 21 Nov 2022 05:53:54 +0000 Received: from localhost ([127.0.0.1]:45116 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1owzkg-0002jD-E7 for submit@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 ) id 1owzkf-0002j6-1b for submit@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 ) id 1owzke-0004Ht-Sq for guix-patches@gnu.org; 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 ) id 1owzkd-0007q7-8L for guix-patches@gnu.org; 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 ; 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 ; Mon, 21 Nov 2022 06:53:48 +0100 (CET) Message-ID: 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 Received-SPF: pass client-ip=178.21.23.139; envelope-from=adam.faiz@disroot.org; 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Adam Faiz X-ACL-Warn: , Adam Faiz via Guix-patches X-Patchwork-Original-From: Adam Faiz via Guix-patches via From: Adam Faiz Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From a8f78a0b951cce3ab4c03b3f1e61b1b95d93c723 Mon Sep 17 00:00:00 2001 From: AwesomeAdam54321 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")