From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id uENnEDsd12NP0AAAbAwnHQ (envelope-from ) for ; Mon, 30 Jan 2023 02:28:27 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id iDlqEDsd12OpIwAA9RJhRA (envelope-from ) for ; Mon, 30 Jan 2023 02:28:27 +0100 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 02813216B9 for ; Mon, 30 Jan 2023 02:28:26 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pMIxq-0001Ul-3j; Sun, 29 Jan 2023 20:28:06 -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 1pMIxn-0001UN-Jb for guix-patches@gnu.org; Sun, 29 Jan 2023 20:28:04 -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 1pMIxn-0007sp-2P for guix-patches@gnu.org; Sun, 29 Jan 2023 20:28:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pMIxm-0000L8-Gt for guix-patches@gnu.org; Sun, 29 Jan 2023 20:28:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61056] [PATCH v4 1/2] gnu: Add jwm. References: <20230125111514.5194-1-tumashu@163.com> In-Reply-To: <20230125111514.5194-1-tumashu@163.com> Resent-From: Feng Shu Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 30 Jan 2023 01:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61056 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61056@debbugs.gnu.org Received: via spool by 61056-submit@debbugs.gnu.org id=B61056.16750420321237 (code B ref 61056); Mon, 30 Jan 2023 01:28:02 +0000 Received: (at 61056) by debbugs.gnu.org; 30 Jan 2023 01:27:12 +0000 Received: from localhost ([127.0.0.1]:45649 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMIwx-0000Jt-J8 for submit@debbugs.gnu.org; Sun, 29 Jan 2023 20:27:11 -0500 Received: from m12.mail.163.com ([220.181.12.199]:35724) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMIwu-0000JI-1q for 61056@debbugs.gnu.org; Sun, 29 Jan 2023 20:27:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-ID:MIME-Version: Content-Type; bh=itEC8H80toXHw1d6WLk3YPDwZoJ11m4Wws7g9ObSVts=; b=ei0vH05F+iArNW1zQnx2Xa567IViNNXEmq/jAfMXxqEIayQkfHLWE/5E5phgLo eUW31AnG7VvOpkrRaihQBxJ32sq+VOMGKYMmFOiK9erZ8gBceY6YhnFnhXeYU5K7 l4CrEIvic4C/qqhV6roXFKuwqt/Bs1iGB5UP+GB+CDy1A= Received: from Tumashu (unknown [218.92.14.78]) by zwqz-smtp-mta-g0-3 (Coremail) with SMTP id _____wAnJgreHNdjK4icCA--.23145S2; Mon, 30 Jan 2023 09:26:54 +0800 (CST) From: Feng Shu Date: Sun, 29 Jan 2023 19:12:48 +0800 Message-ID: <874js8ak2q.fsf@163.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-CM-TRANSID: _____wAnJgreHNdjK4icCA--.23145S2 X-Coremail-Antispam: 1Uf129KBjvJXoWxGry3Aw17Zw13uF17AryfCrg_yoW5ur1UpF Z09rW5Kw10vFnavr4SgF42934YgFZ5Ar4Iy34xX3sFkw1FgFy2v34YyF45uF17X3ZFka43 Xw48XFWUWrW5GrJanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07UmtCxUUUUU= X-Originating-IP: [218.92.14.78] X-CM-SenderInfo: 5wxpt2lkx6il2tof0z/xtbB0x4H1FXlx0SaqQAAse 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1675042107; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: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=itEC8H80toXHw1d6WLk3YPDwZoJ11m4Wws7g9ObSVts=; b=Q/+WNHDyMS1yr0S6sa2w2z9vt4oWiAZlmq7MawU1yz/NTEGYGkCkcUg9IbwNfLdOLp34lD nPMkYWJrtEWbSrSSDCxPExdimy09Z1NA60+mwAVJ7lMHYUtVPqHSek9LqnWBTSO99KDMAu WEoo/d82dyYcpShTBFzEC9XO2/JpfHf4LeLgb5XnFHYry08b7RHGKkxhndoIO2OWhHyn2k UBXy2gLs6WmsHwRowik6kZClIluiumYUeWpDrbBjulhKcZqpd8jjngVJwcDlvZ6PKwKwtN UPp/mOUBW9TQY21N9jx9BC0LDwAguzGYCeoX7l2DcNYNzlVKCmrc7UFaLLsgbA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=163.com header.s=s110527 header.b=ei0vH05F; dmarc=fail reason="SPF not aligned (relaxed)" header.from=163.com (policy=none); 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1675042107; a=rsa-sha256; cv=none; b=N1yJBsExBoPu4yvpLPTtEhfquV3Au7AJ3YvoegRhx88TKxsBqS9awIiVK+9yqBSNS1AN1l BxgU8uM5kNblFULaAEjAn/d0TFsNiSfu+C6xsZ+NBTQKMDjhYGOjBN6aQVTv4EllyScgc3 joxXUJuZzCDhHG6aicPRO2Gmlvi4FAE6lMrj0uZAJ1nBx5OFkBGSvuZ0su432E2zsz0fD2 eLPIcrUGrhinIkYAoaGdNPAmODFpF48MKGe3ZamvEiq2s4r2YbEoE2NC8vqMrfcnkivYmf iURsG0kTLEIK7k1iq5ndtC3JG4LtBFVkPQRU3zrjWzqwzQ6ggG8NG//DL7/U+g== X-Spam-Score: 5.92 X-Migadu-Spam-Score: 5.92 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=163.com header.s=s110527 header.b=ei0vH05F; dmarc=fail reason="SPF not aligned (relaxed)" header.from=163.com (policy=none); 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" X-Migadu-Queue-Id: 02813216B9 X-Migadu-Scanner: scn1.migadu.com X-TUID: uDgbs7htPySq * gnu/packages/wm.scm (jwm): New variable. --- gnu/packages/wm.scm | 89 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 2fd70af07f..469bc00d75 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -2764,6 +2764,95 @@ read and write, and compatible with JSON.") capabilities. It is heavily inspired by the Calm Window manager(cwm).") (license license:bsd-2))) +(define-public jwm + (package + (name "jwm") + (version "2.4.3") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/joewing/jwm/releases/download/" + "v" version "/jwm-" version ".tar.xz")) + (sha256 + (base32 + "1av7r9sp26r5l74zvwdmyyyzav29mw5bafihp7y33vsjqkh4wfzf")))) + (build-system gnu-build-system) + (arguments + (list + #:tests? #f ; no check target + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-example.jwmrc + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "example.jwmrc" + ;; Ignore existing menus in example.jwmrc. + (("") " -->") + ;; Adjust xterm path in terminal menu item. + ((">xterm") + (string-append + ">" (search-input-file inputs "/bin/xterm") + "")) + ;; Replace xscreensaver with xlock, which has been configured + ;; well by desktop-service. + (("xscreensaver-command -lock") "xlock") + ;; Adjust icons search paths. + (("/usr/local/share/jwm") + (string-append #$output "/share/jwm")) + (("/usr/local/share/icons") + "/run/current-system/profile/share/icons") + ;; Include menu created by mjwm command. + (("" all) + (string-append + all "\n " + "" + (search-input-file inputs "/bin/mjwm") + " --iconize=Adwaita --no-backup " + " --output-file $HOME/.jwmrc-mjwm-guix" + "\n " + "" + "$HOME/.jwmrc-mjwm-guix" + "\n"))))) + (add-after 'install 'install-xsession + (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 "/jwm.desktop") + (lambda (port) + (format port "~ + [Desktop Entry]~@ + Name=jwm~@ + Comment=Joe's Window Manager~@ + Exec=~a/bin/jwm~@ + Type=XSession~%" out)))) + #t))))) + (native-inputs (list pkg-config)) + (inputs + (list cairo + libjpeg-turbo + libpng + librsvg + libxext + libxinerama + libxmu + libxpm + libxrandr + libxt + mjwm + pango + xterm)) + (home-page "http://joewing.net/projects/jwm") + (synopsis "Joe's Window Manager") + (description + "JWM is a light-weight window manager for the X11 Window System. it is +written in C and uses only Xlib at a minimum. Because of its small footprint, +it makes a good window manager for older computers and less powerful systems, +such as the Raspberry Pi, though it is perfectly capable of running on modern +systems.") + (license license:expat))) + (define-public devour (package (name "devour") -- 2.30.2 --