source: xsoft/graphweb/mozilla/mozilla-exp.xml@ 1c6182e

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb v1_0 v5_0 v5_0-pre1 v5_1 v5_1-pre1 xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 1c6182e was 1c6182e, checked in by Tushar Teredesai <tushar@…>, 21 years ago

updated to mozilla 1.2.1

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@655 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 3.2 KB
Line 
1<sect2>
2<title>Command explanations</title>
3
4<para><screen><userinput>export MOZILLA_OFFICIAL="1" &amp;&amp;
5export BUILD_OFFICIAL="1" &amp;&amp;
6export MOZ_INTERNAL_LIBART_LGPL="1"</userinput></screen>
7Set some variables that affect what and how it is built. The first two exports
8specify that we are building a distribution. The last export specifies that we
9are ok with the LGPL versioned libart.</para>
10
11<para><userinput>--prefix=&mozilla-prefix;</userinput>: Previously mozilla did
12not support the make install option. Hence the package was installed in /opt.
13The package now supports "make install" and follows the FHS guidelines for
14installation. Hence the book now recommends installation in a system wide prefix
15such as /usr.</para>
16
17<para><screen><userinput>--enable-toolkit-gtk2</userinput></screen>Use gtk2
18toolkit</para>
19
20<para><screen><userinput>--with-system-zlib --with-system-jpeg \
21--with-system-png --with-system-mng"</userinput></screen>
22Use the system versions for these packages.</para>
23
24<para><userinput>--enable-xft</userinput> : Enable the Xft
25support.</para>
26
27<para><userinput>--enable-crypto</userinput> : Enable the Personal
28Security Manager to enable SSL connections.</para>
29
30<para><screen><userinput>--disable-jsd --disable-accessibility \
31--disable-tests --disable-debug \
32--enable-optimize=-O3 --disable-dtd-debug \
33--disable-logging --enable-reorder \
34--enable-strip --enable-elf-dynstr-gc \
35--enable-cpp-rtti</userinput></screen>
36Various options that affect what components are built and some optimization
37options. You can
38pick and choose from these options. More information on them can be found
39in the mozilla configure script help.</para>
40
41<para><userinput>--enable-extensions=...</userinput> : Enables
42extensions. If you want, you can disable all extensions other than the
43browser by changing this switch to
44<userinput>--enable-extensions="default,-venkman,-inspector,-irc"</userinput>.</para>
45
46<para><userinput>--enable-svg</userinput> : Enable SVG (Scalable Vector
47Graphics) support.</para>
48
49<para><screen><userinput>install -d &mozilla-prefix;/include/mozilla-&mozilla-version;/security
50cp -Lf dist/private/security/*.h dist/public/security/*.h \
51 &mozilla-prefix;/include/mozilla-&mozilla-version;/security</userinput></screen>
52Copy the nss headers that are not copied by make install.</para>
53
54<para><userinput>install -d &mozilla-prefix;/lib/mozilla-&mozilla-version;/openoffice</userinput> :
55Make a directory to store static libraries that openoffice needs during compilation.
56These libraries are not installed by default.</para>
57
58<para><userinput>ln -nsf mozilla-&mozilla-version; ...</userinput> :
59Mozilla installs headers and libraries in version specific directories. This
60link makes symbolic links so that applications that depend on Mozilla (such as
61OpenOffice, Galeon, etc.) don't need to know which version of mozilla is
62installed.
63</para>
64
65<para><screen><userinput>export LD_LIBRARY_PATH="&mozilla-prefix;/lib/mozilla-&mozilla-version;" &amp;&amp;
66export MOZILLA_FIVE_HOME="&mozilla-prefix;/lib/mozilla-&mozilla-version;" &amp;&amp;
67./regxpcom &amp;&amp;
68./regchrome &amp;&amp;
69touch `find &mozilla-prefix;/lib/mozilla-${VERSION} -name *.rdf`</userinput></screen>
70Create the required component registries to enable multi-user installs.</para>
71
72</sect2>
Note: See TracBrowser for help on using the repository browser.