Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52069 - mozilla-launcher 1.9 can't load thunderbird anymore
Summary: mozilla-launcher 1.9 can't load thunderbird anymore
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-26 00:44 UTC by Florian Dufour
Modified: 2004-05-26 09:34 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 Florian Dufour 2004-05-26 00:44:03 UTC
System : Gentoo Linux ~x86

I have thunderbird 0.6r1 installed, and mozilla-launcher 1.9, and I can't load thunderbird anymore (cf. steps below).

I found an explanation in the source of mozilla-launcher :

In which_browser() function, the first "case" find thunderbird, so it's ok, MOZILLA_FIVE_HOME is set to "/usr/lib/MozillaThunderbird". However, the second "case" isn't skipped, so MOZILLA_FIVE_HOME is then set to "/opt/thunderbird", which is bad, as I have the compiled Thunderbird, and not the binary one...

The second case sould be skipped if the first one finds the browser.

Reproducible: Always
Steps to Reproduce:
1. emerge net-mail/mozilla-thunderbird
2. emerge mozilla-launcher
3. thunderbird

Actual Results:  
/usr/bin/thunderbird: can't find the browser :-(

Expected Results:  
Thunderbird should run !
Comment 1 Richard Brown 2004-05-26 02:22:51 UTC
It's only a one line patch to mozilla-launcher to fix this. $zero is still thunderbird, as you have the compiled version installed, but the second case statement was running asn still matching thunderbird, instead of thunderbird-bin 

--- mozilla-launcher.old        2004-05-26 10:16:51.207447872 +0100
+++ mozilla-launcher    2004-05-26 10:17:10.622496336 +0100
@@ -153,7 +153,7 @@
       prefs=$HOME/.mozilla
       ;;
                                                                                
-    *thunderbird)
+    *thunderbird-bin)
       export MOZILLA_FIVE_HOME="/opt/thunderbird"
       remote=$MOZILLA_FIVE_HOME/mozilla-xremote-client
       mozbin=$MOZILLA_FIVE_HOME/thunderbird-bin
Comment 2 Aron Griffis (RETIRED) gentoo-dev 2004-05-26 09:34:36 UTC
Thanks for the detailed analysis!  Fixed in mozilla-launcher-1.10