* [bug#39125] [PATCH] gnu: termite: Open links properly without xdg-utils in profile
@ 2020-01-13 23:50 Jakub Kądziołka
2020-01-27 23:21 ` bug#39125: " Marius Bakke
0 siblings, 1 reply; 2+ messages in thread
From: Jakub Kądziołka @ 2020-01-13 23:50 UTC (permalink / raw)
To: 39125
* gnu/packages/terminals.scm (termite)[inputs]: Add XDG-UTILS.
[arguments](patch-xdg-open): New phase.
---
gnu/packages/terminals.scm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
index b5c3b69f53..dae14aee8f 100644
--- a/gnu/packages/terminals.scm
+++ b/gnu/packages/terminals.scm
@@ -17,6 +17,7 @@
;;; Copyright © 2019 Julien Lepiller <julien@lepiller.eu>
;;; Copyright © 2019 Pierre Langlois <pierre.langlois@gmx.com>
;;; Copyright © 2019 Brett Gilio <brettg@gnu.org>
+;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
;;;
;;; 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)))
--
2.24.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#39125: [PATCH] gnu: termite: Open links properly without xdg-utils in profile
2020-01-13 23:50 [bug#39125] [PATCH] gnu: termite: Open links properly without xdg-utils in profile Jakub Kądziołka
@ 2020-01-27 23:21 ` Marius Bakke
0 siblings, 0 replies; 2+ messages in thread
From: Marius Bakke @ 2020-01-27 23:21 UTC (permalink / raw)
To: Jakub Kądziołka, 39125-done
[-- Attachment #1: Type: text/plain, Size: 181 bytes --]
Jakub Kądziołka <kuba@kadziolka.net> writes:
> * gnu/packages/terminals.scm (termite)[inputs]: Add XDG-UTILS.
> [arguments](patch-xdg-open): New phase.
Applied, thanks!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-01-27 23:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-13 23:50 [bug#39125] [PATCH] gnu: termite: Open links properly without xdg-utils in profile Jakub Kądziołka
2020-01-27 23:21 ` bug#39125: " Marius Bakke
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).