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

Bug 445154

Summary: www-client/firefox-17.0-r1[-libnotify] and mail-client/thunderbird-17.0-r1[-libnotify] always compiles with libnotify support if libnotify is installed
Product: Gentoo Linux Reporter: Cyril Pascal <cyril.pascal_gentoobugs>
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED OBSOLETE    
Severity: normal CC: steffen
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=433930
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Disable showAlertOnComplete if ! use libnotify

Description Cyril Pascal 2012-11-29 07:23:44 UTC
Hi,

I installed new firefox ebuild and firefox is compiled with libnotify support, although I compiled it with -libnotify USE flag.

Unexpected :
USE=-libnotify emerge firefox
firefox is compiled with libnotify support

Temporary resolution :
emerge -C libnotify && USE=-libnotify emerge firefox
firefox is compiled without libnotify support

Nevertheless, I do not know the issue is related to gentoo or mozilla...

Thanks.
Comment 1 Jory A. Pratt gentoo-dev 2012-11-30 21:08:27 UTC
Appears libnotify support has been made option at runtime, meaning if found it is used. libnotify useflag will be removed.
Comment 2 Ian Stakenvicius (RETIRED) gentoo-dev 2012-11-30 21:11:18 UTC
Given that there are still random segfaults between libnotify[spidermonkey] and various mozilla products, it would be beneficial until this is fixed to allow libnodify support to be ripped out mozilla stuffs...  what do you think about at least allowing support to be disabled via this flag?
Comment 3 Jory A. Pratt gentoo-dev 2012-11-30 22:42:55 UTC
(In reply to comment #2)
> Given that there are still random segfaults between libnotify[spidermonkey]
> and various mozilla products, it would be beneficial until this is fixed to
> allow libnodify support to be ripped out mozilla stuffs...  what do you
> think about at least allowing support to be disabled via this flag?

Not gonna happen.
Comment 4 Jory A. Pratt gentoo-dev 2012-12-01 17:27:07 UTC
(In reply to comment #2)
> Given that there are still random segfaults between libnotify[spidermonkey]
> and various mozilla products, it would be beneficial until this is fixed to
> allow libnodify support to be ripped out mozilla stuffs...  what do you
> think about at least allowing support to be disabled via this flag?

Your patch was approved upstream, we can port it and land it into the fx-17 patchset which I will do later tonight, along with spidermonkey fixup which will resolve the problems on mozilla products in that manner. I will add an echo for the preference to disable via the useflag  tho for mozilla products.
Comment 5 Jory A. Pratt gentoo-dev 2012-12-17 15:23:57 UTC
Created attachment 332584 [details, diff]
Disable showAlertOnComplete if ! use libnotify

This will disable libnotify from displaying messages, I have tested in fx-18_beta4 if you can confirm working for you in 17.0.1 I will get it moved to tree.