On Wed, Apr 26, 2006 at 12:54:03AM -0400, Massimo Savino wrote:
> OK, I've built 1.5.0.2-3 from src as per instructions -- two qns:
> 
>    1. I should have configured it to run off a local prefs directory, say
>    ~/.firefox-local or something. How can I do this?
firefox will load ~/.mozilla/firefox stuff automatically.  Do you want
it to be using a different preferences setup for some reason?

>    2. Can I run / install this separately from the installed version
>    (also at 1.5.0.2-3, from Sun 23 April & built by Eric), say under
>    /usr/local ?
The package you build is in every way comparable to the Debian
package, except that it was built with debugging symbols (and possibly
a different toolchain).  If you used apt-get -b, dpkg-buildpackage,
./debian/rules binary or any other incarnation, then you'll end up
with a set of .debs in the parent to the build directory.  You can
install them and test without worrying about saving the old ~/.mozilla
(since you're just going to be running another copy of firefox, which
happens to be built locally and with debug syms).  When you are done
testing, you can just apt-get install firefox and get a .d.o build of
it, without debug syms, and save space.

You *could* modify the "build system" to install to /usr/local, but I
really don't see the need.  The simplest way of doing this would be to
add a command immediately before the calls to dh_builddeb, something
like:
  
 mkdir debian/firefox/usr/local
 mv debian/firefox/usr/* debian/firefox/usr/local/

BTW, firefox maintainers, you can reduce the code duplication in
./debian/rules by using the dh-make-type template, that just calls
$(MAKE) binary-common DH_OPTIONS=$(DH_OPTIONS) or whatever, with the
different binary-* targets setting different values of DH_OPTIONS.

Justin

Justin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to