From: "Léo Le Bouter via Guix-patches via" <guix-patches@gnu.org>
To: 47033@debbugs.gnu.org
Cc: "Léo Le Bouter" <lle-bout@zaclys.net>
Subject: [bug#47033] [PATCH] gnu: ungoogled-chromium: Add xdg-utils to PATH with wrapper.
Date: Wed, 10 Mar 2021 03:36:39 +0100 [thread overview]
Message-ID: <20210310023639.13322-1-lle-bout@zaclys.net> (raw)
This will ensure that 'mailto:' links work out of the box, among others.
* gnu/packages/chromium.scm (ungoogled-chromium): Modify replacement 'install
phase to add xdg-utils to PATH with wrap-program.
---
gnu/packages/chromium.scm | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/chromium.scm b/gnu/packages/chromium.scm
index f9ca357933..b81a773c3d 100644
--- a/gnu/packages/chromium.scm
+++ b/gnu/packages/chromium.scm
@@ -753,6 +753,7 @@
(resources (string-append lib "/resources"))
(preferences (assoc-ref inputs "master-preferences"))
(gtk+ (assoc-ref inputs "gtk+"))
+ (xdg-utils (assoc-ref inputs "xdg-utils"))
(sh (which "sh")))
(substitute* '("chrome/app/resources/manpage.1.in"
@@ -789,7 +790,8 @@
(wrap-program exe
;; Avoid file manager crash. See <https://bugs.gnu.org/26593>.
- `("XDG_DATA_DIRS" ":" prefix (,(string-append gtk+ "/share")))))
+ `("XDG_DATA_DIRS" ":" prefix (,(string-append gtk+ "/share")))
+ `("PATH" ":" prefix (,(string-append xdg-utils "/bin")))))
(with-directory-excursion "chrome/app/theme/chromium"
(for-each
@@ -874,7 +876,8 @@
("udev" ,eudev)
("valgrind" ,valgrind)
("vulkan-headers" ,vulkan-headers)
- ("wayland" ,wayland)))
+ ("wayland" ,wayland)
+ ("xdg-utils" ,xdg-utils)))
(native-search-paths
(list (search-path-specification
(variable "CHROMIUM_EXTENSION_DIRECTORY")
--
2.30.2
next reply other threads:[~2021-03-10 2:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-10 2:36 Léo Le Bouter via Guix-patches via [this message]
2021-03-10 22:41 ` bug#47033: [PATCH] gnu: ungoogled-chromium: Add xdg-utils to PATH with wrapper Léo Le Bouter via Guix-patches via
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210310023639.13322-1-lle-bout@zaclys.net \
--to=guix-patches@gnu.org \
--cc=47033@debbugs.gnu.org \
--cc=lle-bout@zaclys.net \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.