Archived
1
0
Fork 0

gnu: mu: Update to 1.10.2.

* gnu/packages/mail.scm (mu): Update to 1.10.2.
[arguments]: Add build phase 'fix-build-system.
This commit is contained in:
Ricardo Wurmus 2023-04-11 12:41:17 +02:00
parent ac180c65e5
commit 0356087f4e
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -27,7 +27,7 @@
;;; Copyright © 2018, 2019, 2020, 2021, 2022 Pierre Langlois <pierre.langlois@gmx.com> ;;; Copyright © 2018, 2019, 2020, 2021, 2022 Pierre Langlois <pierre.langlois@gmx.com>
;;; Copyright © 2018 Alex Vong <alexvong1995@gmail.com> ;;; Copyright © 2018 Alex Vong <alexvong1995@gmail.com>
;;; Copyright © 2018 Gábor Boskovits <boskovits@gmail.com> ;;; Copyright © 2018 Gábor Boskovits <boskovits@gmail.com>
;;; Copyright © 2018, 2019, 2020, 2021, 2022 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2018, 2019, 2020, 2021, 2022, 2023 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 20192022 Tanguy Le Carrour <tanguy@bioneland.org> ;;; Copyright © 20192022 Tanguy Le Carrour <tanguy@bioneland.org>
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com> ;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
;;; Copyright © 2020 Justus Winter <justus@sequoia-pgp.org> ;;; Copyright © 2020 Justus Winter <justus@sequoia-pgp.org>
@ -1207,7 +1207,7 @@ security functionality including PGP, S/MIME, SSH, and SSL.")
(define-public mu (define-public mu
(package (package
(name "mu") (name "mu")
(version "1.10.0") (version "1.10.2")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -1215,7 +1215,7 @@ security functionality including PGP, S/MIME, SSH, and SSL.")
version "/mu-" version ".tar.xz")) version "/mu-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"0fmcxypvl77k7si5g3c0pak13hy2ilz8a6567m7p2apjr33j223z")))) "0mj43lnxr11wg354q8svcqjc403b36igb7ia406yavw6xfk46w9f"))))
(build-system meson-build-system) (build-system meson-build-system)
(native-inputs (native-inputs
(list pkg-config (list pkg-config
@ -1233,6 +1233,14 @@ security functionality including PGP, S/MIME, SSH, and SSL.")
(guix build emacs-utils)) (guix build emacs-utils))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'fix-build-system
(lambda _
(substitute* "lib/meson.build"
(("dependencies: \\[ lib_mu_message_dep" m)
(string-append m ", thread_dep")))
(substitute* "lib/utils/meson.build"
(("dependencies: \\[glib_dep" m)
(string-append m ", thread_dep")))))
(add-after 'unpack 'patch-bin-references (add-after 'unpack 'patch-bin-references
(lambda _ (lambda _
(substitute* '("guile/tests/test-mu-guile.cc" (substitute* '("guile/tests/test-mu-guile.cc"