From patchwork Thu Oct 19 05:06:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Karl Hallsby X-Patchwork-Id: 55008 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 B48DE27BBE9; Thu, 19 Oct 2023 06:08:05 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 A001327BBE2 for ; Thu, 19 Oct 2023 06:08:03 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qtLG0-0004kI-E3; 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-0004jw-Kl 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 1qtLFx-0008VQ-3y 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-0007cW-Gx; Thu, 19 Oct 2023 01:08:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66623] [PATCH 1/3] gnu: Add sbcl-xkbcommon package Resent-From: Karl Hallsby Original-Sender: "Debbugs-submit" Resent-CC: glv@posteo.net, cox.katherine.e+guix@gmail.com, jgart@dismail.de, 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 , Guillaume Le Vaillant , Katherine Cox-Buday , jgart X-Debbugs-Original-Xcc: Guillaume Le Vaillant , Katherine Cox-Buday , jgart Received: via spool by 66623-submit@debbugs.gnu.org id=B66623.169769204329201 (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]:35422 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtLFi-0007as-OD for submit@debbugs.gnu.org; Thu, 19 Oct 2023 01:07:23 -0400 Received: from mail-io1-xd2f.google.com ([2607:f8b0:4864:20::d2f]:55314) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtLFf-0007aU-SK for 66623@debbugs.gnu.org; Thu, 19 Oct 2023 01:07:21 -0400 Received: by mail-io1-xd2f.google.com with SMTP id ca18e2360f4ac-7a66b5f7ea7so65248939f.2 for <66623@debbugs.gnu.org>; Wed, 18 Oct 2023 22:06:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hallsby.com; s=google; t=1697692007; x=1698296807; 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=Nfg98LHYPvJ+2AYeI1XjFD42WFThlZ+30J0gnKnI1qE=; b=Whu8yQCbx0W0ogdgenOXViLB1hJHTTbz6aCTkLpSzPq2cejVpQ3Y1UTxdGJnLiZYfK uvbFzsXmxc4Hlpy/qxwTf9ZlzeEHFVphOkl6+WxIuI9TqnkEvai4rvuYrbsIIKi9Jo6W TqSN03++OOg4T77s2zGiboqnDc5Mq5U8wFMXSy3XrfHfzpWumhxm3PApXfcJFD6JxNTX coGKbD2GpKZgoZphgJH2yMRPK3/lqBt0c4LRCx/dnSGMXWnAI8IUG7aX+pJgyk4IWTSC /7PJKRl6eddloDyfbwduyh/9gCrEV3ZRCOfsResoTof1F6X+XIx8Q26w2qBMn9GfrSTv E0BA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697692007; x=1698296807; 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=Nfg98LHYPvJ+2AYeI1XjFD42WFThlZ+30J0gnKnI1qE=; b=XP4NZdoeIo6IOckm5xNszF92S8v+3Oas740ZfKvucleTXaaf5yCbW+tO3F+CkU2CRw DMph+/hpdhchd0gJTxakd/E0DQCWbJwq0lHShARdRNGJkMT+IdKlp/fWU5XkCp2KakxR adxEVnFcni7q3dDRxoHTYtxf5h4WOvV3Vdwfjvly4ObX0U6ep/J2nfFMSe2ZmC6+3XKc pe5+kdZMTSdqWmDMcFEWJa1yGxwduBfVeLta9PBtJssuBiZdXclLEGfsF3i+ds3AvFUt 9VdwiPz7L7gHNQ+2VydoIBpx/lZdOO0SSQUhfTmnQgc70x+9qrv6MOCZp201m4T2m5Id tWqA== X-Gm-Message-State: AOJu0Yx9wy4pXBoMXc4nT/Es1dNlecS0pa/A/ngS/HeXZYVj8N1eoEFT OcemNaSRHCQZDKIoXaC/16fky46EXTl8ZyUm0So= X-Google-Smtp-Source: AGHT+IHYV8p3ibt7zzynCo1hqeM9gybVe203Ysogp/98Cg4bVsRWns+Tpv81xXzGhaJXcpqfSeMHxQ== X-Received: by 2002:a05:6602:2e90:b0:79f:a25b:51c with SMTP id m16-20020a0566022e9000b0079fa25b051cmr1512909iow.11.1697692007322; Wed, 18 Oct 2023 22:06:47 -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.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 22:06:46 -0700 (PDT) Date: Thu, 19 Oct 2023 00:06:01 -0500 Message-ID: <95701221bfe259fbb2aa52b684cdc4d928aea4a2.1697691783.git.karl@hallsby.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 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 X-Patchwork-Original-From: Karl Hallsby via Guix-patches via From: Karl Hallsby 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/lisp-xyz.scm (New variable): Add sbcl-xkbcommon package at most recent revision. --- gnu/packages/lisp-xyz.scm | 46 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index f2c581e65f..1ac43e7e3a 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -40,6 +40,7 @@ ;;; Copyright © 2023 Roman Scherer ;;; Copyright © 2023 ykonai ;;; Copyright © 2023 Gabriel Hondet +;;; Copyright © 2023 Raven Hallsby ;;; ;;; This file is part of GNU Guix. ;;; @@ -26738,6 +26739,51 @@ (define-public cl-nkeymaps (define-public ecl-nkeymaps (sbcl-package->ecl-package sbcl-nkeymaps)) +(define-public sbcl-xkbcommon + (let ((commit "aa9513d93f42d7816f88dd1bd8bd21375e7d7512") + (revision "0")) + (package + (name "sbcl-xkbcommon") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sdilts/cl-xkbcommon") + (commit commit))) + (file-name (git-file-name "sbcl-xkbcommon" version)) + (sha256 + (base32 "02zdbkh7yliw9vg8i8wx2xgcpfni0fr4z0w19kkxvaib8xm9rx1q")))) + (build-system asdf-build-system/sbcl) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-paths + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "xkbcommon.lisp" + (("\\(define-foreign-library libxkbcommon" all) + (string-append all "\n" + " (:unix \"" + (assoc-ref inputs "libxkbcommon") + "/lib/libxkbcommon.so\")")))))))) + (native-inputs + (list pkg-config)) + (inputs + (list libxkbcommon + sbcl-cffi)) + (home-page "https://github.com/sdilts/cl-xkbcommon") + (synopsis "Common Lisp FFI bindings for xkbcommon (libxkbcommon)") + (description + "Common Lisp FFI bindings for xkbcommon (libxkbcommon) using +cffi-grovel.") + (license license:expat)))) + +(define-public cl-xkbcommon + (sbcl-package->cl-source-package sbcl-xkbcommon)) + +(define-public ecl-xkbcommon + (sbcl-package->ecl-package sbcl-xkbcommon)) + (define-public sbcl-njson (package (name "sbcl-njson") From patchwork Thu Oct 19 05:06:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Karl Hallsby X-Patchwork-Id: 55006 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 5C8EB27BBE2; Thu, 19 Oct 2023 06:07:59 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 BEF6D27BBE9 for ; Thu, 19 Oct 2023 06:07:57 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qtLG2-0004ky-3K; Thu, 19 Oct 2023 01:07:42 -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 1qtLG0-0004kc-Nt for guix-patches@gnu.org; Thu, 19 Oct 2023 01:07:40 -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 1qtLG0-0008Vk-Fw for guix-patches@gnu.org; Thu, 19 Oct 2023 01:07:40 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qtLGN-0007ck-Ch; Thu, 19 Oct 2023 01:08:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66623] [PATCH 2/3] gnu: Add sbcl-wayland package Resent-From: Karl Hallsby Original-Sender: "Debbugs-submit" Resent-CC: glv@posteo.net, cox.katherine.e+guix@gmail.com, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Thu, 19 Oct 2023 05:08:03 +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 , Guillaume Le Vaillant , Katherine Cox-Buday , jgart X-Debbugs-Original-Xcc: Guillaume Le Vaillant , Katherine Cox-Buday , jgart Received: via spool by 66623-submit@debbugs.gnu.org id=B66623.169769204529222 (code B ref 66623); Thu, 19 Oct 2023 05:08:03 +0000 Received: (at 66623) by debbugs.gnu.org; 19 Oct 2023 05:07:25 +0000 Received: from localhost ([127.0.0.1]:35427 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtLFk-0007bG-Qt for submit@debbugs.gnu.org; Thu, 19 Oct 2023 01:07:25 -0400 Received: from mail-io1-xd2e.google.com ([2607:f8b0:4864:20::d2e]:59622) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtLFg-0007aW-KU for 66623@debbugs.gnu.org; Thu, 19 Oct 2023 01:07:23 -0400 Received: by mail-io1-xd2e.google.com with SMTP id ca18e2360f4ac-79faf4210b2so286547639f.2 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=1697692008; x=1698296808; 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=oURb4DEY3Gw1hUC//+R51wcyO3KUyWrB8QZbdIuQInY=; b=VyjnAG5C7WsY1QkE4A3Sq4Vf++DunUDzKFYu9vdlOAGbj0GN32v3JXw2Zn62dfoSL7 niSWRTsbbCALF1Qp0fAH0S0+x8f6fQmTuQrOhtT0wrQ8l2oaZSJne4/jazXQBic1nqu+ vEGAYLtEMltdBC6QY6iA7uF3fmowidflJEMLJGUhkdP4jGWZQ6g8rPyfUJ6uNGSldMEe fndtWZQK8t3s1buFcDnnqW/mH0FcWf2vRia3L/Pwo7cqSdrvwWh7BZudflQzcb9dFw6v C1jwyKEarxg6vEyAjE1MOxCOXSzAOpJa70MrVNNHG6oKHLsLHOBBG/EdKMJ1LgaigKgn gC5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697692008; x=1698296808; 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=oURb4DEY3Gw1hUC//+R51wcyO3KUyWrB8QZbdIuQInY=; b=RpTroCumzbH3AjJfbQv0lTzjE3YqPjFpo7KBvUVqmK7y5EoalkiCM9pt1RbzKnzigw OTQ8vlTsk/q9vv8VkpIHrRCjRhf5zI8oEYDIj52pxOS6+CQlGzWwAUqtF6GsxDk+njC7 AxPu0T27v4T+uExwCy/qAd5/z53cDqT81ZAe3GecPLn0yOtrxX15yjV+T2vc30RmL9IL IZAQaqeTHrM8HvGcgH5tROKyzbiOl0UpPgYOCRLSqKBccPRpGgWf+dDTb4IFqh80kXCy PHxLhspdtSsPhAgCMVZN8PNFCHyJtLArAmk2Mgh6mDUEXv/a9FfERZ8SVFCUZFD6sBYe a+hA== X-Gm-Message-State: AOJu0Yy2rmgWaYjlOxPcKepfWX0OfD3VYNNmU1H4pEQ7YS3EID+QWQt9 f6puLlWIyQ//Ye0k/9xD+bKPI0FKwU8HdFN2MjM= X-Google-Smtp-Source: AGHT+IEJCjJdxSFwKIe8+YKTt8iL+Ro4r9tg15rwrjTgquqIlVnrP5PAYFfdXD9jFu4eUgFAWpWTFw== X-Received: by 2002:a05:6602:491:b0:77a:e86a:c24b with SMTP id y17-20020a056602049100b0077ae86ac24bmr1542539iov.6.1697692008131; 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.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 22:06:47 -0700 (PDT) Date: Thu, 19 Oct 2023 00:06:02 -0500 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 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 X-Patchwork-Original-From: Karl Hallsby via Guix-patches via From: Karl Hallsby 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/lisp-xyz.scm (New Variable): Add sbcl-wayland package. --- gnu/packages/lisp-xyz.scm | 44 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 1ac43e7e3a..b2180e5fcd 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -2174,6 +2174,50 @@ (define-public cl-clx (define-public ecl-clx (sbcl-package->ecl-package sbcl-clx)) +(define-public sbcl-wayland + (let ((commit "a92a5084b64102f538ab90212e99c7863e5338ae") + (revision "0")) + (package + (name "sbcl-cl-wayland") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sdilts/cl-wayland") + (commit commit))) + (file-name (git-file-name "sbcl-wayland" version)) + (sha256 + (base32 "1r4fn9dc0dz2b30k8z243yacx1y5z21qk4zh2ildj7ak51qx53zf")))) + (build-system asdf-build-system/sbcl) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-paths + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "wayland-server-core.lisp" + (("\\(define-foreign-library wayland-server" all) + (string-append all "\n" + " (:unix \"" + (assoc-ref inputs "wayland") + "/lib/libwayland-server.so\")")))))))) + (inputs + (list sbcl-cffi + sbcl-closer-mop + wayland)) + (home-page "https://github.com/sdilts/cl-wayland") + (synopsis "Common Lisp FFI bindings for libwayland") + (description + "Common Lisp FFI bindings for libwayland, primarily for the mahogany +window manager.") + (license license:bsd-3)))) + +(define-public cl-wayland + (sbcl-package->cl-source-package sbcl-wayland)) + +(define-public ecl-wayland + (sbcl-package->ecl-package sbcl-wayland)) + (define-public sbcl-clx-truetype (let ((commit "c6e10a918d46632324d5863a8ed067a83fc26de8") (revision "1")) From patchwork Thu Oct 19 05:06:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Karl Hallsby X-Patchwork-Id: 55007 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 8AEDA27BBE9; Thu, 19 Oct 2023 06:08:05 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 2F76B27BBEA for ; Thu, 19 Oct 2023 06:08:04 +0100 (BST) 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 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 X-Patchwork-Original-From: Karl Hallsby via Guix-patches via From: Karl Hallsby 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 (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")