Subject: bug#28088: "The name org.a11y.Bus was not provided by any .service files" with multiple applications

From: [email-masked] (Ludovic Courtès)
Date: Sun, 03 Sep 2017 21:14:42 +0200

Hello!

[email-masked] (宋文武) skribis:

> [email-masked] (Ludovic Courtès) writes:
>
>> Hi!
>>
>> [email-masked] (宋文武) skribis:
>>
>>> GTK+ applications will provide accessibility support over this dbus
>>> service, so the AT-SPI clients (screen reader etc.) could use them.
>>>
>>> And this 'org.a11y.Bus' service can be auto activated by the dbus
>>> session daemon if the 'at-spi2-core' package is available.  If not,
>>> we'll get thoese warnning from applications.
>>
>> It does sound like our GuixSD setup fails to activate org.a11y.Bus
>> though.  Should we add a service in %desktop-services that extends
>> ‘dbus-root-service-type’ with ‘at-spi2-core’ to ensure that
>> auto-activation works?
>
> It's not a dbus system service, we can extend 'profile-service-package'
> with 'at-spi2-core' to make it available for the user's dbus session
> daemon.

Right.  In fact our ‘gnome’ package already propagates ‘at-spi2-core’
but not Orca.  Should we do this:

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 43547961b..a95214317 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -5827,6 +5827,7 @@ associations for GNOME.")
        ("font-cantarell"            ,font-cantarell)
        ("font-dejavu"               ,font-dejavu)
        ("at-spi2-core"              ,at-spi2-core)
+       ("orca"                      ,orca)
        ("dbus"                      ,dbus)
        ("dconf"                     ,dconf)
        ("desktop-file-utils"        ,desktop-file-utils)

?

What about Xfce?

There’s still a problem for people not using GNOME/Xfce, but maybe we
can’t address it in the same way (and maybe Orca is not the right tool
either for those users; I see that we lack brltty for instance.)

Thanks,
Ludo’.