Jens Olav Nygaard wrote:
As it happens, I'm involved in the development of an svg-based system.
I would like to get my hands dirty on the deerpark versions of Firefox,
but without throwing the working 1.0.5 version out the window.

Does it sound like a good (=sufficient for complete isolation of new
alpha-stuff) idea to use the BLFS-instructions with

  ... --prefix=/usr/something_unique
  ... --with-default-mozilla-five-home=/usr/lib/firefox-1.1

and then running it as another "test"-user?

But what about this stuff with firefox being run the first time as
root, to "set up files" or something? Will that create a mess for me?


If you want to try out a new build but don't want to interfere with what you already have then it is probably safest to not install anything "system side", just untar a build in your (or some other users) home folder and run it from there. To use an SVG enabled build you will need to create an new profile so move your old profile out of the way
mv ~/.mozilla ~/.mozilla.old

Keeping Firefox in your home folder solves the problem of running it once as root as you have write permissions in your home folder. Also, if it all goes wrong just delete it. You haven't installed anything system side so there's no mess to clean up. This script should make a firefox.tar.gz in mozilla/firefox/dist/firefox-1.0+.en-US.linux-i686.tar.gz


#!/bin/bash
# if you've not got wget, download it with something else
wget 
http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/deerpark/alpha2/source/firefox-1.1a2-source.tar.bz2
 &&
tar xjf firefox-1.1a2-source.tar.bz2 &&
cd mozilla &&
# create a mozconfig with suitable options
cat > mozconfig << "EOF"
. $topsrcdir/browser/config/mozconfig
mk_add_options [EMAIL PROTECTED]@/firefox
ac_add_options --enable-default-toolkit=gtk2
ac_add_options --enable-xft
ac_add_options --disable-freetype2
ac_add_options --with-pthreads
ac_add_options --enable-optimize
ac_add_options --disable-tests
ac_add_options --enable-svg
EOF
# make a separate firefox folder to build in
mkdir firefox &&
# make it
make -f client.mk build &&
# collect it all together in mozilla/firefox/dist/firefox
make -C firefox/browser/installer &&
echo "All done"



--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to