diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2015-12-09 15:21:34 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2015-12-09 15:21:34 +0200 |
commit | cc9553562c0b719c40083503795845aa0cc3a6f8 (patch) | |
tree | 0e074e3334bf7599520de645b18a21e62765b2bf /gnu/packages | |
parent | 8d5e7ad29a70069986d3b023980d764b8997d9dc (diff) | |
download | guix-cc9553562c0b719c40083503795845aa0cc3a6f8.tar.gz guix-cc9553562c0b719c40083503795845aa0cc3a6f8.zip |
gnu: gmime: Update to 2.6.20.
* gnu/packages/mail.scm (gmime): Update to 2.6.20.
[arguments]: Use modify-phases syntax.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/mail.scm | 34 |
1 files changed, 18 insertions, 16 deletions
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 7f8f5ca07f..bf28ec674e 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -8,6 +8,7 @@ ;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org> ;;; Copyright © 2015 Eric Bavier <bavier@member.fsf.org> ;;; Copyright © 2015 Andreas Enge <andreas@enge.fr> +;;; Copyright © 2015 Efraim Flashner <efraim@flashner.co.il> ;;; ;;; This file is part of GNU Guix. ;;; @@ -208,7 +209,7 @@ operating systems.") (define-public gmime (package (name "gmime") - (version "2.6.19") + (version "2.6.20") (source (origin (method url-fetch) (uri (string-append "mirror://gnome/sources/gmime/" @@ -216,7 +217,7 @@ operating systems.") "/gmime-" version ".tar.xz")) (sha256 (base32 - "0jm1fgbjgh496rsc0il2y46qd4bqq2ln9168p4zzh68mk4ml1yxg")))) + "0rfzbgsh8ira5p76kdghygl5i3fvmmx4wbw5rp7f8ajc4vxp18g0")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config) @@ -226,20 +227,21 @@ operating systems.") ("zlib" ,zlib))) (arguments `(#:phases - (alist-cons-after - 'unpack 'patch-paths-in-tests - (lambda _ - ;; The test programs run several programs using 'system' with - ;; hard-coded paths. Here we patch them all. We also change "gpg" - ;; to "gpg2". We use ISO-8859-1 here because test-iconv.c contains - ;; raw byte sequences in several different encodings. - (with-fluids ((%default-port-encoding #f)) - (substitute* (find-files "tests" "\\.c$") - (("(system *\\(\")(/[^ ]*)" all pre prog-path) - (let* ((base (basename prog-path)) - (prog (which (if (string=? base "gpg") "gpg2" base)))) - (string-append pre (or prog (error "not found: " base)))))))) - %standard-phases))) + (modify-phases %standard-phases + (add-after + 'unpack 'patch-paths-in-tests + (lambda _ + ;; The test programs run several programs using 'system' with + ;; hard-coded paths. Here we patch them all. We also change "gpg" + ;; to "gpg2". We use ISO-8859-1 here because test-iconv.c contains + ;; raw byte sequences in several different encodings. + (with-fluids ((%default-port-encoding #f)) + (substitute* (find-files "tests" "\\.c$") + (("(system *\\(\")(/[^ ]*)" all pre prog-path) + (let* ((base (basename prog-path)) + (prog (which (if (string=? base "gpg") "gpg2" base)))) + (string-append pre + (or prog (error "not found: " base)))))))))))) (home-page "http://spruce.sourceforge.net/gmime/") (synopsis "MIME message parser and creator library") (description |