Intro  Base  More  Read  Use  Last 30  60  90  All Articles  RSS


Intro

Base

More

Read

Use

Last:
30


60

90

All
Days

Base: firefox-3.0.10   Print


Base Nav: first previous next last All Tab 2 spacerspacer
Source code is available here.

Run these commands:

cd /sources/ &&
rm -rf mozilla &&
tar -xjf firefox-3.0.10-source.tar.bz2 &&
cd mozilla &&
cat > .mozconfig << "EOF"
. $topsrcdir/browser/config/mozconfig
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/ff-opt
ac_add_options --disable-tests 
ac_add_options --disable-jemalloc
ac_add_options --enable-static --disable-libxul
ac_add_options --enable-application=browser
ac_add_options --enable-optimize
mk_add_options MOZ_CO_PROJECT=browser
EOF

make -f client.mk build &&
cd /sources/mozilla/ff-opt/ &&
make package &&
cd /usr/bin &&
tar -xjf /sources/mozilla/ff-opt/dist/firefox*.bz2



The output should look something like this:

Adding client.mk options from /sources/mozilla/.mozconfig:
    MOZ_CO_PROJECT=browser
    MOZ_OBJDIR=$(TOPSRCDIR)/ff-opt
    MOZ_CO_PROJECT=browser
make[1]: Entering directory `/sources/mozilla'
cd /sources/mozilla/ff-opt
/sources/mozilla/configure
Adding configure options from /sources/mozilla/.mozconfig:
  --enable-application=browser
  --disable-tests
  --disable-jemalloc
  --enable-static
  --disable-libxul
  --enable-application=browser
  --enable-optimize
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for gawk... gawk
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a
cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... c++
checking whether the C++ compiler (c++	) works... yes
checking whether the C++ compiler (c++	) is a
cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking for ranlib... ranlib
checking for as... /usr/bin/as
checking for ar... ar
checking for ld... ld
checking for strip... strip
checking for windres... no
checking whether gcc and cc understand -c and -o
together... yes
checking how to run the C preprocessor... gcc -E
checking how to run the C++ preprocessor... c++ -E
checking for a BSD compatible install... /bin/install -c
checking whether ln -s works... yes
checking for perl5... no
checking for perl... /usr/bin/perl
checking for minimum required perl version >= 5.006...
5.010000
checking for full perl installation... yes
checking for python... /usr/bin/python
PYTHON=/usr/bin/python
checking for nsinstall... no
checking for doxygen... :
checking for whoami... /bin/whoami
.
.
.
bin/libssl3.so
bin/libnssdbm3.so
bin/chrome/pippki.jar
bin/chrome/pippki.manifest
bin/updater
bin/crashreporter
bin/crashreporter.ini
bin/crashreporter-override.ini
bin/Throbber-small.gif
[adt]
/usr/bin/perl
/sources/mozilla/xpinstall/packager/xptlink.pl -s
../../dist -d ../../dist/xpt -f
../../dist/firefox/components -v -x ""
../../dist/bin/xpt_link""
Linking .xpt files...
[browser]
Linking .xpt files completed.
Stripping package directory...
signing nss libraries
Generating DSA Key Pair....Library File:
../../dist/firefox/libsoftokn3.so 172892 bytes
Check File: ../../dist/firefox/libsoftokn3.chk
  hash: 20 bytes
    f5 3c 6a 6e 74 4d 9b 00 fc e8
    f5 7b f8 1a 45 c2 fd 98 03 9d
  signature: 40 bytes
    41 23 df ce a1 95 66 fc 54 54
    67 61 ea 20 1f fc c5 54 b7 b3
    a5 f3 73 f6 20 71 4a 60 92 ff
    fb a8 da c1 e2 92 d4 ac 55 ee
done
Generating DSA Key Pair....Library File:
../../dist/firefox/libfreebl3.so 283056 bytes
Check File: ../../dist/firefox/libfreebl3.chk
  hash: 20 bytes
    9a a1 07 ca 89 51 77 21 31 91
    93 00 2e f5 9e b7 68 63 28 e8
  signature: 40 bytes
    0d e3 3c 7f 7f d9 f4 ad 82 f9
    62 2e ff 88 8a 08 0f 24 10 37
    29 58 bc 80 e3 2e 10 a3 13 f1
    92 81 8f e9 88 a0 3a f1 ab a9
done
Removing unpackaged files...
cd ../../dist/firefox; rm -rf firefox-config
firefox-bin.elf regchrome* regxpcom* xpcshell* xpidl*
xpt_dump* xpt_link*  core bsdecho gtscc jscpucfg nsinstall
viewer TestGtkEmbed bloaturls.txt codesighs* elf-dynstr-gc
mangle* maptsv* mfc* mkdepend* msdump* msmap* nm2tsv*
nsinstall* rebasedlls* res/samples res/throbber shlibsign*
ssltunnel* winEmbed.exe os2Embed.exe chrome/chrome.rdf
chrome/app-chrome.manifest chrome/overlayinfo
components/compreg.dat components/xpti.dat
content_unit_tests necko_unit_tests 
/sources/mozilla/ff-opt/config/nsinstall -t removed-files
../../dist/firefox
Compressing...
cd ../../dist && tar -c --owner=0 --group=0 --numeric-owner
--mode=""go-w"" -f - firefox | bzip2 -vf >
firefox-3.0.10.en-US.linux-i686.tar.bz2
  (stdin):  2.741:1,  2.919 bits/byte, 63.51% saved,
24432640 in, 8914856 out.
make[2]: Leaving directory
`/sources/mozilla/ff-opt/browser/installer'
/bin/make tools
make[2]: Entering directory
`/sources/mozilla/ff-opt/browser/installer'
make[2]: Leaving directory
`/sources/mozilla/ff-opt/browser/installer'
make[1]: Leaving directory
`/sources/mozilla/ff-opt/browser/installer'


~~~
Please read our Terms of Use and our Privacy Policy
A tip o' the hat to the folks at Linux From Scratch, who provided a lot of the know-how and framing for the NoNIC OS.

Copyright 2006-2009 NoNIC.org

Created by:
MCJ
MCJ CMS