[gnome-builder] plugins/flatpak: give access to org.gnome.Sysprof3 on system bus



commit a5edd0908d2a3934005cc553c34c9d795638f95c
Author: Christian Hergert <chergert redhat com>
Date:   Thu Sep 1 13:35:54 2022 -0700

    plugins/flatpak: give access to org.gnome.Sysprof3 on system bus

 src/plugins/flatpak/gbp-flatpak-runtime.c | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/src/plugins/flatpak/gbp-flatpak-runtime.c b/src/plugins/flatpak/gbp-flatpak-runtime.c
index 6f1aa0d47..cf3e7bc01 100644
--- a/src/plugins/flatpak/gbp-flatpak-runtime.c
+++ b/src/plugins/flatpak/gbp-flatpak-runtime.c
@@ -263,6 +263,9 @@ gbp_flatpak_runtime_handle_run_context_cb (IdeRunContext       *run_context,
   ide_run_context_append_argv (run_context, "--talk-name=org.freedesktop.portal.*");
   ide_run_context_append_argv (run_context, "--talk-name=org.a11y.Bus");
 
+  /* Layering violation, but always give access to profiler */
+  ide_run_context_append_argv (run_context, "--system-talk-name=org.gnome.Sysprof3");
+
   /* And last, before our child command, is the staging directory */
   ide_run_context_append_argv (run_context, staging_dir);
 


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