From patchwork Mon Mar 6 07:47:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "vasilii.smirnov--- via Guix-patches\" via" X-Patchwork-Id: 47732 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 4C0C016D7F; Mon, 6 Mar 2023 07:48:31 +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=-1.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,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 8DDFB16D6D for ; Mon, 6 Mar 2023 07:48:30 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pZ5Zq-0003TV-WE; Mon, 06 Mar 2023 02:48:12 -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 1pZ5Zi-0003Sn-Ge for guix-patches@gnu.org; Mon, 06 Mar 2023 02:48: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 1pZ5Zh-0003ST-Uo for guix-patches@gnu.org; Mon, 06 Mar 2023 02:48:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pZ5Zh-0002xY-QN for guix-patches@gnu.org; Mon, 06 Mar 2023 02:48:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61056] [PATCH 1/2] gnu: Add jwm. References: <20230125111514.5194-1-tumashu@163.com> In-Reply-To: <20230125111514.5194-1-tumashu@163.com> Resent-From: iyzsong@envs.net Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 06 Mar 2023 07:48:01 +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 Cc: Feng Shu , =?utf-8?b?5a6L5paH5q2m?= Received: via spool by 61056-submit@debbugs.gnu.org id=B61056.167808883511194 (code B ref 61056); Mon, 06 Mar 2023 07:48:01 +0000 Received: (at 61056) by debbugs.gnu.org; 6 Mar 2023 07:47:15 +0000 Received: from localhost ([127.0.0.1]:41247 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZ5Yw-0002uU-St for submit@debbugs.gnu.org; Mon, 06 Mar 2023 02:47:15 -0500 Received: from mail.envs.net ([5.199.136.28]:44854) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZ5Yu-0002uM-LM for 61056@debbugs.gnu.org; Mon, 06 Mar 2023 02:47:13 -0500 Received: from localhost (mail.envs.net [127.0.0.1]) by mail.envs.net (Postfix) with ESMTP id 2D16538A0874; Mon, 6 Mar 2023 07:47:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=envs.net; s=modoboa; t=1678088832; bh=Yow1Lg48yIsBXcIW1YK70HCCgOaajOOvXRzhOmUmisU=; h=From:To:Cc:Subject:Date:From; b=a27qRs0sB4x+ncasKdMbqFgOFbJaRp9I4ASQ34ZbJWsXCw8SDKlZmZAmysx+E+7LC vFi6OtEOJHidg0at4BeSPHaMdsZPkHv/bZH96+6nE4NrdoupeFR7uUQRfmCrNZ7Eor A6O9cAeoq9dLQLJZ3fRcFNSi/g7czQAgXFje+Onsor+rf+TybHUdqxoJMvFjmVd3yP 92rgmXb2i2zhVB8dvVAa6X0AOyh6J2tMuqUZeqWEtZzovfJGeUz6M9Q4sHz65Sfwu+ LPjSnJpclNt5bvadx1PcqsTrrc6pkQWR6tVXCdU+C4USnvYvD+HhKZF0mtkZFsu0Ov u80VZqJENEhboXZSbaWRGvJQJSBiihBacQUDVrMYLbShlEi9tEuJZc2QtniBrtpHTL DbuGQwHIWIWknTyHlykXLca4ewoKXNqcIgn1YbnVpuxo58J1PBY/IhIVU7OTlzfZCv 6xCLmZ3sPIR6MLwpNiriKkXiw7IgUZKY3yft//V7hq49IbORithQHAztkZnB2bmcnH rEtaD38ULGooN9csesmFbTZXc3jq+mTI503R/wE6sAVdWMfu7GxSfgNiF3QieAsWl3 y3/u51HQZEEzIcjx8A8r0e6g01ZDaAV3ImkDQK0Y8FTLqdL6x9F5XHQ0JGFfeyAjQE tIPjw/tCJzYbsidtJZFi5frs= X-Virus-Scanned: Debian amavisd-new at mail.envs.net Received: from mail.envs.net ([127.0.0.1]) by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 58MkMu3DEK_C; Mon, 6 Mar 2023 07:47:07 +0000 (UTC) Received: from localhost (unknown [182.150.116.135]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.envs.net (Postfix) with ESMTPSA; Mon, 6 Mar 2023 07:47:07 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id bae8b4e4; Mon, 6 Mar 2023 07:47:27 +0000 (UTC) Date: Mon, 6 Mar 2023 15:47:25 +0800 Message-Id: <20230306074726.29289-1-iyzsong@envs.net> X-Mailer: git-send-email 2.39.1 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: iyzsong@envs.net X-ACL-Warn: , iyzsong--- via Guix-patches X-Patchwork-Original-From: iyzsong--- via Guix-patches via From: "vasilii.smirnov--- via Guix-patches\" via" 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: Feng Shu * gnu/packages/wm.scm (jwm): New variable. Signed-off-by: 宋文武 --- gnu/packages/wm.scm | 55 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 5b8dbd5c70..c1cbd00cf5 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -2777,6 +2777,61 @@ (define-public hikari 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 '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))))))))) + (native-inputs (list pkg-config)) + (inputs + (list cairo + libjpeg-turbo + libpng + librsvg + libxext + libxinerama + libxmu + libxpm + libxrender + libxt + pango)) + (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")