* Justin Pryzby ([EMAIL PROTECTED]) wrote:
> 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,

1.5.0.2-3 contains a -dbg package, so no recompiling with debug
symbols should be necessary. 

> ./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.

-- 
Eric Dorland <[EMAIL PROTECTED]>
ICQ: #61138586, Jabber: [EMAIL PROTECTED]
1024D/16D970C6 097C 4861 9934 27A0 8E1C  2B0A 61E9 8ECF 16D9 70C6

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d- s++: a-- C+++ UL+++ P++ L++ E++ W++ N+ o K- w+ 
O? M++ V-- PS+ PE Y+ PGP++ t++ 5++ X+ R tv++ b+++ DI+ D+ 
G e h! r- y+ 
------END GEEK CODE BLOCK------

Attachment: signature.asc
Description: Digital signature

Reply via email to