From patchwork Fri Aug 19 05:35:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhu Zihao X-Patchwork-Id: 41766 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 6B35427BBEA; Fri, 19 Aug 2022 06:37:49 +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,FREEMAIL_FROM,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 D897427BBE9 for ; Fri, 19 Aug 2022 06:37:48 +0100 (BST) Received: from localhost ([::1]:35282 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oOuhY-0002u1-0Y for patchwork@mira.cbaines.net; Fri, 19 Aug 2022 01:37:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57536) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOugo-0002tr-Nl for guix-patches@gnu.org; Fri, 19 Aug 2022 01:37:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39230) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oOugo-0002Vj-EJ for guix-patches@gnu.org; Fri, 19 Aug 2022 01:37:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oOugn-0006mz-Su for guix-patches@gnu.org; Fri, 19 Aug 2022 01:37:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57013] Acknowledgement ([PATCH] Fix mu4e in mu 1.8.7.) Resent-From: Zhu Zihao Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 19 Aug 2022 05:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57013 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57013@debbugs.gnu.org Received: via spool by 57013-submit@debbugs.gnu.org id=B57013.166088738726057 (code B ref 57013); Fri, 19 Aug 2022 05:37:01 +0000 Received: (at 57013) by debbugs.gnu.org; 19 Aug 2022 05:36:27 +0000 Received: from localhost ([127.0.0.1]:57212 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oOugF-0006mD-8t for submit@debbugs.gnu.org; Fri, 19 Aug 2022 01:36:27 -0400 Received: from mail-m973.mail.163.com ([123.126.97.3]:51963) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oOug8-0006lq-HI for 57013@debbugs.gnu.org; Fri, 19 Aug 2022 01:36:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-ID:MIME-Version; bh=Z78Rb EoB6iECvZ+PaEj1elcGqAXjLSGTAVdyEMG64f8=; b=CyBZwhaK3/el/t6EvLCED 63uTjzChZ0+mlkw8FTbQLk8ylyjJtNcHOC0UNQXsHlRRt9pjkQyyifDDLQnLgwXr 2R3St5YSsRj9SNTc4Wa9O5WjwolP6WArDb+6XSDIUZkjlRdmdFKK3hocq6155IOJ gILj8ED4jejJZxf2lX+CyA= Received: from asus-laptop (unknown [163.125.249.97]) by smtp3 (Coremail) with SMTP id G9xpCgDHY5VHIf9i5f3GWg--.3381S2; Fri, 19 Aug 2022 13:36:10 +0800 (CST) References: <86h72q2hf1.fsf@163.com> User-agent: mu4e 1.8.8; emacs 29.0.50 From: Zhu Zihao Date: Fri, 19 Aug 2022 13:35:34 +0800 In-reply-to: <86h72q2hf1.fsf@163.com> Message-ID: <86mtc0yeuz.fsf@163.com> MIME-Version: 1.0 X-CM-TRANSID: G9xpCgDHY5VHIf9i5f3GWg--.3381S2 X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvjTR0tCzUUUUU X-Originating-IP: [163.125.249.97] X-CM-SenderInfo: pdoosuxxwbztlvw6il2tof0z/xtbBPQpir2AZB7xnCAAAsX 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" X-getmail-retrieved-from-mailbox: Patches Rebase on master. From 10c6a67905d784da4173a05c7ea6d331cf8fd88d Mon Sep 17 00:00:00 2001 From: Zhu Zihao Date: Fri, 19 Aug 2022 13:33:20 +0800 Subject: [PATCH 2/2] gnu: mu: Use G-expressions. * gnu/packages/mail.scm (mu)[arguments]: Use G-expressions. --- gnu/packages/mail.scm | 41 +++++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 530cd29f4d..646902b4db 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -1179,29 +1179,30 @@ (define-public mu (inputs (list glib gmime xapian)) (arguments - `(#:modules ((guix build meson-build-system) + (list + #:modules '((guix build meson-build-system) (guix build emacs-utils) (guix build utils)) - #:imported-modules (,@%meson-build-system-modules + #:imported-modules `(,@%meson-build-system-modules (guix build emacs-utils)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'patch-bin-references - (lambda _ - (substitute* '("guile/tests/test-mu-guile.cc" - "mu/tests/test-mu-cmd.cc" - "mu/tests/test-mu-cmd-cfind.cc" - "mu/tests/test-mu-query.cc") - (("/bin/sh") (which "sh"))) - (substitute* '("lib/tests/bench-indexer.cc" - "lib/utils/mu-test-utils.cc") - (("/bin/rm") (which "rm"))))) - (add-after 'install 'install-emacs-autoloads - (lambda* (#:key outputs #:allow-other-keys) - (emacs-generate-autoloads - "mu4e" - (string-append (assoc-ref outputs "out") - "/share/emacs/site-lisp/mu4e"))))))) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-bin-references + (lambda _ + (substitute* '("guile/tests/test-mu-guile.cc" + "mu/tests/test-mu-cmd.cc" + "mu/tests/test-mu-cmd-cfind.cc" + "mu/tests/test-mu-query.cc") + (("/bin/sh") (which "sh"))) + (substitute* '("lib/tests/bench-indexer.cc" + "lib/utils/mu-test-utils.cc") + (("/bin/rm") (which "rm"))))) + (add-after 'install 'install-emacs-autoloads + (lambda* (#:key outputs #:allow-other-keys) + (emacs-generate-autoloads + "mu4e" + (string-append (assoc-ref outputs "out") + "/share/emacs/site-lisp/mu4e"))))))) (home-page "https://www.djcbsoftware.nl/code/mu/") (synopsis "Quickly find emails") (description -- 2.37.1