Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53498 - mozilla firefox bin update to 0.9rc
Summary: mozilla firefox bin update to 0.9rc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-10 02:57 UTC by Tobias Sager
Modified: 2004-06-16 23:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
mozilla-firefox-update-0.8-to-0.9rc-patch (mozilla-firefox-update-0.8-to-0.9rc-patch,1012 bytes, patch)
2004-06-10 02:58 UTC, Tobias Sager
Details | Diff
firefox-0.9-antialiasing-patch (firefox-0.9-antialiasing-patch,1.22 KB, patch)
2004-06-10 02:58 UTC, Tobias Sager
Details | Diff
mozilla-firefox-bin-0.9.ebuild (mozilla-firefox-bin-0.9.ebuild,1.85 KB, text/plain)
2004-06-15 08:37 UTC, Tobias Sager
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Sager 2004-06-10 02:57:23 UTC
version bump to release candidate for 0.9:
http://www.mozilla.org/products/firefox/releases/0.9.html
Comment 1 Tobias Sager 2004-06-10 02:58:06 UTC
Created attachment 33016 [details, diff]
mozilla-firefox-update-0.8-to-0.9rc-patch

Updates 0.8-r1 ebuild to 0.9rc ebuild.
Comment 2 Tobias Sager 2004-06-10 02:58:32 UTC
Created attachment 33017 [details, diff]
firefox-0.9-antialiasing-patch

new antialiasing patch
Comment 3 Tobias Sager 2004-06-10 02:59:35 UTC
The ebuild works for me, but mozilla won't run after installation.
Executing /opt/firefox/firefox{-bin} just does nothing and returns to command line after a few moments...
Anyone more luck?
Comment 4 Pascal Rapaz 2004-06-10 05:16:41 UTC
The installation of firefox sounds good but mozilla-launcher was enable to restart firefox after the first load.

Probably because the floder .phoenix was moved to ./mozilla/firefox...

to see...

   Regards

      Pascal
Comment 5 Tobias Sager 2004-06-10 05:25:00 UTC
Nope. Removing $HOME/.phoenix and/or $HOME/.mozilla does not help me.
Comment 6 Keith Lea 2004-06-10 11:34:22 UTC
This doesn't work for me either. I get:

keith@leak keith $ firefox-bin
No running windows found
keith@leak keith $

However, the initial profile migration worked.
Comment 7 Keith Lea 2004-06-10 11:39:59 UTC
When I run /opt/firefox/firefox-bin, I get:

keith@leak keith $ /opt/firefox/firefox-bin
/opt/firefox/firefox-bin: error while loading shared libraries: /opt/firefox/firefox-bin: undefined symbol: _ZN12nsCharTraitsIcE12sEmptyBufferE
keith@leak keith $
Comment 8 Tobias Sager 2004-06-10 11:52:15 UTC
I confirm comment 6.

Another weird thing:
<snip>
tsa@saidar tsa $ ldd /opt/firefox/firefox-bin 
        libmozjs.so => not found
        libxpcom.so => not found
        libplds4.so => not found
        libplc4.so => not found
        libnspr4.so => not found
        libpthread.so.0 => /lib/libpthread.so.0 (0x40025000)
        libdl.so.2 => /lib/libdl.so.2 (0x40075000)
        libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x40079000)
        libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x40331000)
        libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x403a0000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x403ba000)
        libpangoxft-1.0.so.0 => /usr/lib/libpangoxft-1.0.so.0 (0x403cf000)
        libpangox-1.0.so.0 => /usr/lib/libpangox-1.0.so.0 (0x403d4000)
        libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x403e0000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x40415000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x4044d000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x40451000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x404cd000)
        libm.so.6 => /lib/libm.so.6 (0x405ad000)
        libsmime3.so => not found
        libssl3.so => not found
        libnss3.so => not found
        libsoftokn3.so => not found
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x405cf000)
        libXp.so.6 => /usr/X11R6/lib/libXp.so.6 (0x40627000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4062f000)
        libxpcom_compat.so => not found
        libstdc++.so.5 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/libstdc++.so.5 (0x4063f000)
        libgcc_s.so.1 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/libgcc_s.so.1 (0x406f0000)
        libc.so.6 => /lib/libc.so.6 (0x406f9000)
        libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x40801000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x40816000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x40840000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
        libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x408ae000)
        libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x408b2000)
        libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x408ba000)
        libXcursor.so.1 => /usr/X11R6/lib/libXcursor.so.1 (0x408c2000)
        libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x408cd000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x408f3000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x408fc000)
        libXau.so.6 => /usr/X11R6/lib/libXau.so.6 (0x40913000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0x47041000)
        libz.so.1 => /usr/lib/libz.so.1 (0x40917000)
