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 <mbakke@fastmail.com>
This commit is contained in:
parent
412622ad66
commit
e53829be49
1 changed files with 7 additions and 0 deletions
|
@ -17,6 +17,7 @@
|
||||||
;;; Copyright © 2019 Julien Lepiller <julien@lepiller.eu>
|
;;; Copyright © 2019 Julien Lepiller <julien@lepiller.eu>
|
||||||
;;; Copyright © 2019 Pierre Langlois <pierre.langlois@gmx.com>
|
;;; Copyright © 2019 Pierre Langlois <pierre.langlois@gmx.com>
|
||||||
;;; Copyright © 2019 Brett Gilio <brettg@gnu.org>
|
;;; Copyright © 2019 Brett Gilio <brettg@gnu.org>
|
||||||
|
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -138,6 +139,11 @@ configurable through a graphical wizard.")
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'patch-xdg-open
|
||||||
|
(lambda _
|
||||||
|
(substitute* "termite.cc"
|
||||||
|
(("xdg-open") (which "xdg-open")))
|
||||||
|
#t))
|
||||||
(delete 'configure))
|
(delete 'configure))
|
||||||
#:tests? #f
|
#:tests? #f
|
||||||
;; This sets the destination when installing the necessary terminal
|
;; This sets the destination when installing the necessary terminal
|
||||||
|
@ -150,6 +156,7 @@ configurable through a graphical wizard.")
|
||||||
(inputs
|
(inputs
|
||||||
`(("vte" ,vte-ng)
|
`(("vte" ,vte-ng)
|
||||||
("gtk+" ,gtk+)
|
("gtk+" ,gtk+)
|
||||||
|
("xdg-utils" ,xdg-utils)
|
||||||
("ncurses" ,ncurses)))
|
("ncurses" ,ncurses)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config)))
|
`(("pkg-config" ,pkg-config)))
|
||||||
|
|
Reference in a new issue