unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#41255] [PATCH] gnu: exo: Fix exo-compose-mail.
@ 2020-05-14 10:28 Jonathan Brielmaier
  2020-05-14 10:53 ` [bug#41255] [v2 PATCH] " Jonathan Brielmaier
  0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Brielmaier @ 2020-05-14 10:28 UTC (permalink / raw)
  To: 41255; +Cc: Jonathan Brielmaier

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.
---
 gnu/packages/xfce.scm | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index 4217023cf8..ce26c62857 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -213,6 +213,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)))
--
2.26.2





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#41255] [v2 PATCH] gnu: exo: Fix exo-compose-mail.
  2020-05-14 10:28 [bug#41255] [PATCH] gnu: exo: Fix exo-compose-mail Jonathan Brielmaier
@ 2020-05-14 10:53 ` Jonathan Brielmaier
  2020-05-14 14:49   ` bug#41255: " Ricardo Wurmus
  0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Brielmaier @ 2020-05-14 10:53 UTC (permalink / raw)
  To: 41255; +Cc: Jonathan Brielmaier

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.
---
 gnu/packages/xfce.scm | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index 4217023cf8..61b64ef553 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -12,6 +12,7 @@
 ;;; Copyright © 2019 L  p R n  d n <guix@lprndn.info>
 ;;; Copyright © 2019 Ingo Ruhnke <grumbel@gmail.com>
 ;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
+;;; Copyright © 2020 Jonathan Brielmaier <jonathan.brielmaier@web.de>
 ;;;
 ;;; 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)))
--
2.26.2





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#41255: [v2 PATCH] gnu: exo: Fix exo-compose-mail.
  2020-05-14 10:53 ` [bug#41255] [v2 PATCH] " Jonathan Brielmaier
@ 2020-05-14 14:49   ` Ricardo Wurmus
  0 siblings, 0 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2020-05-14 14:49 UTC (permalink / raw)
  To: Jonathan Brielmaier; +Cc: 41255-done


Jonathan Brielmaier <jonathan.brielmaier@web.de> writes:

> 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.

Applied and pushed with commit 5c7e477c6cfe89aa4dfce557ea181e5aa8ba8a05.
Thanks!

-- 
Ricardo




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-05-14 15:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-14 10:28 [bug#41255] [PATCH] gnu: exo: Fix exo-compose-mail Jonathan Brielmaier
2020-05-14 10:53 ` [bug#41255] [v2 PATCH] " Jonathan Brielmaier
2020-05-14 14:49   ` bug#41255: " Ricardo Wurmus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).