tsa@saidar tsa $ qpkg -l mozilla-firefox-bin | grep 'mozjs'
/opt/firefox/libmozjs.so
</snip>

Permissions are very odd too:
<snip>
saidar firefox # l
total 12384
drwxrwxrwx  10 root root    4096 10. Jun 20:50 .
drwxr-xr-x  18 root root    4096 10. Jun 20:50 ..
drwxrwxr-x  19 root root    4096 10. Jun 20:50 chrome
drwxrwxrwx   3 root root    8192 10. Jun 20:50 components
drwxrwxrwx   5 root root      48 10. Jun 20:50 defaults
-rwxr-xr-x   1 root root    4777 10. Jun 20:50 firefox
-rwxr-xr-x   1 root root 9749588 10. Jun 20:50 firefox-bin
drwxrwxrwx   2 root root      62 10. Jun 20:50 greprefs
drwxrwxrwx   2 root root      46 10. Jun 20:50 icons
drwxrwxrwx   2 root root      19 10. Jun 20:50 init.d
-rwxrwxrwx   1 root root  439568 10. Jun 20:50 libmozjs.so
-rwxrwxrwx   1 root root  175264 10. Jun 20:50 libnspr4.so
-rwxrwxrwx   1 root root  443864 10. Jun 20:50 libnss3.so
-rwxrwxrwx   1 root root  178780 10. Jun 20:50 libnssckbi.so
-rwxrwxrwx   1 root root   14704 10. Jun 20:50 libplc4.so
-rwxrwxrwx   1 root root    8632 10. Jun 20:50 libplds4.so
-rwxrwxrwx   1 root root  149328 10. Jun 20:50 libsmime3.so
-rw-rw-rw-   1 root root     476 10. Jun 20:50 libsoftokn3.chk
-rwxrwxrwx   1 root root  459968 10. Jun 20:50 libsoftokn3.so
-rwxrwxrwx   1 root root  136120 10. Jun 20:50 libssl3.so
-rwxrwxrwx   1 root root   94980 10. Jun 20:50 libxpcom_compat.so
-rwxrwxrwx   1 root root  657092 10. Jun 20:50 libxpcom.so
-rwxrwxrwx   1 root root    8140 10. Jun 20:50 libxpistub.so
-rwxr-xr-x   1 root root   30869 10. Jun 20:50 LICENSE
-rwxrwxrwx   1 root root    9092 10. Jun 20:50 mozilla-xremote-client
lrwxrwxrwx   1 root root      26 10. Jun 20:50 plugins -> /usr/lib/nsbrowser/plugins
-rwxr-xr-x   1 root root    9542 10. Jun 20:50 README.txt
drwxrwxrwx   9 root root    4096 10. Jun 20:50 res
-rwxrwxrwx   1 root root   10897 10. Jun 20:50 run-mozilla.sh
drwxrwxrwx   2 root root      40 10. Jun 20:50 searchplugins
-rwxrwxrwx   1 root root   21080 10. Jun 20:50 xpicleanup
saidar firefox # pwd
/opt/firefox
saidar firefox #
</op>
Comment 9 Simon Raffeiner 2004-06-11 20:11:40 UTC
I installed it directly from the archive, and it runs. Deleted all files from older installations, even the folders in my ~/, but some problems remain:

- It doesn't remember any settings, except if the Sidebar is shown or not. Everything else like Home Page, Window size, Cookie Settings, Advanced Settings etc. is reset at every restart. The directory ~/.mozilla/firefox is created and contains all nedded files.

- I cannot install any Plugins. After installing AdBlock from Mozilla Extension the Plugin is shown under Tools | Extensions but disappears at the next start. The file is downloaded and moved to /home/tantal/.mozilla/firefox/default.ez2/chrome/adblock.jar, which seems to be the right place.
Comment 10 Tom Shaw 2004-06-12 18:23:29 UTC
First comment on a bug, I'm in the forums mostly.

I've been using this script and it works by calling it directly from an app.
http://bugzilla.mozilla.org/show_bug.cgi?id=177996#c79

Still errors from the command line, but these solve that:
firefox -a firefox -remote 'openURL(%s,new-window)'
firefox -a firefox -remote 'openURL(%s,new-tab)'
firefox -a firefox -remote 'openURL(%s)'
firefox -a firefox -remote 'openURL(http://www.gentoo.org,new-tab)'

Some more info here:
http://forums.gentoo.org/viewtopic.php?p=1235936#1235936

Basicly it just works, not extra scripts when calling firefox from an application and the "-a firefox" eliminates the "window" error.

