[2aaa7e5] | 1 | <sect2>
|
---|
| 2 | <title>Command explanations</title>
|
---|
| 3 |
|
---|
| 4 | <para><userinput>export MOZILLA_OFFICIAL="1" &&
|
---|
| 5 | export BUILD_OFFICIAL="1" &&
|
---|
| 6 | export MOZ_INTERNAL_LIBART_LGPL="1"</userinput>
|
---|
| 7 | Set some variables that affect what and how it is built. The first two exports
|
---|
| 8 | specify that we are building a distribution. The last export specifies that we
|
---|
| 9 | are ok with the LGPL versioned libart.</para>
|
---|
| 10 |
|
---|
| 11 | <para><screen><userinput>--with-system-zlib --with-system-jpeg \
|
---|
| 12 | --with-system-png --with-system-mng"</userinput></screen>
|
---|
| 13 | Use the system versions for these packages.</para>
|
---|
| 14 |
|
---|
| 15 | <para><userinput>--enable-xft</userinput>: Enable the Xft
|
---|
| 16 | support.</para>
|
---|
| 17 |
|
---|
| 18 | <para><userinput>--enable-crypto</userinput>: Enable the Personal
|
---|
| 19 | Security Manager to enable SSL connections.</para>
|
---|
| 20 |
|
---|
| 21 | <para><screen><userinput>--disable-jsd --disable-accessibility \
|
---|
| 22 | --disable-tests --disable-debug \
|
---|
| 23 | --enable-optimize=-O3 --disable-dtd-debug \
|
---|
| 24 | --disable-logging --enable-reorder \
|
---|
| 25 | --enable-strip --enable-elf-dynstr-gc \
|
---|
[098ad89] | 26 | --enable-cpp-rtti</userinput></screen>
|
---|
[2aaa7e5] | 27 | Disable all debugging options and enable all optimization options. You can
|
---|
| 28 | pick and choose from these options. More information on them can be found
|
---|
| 29 | in the mozilla configure script help.</para>
|
---|
| 30 |
|
---|
[098ad89] | 31 | <para><userinput>--enable-extensions=...</userinput>: Enables
|
---|
[2aaa7e5] | 32 | extensions. If you want, you can disable all extensions other than the
|
---|
| 33 | browser by changing this switch to
|
---|
| 34 | <userinput>--enable-extensions="default,-venkman,-inspector,-irc"</userinput>.</para>
|
---|
| 35 |
|
---|
| 36 | <para><userinput>--enable-svg</userinput>: Enable SVG (Scalable Vector
|
---|
| 37 | Graphics) support.</para>
|
---|
| 38 |
|
---|
| 39 | <para><screen><userinput>install -d &mozilla-prefix;/include/mozilla-&mozilla-version;/security
|
---|
| 40 | cp -Lf dist/private/security/*.h dist/public/security/*.h \
|
---|
| 41 | &mozilla-prefix;/include/mozilla-&mozilla-version;/security</userinput></screen>
|
---|
| 42 | Copy the nss headers that are not copied by make install.</para>
|
---|
| 43 |
|
---|
[098ad89] | 44 | <para><userinput>install -d &mozilla-prefix;/lib/mozilla-&mozilla-version;/openoffice</userinput>:
|
---|
| 45 | Make a directory to store static libraries that openoffice needs during compilation.
|
---|
| 46 | These libraries are not installed by default.</para>
|
---|
| 47 |
|
---|
| 48 | <para><userinput>ln -nsf mozilla-&mozilla-version; ...</userinput>:
|
---|
| 49 | Mozilla installs headers and libraries in version specific directories. This
|
---|
| 50 | link makes symbolic links so that applications that depend on Mozilla (such as
|
---|
| 51 | OpenOffice, Galeon, etc.) can use a non version specific path for installation.
|
---|
| 52 | </para>
|
---|
| 53 |
|
---|
| 54 | <para><userinput>ln -sf mozilla &mozilla-prefix;/bin/netscape</userinput>: Since
|
---|
[2aaa7e5] | 55 | many applications expect the browser to be named netscape, make a symbolic
|
---|
| 56 | link for convenience.</para>
|
---|
| 57 |
|
---|
| 58 | <para><screen><userinput>export LD_LIBRARY_PATH="&mozilla-prefix;/lib/mozilla-&mozilla-version;" &&
|
---|
| 59 | export MOZILLA_FIVE_HOME="&mozilla-prefix;/lib/mozilla-&mozilla-version;" &&
|
---|
| 60 | ./regxpcom &&
|
---|
| 61 | ./regchrome &&
|
---|
| 62 | touch `find &mozilla-prefix;/lib/mozilla-${VERSION} -name *.rdf`</userinput></screen>
|
---|
| 63 | Create the required component registries to enable multi-user installs.</para>
|
---|
| 64 |
|
---|
| 65 | </sect2>
|
---|