guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: exo: Fix exo-compose-mail.


From: guix-commits
Subject: branch master updated: gnu: exo: Fix exo-compose-mail.
Date: Thu, 14 May 2020 10:48:52 -0400

This is an automated email from the git hooks/post-receive script.

rekado pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 5c7e477  gnu: exo: Fix exo-compose-mail.
5c7e477 is described below

commit 5c7e477c6cfe89aa4dfce557ea181e5aa8ba8a05
Author: Jonathan Brielmaier <address@hidden>
AuthorDate: Thu May 14 12:53:41 2020 +0200

    gnu: exo: Fix exo-compose-mail.
    
    Fixes <https://issues.guix.gnu.org/issue/41244>.
    
    * gnu/packages/xfce.scm (exo)[arguments]: Add wrap-exo-compose-mail phase so
    it can find URI::Escape from perl-uri.
    
    Signed-off-by: Ricardo Wurmus <address@hidden>
---
 gnu/packages/xfce.scm | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index 4217023..61b64ef 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -12,6 +12,7 @@
 ;;; Copyright © 2019 L  p R n  d n <address@hidden>
 ;;; Copyright © 2019 Ingo Ruhnke <address@hidden>
 ;;; Copyright © 2020 Vincent Legoll <address@hidden>
+;;; Copyright © 2020 Jonathan Brielmaier <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -213,6 +214,19 @@ to share commonly used Xfce widgets among the Xfce 
applications.")
                (base32
                 "1dp5s64g6572h9zvx9js7qc72s728qsd9y7hl7hg6rwaq0cjb2gc"))))
     (build-system gnu-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         ;; exo won't find URI::Escape otherwise
+         (add-after 'install 'wrap-exo-compose-mail
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (perl5lib (getenv "PERL5LIB")))
+               (wrap-program (string-append out 
"/lib/xfce4/exo/exo-compose-mail")
+                 `("PERL5LIB" ":" prefix
+                   (,(string-append perl5lib ":" out
+                                    "/lib/perl5/site_perl")))))
+             #t)))))
     (native-inputs
      `(("pkg-config" ,pkg-config)
        ("intltool" ,intltool)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]