Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 458664 - mail-client/thunderbird should have use option and dependency for libcanberra
Summary: mail-client/thunderbird should have use option and dependency for libcanberra
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-22 00:12 UTC by Gino McCarty
Modified: 2017-01-03 13:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gino McCarty 2013-02-22 00:12:04 UTC
Here is reference to a dependency in all new mozilla releases towards libcanberra for sound notifications of new emails.

https://bugzilla.mozilla.org/show_bug.cgi?id=635918

Please add as a USE option / or optional dependency in thunderbird.

Thanks!

PS: took me a minute to find this dependency, it used to be for esound, but has since migrated... 

if some mention is made, the user can decide if they want to include it or not...
Comment 1 junkmailnotread 2013-12-27 19:53:47 UTC
Agreed: mail-client/thunderbird has a run-time dependency on media-libs/libcanberra which is not reflected in the thunderbird ebuild:

# strings /usr/lib/thunderbird/libxul.so | fgrep libcanberra
libcanberra.so.0

To test thunderbird sound, use:

Edit / Preferences / General / When new messages arrive / Play a sound / Use the following sound file / Play

Without libcanberra installed, the sound is not played.
With libcanberra installed, the sound is played.
Comment 2 Gino McCarty 2014-01-02 06:55:51 UTC
umm..
Comment 3 Gino McCarty 2014-02-11 03:47:50 UTC
can you guys make a decision on this?? instead of just ignoring it for a year.. Its the considerate thing to do.. Mark it won't fix if you really need to, but say something...
Comment 4 Martin Gebert 2016-12-29 21:18:41 UTC
I'd like to vote for this, too, and press on *finally* taking action after almost 4 years.
Rationale: I had this issue after switching to LXQt, where libcanberra isn't drawn in by any other ebuild. Web search revealed lots of similar TB/sound issues, mostly quite dated (TB 12...), but none really related to my actual problem until I started to try promising suggestions more or less at random.

Bottom line: This is a hole in the otherwise usually good dependency chain of Gentoo packages. Make it a USE flag, or make it a mandatory dependency, but please add it ASAP.
Comment 5 Ian Stakenvicius (RETIRED) gentoo-dev 2016-12-30 23:18:42 UTC
(In reply to Martin Gebert from comment #4)
> I'd like to vote for this, too, and press on *finally* taking action after
> almost 4 years.
> Rationale: I had this issue after switching to LXQt, where libcanberra isn't
> drawn in by any other ebuild. Web search revealed lots of similar TB/sound
> issues, mostly quite dated (TB 12...), but none really related to my actual
> problem until I started to try promising suggestions more or less at random.
> 
> Bottom line: This is a hole in the otherwise usually good dependency chain
> of Gentoo packages. Make it a USE flag, or make it a mandatory dependency,
> but please add it ASAP.

Well, it's not a linktime dep, and it's not a compiletime dep (unless you have a build.log with a failure that isn't posted here).  Usually dlopen'ed deps arent listed directly in *DEPEND of packages unless they're critical (as in, software fails without their existence), but given that this particular dep looks like it should be a part of the gtk suite and isn't, it makes sense to add it as a dependency here.

Fixed in thunderbird-45.6, will apply to future mozilla versions as well.
Comment 6 stqn 2017-01-03 13:55:51 UTC
I guess this is why today firefox 45.6.0 is pulling libcanberra even though it worked perfectly without it before?

Could you please add a USE flag to make libcanberra optional?