FS#73517 - [gtk3] Remove hard dependency on libcanberra

Attached to Project: Arch Linux
Opened by BTD Master (btdmaster) - Wednesday, 26 January 2022, 16:38 GMT
Last edited by Jan Alexander Steffens (heftig) - Saturday, 12 February 2022, 02:23 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

The gtk3 package currently hard depends on libcanberra which means that, for example, terminal bells are ringing where the user has not explicitly turned them on (my ears are not very happy). I've asked heftig, and he said that this currently cannot be done as some packages implicitly depend on libcanberra while only explicitly depending on gtk3.

I have filed this bug to track progress on finding packages that have an implicit dependency on libcanberra, so that eventually it can be turned into an optdep in gtk3.
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Saturday, 12 February 2022, 02:23 GMT
Reason for closing:  Fixed
Additional comments about closing:  gtk3 1:3.24.31-2
Comment by BTD Master (btdmaster) - Thursday, 10 February 2022, 13:08 GMT
I went through all the packages that have a hard dependency on gtk3 but no hard dependency on libcanberra with a shell script to find all files dynamically linked to libcanberra and I got the following files:
./claws-mail/usr/lib/claws-mail/plugins/notification.so
./libcheese/usr/lib/libcheese-gtk.so.25.1.7
./ukui-power-manager/usr/bin/ukui-power-manager
./gala/usr/bin/gala
./sound-juicer/usr/bin/sound-juicer
As claws-mail has a soft dependency tagged already, it only leaves libcheese, ukui-power-manager, gala and sound-juicer. Once those packages get libcanberra as a dependency gtk3 should not need it anymore.
Comment by Jan Alexander Steffens (heftig) - Thursday, 10 February 2022, 13:10 GMT
OK, thanks for your effort. I'll put this on my TODO.
Comment by Jan Alexander Steffens (heftig) - Thursday, 10 February 2022, 22:47 GMT
Unfortunately, rechecking this myself (with sogrep and pactree) I get the following list:

claws-mail
colorhug-client
evolution-data-server
gala
gdm
gnome-flashback
kmix
knotifyconfig
libcheese
libcutefish
mate-control-center
plasma-pa
sound-juicer
ukui-control-center
ukui-media
ukui-power-manager
ukwm

So that's a bit more work.
Comment by BTD Master (btdmaster) - Friday, 11 February 2022, 07:50 GMT
I only checked packages with direct dependencies, which was a wrong assumption to make. Thank you.

Loading...