From: Jan Wielkiewicz <tona_kosmicznego_smiecia@interia.pl>
To: 39989@debbugs.gnu.org
Cc: Jan Wielkiewicz <tona_kosmicznego_smiecia@interia.pl>
Subject: [bug#39989] [PATCH] gnu: thunar: Wrap with glib:bin to fix launching programs.
Date: Sun, 8 Mar 2020 23:23:19 +0100 [thread overview]
Message-ID: <20200308222319.2401-1-tona_kosmicznego_smiecia@interia.pl> (raw)
In-Reply-To: <20200308231200.73b90f30@interia.pl>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=y, Size: 1618 bytes --]
---
gnu/packages/xfce.scm | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index 3aacfb0c7c..592b825812 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -11,6 +11,7 @@
;;; Copyright © 2019 Pkill -9 <pkill9@runbox.com>
;;; Copyright © 2019 L p R n d n <guix@lprndn.info>
;;; Copyright © 2019 Ingo Ruhnke <grumbel@gmail.com>
+;;; Copyright © 2020 Jan Wielkiewicz <tona_kosmicznego_smiecia@interia.pl>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -660,6 +661,7 @@ like appearance, display, keyboard and mouse settings.")
("intltool" ,intltool)))
(inputs
`(("exo" ,exo)
+ ("glib:bin" ,glib "bin")
("libexif" ,libexif)
("libgudev" ,libgudev)
("libnotify" ,libnotify)
@@ -667,6 +669,17 @@ like appearance, display, keyboard and mouse settings.")
("pcre" ,pcre)
("xfce4-panel" ,xfce4-panel)
("startup-notification" ,startup-notification)))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'install 'wrap-program
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out"))
+ (glib-bin (assoc-ref inputs "glib:bin")))
+ (wrap-program (string-append out "/bin/thunar")
+ `("PATH" ":" prefix (,(string-append glib-bin
+ "/bin")))))
+ #t)))))
(home-page "https://www.xfce.org/")
(synopsis "Xfce file manager")
(description
--
2.25.1
next prev parent reply other threads:[~2020-03-08 22:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-08 22:12 [bug#39989] [PATCH 0/0] Thunar: fix launching applications Jan Wielkiewicz
2020-03-08 22:23 ` Jan Wielkiewicz [this message]
2020-03-09 17:11 ` [bug#39989] [PATCH] gnu: thunar: Wrap with glib:bin to fix launching programs Danny Milosavljevic
2020-03-09 20:08 ` Jan
2020-03-09 21:43 ` Diego Nicola Barbato
2020-03-09 22:36 ` Jan
2020-03-09 22:43 ` bug#39989: Closing the issue Jan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200308222319.2401-1-tona_kosmicznego_smiecia@interia.pl \
--to=tona_kosmicznego_smiecia@interia.pl \
--cc=39989@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.