First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 52069
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Mozilla Gentoo Team <mozilla@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Florian Dufour <Florian.Dufour@inrialpes.fr>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 52069 depends on: Show dependency tree
Bug 52069 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-05-26 00:44 0000
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 From Richard Brown 2004-05-26 02:22:51 0000 -------
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 From Aron Griffis (RETIRED) 2004-05-26 09:34:36 0000 -------
Thanks for the detailed analysis!  Fixed in mozilla-launcher-1.10

First Last Prev Next    No search results available      Search page      Enter new bug