GNU bug report logs - #71390
[PATCH] gnu: mu: Update to 1.12.5.

Previous Next

Package: guix-patches;

Reported by: Sergey Trofimov <sarg <at> sarg.org.ru>

Date: Thu, 6 Jun 2024 07:26:02 UTC

Severity: normal

Tags: patch

Done: Christopher Baines <mail <at> cbaines.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 71390 in the body.
You can then email your comments to 71390 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#71390; Package guix-patches. (Thu, 06 Jun 2024 07:26:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sergey Trofimov <sarg <at> sarg.org.ru>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 06 Jun 2024 07:26:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Sergey Trofimov <sarg <at> sarg.org.ru>
To: guix-patches <at> gnu.org
Cc: Sergey Trofimov <sarg <at> sarg.org.ru>
Subject: [PATCH] gnu: mu: Update to 1.12.5.
Date: Thu,  6 Jun 2024 09:22:39 +0200
* 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(-)

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

base-commit: 2b2337f275a6421a0d0964c54987df4ac74162e6
--
2.45.1





Reply sent to Christopher Baines <mail <at> cbaines.net>:
You have taken responsibility. (Tue, 11 Jun 2024 16:32:02 GMT) Full text and rfc822 format available.

Notification sent to Sergey Trofimov <sarg <at> sarg.org.ru>:
bug acknowledged by developer. (Tue, 11 Jun 2024 16:32:02 GMT) Full text and rfc822 format available.

Message #10 received at 71390-done <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: Sergey Trofimov <sarg <at> sarg.org.ru>
Cc: 71390-done <at> debbugs.gnu.org
Subject: Re: [bug#71390] [PATCH] gnu: mu: Update to 1.12.5.
Date: Tue, 11 Jun 2024 12:43:20 +0100
[Message part 1 (text/plain, inline)]
Sergey Trofimov <sarg <at> sarg.org.ru> writes:

> * 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(-)

Looks good to me, I've pushed this to master as
cc2c6049723f936ba394f5eeed331f980ea296f1.

Chris
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 10 Jul 2024 11:24:25 GMT) Full text and rfc822 format available.

This bug report was last modified 343 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.