>>2905
>(holy shit, dbus is fucking difficult to avoid)
It really isn't. The big offender is GTK3 and you can trivially patch the Dbus support out of that one. Yes, it doesn't actually require Dbus, the faggot developers just removed the option because disabling the accessibility garbage is ableist and hurts The GNOME Brand™. Here's how to remove it, the patch is easily adapted to other versions.
possible language: c++, relevance: 26
diff -ruNd gtk+-3.24.1/configure.ac gtk+-3.24.1_patched/configure.ac
--- gtk+-3.24.1/configure.ac 2018-09-19 03:42:49.000000000 +0200
+++ gtk+-3.24.1_patched/configure.ac 2019-04-13 10:36:23.281715341 +0200
@@ -1400,11 +1400,7 @@
# Check for Accessibility Toolkit flags
########################################
-if test x$enable_x11_backend = xyes; then
- ATK_PACKAGES="atk atk-bridge-2.0"
-else
- ATK_PACKAGES="atk"
-fi
+ATK_PACKAGES="atk"
PKG_CHECK_MODULES(ATK, $ATK_PACKAGES)
diff -ruNd gtk+-3.24.1/gtk/a11y/gtkaccessibility.c gtk+-3.24.1_patched/gtk/a11y/gtkaccessibility.c
--- gtk+-3.24.1/gtk/a11y/gtkaccessibility.c 2017-11-16 14:21:24.000000000 +0100
+++ gtk+-3.24.1_patched/gtk/a11y/gtkaccessibility.c 2019-04-13 10:38:12.529715578 +0200
@@ -37,10 +37,6 @@
#include <gtk/gtktogglebutton.h>
#include <gtk/gtkaccessible.h>
-#ifdef GDK_WINDOWING_X11
-#include <atk-bridge.h>
-#endif
-
static gboolean gail_focus_watcher (GSignalInvocationHint *ihint,
guint n_param_values,
const GValue *param_values,
@@ -988,9 +984,5 @@
_gtk_accessibility_override_atk_util ();
do_window_event_initialization ();
-#ifdef GDK_WINDOWING_X11
- atk_bridge_adaptor_init (NULL, NULL);
-#endif
-
atk_misc_instance = g_object_new (GTK_TYPE_MISC_IMPL, NULL);
}I've been DBus-free for years now. One downside is that you have to compile FF from source though, which has painful compilation times that became even more painful when they added Rust to the mix.