Building, and creating an installer

Discussion about official Mozilla Firefox builds
Post Reply
User avatar
joshk
Posts: 33
Joined: November 25th, 2002, 1:33 am
Location: Palo Alto, CA
Contact:

Building, and creating an installer

Post by joshk »

I've got the mozilla source and configured it to build as Phoenix. It builds, but how do I either dump all of the files necessary into a tarball (like the format of the current nightly builds) or create an installer? Or, a kind of make install to copy the binaries to, say, /usr/local/lib/phoenix?

By the way -- building any Mozilla is hot and toasty on those cold winter nights... ^_~
<mspencer> Hitler used an aimbot.
asa
Posts: 684
Joined: November 4th, 2002, 4:16 pm
Location: CA
Contact:

Re: Building, and creating an installer

Post by asa »

joshk wrote:I've got the mozilla source and configured it to build as Phoenix. It builds, but how do I either dump all of the files necessary into a tarball (like the format of the current nightly builds) or create an installer? Or, a kind of make install to copy the binaries to, say, /usr/local/lib/phoenix?

By the way -- building any Mozilla is hot and toasty on those cold winter nights... ^_~

Just zip up the mozilla/dist/bin directory. That's what we've got at ftp.

--Asa
"You'd PAY to know what you REALLY think." --Dobbs 1961
Dreamer
Posts: 1
Joined: December 10th, 2002, 10:59 pm

Re: Building, and creating an installer

Post by Dreamer »

asa wrote:Just zip up the mozilla/dist/bin directory. That's what we've got at ftp.

Just what I wanted to know. Now, how would one go about finding the options that you guys (Mozilla) pass to configure for the official nightlies?
User avatar
joshk
Posts: 33
Joined: November 25th, 2002, 1:33 am
Location: Palo Alto, CA
Contact:

Re: Building, and creating an installer

Post by joshk »

Dreamer wrote:
asa wrote:Just zip up the mozilla/dist/bin directory. That's what we've got at ftp.

Just what I wanted to know. Now, how would one go about finding the options that you guys (Mozilla) pass to configure for the official nightlies?


Well, this is what I have in my .mozconfig (my personal stuff is prefixed with # XXX:

export MOZ_PHOENIX=1
# XXX export DESTDIR=/tmp/phoenix
mk_add_options MOZ_PHOENIX=1
# XXX mk_add_options DESTDIR=/tmp/phoenix
ac_add_options --enable-crypto
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --disable-mailnews
ac_add_options --disable-composer
ac_add_options --enable-strip
ac_add_options --enable-strip-libs
ac_add_options --enable-optimize="-O2 -march=i686"
# XXX ac_add_options --prefix=/usr
# XXX ac_add_options --with-glib-prefix=/usr
# XXX but HIGHLY RECOMMENDED: ac_add_options --enable-xft
<mspencer> Hitler used an aimbot.
Post Reply