source: xsoft/graphweb/mozilla/mozilla-exp.xml@ 24c5c34

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 24c5c34 was 24c5c34, checked in by Larry Lawrence <larry@…>, 21 years ago

format cleanup in exp section

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@361 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>--with-system-zlib --with-system-jpeg \
18--with-system-png --with-system-mng"</userinput></screen>
19Use the system versions for these packages.</para>
20
21<para><userinput>--enable-xft</userinput> : Enable the Xft
22support.</para>
23
24<para><userinput>--enable-crypto</userinput> : Enable the Personal
25Security Manager to enable SSL connections.</para>
26
27<para><screen><userinput>--disable-jsd --disable-accessibility \
28--disable-tests --disable-debug \
29--enable-optimize=-O3 --disable-dtd-debug \
30--disable-logging --enable-reorder \
31--enable-strip --enable-elf-dynstr-gc \
32--enable-cpp-rtti</userinput></screen>
33Disable all debugging options and enable all optimization options. You can
34pick and choose from these options. More information on them can be found
35in the mozilla configure script help.</para>
36
37<para><userinput>--enable-extensions=...</userinput> : Enables
38extensions. If you want, you can disable all extensions other than the
39browser by changing this switch to
40<userinput>--enable-extensions="default,-venkman,-inspector,-irc"</userinput>.</para>
41
42<para><userinput>--enable-svg</userinput> : Enable SVG (Scalable Vector
43Graphics) support.</para>
44
45<para><screen><userinput>install -d &mozilla-prefix;/include/mozilla-&mozilla-version;/security
46cp -Lf dist/private/security/*.h dist/public/security/*.h \
47 &mozilla-prefix;/include/mozilla-&mozilla-version;/security</userinput></screen>
48Copy the nss headers that are not copied by make install.</para>
49
50<para><userinput>install -d &mozilla-prefix;/lib/mozilla-&mozilla-version;/openoffice</userinput> :
51Make a directory to store static libraries that openoffice needs during compilation.
52These libraries are not installed by default.</para>
53
54<para><userinput>ln -nsf mozilla-&mozilla-version; ...</userinput> :
55Mozilla installs headers and libraries in version specific directories. This
56link makes symbolic links so that applications that depend on Mozilla (such as
57OpenOffice, Galeon, etc.) don't need to know which version of mozilla is
58installed.
59</para>
60
61<para><userinput>ln -sf mozilla &mozilla-prefix;/bin/netscape</userinput> : Since
62many applications expect the browser to be named netscape, make a symbolic
63link for convenience.</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.