From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:34315) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jB4L5-0007pF-Id for guix-patches@gnu.org; Sun, 08 Mar 2020 18:24:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jB4L4-0001PE-Bg for guix-patches@gnu.org; Sun, 08 Mar 2020 18:24:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43480) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jB4L4-0001Ow-8C for guix-patches@gnu.org; Sun, 08 Mar 2020 18:24:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jB4L4-0007VO-4t for guix-patches@gnu.org; Sun, 08 Mar 2020 18:24:02 -0400 Subject: [bug#39989] [PATCH] gnu: thunar: Wrap with glib:bin to fix launching programs. References: <20200308231200.73b90f30@interia.pl> In-Reply-To: <20200308231200.73b90f30@interia.pl> Resent-Message-ID: From: Jan Wielkiewicz Date: Sun, 8 Mar 2020 23:23:19 +0100 Message-Id: <20200308222319.2401-1-tona_kosmicznego_smiecia@interia.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=y Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 39989@debbugs.gnu.org Cc: Jan Wielkiewicz --- 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 ;;; Copyright © 2019 L p R n d n ;;; Copyright © 2019 Ingo Ruhnke +;;; Copyright © 2020 Jan Wielkiewicz ;;; ;;; 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