[PATCH] gnu: Properly use $QTWEBENGINEPROCESS_PATH

OpenSubmitted by Sergey Trofimov.
Details
One participant
  • Sergey Trofimov
Owner
unassigned
Severity
normal
S
S
Sergey Trofimov wrote on 20 Nov 22:19 +0100
(address . guix-patches@gnu.org)
20201120211907.23975-1-sarg@sarg.org.ru
I've noticed that installing supercollider breaks qutebrowser. It happensbecause QTWEBENGINEPROCESS_PATH is not a search path, but rather a full pathto a file. So supercollider puts this var into the user profile and thenqutebrowser's wrapper incorrectly concatenates it with the path coming fromthe qtwebengine dependency. Calibre package has the same defect.
S
S
Sergey Trofimov wrote 7 days ago
(address . 44771@debbugs.gnu.org)(name . Sergey Trofimov)(address . sarg@sarg.org.ru)
20201121101102.25373-1-sarg@sarg.org.ru
--- gnu/packages/ebook.scm | 2 +- gnu/packages/web-browsers.scm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Toggle diff (28 lines)diff --git a/gnu/packages/ebook.scm b/gnu/packages/ebook.scmindex 1609a631b7..e80ad45383 100644--- a/gnu/packages/ebook.scm+++ b/gnu/packages/ebook.scm@@ -281,7 +281,7 @@ (lambda (binary) (wrap-program binary ;; Make QtWebEngineProcess available.- `("QTWEBENGINEPROCESS_PATH" ":" =+ `("QTWEBENGINEPROCESS_PATH" = ,(list (string-append qtwebengine "/lib/qt5/libexec/QtWebEngineProcess")))))diff --git a/gnu/packages/web-browsers.scm b/gnu/packages/web-browsers.scmindex 51af66ef54..bf1d45e5cc 100644--- a/gnu/packages/web-browsers.scm+++ b/gnu/packages/web-browsers.scm@@ -538,7 +538,7 @@ interface.") (assoc-ref inputs "qtwebengine") "/lib/qt5/libexec/QtWebEngineProcess"))) (wrap-program bin- `("QTWEBENGINEPROCESS_PATH" ":" prefix (,qt-process-path)))+ `("QTWEBENGINEPROCESS_PATH" = (,qt-process-path))) #t)))))) (home-page "https://qutebrowser.org/") (synopsis "Minimal, keyboard-focused, vim-like web browser")-- 2.29.2
?