Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 951140

Summary: mail-client/thunderbird-128.8.0 missed runtime dependency x11-libs/libnotify
Product: Gentoo Linux Reporter: Михаил <spike>
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED FIXED    
Severity: minor    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Михаил 2025-03-10 21:16:12 UTC
mail-client/thunderbird-128.8.0 unable to show system notifications.

console error:
thunderbird[117245]: JavaScript error: resource:///modules/MailNotificationManager.sys.mjs, line 353: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE)

emerge libnotify fix the issue.

Reproducible: Always

Steps to Reproduce:
1. emerge thinderbird
2. verify x11-libs/libnotify is not installed
3. Enable system notification in thunderbird settings
Actual Results:  
Notifications are missing.

Expected Results:  
DE show notification from thunderbird
Comment 1 Joonas Niilola gentoo-dev 2025-03-11 16:51:31 UTC
It's already an "optfeature":
https://gitweb.gentoo.org/repo/gentoo.git/tree/mail-client/thunderbird/thunderbird-128.8.0.ebuild#n1163
(or https://github.com/gentoo/gentoo/blob/master/mail-client/thunderbird/thunderbird-128.8.0.ebuild#L1163 if Gentoo's gitweb is being hammered by AI scrapers)

You can have portage sets called "optfeature" for example with comments what each dep is doing:
https://wiki.gentoo.org/wiki//etc/portage/sets

Since TB works fine without libnotify, it's not a mandatory dep - even though I'd see no harm doing it like that. But the next bug would be asking to remove it and make it optfeature. So it is the best solution we have right now.