GNU bug report logs -
#47033
[PATCH] gnu: ungoogled-chromium: Add xdg-utils to PATH with wrapper.
Previous Next
Reported by: Léo Le Bouter <lle-bout <at> zaclys.net>
Date: Wed, 10 Mar 2021 02:37:02 UTC
Severity: normal
Tags: patch
Done: Léo Le Bouter <lle-bout <at> zaclys.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Wed, 10 Mar 2021 23:41:23 +0100
with message-id <af7118e0beb8c39854505d1eb072eccb52664bb9.camel <at> zaclys.net>
and subject line [PATCH] gnu: ungoogled-chromium: Add xdg-utils to PATH with wrapper.
has caused the debbugs.gnu.org bug report #47033,
regarding [PATCH] gnu: ungoogled-chromium: Add xdg-utils to PATH with wrapper.
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
47033: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=47033
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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
[Message part 3 (message/rfc822, inline)]
[Message part 4 (text/plain, inline)]
Reviewed by mbakke <at> gnu.org
Pushed as 00c1793ce8e2210e48b18422ea3e76da10541874
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 4 years and 157 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.