I had to change the permissions for searchplugins and extensions but the installing works fine for both now.
chmod o+rw /opt/firefox/searchplugins
chmod o+rw /opt/firefox/extensions
Comment 11 Tobias Sager 2004-06-13 02:46:07 UTC
Addendum to comment 8:
- Permissions need fix (chmod in ebuild should do it)
- Libraries are okay. They are the same in 0.8
Comment 12 Tobias Sager 2004-06-13 03:05:40 UTC
To comment 10: Does not work for me.

Another thing. Should I get a different ouput?
<snip>
/opt/firefix # ./firefox -g
./run-mozilla.sh -g ./firefox-bin
MOZILLA_FIVE_HOME=.
  LD_LIBRARY_PATH=.:./plugins:/usr/local/lib/mre/mre-0.8.0+::/usr/lib/wine/lib
DISPLAY=:0.0
DYLD_LIBRARY_PATH=.:/usr/local/lib/mre/mre-0.8.0+
     LIBRARY_PATH=.:./components:/usr/local/lib/mre/mre-0.8.0+
       SHLIB_PATH=.:/usr/local/lib/mre/mre-0.8.0+
          LIBPATH=.:/usr/local/lib/mre/mre-0.8.0+
       ADDON_PATH=.
      MOZ_PROGRAM=./firefox-bin
      MOZ_TOOLKIT=
        moz_debug=1
     moz_debugger=
which: no ddd in (/home/tsa/bin:/bin:/usr/bin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3:/opt/ICAClient:
/opt/Acrobat5:/usr/X11R6/bin:/opt/sun-jdk-1.4.2.04/bin:/opt/sun-jdk-1.4.2.04/jre/bin:/opt/sun-jdk-1.4.2.04/jre/javaws:/o
pt/jgrasp/bin:/usr/qt/3/bin:/usr/kde/3.2/bin:/usr/games/bin:/opt/vmware/bin:/usr/lib/wine/bin)
/usr/bin/gdb ./firefox-bin -x /tmp/mozargs12653
GNU gdb 6.0
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...(no debugging symbols found)...Using host libthread_db library "/lib/li
bthread_db.so.1".

(gdb) run 
Starting program: /opt/firefox/firefox-bin 
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
warning: shared library handler failed to enable breakpoint

Program received signal SIG32, Real-time event 32.
0x4016b4b0 in ?? ()
(gdb) bt
#0  0x4016b4b0 in ?? ()
#1  0xbfffe184 in ?? ()
#2  0x4016b310 in ?? ()
#3  0xbfffe0ec in ?? ()
#4  0x00000020 in ?? ()
#5  0xbfffe0ec in ?? ()
#6  0x401661f2 in ?? ()
</snip>
Comment 13 Tobias Sager 2004-06-13 03:06:52 UTC
No, I shouldn't. Forget my last comment.
It's the same with 0.8.
Comment 14 Tom Shaw 2004-06-14 11:29:02 UTC
If you had a certain nightly build installed then firefox created a ~/.firerox directory. This was the change before they settled on the ~/.mozilla/firefox directory. Could this be the problem you are having? Also did you try relacing the default /opt/firefox/firefox script with http://bugzilla.mozilla.org/attachment.cgi?id=150144&action=view ? Your output seems to be using the original script from the .9rc build but I've tested those new startup commands with that one and it still works fine once the "-a firefox" is added before "-remote". The mozilla-launcher script is something I'm not sure of so perhaps it is causing you troubles?
Comment 15 Tobias Sager 2004-06-14 23:19:31 UTC
I updated from 0.8 which had .phoenix as directory.

Tried a clean install with no luck. unmerge 0.8, remove /opt/firefox, remove
.phoenix and .mozilla, emerge 0.9, replace script /opt/firefox/firefox.
Running /opt/firefox/firefox does not start firefox, but returns to prompt after a second or so. However, .mozilla-directory is created.
Comment 16 Tobias Sager 2004-06-15 08:36:06 UTC
This was a GTK2 problem. Sorry, folks.

Anyway, attaching working 0.9 ebuild
Comment 17 Tobias Sager 2004-06-15 08:37:32 UTC
Created attachment 33313 [details]
mozilla-firefox-bin-0.9.ebuild

Ebuild for 0.9. Minor changes from 0.8. No changes from 0.9_rc.
Comment 18 Aron Griffis (RETIRED) gentoo-dev 2004-06-16 14:41:45 UTC
Thanks for the help, guys.  firefox-bin-0.9-r1 is in portage now, and so is mozilla-launcher-1.13 with support for firefox-bin

Regarding the freetype patch, I appreciate the submission, but I'm going to leave it out because the point of firefox-bin is to have the distribution as provided by mozilla.org, not make a lot of Gentoo-specific changes.
Comment 19 Tobias Sager 2004-06-16 23:20:23 UTC
Just to make clear, Aaron. The patch was in there before me (since version 0.7 at least)...