guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch wip-desktop updated: gnu: webkitgtk: Fix bubblewrap.


From: guix-commits
Subject: branch wip-desktop updated: gnu: webkitgtk: Fix bubblewrap.
Date: Sun, 30 Aug 2020 04:48:58 -0400

This is an automated email from the git hooks/post-receive script.

dannym pushed a commit to branch wip-desktop
in repository guix.

The following commit(s) were added to refs/heads/wip-desktop by this push:
     new 7341dee  gnu: webkitgtk: Fix bubblewrap.
7341dee is described below

commit 7341dee7f92a7361869dff175b37dc557be2430a
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Sun Aug 30 02:09:47 2020 -0400

    gnu: webkitgtk: Fix bubblewrap.
    
    * gnu/packages/webkit.scm (webkitgtk) 
[arguments]<#:phases>['configure-bubblewrap]: New phase.
    
    Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
 gnu/packages/webkit.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/packages/webkit.scm b/gnu/packages/webkit.scm
index 4fc1b7c..28dbaad 100644
--- a/gnu/packages/webkit.scm
+++ b/gnu/packages/webkit.scm
@@ -265,6 +265,15 @@ acceleration in mind, leveraging common 3D graphics APIs 
for best performance.")
                                   "/xml/dtd/docbook/docbookx.dtd"))))
               (find-files "Source" "\\.sgml$"))
              #t))
+         (add-before 'configure 'configure-bubblewrap
+           (lambda _
+             ;; This phase is a corollary to 'webkitgtk-share-store.patch' to
+             ;; avoid hard coding /gnu/store, for users with other prefixes.
+             (let ((store-directory (%store-directory)))
+               (substitute*
+                   
"Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp"
+                 (("@storedir@") store-directory))
+               #t)))
          (add-after 'install 'move-doc-files
            (lambda* (#:key outputs #:allow-other-keys)
              (let* ((out (assoc-ref outputs "out"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]