From patchwork Mon Feb 13 10:49:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Feng Shu X-Patchwork-Id: 46918 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 E3FF816661; Mon, 13 Feb 2023 10:50:25 +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 75D921665B for ; Mon, 13 Feb 2023 10:50:24 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pRWPN-0002Pn-FE; Mon, 13 Feb 2023 05:50:05 -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 1pRWPM-0002PD-3E for guix-patches@gnu.org; Mon, 13 Feb 2023 05:50: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 1pRWPK-0001Tr-SZ for guix-patches@gnu.org; Mon, 13 Feb 2023 05:50:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pRWPK-00034G-LN for guix-patches@gnu.org; Mon, 13 Feb 2023 05:50: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:50: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.167628539611768 (code B ref 61056); Mon, 13 Feb 2023 10:50:02 +0000 Received: (at 61056) by debbugs.gnu.org; 13 Feb 2023 10:49:56 +0000 Received: from localhost ([127.0.0.1]:47758 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRWPD-00033i-Lf for submit@debbugs.gnu.org; Mon, 13 Feb 2023 05:49:55 -0500 Received: from m12.mail.163.com ([220.181.12.216]:53478) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRWPB-00033Q-Nh for 61056@debbugs.gnu.org; Mon, 13 Feb 2023 05:49:54 -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=XHqiEooFvPvQS9ItUNhk8YUxTaJ8VMQgV+F6jsqA6xE=; b=c/3MnyESilLWuAh5hQHylYMHZYp1ojMK0vgNBe/PGLBOi8TJQUDR3Hn9b92vEJ 4cR0FSk0SXGfbovWsFImqp5AnZ6eAOAQe4XESxeHuhi2qJo8EUiH1YbhE6bI9Hxk D99wveMXNTgtQQQnRgJ5XJf8TRXcn07ZQr34VH+tNwqlM= Received: from Tumashu (unknown [218.92.14.78]) by zwqz-smtp-mta-g2-2 (Coremail) with SMTP id _____wBHR8vGFepjY6mdDw--.16130S2; Mon, 13 Feb 2023 18:49:43 +0800 (CST) From: Feng Shu Date: Mon, 13 Feb 2023 18:49:42 +0800 Message-ID: <87r0uton5l.fsf@163.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 X-CM-TRANSID: _____wBHR8vGFepjY6mdDw--.16130S2 X-Coremail-Antispam: 1Uf129KBjvJXoW7CF1kXFWrZF15WF1Dtw1kZrb_yoW8AFyxpF W09rWFkws2grnrArZagF12934Ygw48Gr15A3yxZw1Ika12qrWIqryjyrZ5CF1xJF4xCa1D Xa1IqFW5Cr1YkaDanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07UkEfwUUUUU= X-Originating-IP: [218.92.14.78] X-CM-SenderInfo: 5wxpt2lkx6il2tof0z/xtbBEQoV1FaEMp7k3QAAsd 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")