source: xsoft/graphweb/mozilla/mozilla-exp.xml@ 21456e1

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

update mozilla intro

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

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