Hi,

after countless hours of hacking & building, i finally have a somewhat
working port of the last beta of firefox 4. It's running fine here on
i386 & i lightly tested it on amd64. Of course it doesn't build yet on
sparc64, didn't try ppc, upstream somewhat dropped official support
for anything !(i386|amd64), or at least it's not in the first
priorities. (anyway, openbsd is not an officially supported os..)

notes:
- most things seem to work fine, heavy js webapps feels better.
- Didn't try printing, it's probably still crashing.
- ipc/plugin sandboxing.. i don't know if it's useful, as apparently
 it's useful only for binary plugins (flash/etc) which we don't have.
- port installs everything in lib/firefox-${VERSION}, that's what
 upstream and other oses do. Stop the usr/local/mozilla-firefox
crazyness, and use the make install target upstream provides. I'd like
to do the same for other mozilla ports.
- i have to recheck if the xpm window icon hack is still needed
- test the build with systemwide cairo, should be okay as iirc they
 bumped the internal version to 1.10.
- once systemwide sqlite is updated, try to use it with the #pragma hack
 for secure_delete (and unlock-notify..)
- i didn't test java plugin compatibility, i doubt it'll work as it
 already doesnt work with 3.6.
- xulrunner 2.0 needs to be polished/finished too
- it is intended to replace mozilla-firefox-3.6.x, so pkg_delete it
 first. Backup your ~/.mozilla, or create a new profile for it.
- when it gets out of betas/rc, i'd like to avoid importing it into
 www/firefox4 but rather update www/mozilla-firefox to this version.
we already have two versions of firefox in the portstree.. and it's a
mess to handle
- sparc64 & ppc support needs to be worked on
- various things i forgot.

Please test in various use cases. If it crashes where 3.6 didn't crash
before, build it with debug FLAVOR and try to report a useful trace
_upstream_ (as in http://bugzilla.mozilla.org, i wont handle everything)

get the port in my git repo (you'll need a -current portstree ofc, and
probably bumped ulimit -d if building as user) :

cd /usr/ports/mystuff/www/
git clone -b firefox-4 http://rhaalovely.net/git/mozilla-firefox/
cd mozilla-firefox && make install clean

or try those packages (built against somewhat -current, don't come crying
if it doesn't install on your box due to dependencies not matching) :

http://rhaalovely.net/stuff/i386/mozilla-firefox-4.0b7.tgz
http://rhaalovely.net/stuff/amd64/mozilla-firefox-4.0b7.tgz

Landry

Reply via email to