From: jgart via Guix-patches via <guix-patches@gnu.org>
To: 62360@debbugs.gnu.org
Cc: jgart <jgart@dismail.de>
Subject: [bug#62360] [PATCH] gnu: sbcl-trivial-open-browser: Patch xdg-open.
Date: Tue, 21 Mar 2023 18:12:25 -0500 [thread overview]
Message-ID: <20230321231225.20999-1-jgart@dismail.de> (raw)
* gnu/packages/lisp-xyz.scm (sbcl-trivial-open-browser): Patch it.
[inputs]: Add xdg-utils.
[arguments]: Patch xdg-open.
---
gnu/packages/lisp-xyz.scm | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 15e929086e..955cf0fcfc 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -80,6 +80,7 @@ (define-module (gnu packages lisp-xyz)
#:use-module (gnu packages file)
#:use-module (gnu packages fonts)
#:use-module (gnu packages fontutils)
+ #:use-module (gnu packages freedesktop)
#:use-module (gnu packages game-development)
#:use-module (gnu packages gl)
#:use-module (gnu packages glib)
@@ -22568,6 +22569,16 @@ (define-public sbcl-trivial-open-browser
(sha256
(base32 "0ixay1piq420i6adx642qhw45l6ik7rvgk52lyz27dvx5f8yqsdb"))))
(build-system asdf-build-system/sbcl)
+ (inputs (list xdg-utils))
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "src/trivial-open-browser.lisp"
+ (("xdg-open")
+ (search-input-file inputs "/bin/xdg-open"))))))))
(home-page "https://github.com/eudoxia0/trivial-open-browser")
(synopsis "Open a browser window from Common Lisp")
(description
--
2.39.2
next reply other threads:[~2023-03-21 23:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-21 23:12 jgart via Guix-patches via [this message]
2023-03-22 13:41 ` bug#62360: [PATCH] gnu: sbcl-trivial-open-browser: Patch xdg-open Guillaume Le Vaillant
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=20230321231225.20999-1-jgart@dismail.de \
--to=guix-patches@gnu.org \
--cc=62360@debbugs.gnu.org \
--cc=jgart@dismail.de \
/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).