From patchwork Mon Feb 13 10:45:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Feng Shu X-Patchwork-Id: 46916 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 0691916661; Mon, 13 Feb 2023 10:47:19 +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=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS 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 03AE61665B for ; Mon, 13 Feb 2023 10:47:18 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pRWMR-000129-Re; Mon, 13 Feb 2023 05:47:03 -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 1pRWMR-00011t-5e for guix-patches@gnu.org; Mon, 13 Feb 2023 05:47:03 -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 1pRWMQ-0000iJ-Sn for guix-patches@gnu.org; Mon, 13 Feb 2023 05:47:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pRWMQ-0002vJ-On for guix-patches@gnu.org; Mon, 13 Feb 2023 05:47:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61056] [PATCH v8 2/2] gnu: Add mjwm. 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, 13 Feb 2023 10:47: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.167628517411145 (code B ref 61056); Mon, 13 Feb 2023 10:47:02 +0000 Received: (at 61056) by debbugs.gnu.org; 13 Feb 2023 10:46:14 +0000 Received: from localhost ([127.0.0.1]:47744 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRWLe-0002tg-5c for submit@debbugs.gnu.org; Mon, 13 Feb 2023 05:46:14 -0500 Received: from m12.mail.163.com ([123.126.96.234]:8300) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRWLc-0002tO-AN for 61056@debbugs.gnu.org; Mon, 13 Feb 2023 05:46:13 -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=yUKoiOvGSjc0i/+3lZU7eKAXpx1o5wcrFHi42Qsdxz8=; b=P4ZxPJKH3ddc+CAiVdbY//UWwBZPN8PeKohROTbNpvcrHrHiBoHOaIWBZtmaVS l/7IZGnTQqYfbLJRupCZX88nwbG0Nk6QvYLBKmIVhMzP4I44MyMge3ZkVlvUvmNr AeyyRU641EfS1GOA9unQDyBepsn1ZgrSQy77m6ANiQbq8= Received: from Tumashu (unknown [218.92.14.78]) by smtp16 (Coremail) with SMTP id MNxpCgBnTj0JFepj6X2uDw--.14674S2; Mon, 13 Feb 2023 18:46:33 +0800 (CST) From: Feng Shu Date: Mon, 13 Feb 2023 18:45:59 +0800 Message-ID: <87zg9honbs.fsf@163.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 X-CM-TRANSID: MNxpCgBnTj0JFepj6X2uDw--.14674S2 X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvjxUY2-5DUUUU X-Originating-IP: [218.92.14.78] X-CM-SenderInfo: 5wxpt2lkx6il2tof0z/1tbiSgcV1GI0Wo-O2wAAsa 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches -- From a21c037b851994b362b2cd8216d4e7aa82056e98 Mon Sep 17 00:00:00 2001 From: Feng Shu Date: Sat, 11 Feb 2023 10:55:48 +0800 Subject: [PATCH v8 2/2] gnu: Add mjwm. * gnu/packages/wm.scm (mjwm): New variable. --- gnu/packages/wm.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 14dc3a0988..f719c53127 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -3011,6 +3011,39 @@ such as the Raspberry Pi, though it is perfectly capable of running on modern systems.") (license license:expat))) +(define-public mjwm + (package + (name "mjwm") + (version "4.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/chiku/mjwm") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0lgfp2xidhvmbj4zqvzz9g8zwbn6mz0pgacc57b43ha523vamsjq")))) + (build-system gnu-build-system) + (arguments + (list + #:tests? #f ; no check target + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-subcategory.h + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "include/subcategory.h" + ;; icon name should be application-other instead of + ;; application-others. + (("applications-others") "applications-other"))))))) + (home-page "https://github.com/chiku/mjwm") + (synopsis "Create menu for JWM.") + (description + "MJWM can create JWM's menu from (freedesktop) desktop files and the +generated file can be include in the rootmenu section of your jwm config +file.") + (license license:gpl2))) + (define-public devour (package (name "devour") -- 2.30.2