source: xsoft/graphweb/mozilla/mozilla-inst.xml@ 2aaa7e5

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 2aaa7e5 was 2aaa7e5, checked in by Mark Hymers <markh@…>, 22 years ago

commit mozilla instructions from Tushar

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

  • Property mode set to 100644
File size: 4.4 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 \
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;
39ln -sf mozilla /usr/X11R6/bin/netscape &amp;&amp;
40cd &mozilla-prefix;/lib/mozilla-&mozilla-version; &amp;&amp;
41export LD_LIBRARY_PATH="&mozilla-prefix;/lib/mozilla-&mozilla-version;" &amp;&amp;
42export MOZILLA_FIVE_HOME="&mozilla-prefix;/lib/mozilla-&mozilla-version;" &amp;&amp;
43./regxpcom &amp;&amp;
44./regchrome &amp;&amp;
45touch `find &mozilla-prefix;/lib/mozilla-&mozilla-version; -name *.rdf`</userinput></screen></para>
46
47</sect2>
48
49<sect2>
50<title>Optional Extra Switches</title>
51
52<para>Each of these switches can be added to the configure line in order to
53have the described effect on the mozilla compile.</para>
54
55<para><userinput>--disable-mailnews</userinput>: Disable the mail and news
56clients.</para>
57
58<para><userinput>--disable-ldap</userinput>: Disable LDAP Support,
59recommended if mail is disabled.</para>
60
61<para><userinput>--enable-calendar</userinput>: Build the calendar client.
62(Warning, this option is not yet stable).</para>
63
64<para><userinput>--enable-xterm-updates</userinput>: This option is
65for enabling the xterm title with the current command when compiling.</para>
66
67<para><userinput>--enable-plaintext-editor-only</userinput>: Disable support
68for HTML editing.</para>
69
70<para><userinput>--enable-default-toolkit=gtk2</userinput>: In theory
71mozilla now supports both gtk 1.2 and gtk 2.0. To enable gtk2 support, use
72this option. People have however had problems getting a usable gtk2
73built even with this and patches. There is also support for other toolkits
74available but this support is known to be unstable. If you want to try one,
75we suggest doing a normal build first and then only trying the other
76toolkits when you know you can get a standard build to work.</para>
77
78<para>According to the financial institutions, the following hack makes your
79browser insecure. You have been warned. Many sites use an MS-IE specific tag
80(autocomplete=off) to prevent autocomplete from working in some forms. This
81tag is now supported in mozilla to appease the financial institutions. As per
82the requirements of the financial institutions, they will not even accept a
83solution where this a preference option. However our opinion is that it should
84be in the hands of the user. To enable autocomplete to bypass
85this restriction, we need to make a slight modification in the code.</para>
86
87<para>Open the file <filename>extensions/wallet/src/wallet.cpp</filename> in
88the mozilla source tree and search for the line:
89<screen>#define WALLET_DONT_CACHE_ALL_PASSWORDS</screen>
90Then delete or comment out the line. If anyone tells you MS-IE is user
91friendly, give them this example! Note that unlike the patch referred to in
92the hint, the patch on the BLFS website does not contain this hack so you
93will need to enable it manually if you want it use it.</para>
94
95</sect2>
Note: See TracBrowser for help on using the repository browser.