From patchwork Thu Jun 6 07:22:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Trofimov X-Patchwork-Id: 65189 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 7F87F27BBEA; Thu, 6 Jun 2024 08:26:07 +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,MAILING_LIST_MULTI,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 F251B27BBE2 for ; Thu, 6 Jun 2024 08:26:03 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sF7VP-0000bq-4Z; Thu, 06 Jun 2024 03:25:51 -0400 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 1sF7VM-0000bf-Il for guix-patches@gnu.org; Thu, 06 Jun 2024 03:25:48 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sF7VM-00061W-Aw for guix-patches@gnu.org; Thu, 06 Jun 2024 03:25:48 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sF7Va-00041Y-MR for guix-patches@gnu.org; Thu, 06 Jun 2024 03:26:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71390] [PATCH] gnu: mu: Update to 1.12.5. Resent-From: Sergey Trofimov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 06 Jun 2024 07:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 71390 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71390@debbugs.gnu.org Cc: Sergey Trofimov X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.171765872415352 (code B ref -1); Thu, 06 Jun 2024 07:26:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Jun 2024 07:25:24 +0000 Received: from localhost ([127.0.0.1]:46013 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sF7Ux-0003zT-E6 for submit@debbugs.gnu.org; Thu, 06 Jun 2024 03:25:23 -0400 Received: from lists.gnu.org ([209.51.188.17]:36146) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sF7Sj-0003rg-Os for submit@debbugs.gnu.org; Thu, 06 Jun 2024 03:23:06 -0400 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 1sF7SU-0000Jh-Na for guix-patches@gnu.org; Thu, 06 Jun 2024 03:22:50 -0400 Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sF7SR-0005Tl-K8 for guix-patches@gnu.org; Thu, 06 Jun 2024 03:22:50 -0400 Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-57a2f27090aso2952821a12.0 for ; Thu, 06 Jun 2024 00:22:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sarg.org.ru; s=google; t=1717658563; x=1718263363; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=//9O1C7SJXuXCxjV0jaA8FMch1FJrPx7kERvVJKAMRM=; b=i8pleQrX935Coq14lakzF99GBKAa324r7hScN06yCshhfJ2OFXq8NnOqOsBoUITJl/ kOaKUTMcEsAQR+aEyLl4tU8ZKtMgoxJPum/TyBzIh9FnpvMq/iilzMckyKmJtRprRrhp muxiHqFHHvGjKyAdEO0S1TXuxCPp4wSA1uRMk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717658563; x=1718263363; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=//9O1C7SJXuXCxjV0jaA8FMch1FJrPx7kERvVJKAMRM=; b=WAdkckGCCoouDIrtxfGpaFUqLoW+JuUYk1nsdrt43s0d6lEGXbAAqqmU/+lHOpUM10 bqoBSY5dwJR6FqPs9YQMtcqF6g8bUctumXx0seOGbU95h4ZLsx+6aeEgvIPm1hiPWdFf 5fBz2y1OygYCQoZHb3ycUaJt2rZPu2gDife6qHORAPHTZ0YlkAVruGUbKVBarv3MvohL yGiBk6PX52IuidbvC/1mf/9H2ICZI1dtt7+IaJlUG1U4GSE6xUXwTXPgofqUhN8uEBKA BdZJC1IKdSAthBvSS9d4MZzNj6MQzu8c1KebSN4RLJN28UBYeSbK5EnKY1aUUgZhDxEL TTfA== X-Gm-Message-State: AOJu0Yxzq8glsZbjW+tWtGl0xH/JAo6zPqOIFNIb4ulczjabgplFXi4s /1QCmtZoIBhD5UwsG6J/CSrcVFECbI9d/Dr2CagbWJfLI5WO5g0tnKs5TX6jCO7twhrZsQyTi1P 9yO4= X-Google-Smtp-Source: AGHT+IHgdFLhvt77yVGaIU+MhgbN/LTxa/33VKGQ3jBrALvWZLd3sdvSe5mIxUij4UTFNKanDL5X4w== X-Received: by 2002:a17:906:3c6:b0:a68:e834:e9bb with SMTP id a640c23a62f3a-a6c7651abf6mr140827366b.35.1717658562954; Thu, 06 Jun 2024 00:22:42 -0700 (PDT) Received: from localhost ([2a02:2454:a09d:d000:3f1e:a87:ccd2:4aec]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6c80581b47sm55463066b.11.2024.06.06.00.22.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 00:22:42 -0700 (PDT) From: Sergey Trofimov Date: Thu, 6 Jun 2024 09:22:39 +0200 Message-ID: <4c4eb04bbb532849833d331cf014f8fce052448b.1717658545.git.sarg@sarg.org.ru> X-Mailer: git-send-email 2.45.1 MIME-Version: 1.0 Received-SPF: none client-ip=2a00:1450:4864:20::532; envelope-from=sarg@sarg.org.ru; helo=mail-ed1-x532.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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 * gnu/packages/mail.scm (mu): Update to 1.12.5. Wrap /bin/mu to enable running Guile extension scripts. --- gnu/packages/mail.scm | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) base-commit: 2b2337f275a6421a0d0964c54987df4ac74162e6 -- 2.45.1 diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index b96645f53b..dbf27d3533 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -1260,14 +1260,14 @@ (define-public emacs-mew (define-public mu (package (name "mu") - (version "1.12.4") + (version "1.12.5") (source (origin (method url-fetch) (uri (string-append "https://github.com/djcb/mu/releases/download/v" version "/mu-" version ".tar.xz")) (sha256 - (base32 "1ja4b9r9712zjvz8223r5vh2kmmyhkrmb7cbhxdn9hbpa5n16hdx")))) + (base32 "1jwalqmvk5s4mf7bnz7gnzh6rii7n348bsflgdvyinia0zir42vp")))) (build-system meson-build-system) (native-inputs (list pkg-config @@ -1280,8 +1280,11 @@ (define-public mu (list #:modules '((guix build meson-build-system) (guix build emacs-utils) + ((guix build guile-build-system) + #:select (target-guile-effective-version)) (guix build utils)) #:imported-modules `(,@%meson-build-system-modules + (guix build guile-build-system) (guix build emacs-utils)) #:configure-flags #~(list (format #f "-Dguile-extension-dir=~a/lib" #$output)) @@ -1303,11 +1306,18 @@ (define-public mu (("\"libguile-mu\"") (format #f "\"~a/lib/libguile-mu\"" #$output))))) (add-after 'install 'install-emacs-autoloads - (lambda* (#:key outputs #:allow-other-keys) + (lambda _ (emacs-generate-autoloads "mu4e" - (string-append (assoc-ref outputs "out") - "/share/emacs/site-lisp/mu4e"))))))) + (string-append #$output + "/share/emacs/site-lisp/mu4e")))) + (add-after 'install 'wrap-executable + (lambda _ + (let* ((bin (string-append #$output "/bin")) + (version (target-guile-effective-version)) + (scm (string-append #$output "/share/guile/site/" version))) + (wrap-program (string-append bin "/mu") + `("GUILE_LOAD_PATH" ":" prefix (,scm))))))))) (home-page "https://www.djcbsoftware.nl/code/mu/") (synopsis "Quickly find emails") (description