Log in

Reorder your Firefox - BeZilla blog
October 27th, 2007
02:05 pm


Previous Entry Share Next Entry
Reorder your Firefox
As tigerdog has worked so hard on getting a good Firefox, I felt it is time I contributed a little something myself.

Hence, here is how tqh reorders his build:
  • First up, if you have added anything to your bootscripts for Firefox/Seamonkey or other remove it.
  • Make a backup of you Firefox dir, this *is* still untested by enough people.
  • In your Firefox directory create a 'lib' and a 'add-ons' directory.
  • Move libmozjs.so, libnss3.so, libsmime3.so, libsoftokn3.so, libssl3.so, libxpcom.so, libxpcom_compat.so and libxpcom_core.so to the 'lib' directory. If there is any *.stub of these files remove them.
  • Move libfreebl3.so, libnssckbi.so and libxpistub.so to the 'add-ons' directory. If there is any *.stub of these files remove them.
  • Move libnspr4.so, libplc4.so, libplds4.so to /boot/home/config/lib. This will install them as system-wide libs. Making them easy to be replaced (with for instance better ones). If you do this you should remove these from other installs of Firefox or such. They could also be moved to the 'lib' directory in you Firefox directory if you just want to use them for that specific app. If there is any *.stub of these files remove them.
  • Rename firefox-bin to Firefox, and use it to launch from now on. Other files, not dirs, in the Firefox directory can be removed if you like.
  • If Firefox doesn't launch, but shows no error-msg, one of the following usually helps:
    • reboot
    • doing 'mimeset -f Firefox from a terminal.
    • removing the compreg.dat file in your profile

Remember that this is still experimental, and as it's never tested with Seamonkey and Thunderbird won't be changed in the build-scripts anytime soon. Also if you run out of addon-memory please let me know.

(4 comments | Leave a comment)

Date:October 27th, 2007 11:01 pm (UTC)
Hi tqh! Interesting experiment. What are the expected benefits of reordering?
Date:October 28th, 2007 09:37 am (UTC)
Native launch, desktop integration and performance.
Date:October 28th, 2007 02:28 pm (UTC)
Thanks. I'll play with this once I get published. If this works well, would you plan to create an installer similar to Windows or Mac, that automatically places the correct software in the correct locations? Without automatic update, we need to keep upgrading as simple as possible because of ongoing bug / security fixes in the main Firefox product.
Date:October 30th, 2007 09:33 am (UTC)
I done a pkg for Beos /Zeta some years with optionnal reorder process during installation. Maybe you can get it and reuse the pkg scripts... I think you can open installer pkg with Builderpackage normally...

This archives is normally a pkg'ed one ;-)
Mozilla for BeOS project Powered by LiveJournal.com