From patchwork Tue Apr 1 07:34:38 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Andrew Wong X-Patchwork-Id: 41122 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 7B68B27BBE2; Tue, 1 Apr 2025 08:55:39 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 BF1A527BBEA for ; Tue, 1 Apr 2025 08:55:38 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tzWSi-0004Ar-62; Tue, 01 Apr 2025 03:55:08 -0400 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 1tzWSe-00049n-Qd for guix-patches@gnu.org; Tue, 01 Apr 2025 03:55:05 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tzWSe-0003zN-7Q for guix-patches@gnu.org; Tue, 01 Apr 2025 03:55:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=LGyvEX6HW1hYGN61nK/C3cn/oQA0VRBIjkrJSzMDKao=; b=Mj9Wh/35lQeBrTaJzMyIFMBI5HvRMZZo7UvA25t8eRbNWeKh7k2O2f30AAf48CBBq1Oli2KvqltXDHAQJSNLA3t1UNJLkUYoBXjnVo0fwvzvkkj2YAhDcb61+TnF3TuSWdltSjjolANaBpVZxn10iMcwPEoZLbGU54ZFjdwSyBRTK3y6Eit48qhDJG/eBJTgQp6dnzLykj6ebY9ln5P2tpuL0E7wPXDYXWl7qkGqNWboqeP2SxRmOUvmtjCvWAJI1nkpQWC3gmiWUj4odhAJXD/X3wFKu9ianQ9YQI9Hnr0j5Nqlx9aRp55RBIgyOSAGUjhzyA6sLQi9xE7cxOP5fQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tzWSd-0005su-VS for guix-patches@gnu.org; Tue, 01 Apr 2025 03:55:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#76910] [PATCH v3 1/5] gnu: Add Hyprland plugins. Resent-From: Andrew Wong Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 01 Apr 2025 07:55:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 76910 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 76910@debbugs.gnu.org Cc: Andrew Wong Received: via spool by 76910-submit@debbugs.gnu.org id=B76910.174349404622172 (code B ref 76910); Tue, 01 Apr 2025 07:55:03 +0000 Received: (at 76910) by debbugs.gnu.org; 1 Apr 2025 07:54:06 +0000 Received: from localhost ([127.0.0.1]:45013 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tzWRh-0005lY-DD for submit@debbugs.gnu.org; Tue, 01 Apr 2025 03:54:05 -0400 Received: from qs51p00im-qukt01080302.me.com ([17.57.155.21]:27193) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tzWRe-0005kb-AK for 76910@debbugs.gnu.org; Tue, 01 Apr 2025 03:54:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; bh=LGyvEX6HW1hYGN61nK/C3cn/oQA0VRBIjkrJSzMDKao=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:x-icloud-hme; b=JAXl3Pyz6gqTN45xQF7X5Lwk00cSTK/rVhBOBUVhoRkj+yoH8tn9MkY39pkYR5+5C /avmIRmChZzGFNApWqfNUwbXtyQ7XUPer+/+UkFhnn/D6mxF4ejKzxJTTPvd/aFaOQ BgboMQWIGPm4wxDnmN4IYKPRgtupNVgO6+ARanTg+LxW15kCmX6c/kqjHs4Lv3RqLk wmVwEVluNwU761yDkgw2lsduJvYSI59yY+iQ37xmCU1niZ1I+dusy4t+I1weUz8/o3 IogT7JpMxfYgAIvbDVKz2HG4maqHhXjzFYjvGK8enmGZNth3LEuC81WOUVkoU/eAZ4 HOibCkbL959Qg== Received: from wongworks.lan (qs51p00im-dlb-asmtp-mailmevip.me.com [17.57.155.28]) by qs51p00im-qukt01080302.me.com (Postfix) with ESMTPSA id 53192114018F; Tue, 1 Apr 2025 07:53:55 +0000 (UTC) Date: Tue, 1 Apr 2025 03:34:38 -0400 Message-ID: <5b07039df322a6dc90f7b07978af3dcd9065e3e6.1743492882.git.wongandj@icloud.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: References: MIME-Version: 1.0 X-Proofpoint-GUID: X1RdjW_wHaTQ2YLo8vTCdyROUtg-Wds3 X-Proofpoint-ORIG-GUID: X1RdjW_wHaTQ2YLo8vTCdyROUtg-Wds3 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1095,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-04-01_03,2025-03-27_02,2024-11-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 bulkscore=0 suspectscore=0 mlxscore=0 phishscore=0 clxscore=1015 mlxlogscore=999 adultscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2504010051 X-Apple-Remote-Links: v=1;h=KCk=;charset=UTF-8 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: Andrew Wong X-ACL-Warn: , Andrew Wong via Guix-patches X-Patchwork-Original-From: Andrew Wong via Guix-patches via From: Andrew Wong 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 * gnu/packages/wm.scm (hyprland-plugin): New function. * gnu/packages/wm.scm (borders-plus-plus): New variable. * gnu/packages/wm.scm (csgo-vulkan-fix): New variable. * gnu/packages/wm.scm (hyprbars): New variable. * gnu/packages/wm.scm (hyprexpo): New variable. * gnu/packages/wm.scm (hyprtrails): New variable. * gnu/packages/wm.scm (hyprwinwrap): New variable. * gnu/packages/wm.scm (xtra-dispatchers): New variable. Change-Id: I923095e0d0cbc1c237e55a78dd2e9c1b1a3235df --- gnu/packages/wm.scm | 79 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index b01f63629f..a951b24b2d 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -80,6 +80,7 @@ ;;; Copyright © 2024 Jakob Kirsch ;;; Copyright © 2025 Tomáš Čech ;;; Copyright © 2025 Ricardo Wurmus +;;; Copyright © 2025 Andrew Wong ;;; ;;; This file is part of GNU Guix. ;;; @@ -446,6 +447,84 @@ (define-public hyprland `((upstream-name . "source"))) (license license:bsd-3))) +(define hyprland-plugin + (lambda (plugin-name plugin-provision) + "Generate a packaged plugin from Hyprland's official plugin repository." + (let ((commit "1f332c09a2382cb23da0f69a6f504f8b33433831")) + (package + (name plugin-name) + ;; We will ignore the version tags in the repo, use the .toml file instead + ;; because it's a stronger promise of compatibility. + ;; See https://github.com/hyprwm/hyprland-plugins/issues/312 + (version (git-version "0.48.1" "0" commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/hyprwm/hyprland-plugins") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0sajd019n6qk17fz87p87dsbc28afwdv8h92i2f8qdmykp54gdwm")))) + (build-system cmake-build-system) + (native-inputs (list gcc-14 pkg-config)) + (inputs (list hyprland + libdrm + libinput + eudev + pango + pixman + wayland + libxkbcommon + mesa + hyprutils + hyprgraphics + aquamarine + hyprlang)) + (arguments (list #:cmake cmake-3.30 + #:tests? #f ; no tests. + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda _ (chdir #$plugin-name))) + (replace 'install-license-files + (lambda _ (install-file + "../LICENSE" + (string-append #$output "/share/doc/" + #$name "-" + #$version))))))) + (home-page (string-append "https://github.com/hyprwm/hyprland-plugins/" + plugin-name)) + (synopsis (string-append "Hyprland plugin providing " + plugin-provision)) + (description + (string-append "This is an official Hyprland plugin that provides " + plugin-provision ".")) + (license license:bsd-3))))) + +(define-public borders-plus-plus + (hyprland-plugin "borders-plus-plus" "extra borders around windows")) + +(define-public csgo-vulkan-fix + (let ((parent (hyprland-plugin "csgo-vulkan-fix" + "virtual native resolution reporting"))) + (package (inherit parent) (inputs (modify-inputs (package-inputs parent) + (append xcb-util-wm)))))) + +(define-public hyprbars + (hyprland-plugin "hyprbars" "window title bars")) + +(define-public hyprexpo + (hyprland-plugin "hyprexpo" "an exposé feature")) + +(define-public hyprtrails + (hyprland-plugin "hyprtrails" "trail effects behind windows")) + +(define-public hyprwinwrap + (hyprland-plugin "hyprwinwrap" "a window-as-wallpaper feature")) + +(define-public xtra-dispatchers + (hyprland-plugin "xtra-dispatchers" "extra dispatchers")) + (define-public i3status (package (name "i3status") From patchwork Tue Apr 1 07:34:39 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Wong X-Patchwork-Id: 41119 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 D0ED927BBE2; Tue, 1 Apr 2025 08:55:17 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 4B0E027BBE9 for ; Tue, 1 Apr 2025 08:55:17 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tzWSm-0004CO-0K; Tue, 01 Apr 2025 03:55:12 -0400 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 1tzWSg-0004A7-2H for guix-patches@gnu.org; Tue, 01 Apr 2025 03:55:06 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tzWSf-00048W-Lo for guix-patches@gnu.org; Tue, 01 Apr 2025 03:55:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=KOws9TeuvVux4gfodykW/MayTxDKpxa/5r4KQqjElao=; b=hB0e1LRAtSyR1rt4X2tSJUbYfKOZDZ5kVFVZdm5cwCK+9XENipve646Thd1/lzCAArxgAkvtgKCUA1k8k9bnLTbNvwczVVLKjFt863MNVLV8ABuAECUBFwWmdGRonF8PJuqAeX7MggE9gzxf66lpPE43c2VrQ0LLeYbdReSbKssaX2yWahl95aOgQoIsIEt7OA2AIegqYWiX/SNdbxG3ArhdfBreVCYPCua5w9rKyY/7GEYkdrOpi4oprmqYS/nT7y+r87+hBt4PGrUsVLGaQGhLjSYfFi72ADWgdjY7GjWdza147fXFGlWmPXsy1ya/SlFGqYkAyyARVC7d7z1S/g==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tzWSf-0005tC-Ed for guix-patches@gnu.org; Tue, 01 Apr 2025 03:55:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#76910] [PATCH v3 2/5] gnu: Add hyprscroller. Resent-From: Andrew Wong Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 01 Apr 2025 07:55:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 76910 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 76910@debbugs.gnu.org Cc: Andrew Wong Received: via spool by 76910-submit@debbugs.gnu.org id=B76910.174349405222217 (code B ref 76910); Tue, 01 Apr 2025 07:55:05 +0000 Received: (at 76910) by debbugs.gnu.org; 1 Apr 2025 07:54:12 +0000 Received: from localhost ([127.0.0.1]:45023 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tzWRn-0005mE-Nv for submit@debbugs.gnu.org; Tue, 01 Apr 2025 03:54:12 -0400 Received: from qs51p00im-qukt01080302.me.com ([17.57.155.21]:38753) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tzWRg-0005kg-A3 for 76910@debbugs.gnu.org; Tue, 01 Apr 2025 03:54:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; bh=KOws9TeuvVux4gfodykW/MayTxDKpxa/5r4KQqjElao=; h=From:To:Subject:Date:Message-ID:MIME-Version:x-icloud-hme; b=y428HdDYQuTejV2+oStMuPaDFXUMzkVnLPsJblu0XVP3IviQ7Oloaphtnu66q9rq7 j13jWxBBg5VQgcR54cnxmq/tr7YHtXC5KAK6hQFcHhNaKsH+QisHZcWcHG7brBMUUm ZDQECMFlYjYeM+oKfFKgZyP8w8GjbdwNEVjpCBEz8RcdyKIFlvb8MN1oEufFc3FRUL 0PVf4oZiM67NIcT9oqlj9bnRMySLPhqGxONHjmf1z9IeXcFHSru+yzI8/m8aGSsj4m /qQdi/MPNbuYjakDKqasfW8rVTfJIKCtYb0VwKbl5a2GOgi0Corx3wLqHqhSsx2O0C oGBjo1+HhR+Vg== Received: from wongworks.lan (qs51p00im-dlb-asmtp-mailmevip.me.com [17.57.155.28]) by qs51p00im-qukt01080302.me.com (Postfix) with ESMTPSA id 4C9981140128; Tue, 1 Apr 2025 07:53:57 +0000 (UTC) Date: Tue, 1 Apr 2025 03:34:39 -0400 Message-ID: X-Mailer: git-send-email 2.49.0 In-Reply-To: References: MIME-Version: 1.0 X-Proofpoint-GUID: EPXU2NBTShTffoCWg8puKmYdiSU-oMfT X-Proofpoint-ORIG-GUID: EPXU2NBTShTffoCWg8puKmYdiSU-oMfT X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1095,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-04-01_03,2025-03-27_02,2024-11-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 bulkscore=0 suspectscore=0 mlxscore=0 phishscore=0 clxscore=1015 mlxlogscore=999 adultscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2504010051 X-Apple-Remote-Links: v=1;h=KCk=;charset=UTF-8 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: Andrew Wong X-ACL-Warn: , Andrew Wong via Guix-patches X-Patchwork-Original-From: Andrew Wong via Guix-patches via From: Andrew Wong 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 * gnu/packages/wm.scm (hyprscroller): New variable. Change-Id: I56c9984c7ce013f0ce4b22ec1f5df778fe17f736 --- gnu/packages/wm.scm | 48 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index a951b24b2d..e5bfe97c33 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -525,6 +525,54 @@ (define-public hyprwinwrap (define-public xtra-dispatchers (hyprland-plugin "xtra-dispatchers" "extra dispatchers")) +(define-public hyprscroller + (let ((commit "3f86916f3e9a583154b1be0af4e8a1ef1f7435b2")) + (package + (name "hyprscroller") + (version (git-version "0.48.1" "0" commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/dawsers/hyprscroller") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "03k6rkxm8qmvhwbr2d9jcqiagv1c81kls2p0aqrx49iqyzg2l1ls")))) + (build-system cmake-build-system) + (native-inputs (list gcc-14 pkg-config)) + (inputs (list aquamarine + hyprgraphics + hyprlang + hyprutils + libdrm + libinput + libxkbcommon + mesa + pango + pixman + wayland + hyprland)) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (delete 'configure) + (delete 'check) + (replace 'install + (lambda* _ + (install-file "hyprscroller.so" + (string-append #$output "/lib"))))))) + (home-page "https://github.com/dawsers/hyprscroller") + (synopsis "Hyprland plugin for a PaperWM-like scrolling layout") + (description + "Hyprscroller is a Hyprland layout plugin that creates a window layout +similar to PaperWM. The plugin supports gaps, borders, decorations, +special workspace, full screen modes, overview, marks, pinned columns, +touchpad gestures, copying/pasting windows, trails/trailmarks, quick +jump mode, and installation through hyprpm.") + (license license:expat)))) + (define-public i3status (package (name "i3status") From patchwork Tue Apr 1 07:34:40 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Wong X-Patchwork-Id: 41120 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 5470E27BBEA; Tue, 1 Apr 2025 08:55:23 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 0CD9A27BBE2 for ; Tue, 1 Apr 2025 08:55:23 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tzWSm-0004C4-05; Tue, 01 Apr 2025 03:55:12 -0400 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 1tzWSf-0004A5-HC for guix-patches@gnu.org; Tue, 01 Apr 2025 03:55:05 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tzWSf-00046z-6R for guix-patches@gnu.org; Tue, 01 Apr 2025 03:55:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=tKZ9uX7DHlc9napV6XZmv+DxjphM+qLvAfHq6SBaz7E=; b=QODmga+K1INFGSZZYEKnVG+41ZZVCMri/cqcaF5xkHv9Gp/KE3PZqxoTl7BfaaqbLh0arAmMsucnxEwo5kfxErjl6AHV5cp1nlRu36J4htYPnDq1FE1wje5WfeUs7uggtr5KeW3BnXmoRZ5Lik0gJQTAGHZ3LEV5cdGK/Zs8I7rPcxN9kUPuJzFeb/rmNgr8/02qvjrL5wFhljDMi7O5md0qEeSUI8eSVBax0ka1k+3ZHxzBg4nedh7pnK76JBziqXWlZQSkdUUx8W9nSt6HzAS9bi2ItKlWZLu4VcnizaazacVeGGNzQG2NQakhonTQBSLLVnAcqvEmgvN7Xi8juQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tzWSe-0005t5-VO for guix-patches@gnu.org; Tue, 01 Apr 2025 03:55:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#76910] [PATCH v3 3/5] gnu: Add hy3. Resent-From: Andrew Wong Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 01 Apr 2025 07:55:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 76910 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 76910@debbugs.gnu.org Cc: Andrew Wong Received: via spool by 76910-submit@debbugs.gnu.org id=B76910.174349404822193 (code B ref 76910); Tue, 01 Apr 2025 07:55:04 +0000 Received: (at 76910) by debbugs.gnu.org; 1 Apr 2025 07:54:08 +0000 Received: from localhost ([127.0.0.1]:45019 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tzWRk-0005lm-2W for submit@debbugs.gnu.org; Tue, 01 Apr 2025 03:54:08 -0400 Received: from qs51p00im-qukt01080302.me.com ([17.57.155.21]:2507) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tzWRi-0005kk-15 for 76910@debbugs.gnu.org; Tue, 01 Apr 2025 03:54:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; bh=tKZ9uX7DHlc9napV6XZmv+DxjphM+qLvAfHq6SBaz7E=; h=From:To:Subject:Date:Message-ID:MIME-Version:x-icloud-hme; b=HnNJGVusetg1uiEfTKTphE7lL+nizq5yBJTl1LqaXVbn0/xcst9dzM99Zt0z9kuuD NeqkfehC3AFaI9hS2n8jey7Cssc4bMvo9lstcSbWDDlTCp2+eAmiCQhN/NgkrFB+z1 +YcVjpqkSroiMl5Epg2IFYzZwdWWY+1D9PSUsp+44HNDzW/v5fB9pQqYOh00b7zk0h haoLo7a9HFa/JW/tXS2viEa2ehBEXPv/u4ej8PJolW9smTeIAiyw/fx/ATt9RobzIi IOefXsk12iaaykhRSNPnAk+J7vTKIj6ivwZSKfXrZgkR2YQ3yBER9UEr+GmvzbwVxS FvK/4r+x5GQIQ== Received: from wongworks.lan (qs51p00im-dlb-asmtp-mailmevip.me.com [17.57.155.28]) by qs51p00im-qukt01080302.me.com (Postfix) with ESMTPSA id 32AE011401E4; Tue, 1 Apr 2025 07:53:59 +0000 (UTC) Date: Tue, 1 Apr 2025 03:34:40 -0400 Message-ID: X-Mailer: git-send-email 2.49.0 In-Reply-To: References: MIME-Version: 1.0 X-Proofpoint-GUID: Um8CTx2Dsc0fT-LcotID0YjubpWai2qF X-Proofpoint-ORIG-GUID: Um8CTx2Dsc0fT-LcotID0YjubpWai2qF X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1095,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-04-01_03,2025-03-27_02,2024-11-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 bulkscore=0 suspectscore=0 mlxscore=0 phishscore=0 clxscore=1015 mlxlogscore=999 adultscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2504010051 X-Apple-Remote-Links: v=1;h=KCk=;charset=UTF-8 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: Andrew Wong X-ACL-Warn: , Andrew Wong via Guix-patches X-Patchwork-Original-From: Andrew Wong via Guix-patches via From: Andrew Wong 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 * gnu/packages/wm.scm (hy3): New variable. Change-Id: Id42dc76ab3440c7c651933c60b1ae30f8055afed --- gnu/packages/wm.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index e5bfe97c33..399075e668 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -573,6 +573,43 @@ (define-public hyprscroller jump mode, and installation through hyprpm.") (license license:expat)))) +(define-public hy3 + (let ((commit "4014433d1c3d1bf36c6684cff14c23d538337070")) + (package + (name "hy3") + (version (git-version "0.48.1" "0" commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/outfoxxed/hy3") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0qrkb946zz4675qk1n4l7ik5w6n7v6m38yq9g0lwhqxmddrp2j89")))) + (build-system cmake-build-system) + (native-inputs (list gcc-14 pkg-config)) + (inputs (list aquamarine + eudev + hyprgraphics + hyprlang + hyprutils + libdrm + libinput + libxkbcommon + mesa + pango + pixman + wayland + hyprland)) + (arguments (list #:tests? #f)) + (home-page "https://github.com/outfoxxed/hy3") + (synopsis "Hyprland plugin for an i3/sway-like manual tiling layout") + (description + "hy3 is a Hyprland plugin providing an i3/sway-like manual tiling layout, +including node-based window manipulation and optional autotiling.") + (license license:gpl3)))) + (define-public i3status (package (name "i3status") From patchwork Tue Apr 1 07:34:41 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Wong X-Patchwork-Id: 41118 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 F3CED27BBEA; Tue, 1 Apr 2025 08:55:15 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 D1ED927BBE2 for ; Tue, 1 Apr 2025 08:55:14 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tzWSi-0004B0-Le; Tue, 01 Apr 2025 03:55:08 -0400 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 1tzWSg-0004AV-EZ for guix-patches@gnu.org; Tue, 01 Apr 2025 03:55:06 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tzWSg-00048i-3U for guix-patches@gnu.org; Tue, 01 Apr 2025 03:55:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=k277+Tl24pUBm6ltaen0sQ1iEsdd9kxAG82VfAL8P5Q=; b=fqthUBBRUP1xZcbeqU89s57P7LCl15147ZlFWn7Hf/M5yp9Oq0SYsf47/28HQeAofXVrox//Fk6etA86Djm2WLu3UahkwdCXWsW9xlnqIc/CAsUbQcsCEYh9WPJtjTBjZgb8GDkC2tf/Gy3PTdCHAcLs3aeIbygqWm/qorEPM4tB1nxifl3noZskRZ2G0dMvvPXQiE5kOpQWr2Duo86LsENSxIX9w6k850LKLgqk2Z7W0y2qHChZcy7tZhRq+u+Qr6kZxE4HS1PV1zbgAyBe8wujebkS9t5iEd6sJKO3k+QAiVjrrfry4JoCBvVKms5J09V54OyqdiCLKmEcvPDojw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tzWSf-0005tM-Ts for guix-patches@gnu.org; Tue, 01 Apr 2025 03:55:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#76910] [PATCH v3 4/5] gnu: Add hypr-darkwindow. Resent-From: Andrew Wong Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 01 Apr 2025 07:55:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 76910 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 76910@debbugs.gnu.org Cc: Andrew Wong Received: via spool by 76910-submit@debbugs.gnu.org id=B76910.174349405222223 (code B ref 76910); Tue, 01 Apr 2025 07:55:05 +0000 Received: (at 76910) by debbugs.gnu.org; 1 Apr 2025 07:54:12 +0000 Received: from localhost ([127.0.0.1]:45025 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tzWRo-0005mI-5E for submit@debbugs.gnu.org; Tue, 01 Apr 2025 03:54:12 -0400 Received: from qs51p00im-qukt01080302.me.com ([17.57.155.21]:25043) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tzWRj-0005l7-VJ for 76910@debbugs.gnu.org; Tue, 01 Apr 2025 03:54:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; bh=k277+Tl24pUBm6ltaen0sQ1iEsdd9kxAG82VfAL8P5Q=; h=From:To:Subject:Date:Message-ID:MIME-Version:x-icloud-hme; b=r/pmVOeDEpO7PqBd/aXGL64yv9ceuRrocsHTWFXQyO88PjBHrBoEUrwiJkxJZqKa7 7IuSbmJ0dR/5yjthGCbkPmPt+z6eXlfJ2bl/dKKJmIBNGXodHCXMD7fmFuFrD1D9pc pNWpJ3oNdsRMNJsRDgyw10uaGxaKzHJyaR9DwewmI4gpnJdLnb8nomO3b/yytadSeK 98CYS4dvGACiUGMQjrDgp76ZG01SPCF6WXk/BBXiQoHqcTsM9cCkCRNPRKIXNpfkgG is9+kHdiGNJPoZ9aUWW2Dn2donZHiokRTJ17FEPq2sniMk6vowfWgW4KfZtHkr2Oti B//X6IfN7O/9g== Received: from wongworks.lan (qs51p00im-dlb-asmtp-mailmevip.me.com [17.57.155.28]) by qs51p00im-qukt01080302.me.com (Postfix) with ESMTPSA id 201D61140259; Tue, 1 Apr 2025 07:54:00 +0000 (UTC) Date: Tue, 1 Apr 2025 03:34:41 -0400 Message-ID: <9299aa751f75e6b631eff5e24a03ea59c646bfd6.1743492882.git.wongandj@icloud.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: References: MIME-Version: 1.0 X-Proofpoint-GUID: S9alRqyKjWI4qZjp9gubBWyA7zLFqR-u X-Proofpoint-ORIG-GUID: S9alRqyKjWI4qZjp9gubBWyA7zLFqR-u X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1095,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-04-01_03,2025-03-27_02,2024-11-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 bulkscore=0 suspectscore=0 mlxscore=0 phishscore=0 clxscore=1015 mlxlogscore=999 adultscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2504010051 X-Apple-Remote-Links: v=1;h=KCk=;charset=UTF-8 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: Andrew Wong X-ACL-Warn: , Andrew Wong via Guix-patches X-Patchwork-Original-From: Andrew Wong via Guix-patches via From: Andrew Wong 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 * gnu/packages/wm.scm (hypr-darkwindow): New variable. Change-Id: Ide445c85047e17b5817580bde896a6c303e6a4cd --- gnu/packages/wm.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 399075e668..537150e138 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -610,6 +610,53 @@ (define-public hy3 including node-based window manipulation and optional autotiling.") (license license:gpl3)))) +(define-public hypr-darkwindow + (let ((commit "2d2e7ebac5c52cb23f3cbf06052ceba47a73802d")) + (package + (name "hypr-darkwindow") + (version (git-version "0.48.1" "0" commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/micha4w/Hypr-DarkWindow") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0avrc6bcgynvb0j5hw3fh585n971kxrk8bfgwpng6d5m6flav26z")))) + (build-system gnu-build-system) + (native-inputs (list gcc-14 pkg-config)) + (inputs (list aquamarine + eudev + hyprgraphics + hyprlang + hyprutils + libdrm + libinput + libxkbcommon + mesa + pango + pixman + wayland + hyprland)) + (arguments + (list + #:tests? #f + #:phases + #~(modify-phases %standard-phases + (delete 'configure) + (replace 'install + (lambda* _ + (install-file "out/hypr-darkwindow.so" + (string-append #$output "/lib"))))))) + (home-page "https://github.com/micha4w/Hypr-DarkWindow") + (synopsis "Hyprland plugin that provides window color inversion") + (description + "This plugin adds the dispatchers @code{invertwindow WINDOW} +and @code{invertactivewindow}, which invert the colors of the indicated +window.") + (license license:expat)))) + (define-public i3status (package (name "i3status") From patchwork Tue Apr 1 07:34:42 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Wong X-Patchwork-Id: 41121 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 9307F27BBEA; Tue, 1 Apr 2025 08:55:37 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 2F38527BBE2 for ; Tue, 1 Apr 2025 08:55:37 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tzWSq-0004G0-Iz; Tue, 01 Apr 2025 03:55:17 -0400 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 1tzWSk-0004BR-8w for guix-patches@gnu.org; Tue, 01 Apr 2025 03:55:10 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tzWSg-000492-TS for guix-patches@gnu.org; Tue, 01 Apr 2025 03:55:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=rEw/HbYuRgONznjQipsSBAnT0veh+bsKQv1n7w/HlCw=; b=G9UFcEUjpo1+XGpWU9V4gv3NP38O/8vzOvx+aPpJzcwgpKGcdEhTgcPYyeJppnKhgUL1ivq4AiKXlgsb3CybOUqK7/oXDplffeZINThoA+JLc8gcnR2Fs0Bwqm0CeJfdHQoDw9EsrjQkx5uQVjcRcWptq1HZjPr7gGzVEM4vuvKuCZflREboh0TQaTmqlFHpWg2p6IdOsfl4KID+8MOBqOSNRa5igQwLtrFLMjXHx7U0h1z2OWrnxN2kuST9yRwZKP1T4ol2o+/Vhempj341vHbbR1oVOcLtb2e96PO3QbO3Mh/CEMQCpnMzzZ59WMFXuRi+arkI9XVn7GsyNo9KBA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tzWSg-0005tc-Lu for guix-patches@gnu.org; Tue, 01 Apr 2025 03:55:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#76910] [PATCH v3 5/5] gnu: Add hyprland plugin maintainer note Resent-From: Andrew Wong Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 01 Apr 2025 07:55:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 76910 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 76910@debbugs.gnu.org Cc: Andrew Wong Received: via spool by 76910-submit@debbugs.gnu.org id=B76910.174349405522234 (code B ref 76910); Tue, 01 Apr 2025 07:55:06 +0000 Received: (at 76910) by debbugs.gnu.org; 1 Apr 2025 07:54:15 +0000 Received: from localhost ([127.0.0.1]:45027 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tzWRq-0005mW-JH for submit@debbugs.gnu.org; Tue, 01 Apr 2025 03:54:15 -0400 Received: from qs51p00im-qukt01080302.me.com ([17.57.155.21]:30483) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tzWRl-0005lW-Tz for 76910@debbugs.gnu.org; Tue, 01 Apr 2025 03:54:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; bh=rEw/HbYuRgONznjQipsSBAnT0veh+bsKQv1n7w/HlCw=; h=From:To:Subject:Date:Message-ID:MIME-Version:x-icloud-hme; b=No+VaB58sD4T+mg0OXMlNownj3lK9ez7cpmbSLOoIWQlh87y7e5/r8hC6vyh7w9o+ jSGy97sA6wPyicov/NC5eEN91DKDxaNwuodN8Zo+GxVesD+pMK3VzQdnEJo94OEb5w Wmm+HEuN91/rv1rQeA/Up/OZhCTLXK1wGmW3AcM1IZn1CoCNI+aPOyoqYwwsdjyC0n CMSqPRWgpQIk3t8XSIjQe/CjHvsUI5ggYx2shaWAMYoR5ZRA/L1YO/docOj/o/MrL6 +cgB1nbYQDuDSdwQARtudck2i9ylhJnNdt2DZQ0TXmbTRoHAlaoHTZNFVohZUzLU+F 2rhJQOZfWLb4g== Received: from wongworks.lan (qs51p00im-dlb-asmtp-mailmevip.me.com [17.57.155.28]) by qs51p00im-qukt01080302.me.com (Postfix) with ESMTPSA id 06E9D114021A; Tue, 1 Apr 2025 07:54:02 +0000 (UTC) Date: Tue, 1 Apr 2025 03:34:42 -0400 Message-ID: X-Mailer: git-send-email 2.49.0 In-Reply-To: References: MIME-Version: 1.0 X-Proofpoint-GUID: J-Xv6m_FuQvGx6nVq26C2akVpyr1fK8n X-Proofpoint-ORIG-GUID: J-Xv6m_FuQvGx6nVq26C2akVpyr1fK8n X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1095,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-04-01_03,2025-03-27_02,2024-11-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 bulkscore=0 suspectscore=0 mlxscore=0 phishscore=0 clxscore=1015 mlxlogscore=999 adultscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2504010051 X-Apple-Remote-Links: v=1;h=KCk=;charset=UTF-8 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: Andrew Wong X-ACL-Warn: , Andrew Wong via Guix-patches X-Patchwork-Original-From: Andrew Wong via Guix-patches via From: Andrew Wong 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 Change-Id: I971940d515b1820532abbc31754d31d6f2efd515 --- gnu/packages/wm.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 537150e138..03ccc0dce6 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -447,6 +447,33 @@ (define-public hyprland `((upstream-name . "source"))) (license license:bsd-3))) + +;; READ THIS regarding Hyprland plugin versioning +;; +;; Each Hyprland plugin contains a .toml file with an entry called `commit_pins' +;; containing pairs of commit hashes. The first hash is Hyprland's commit hash, and +;; the second hash is the hash of the plugin repository which hyprpm would switch to +;; before compiling the plugin[1]. Therefore, to remain consistent with hyprpm, when +;; upgrading a plugin, maintainers should check its .toml file and use the hash +;; corresponding to the packaged Hyprland version. If Hyprland's packaged commit is +;; not listed, packagers should use the latest working commit. For plugins that lack +;; their own version numbers, we will use git-version, with the newest supported +;; Hyprland version as the VERSION argument. +;; +;; A flaw with this way of doing things is that the correct version of a plugin will +;; not automatically be built if a transformation is used to select a different +;; version of Hyprland from what is packaged, or if Hyprland is updated without its +;; plugins. However, with the rapid pace (as of 1 Apr 2025) of Hyprland and related +;; softwares, we can reasonably hope that soon, either A) hyprpm will develop enough +;; to become usable as a Guix-managed build tool, or B) hyprpm will become obsolete +;; by the introduction of a stable, versioned Hyprland API. +;; +;; You can safely test plugins by launching hyprland from a shell (wayland sessions +;; can run within each other) and loading the plugin into it using hyprctl's +;; '--instance' option and 'plugin load' command. +;; +;; [1] https://wiki.hyprland.org/Plugins/Development/Plugin-Guidelines/#commit-pins + (define hyprland-plugin (lambda (plugin-name plugin-provision) "Generate a packaged plugin from Hyprland's official plugin repository."