First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 99512
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Mozilla Gentoo Team <mozilla@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Martin von Gagern <Martin.vGagern@gmx.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
mozilla-launcher.diff mozilla-launcher.diff patch Martin von Gagern 2005-07-19 04:54 0000 3.25 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 99512 depends on: Show dependency tree
Bug 99512 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: 2005-07-19 04:52 0000
Just calling "firefox" or "thunderbird" when only mozilla-firefox-bin resp.
mozilla-thunderbird-bin is installed fails. This is because MOZILLA_FIVE_HOME is
set for the source package and not changed for the binary package.


Reproducible: Always
Steps to Reproduce:
1. emerge only mozilla-firefox-bin, not mozilla-firefox
2. emerge =www-client/mozilla-launcher-1.35
3. firefox

Actual Results:  
firefox: can't find the browser :-(

Expected Results:  
mozilla-firefox-bin started

I will attach a patch to solve this

------- Comment #1 From Martin von Gagern 2005-07-19 04:54:28 0000 -------
Created an attachment (id=63770) [edit]
mozilla-launcher.diff

This patch solves the issue by always setting MOZILLA_FIVE_HOME - either based
on MOZILLA_LIBDIR or as default path.

------- Comment #2 From Jory A. Pratt 2005-07-19 08:37:14 0000 -------
what version of -bins do you have installed?

------- Comment #3 From Martin von Gagern 2005-07-19 09:00:15 0000 -------
I have only www-client/mozilla-firefox-bin-1.0.5, my thunderbird is from
source.

Looking at the ebuild, I see that mozilla-firefox-bin-1.0.5-r1 should be able
to
solve this issue. I noted the following lines in the ebuild:
        # Create /usr/bin/firefox
        install_mozilla_launcher_stub firefox-bin /opt/firefox
which in fact only create /usr/bin/firefox-bin, the symlink from
/usr/bin/firefox to firefox-bin is as far as I can see only added in
update_mozilla_launcher_symlinks, which gets called in pkg_postinst.
But this is only a very minor issue I just noted.

Anyway, on the one hand this whole bug should not be a problem for recent bins,
but on the other hand the script is designed to cope with old packages as well,
so it either should do this properly, or drop this backward compatibility
completely and just get some additional dependencies to disallow older bin
packages.

I'm all for applying this patch and keep mozilla-launcher backwards compatible.

------- Comment #4 From Jory A. Pratt 2005-07-19 09:16:32 0000 -------
Problem with patch is it prevents agriffis from contining forward with the way
he is wanting to move with mozilla-launcher I will talk with him later today and
address the symlink issue from firefox-bin to firefox and visa-versa with
thunderbird-bin to thunderbird.

------- Comment #5 From Aron Griffis (RETIRED) 2005-07-19 09:47:28 0000 -------
Actually, the patch is great.  Thanks Martin!

I've applied the patch in mozilla-launcher-1.37.  Please re-open this bug if the
problem persists after updating.

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