guix-commits
[Top][All Lists]
Advanced

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

01/02: gnu: termite: Open links properly without xdg-utils in profile


From: guix-commits
Subject: 01/02: gnu: termite: Open links properly without xdg-utils in profile
Date: Mon, 27 Jan 2020 18:37:05 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit e53829be49901ac05127ebc73d33f9d6206606e9
Author: Jakub Kądziołka <address@hidden>
AuthorDate: Tue Jan 14 00:50:37 2020 +0100

    gnu: termite: Open links properly without xdg-utils in profile
    
    * gnu/packages/terminals.scm (termite)[inputs]: Add XDG-UTILS.
      [arguments](patch-xdg-open): New phase.
    
    Signed-off-by: Marius Bakke <address@hidden>
---
 gnu/packages/terminals.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
index b5c3b69..dae14ae 100644
--- a/gnu/packages/terminals.scm
+++ b/gnu/packages/terminals.scm
@@ -17,6 +17,7 @@
 ;;; Copyright © 2019 Julien Lepiller <address@hidden>
 ;;; Copyright © 2019 Pierre Langlois <address@hidden>
 ;;; Copyright © 2019 Brett Gilio <address@hidden>
+;;; Copyright © 2020 Jakub Kądziołka <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -138,6 +139,11 @@ configurable through a graphical wizard.")
     (arguments
       `(#:phases
         (modify-phases %standard-phases
+          (add-after 'unpack 'patch-xdg-open
+            (lambda _
+              (substitute* "termite.cc"
+                (("xdg-open") (which "xdg-open")))
+              #t))
           (delete 'configure))
         #:tests? #f
         ;; This sets the destination when installing the necessary terminal
@@ -150,6 +156,7 @@ configurable through a graphical wizard.")
     (inputs
      `(("vte" ,vte-ng)
        ("gtk+" ,gtk+)
+       ("xdg-utils" ,xdg-utils)
        ("ncurses" ,ncurses)))
     (native-inputs
      `(("pkg-config" ,pkg-config)))



reply via email to

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