From: "Jakub Kądziołka" <kuba@kadziolka.net>
To: 39125@debbugs.gnu.org
Subject: [bug#39125] [PATCH] gnu: termite: Open links properly without xdg-utils in profile
Date: Tue, 14 Jan 2020 00:50:37 +0100 [thread overview]
Message-ID: <20200113235037.idus3ggrytfryq5q@zdrowyportier.kadziolka.net> (raw)
* 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
next reply other threads:[~2020-01-13 23:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-13 23:50 Jakub Kądziołka [this message]
2020-01-27 23:21 ` bug#39125: [PATCH] gnu: termite: Open links properly without xdg-utils in profile Marius Bakke
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200113235037.idus3ggrytfryq5q@zdrowyportier.kadziolka.net \
--to=kuba@kadziolka.net \
--cc=39125@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 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).