[gnome-build-meta/abderrahim/webkit-bubblewrap: 2/2] sdk/WebKitGTK.bst: enable bubblewrap sandbox
- From: Abderrahim Kitouni <akitouni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/abderrahim/webkit-bubblewrap: 2/2] sdk/WebKitGTK.bst: enable bubblewrap sandbox
- Date: Thu, 6 Aug 2020 20:15:39 +0000 (UTC)
commit f7b49f0bddeb72809e9597a1287ae4b86215dc6e
Author: Abderrahim Kitouni <akitouni gnome org>
Date: Thu Aug 6 21:13:25 2020 +0100
sdk/WebKitGTK.bst: enable bubblewrap sandbox
Fixes #213
elements/core-deps/flatpak.bst | 4 +++-
elements/{core-deps => sdk-deps}/bubblewrap.bst | 0
elements/sdk-deps/xdg-dbus-proxy.bst | 12 ++++++++++++
elements/sdk/WebKitGTK.bst | 4 +++-
4 files changed, 18 insertions(+), 2 deletions(-)
---
diff --git a/elements/core-deps/flatpak.bst b/elements/core-deps/flatpak.bst
index f37f7f63..16eb3667 100644
--- a/elements/core-deps/flatpak.bst
+++ b/elements/core-deps/flatpak.bst
@@ -10,6 +10,7 @@ variables:
autogen: autoreconf -fvi
conf-local: >-
--with-system-bubblewrap
+ --with-system-dbus-proxy
build-depends:
- sdk/gobject-introspection.bst
@@ -20,7 +21,8 @@ build-depends:
depends:
- core-deps/libostree.bst
-- core-deps/bubblewrap.bst
+- sdk-deps/bubblewrap.bst
+- sdk-deps/xdg-dbus-proxy.bst
- sdk/appstream-glib.bst
- sdk/json-glib.bst
- sdk/libsoup.bst
diff --git a/elements/core-deps/bubblewrap.bst b/elements/sdk-deps/bubblewrap.bst
similarity index 100%
rename from elements/core-deps/bubblewrap.bst
rename to elements/sdk-deps/bubblewrap.bst
diff --git a/elements/sdk-deps/xdg-dbus-proxy.bst b/elements/sdk-deps/xdg-dbus-proxy.bst
new file mode 100644
index 00000000..6638c56c
--- /dev/null
+++ b/elements/sdk-deps/xdg-dbus-proxy.bst
@@ -0,0 +1,12 @@
+kind: autotools
+
+sources:
+- kind: tar
+ url: github_com:flatpak/xdg-dbus-proxy/releases/download/0.1.2/xdg-dbus-proxy-0.1.2.tar.xz
+
+build-depends:
+- freedesktop-sdk.bst:public-stacks/buildsystem-autotools.bst
+
+depends:
+- sdk/glib.bst
+- freedesktop-sdk.bst:bootstrap-import.bst
diff --git a/elements/sdk/WebKitGTK.bst b/elements/sdk/WebKitGTK.bst
index bb849161..c73f9f8b 100644
--- a/elements/sdk/WebKitGTK.bst
+++ b/elements/sdk/WebKitGTK.bst
@@ -11,6 +11,8 @@ sources:
path: files/webkitgtk/webkit-214966.patch
build-depends:
+- sdk-deps/bubblewrap.bst
+- sdk-deps/xdg-dbus-proxy.bst
- freedesktop-sdk.bst:components/gperf.bst
- freedesktop-sdk.bst:components/perl.bst
- freedesktop-sdk.bst:components/ruby.bst
@@ -37,6 +39,7 @@ depends:
- sdk/wpebackend-fdo.bst
- freedesktop-sdk.bst:components/brotli.bst
- freedesktop-sdk.bst:components/hyphen.bst
+- freedesktop-sdk.bst:components/libseccomp.bst
- freedesktop-sdk.bst:components/libtasn1.bst
- freedesktop-sdk.bst:components/libwebp.bst
- freedesktop-sdk.bst:components/libxslt.bst
@@ -58,7 +61,6 @@ variables:
-DENABLE_GLES2=ON
cmake-local: >-
-DPORT=GTK
- -DENABLE_BUBBLEWRAP_SANDBOX=OFF
%{webkitgtk_toolchain}
%{webkitgtk_arch_options}
(?):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]