all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 4174e73b6cb2c7c835370f629d5ae3e5befd6c56 934 bytes (raw)
name: gnu/packages/patches/webkitgtk-share-store.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
 
Author: Jack Hill <jackhill@jackhill.us>
Tell bubblewrap to share the store.

See <https://bugs.gnu.org/40837>.

---
diff --git a/Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp b/Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp
index ad301ab2..d53b680e 100644
--- a/Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp
+++ b/Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp
@@ -737,6 +737,9 @@ GRefPtr<GSubprocess> bubblewrapSpawn(GSubprocessLauncher* launcher, const Proces
         "--ro-bind-try", "/usr/local/share", "/usr/local/share",
         "--ro-bind-try", DATADIR, DATADIR,
 
+       // Bind mount the store inside the WebKitGTK sandbox.
+       "--ro-bind", "@storedir@", "@storedir@",
+
         // We only grant access to the libdirs webkit is built with and
         // guess system libdirs. This will always have some edge cases.
         "--ro-bind-try", "/lib", "/lib",

debug log:

solving 4174e73b6c ...
found 4174e73b6c in https://yhetil.org/guix/87h7wt3tmv.fsf@devup.no/

applying [1/1] https://yhetil.org/guix/87h7wt3tmv.fsf@devup.no/
diff --git a/gnu/packages/patches/webkitgtk-share-store.patch b/gnu/packages/patches/webkitgtk-share-store.patch
new file mode 100644
index 0000000000..4174e73b6c

1:20: trailing whitespace.
 
Checking patch gnu/packages/patches/webkitgtk-share-store.patch...
Applied patch gnu/packages/patches/webkitgtk-share-store.patch cleanly.
warning: 1 line adds whitespace errors.

index at:
100644 4174e73b6cb2c7c835370f629d5ae3e5befd6c56	gnu/packages/patches/webkitgtk-share-store.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

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.