source: xsoft/graphweb/mozilla/mozilla-exp.xml@ 237b6d9

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

chapter 42

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

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