From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 8LbIF7S5MGVnggEAauVa8A:P1 (envelope-from ) for ; Thu, 19 Oct 2023 07:08:04 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 8LbIF7S5MGVnggEAauVa8A (envelope-from ) for ; Thu, 19 Oct 2023 07:08:04 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 37BFA45891 for ; Thu, 19 Oct 2023 07:08:04 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=hallsby.com header.s=google header.b=WoLxHRIA; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1697692084; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=HnL4E0/eMJAxpDXgZjtZcTRFdYuXyowHbMiYA+ACkAw=; b=X7vK8J7dkx1XGdN9ScrrOffi7r49BeH3tAkOs6RfSZwhrIzge37qPhAu6c7SBaZiQx05UU gDYH29WV4LMZAPgh7+lt4bxRGtnL/ZjavmEM/6IusgeRImej95z0WAYMEv/06v/KZQv8/G vKjFz0KfHd7Fff4KRCxWQUzulBABwT3LuHOA9prWixfmotZOS7tPJt2pxmcaz48/llTgso epcfvGG2SIW3SLQDVEitJIRWnHG8U1O2DZVP7RIwtkoKjBXh/UMb8mwRNaLY/hDXSiyeRB p4KfCeTZ4A7L/VWHJcUS7kFyuAdXjnBkBVf6OrYvMd3JY1aPGIfTBRdRVzTYRg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1697692084; a=rsa-sha256; cv=none; b=FYkNJtljp5rKE0kYroSlqVl+sKigRxYtWl5G2zGUBOQeV4UEpKittg+7H0X7NwVwkmq3Cp vOU0ob4h3Fef0tG9xkgxl9ODlEdCZN0yV9COEXz/8zFLH03ua6hs+3PJsmYTTmlBTBKsBe sS7EiMVZTLEnHHxyEDZMdyPdZr1iYP7pasACVCHsdU5b2XhhyUEzV2p8eQdKxUU2T+TWHY tOMy7qNprmpK9naLJqdLM5ReS3J0crVSIf1HGsBFFkLaF1stVe1gj59LKYjgshkeAsFoqN z6jMnK8Fe8VSaKnUwap+7T5tscQVVqIJeeqZASI3nlHFpEJ6muQrTSsbzDiu/g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=hallsby.com header.s=google header.b=WoLxHRIA; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qtLG0-0004kL-Fk; Thu, 19 Oct 2023 01:07:40 -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 1qtLFx-0004jx-Ki for guix-patches@gnu.org; Thu, 19 Oct 2023 01:07:39 -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 1qtLFw-0008VO-LK for guix-patches@gnu.org; Thu, 19 Oct 2023 01:07:37 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qtLGM-0007cd-U0 for guix-patches@gnu.org; Thu, 19 Oct 2023 01:08:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66623] [PATCH 3/3] gnu: Add mahogany Resent-From: Karl Hallsby Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 19 Oct 2023 05:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66623 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66623@debbugs.gnu.org Cc: Karl Hallsby Received: via spool by 66623-submit@debbugs.gnu.org id=B66623.169769204329214 (code B ref 66623); Thu, 19 Oct 2023 05:08:02 +0000 Received: (at 66623) by debbugs.gnu.org; 19 Oct 2023 05:07:23 +0000 Received: from localhost ([127.0.0.1]:35424 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtLFj-0007aw-6w for submit@debbugs.gnu.org; Thu, 19 Oct 2023 01:07:23 -0400 Received: from mail-il1-x12d.google.com ([2607:f8b0:4864:20::12d]:52447) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtLFh-0007aY-64 for 66623@debbugs.gnu.org; Thu, 19 Oct 2023 01:07:22 -0400 Received: by mail-il1-x12d.google.com with SMTP id e9e14a558f8ab-3513b5a9e8eso31294075ab.0 for <66623@debbugs.gnu.org>; Wed, 18 Oct 2023 22:06:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hallsby.com; s=google; t=1697692009; x=1698296809; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=HnL4E0/eMJAxpDXgZjtZcTRFdYuXyowHbMiYA+ACkAw=; b=WoLxHRIAEodR0DPIkKeHgZMSICIfxDavxEFLD10sT4lPs1XUksgddPUdLxmjI6Q2t9 HqvvB9uaFjkVGurfyvmV51cq1NW9JANwD76NykzzX1b+G7HngXlYfTVK/xtXDDm8Nj8o lIwg4BQaFbwhfIxFTKRkRfCN1fgjCwRGuUuzZCm5oJ0mbQdbgHDkbtbCPP9Fpp7bQbQr 08H92+kmVCrF2Jm47wpP0KKN0Q3R8rPkvqdpiPFoE++YW0MP/tlFSl1iPFH16YoZu3iD s4cC+fKFQCXpOKXJsZLQhEXK4OBi81S55jStWHTqPWe1DQXfjfoe6THOYXVlJi+1EBvb KxQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697692009; x=1698296809; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HnL4E0/eMJAxpDXgZjtZcTRFdYuXyowHbMiYA+ACkAw=; b=YxTD/PCBeEdjOYsNUE1g6z+Nz39Gs7IsaNnLbv3EHujFt4cLO9+sr+w/WiEe5mER4t psNjD4gIiwY/c/DtvdU7USbAtBzTC4CNZwIR+RadJJrXOmVz2hgUiVaeS2cPqTYygdKa maDddQ+f79WwsHNAdqeanzzcMOll/EG9tfF1DSJlpwyYBqnzrLNPRLrMhojCP8LUdK0z 0CnDytQ/GQGwg6aJlQivM/Un9GWmhapRuLPSeqsTsujTAIN28iqNQVHVirnUMNcjX/bj n6lNPpMFXYFFOGOKeVjY4BdLgbjM0HNr/Otou1XUd6Tk8rrPFxtTec9/+mgUJ8v8OMQR zNOw== X-Gm-Message-State: AOJu0YwitZsYzOGDHROG0IW85LD25ALzS2Z5Lts0Pn1pX+L8Y9DOBht6 x30et9Tom7Q5CPxYhj8Uh2KwY/ciGLbwzNMf6BA= X-Google-Smtp-Source: AGHT+IGnFS84pGppwLcOsiCcPdl36i4OSk3fK1CWpAtPDqE5RuFbiZ37nSOzBhNl1vuva8K5QxMigg== X-Received: by 2002:a05:6e02:8ed:b0:351:5716:2bdb with SMTP id n13-20020a056e0208ed00b0035157162bdbmr1486154ilt.5.1697692008907; Wed, 18 Oct 2023 22:06:48 -0700 (PDT) Received: from Karl-Desktop.raven ([207.237.221.33]) by smtp.gmail.com with ESMTPSA id b19-20020a026f53000000b0042af069eeefsm1698243jae.50.2023.10.18.22.06.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 22:06:48 -0700 (PDT) Date: Thu, 19 Oct 2023 00:06:03 -0500 Message-ID: <7dd80c8859e89e5395e4b419c54dfaaa870b46ac.1697691783.git.karl@hallsby.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: Karl Hallsby X-ACL-Warn: , Karl Hallsby via Guix-patches From: Karl Hallsby via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -6.65 X-Migadu-Queue-Id: 37BFA45891 X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -6.65 X-TUID: bGLsIf12+jmK * gnu/packages/wm.scm (New variable): Add mahogany window manager. --- gnu/packages/wm.scm | 71 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 8576d0297d..86276165e3 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -64,6 +64,7 @@ ;;; Copyright © 2023 Jonathan Brielamier ;;; Copyright © 2023 Vessel Wave ;;; Copyright © 2023 Nicolas Graves +;;; Copyright © 2023 Raven Hallsby ;;; ;;; This file is part of GNU Guix. ;;; @@ -2614,6 +2615,76 @@ (define-public sbcl-stumpwm-battery-portable modeline. It can be displayed in the modeline with %B.") (license (list license:expat license:gpl3+)))) +(define-public mahogany + (let ((commit "ca4472bdb284b4f70bb7365fbaa421f6c2d382d1") + (revision "0")) + (package + (name "mahogany") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/stumpwm/mahogany") + (commit commit))) + (file-name (git-file-name "mahogany" version)) + (sha256 + (base32 "1bnnw5p0wp1lm7jvf66mlgiaxbxxxnd54nhxd2794ajlgmdfps3h")))) + (build-system asdf-build-system/sbcl) + (native-inputs + (list sbcl-fiasco + sbcl-prove)) + (inputs + (list libxkbcommon + sbcl-xkbcommon + sbcl-wayland + sbcl-alexandria + sbcl-cl-ansi-text + sbcl-terminfo + sbcl-snakes + sbcl-iterate + sbcl-cffi ;; Provides cffi-grovel + sbcl-closer-mop + sbcl-cl-ppcre + sbcl-clx + wayland + wayland-protocols)) + (outputs '("out" "lib")) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'create-asdf-configuration 'build-program + (lambda* (#:key outputs #:allow-other-keys) + (build-program + (string-append (assoc-ref outputs "out") "/bin/mahogany") + outputs + #:entry-program '((mahogany::run-server) 0)))) + (add-after 'build-program 'create-desktop-file + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (xsessions (string-append out "/share/xsessions"))) + (mkdir-p xsessions) + (call-with-output-file + (string-append xsessions "/mahogany.desktop") + (lambda (file) + (format file + "[Desktop Entry]~@ + Name=stumpwm~@ + Comment=The Mahogany Window Manager~@ + Exec=~a/bin/mahogany~@ + TryExec=~@*~a/bin/mahogany~@ + Icon=~@ + Type=Application~%" + out))))))))) + (synopsis "Window manager for Wayland written in Common Lisp") + (description + "Mahogany is a tiling window manager for Wayland modeled after StumpWM. +While it is not a drop-in replacement for stumpwm, stumpwm users should be +very comfortable with Mahogany.") + (home-page "https://github.com/stumpwm/mahogany") + (license license:gpl2+)))) + (define-public lemonbar (package (name "lemonbar") -- 2.41.0