On 12/5/05, Ag Hatzim <[EMAIL PROTECTED]> wrote:
> Hey Dan,excellent presentation.

Thank you.

> In addition and with regards to point 3.(client.mk makefile instructions),
> someone can even give the extra command  *make -C 
> ../firefox-build/browser/installer*
> to create a tarball into the ../firefox-build/dist directory.

It's a nice target to have, but I don't really use it since I'm
building just for me and right into /usr.  It's good to know that this
is the exact same way that Mozilla packages up their tarballs.  The
executable installers can also be built directly from the source tree.
 See http://www.mozilla.org/build/distribution.html.

> I don't even install firefox in the root directory (looks scary to me) :).
> I just unpack the created tarball in my home dir or in any other user home 
> dir,and
> just changing symbolic links to update the new browser version (don't even
> need to run once firefox as root).It takes a 27 MB of space in every user dir
> but i think its well worthing.

Well, if you use a package manager it's not an issue.  But if you
don't, it's still not bad.  Only a few files are actually installed to
a non-versioned subdir (i.e. /usr/include/firefox-1.5)

$ paco -fx firefox | grep -v "/firefox-1.5/"
firefox-1.5:
/usr/bin/firefox
/usr/bin/firefox-config
/usr/lib/pkgconfig/firefox-gtkmozembed.pc
/usr/lib/pkgconfig/firefox-js.pc
/usr/lib/pkgconfig/firefox-nspr.pc
/usr/lib/pkgconfig/firefox-nss.pc
/usr/lib/pkgconfig/firefox-plugin.pc
/usr/lib/pkgconfig/firefox-xpcom.pc
/usr/share/aclocal/nspr.m4
/usr/share/applications/firefox.desktop
/usr/share/pixmaps/firefox.xpm

The last two are my own customizations.  Only
/usr/share/aclocal/nspr.m4 is shared with other Mozilla apps.  At 27
MB a pop, I think this is a very good reason to only have one
distribution in /usr.  The only goofy part about a system install is
the directory searchplugins.  When you run the browser, it offers you
to add new searchplugins, but the directory is only root owned, so it
fails silently.  I usually chmod 1777 the dir, but I really only run a
single user box.

> Firefox updates/builds since the old *phoenix* days :) are uncountable.

Very true.  That's why it's extra nice that they've customized the
build system to be more "future-proof".  Unless they change the build
system :) .

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

Reply via email to