version bump to release candidate for 0.9: http://www.mozilla.org/products/firefox/releases/0.9.html
Created attachment 33016 [details, diff] mozilla-firefox-update-0.8-to-0.9rc-patch Updates 0.8-r1 ebuild to 0.9rc ebuild.
Created attachment 33017 [details, diff] firefox-0.9-antialiasing-patch new antialiasing patch
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?
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
Nope. Removing $HOME/.phoenix and/or $HOME/.mozilla does not help me.
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.
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 $
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>
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.
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
Addendum to comment 8: - Permissions need fix (chmod in ebuild should do it) - Libraries are okay. They are the same in 0.8
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>
No, I shouldn't. Forget my last comment. It's the same with 0.8.
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?
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.
This was a GTK2 problem. Sorry, folks. Anyway, attaching working 0.9 ebuild
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.
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.
Just to make clear, Aaron. The patch was in there before me (since version 0.7 at least)...