source: xsoft/graphweb/mozilla/mozilla-exp.xml@ 766e17e

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 766e17e was 766e17e, checked in by Tushar Teredesai <tushar@…>, 21 years ago

mozilla - fixed alpha build, removed oo crud

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

  • Property mode set to 100644
File size: 3.3 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. You need fontconfig or the latest XFree86 CVS version to enable xft.</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 \
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. Not all options are used in the
40instructions given above.</para>
41
42<para><userinput>--enable-extensions=...</userinput> : Enables
43extensions. If you want, you can disable all extensions other than the
44browser by changing this switch to
45<userinput>--enable-extensions="default,-venkman,-inspector,-irc"</userinput>.</para>
46
47<para><userinput>--enable-svg</userinput> : Enable SVG (Scalable Vector
48Graphics) support.</para>
49
50<para><screen><userinput>install -d &mozilla-prefix;/include/mozilla-&mozilla-version;/nss
51cp -Lf dist/private/nss/*.h dist/public/nss/*.h \
52 &mozilla-prefix;/include/mozilla-&mozilla-version;/nss</userinput></screen>
53Copy the nss headers that are not copied by make install.</para>
54
55<!--
56<para><userinput>install -d &mozilla-prefix;/lib/mozilla-&mozilla-version;/openoffice</userinput> :
57Make a directory to store static libraries that openoffice needs during compilation.
58These libraries are not installed by default.</para>
59-->
60
61<para><userinput>ln -nsf mozilla-&mozilla-version; ...</userinput> :
62Mozilla installs headers and libraries in version specific directories. This
63link makes symbolic links so that applications that depend on Mozilla (such as
64OpenOffice, Galeon, etc.) don't need to know which version of mozilla is
65installed.
66</para>
67
68<para><screen><userinput>export LD_LIBRARY_PATH="&mozilla-prefix;/lib/mozilla-&mozilla-version;" &amp;&amp;
69export MOZILLA_FIVE_HOME="&mozilla-prefix;/lib/mozilla-&mozilla-version;" &amp;&amp;
70./regxpcom &amp;&amp;
71./regchrome &amp;&amp;
72touch `find &mozilla-prefix;/lib/mozilla-${VERSION} -name *.rdf`</userinput></screen>
73Create the required component registries to enable multi-user installs.</para>
74
75</sect2>
Note: See TracBrowser for help on using the repository browser.