GNU bug report logs - #47033
[PATCH] gnu: ungoogled-chromium: Add xdg-utils to PATH with wrapper.

Previous Next

Package: guix-patches;

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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 47033 in the body.
You can then email your comments to 47033 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#47033; Package guix-patches. (Wed, 10 Mar 2021 02:37:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Léo Le Bouter <lle-bout <at> zaclys.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 10 Mar 2021 02:37:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Léo Le Bouter <lle-bout <at> zaclys.net>
To: guix-patches <at> gnu.org
Cc: Léo Le Bouter <lle-bout <at> zaclys.net>
Subject: [PATCH] gnu: ungoogled-chromium: Add xdg-utils to PATH with wrapper.
Date: Wed, 10 Mar 2021 03:36:39 +0100
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





Reply sent to Léo Le Bouter <lle-bout <at> zaclys.net>:
You have taken responsibility. (Wed, 10 Mar 2021 22:42:01 GMT) Full text and rfc822 format available.

Notification sent to Léo Le Bouter <lle-bout <at> zaclys.net>:
bug acknowledged by developer. (Wed, 10 Mar 2021 22:42:01 GMT) Full text and rfc822 format available.

Message #10 received at 47033-done <at> debbugs.gnu.org (full text, mbox):

From: Léo Le Bouter <lle-bout <at> zaclys.net>
To: 47033-done <at> debbugs.gnu.org
Subject: [PATCH] gnu: ungoogled-chromium: Add xdg-utils to PATH with wrapper.
Date: Wed, 10 Mar 2021 23:41:23 +0100
[Message part 1 (text/plain, inline)]
Reviewed by mbakke <at> gnu.org

Pushed as 00c1793ce8e2210e48b18422ea3e76da10541874
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 08 Apr 2021 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 156 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.