source: xsoft/graphweb/mozilla/mozilla-inst.xml@ 098ad89

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 098ad89 was 098ad89, checked in by Larry Lawrence <larry@…>, 22 years ago

Changed to mozilla-1.0.1 for stablility

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

  • Property mode set to 100644
File size: 5.0 KB
Line 
1<sect2>
2<title>Installation of mozilla</title>
3
4<para>Install mozilla by running the following commands (don't forget to
5bunzip2 the patch file first):</para>
6
7<para><screen><userinput>export MOZILLA_OFFICIAL="1" &amp;&amp;
8export BUILD_OFFICIAL="1" &amp;&amp;
9export MOZ_INTERNAL_LIBART_LGPL="1" &amp;&amp;
10echo "MOZILLA_OFFICIAL=1" >> .mozconfig &amp;&amp;
11echo "mk_add_options MOZILLA_OFFICIAL=1" >> .mozconfig &amp;&amp;
12echo "BUILD_OFFICIAL=1" >> .mozconfig &amp;&amp;
13echo "mk_add_options BUILD_OFFICIAL=1" >> .mozconfig &amp;&amp;
14echo "MOZ_INTERNAL_LIBART_LGPL=1" >> .mozconfig &amp;&amp;
15echo "mk_add_options MOZ_INTERNAL_LIBART_LGPL=1" >> .mozconfig &amp;&amp;
16cd extensions &amp;&amp;
17rm -rf spellcheck &amp;&amp;
18tar -xjf ../mozilla-&mozilla-version;-spellchecker.tar.bz2 &amp;&amp;
19cd .. &amp;&amp;
20patch -Np1 -i mozilla-&mozilla-version;.patch &amp;&amp;
21./configure --prefix=&mozilla-prefix; \
22 --enable-default-mozilla-five-home \
23 --with-x --with-system-zlib \
24 --with-system-jpeg --with-system-png --with-system-mng \
25 --enable-xft --enable-crypto \
26 --enable-java-supplement \
27 --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 --enable-extensions=all,spellcheck \
33 --enable-svg
34make &amp;&amp;
35make install &amp;&amp;
36install -d &mozilla-prefix;/include/mozilla-&mozilla-version;/security &amp;&amp;
37cp -Lf dist/private/security/*.h dist/public/security/*.h \
38 &mozilla-prefix;/include/mozilla-&mozilla-version;/security &amp;&amp;
39install -d &mozilla-prefix;/lib/mozilla-&mozilla-version;/openoffice &amp;&amp;
40cp -f dist/lib/libembed_base_s.a dist/lib/liblber50.a \
41 dist/lib/libmozreg_s.a &mozilla-prefix;/lib/mozilla-&mozilla-version;/openoffice &amp;&amp;
42ln -nsf mozilla-&mozilla-version; &mozilla-prefix;/include/mozilla &amp;&amp;
43ln -nsf mozilla-&mozilla-version; &mozilla-prefix;/lib/mozilla &amp;&amp;
44ln -sf &mozilla-prefix;/bin/mozilla /usr/bin/mozilla &amp;&amp;
45ln -sf &mozilla-prefix;/bin/mozilla /usr/bin/netscape &amp;&amp;
46cd &mozilla-prefix;/lib/mozilla-&mozilla-version; &amp;&amp;
47export LD_LIBRARY_PATH="&mozilla-prefix;/lib/mozilla-&mozilla-version;" &amp;&amp;
48export MOZILLA_FIVE_HOME="&mozilla-prefix;/lib/mozilla-&mozilla-version;" &amp;&amp;
49./regxpcom &amp;&amp;
50./regchrome &amp;&amp;
51touch `find &mozilla-prefix;/lib/mozilla-&mozilla-version; -name *.rdf`</userinput></screen></para>
52
53</sect2>
54
55<sect2>
56<title>Optional Extra Switches</title>
57
58<para>Each of these switches can be added to the configure line in order to
59have the described effect on the mozilla compile.</para>
60
61<para><userinput>--disable-mailnews</userinput>: Disable the mail and news
62clients.</para>
63
64<para><userinput>--disable-ldap</userinput>: Disable LDAP Support,
65recommended if mail is disabled.</para>
66
67<para><userinput>--enable-calendar</userinput>: Build the calendar client.
68You will need to download the calendar source via cvs since it is not included
69with the release source.
70(Warning, this option is not yet stable).</para>
71
72<para><userinput>--enable-xterm-updates</userinput>: This option is
73for enabling the xterm title with the current command when compiling.</para>
74
75<para><userinput>--enable-plaintext-editor-only</userinput>: Disable support
76for HTML editing.</para>
77
78<para><userinput>--enable-default-toolkit=gtk2</userinput>: In theory
79mozilla now supports both gtk 1.2 and gtk 2.0. To enable gtk2 support, use
80this option. People have however had problems getting a usable gtk2
81built even with this and patches. There is also support for other toolkits
82available but this support is known to be unstable. If you want to try one,
83we suggest doing a normal build first and then only trying the other
84toolkits when you know you can get a standard build to work.</para>
85
86<para>According to the financial institutions, the following hack makes your
87browser insecure. You have been warned. Many sites use an MS-IE specific tag
88(autocomplete=off) to prevent autocomplete from working in some forms. This
89tag is now supported in mozilla to appease the financial institutions. As per
90the requirements of the financial institutions, they will not even accept a
91solution where this a preference option. However our opinion is that it should
92be in the hands of the user. To enable autocomplete to bypass
93this restriction, we need to make a slight modification in the code.</para>
94
95<para>Open the file <filename>extensions/wallet/src/wallet.cpp</filename> in
96the mozilla source tree and search for the line:
97<screen>#define WALLET_DONT_CACHE_ALL_PASSWORDS</screen>
98Then delete or comment out the line. If anyone tells you MS-IE is user
99friendly, give them this example! Note that unlike the patch referred to in
100the hint, the patch on the BLFS website does not contain this hack so you
101will need to enable it manually if you want it use it or download it from the
102hint site.</para>
103
104</sect2>
Note: See TracBrowser for help on using the repository browser.