FS#42808 - [gtk3] make at-spi2-atk optional

Attached to Project: Arch Linux
Opened by AnAkkk (AnAkkk) - Sunday, 16 November 2014, 09:39 GMT
Last edited by Jan de Groot (JGC) - Monday, 17 November 2014, 08:38 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Ionut Biru (wonder)
Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

Details

gtk3 depends on at-spi2-atk, which depends on at-spi2-core.
at-spi2-core automatically start two processes on every boot (at-spi-bus-launcher and at-spi2-registryd) which are useless if you don't use any accessibility applications.

Please, could you make at-spi2-atk an optionnal dependency of gtk3 ?
This task depends upon

Closed by  Jan de Groot (JGC)
Monday, 17 November 2014, 08:38 GMT
Reason for closing:  Won't implement
Additional comments about closing:  As comment says, libgtk-3.so.* links to libatk-bridge-2.0.so, so it's not possible.
Comment by Olivier Brunel (jjacky) - Sunday, 16 November 2014, 19:23 GMT
I may be wrong, but I don't think it's possible to do that; AFAIK GTK3 links against those ATK libs and there's no compilation option to disable it, so you need those packages installed else GTK3 apps won't start.

However, if you have NO_AT_BRIDGE=1 set in your environment, then it should prevent starting the daemons. I've been trying it and it seems to work fine (Although I think I've seen at-spi-bus-launcher be running still at one point, though after I killed it it didn't come back), apparently because something tried to use org.a11y.atspi.Registry, but I'm not sure what/how to prevent that.

Loading...