source: xsoft/graphweb/mozilla/mozilla-inst.xml@ 37e8bccd

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 37e8bccd was 20d6dc1, checked in by Larry Lawrence <larry@…>, 22 years ago

mozilla edit

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

  • Property mode set to 100644
File size: 4.7 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;
10cd extensions &amp;&amp;
11rm -rf spellcheck &amp;&amp;
12tar -xjf ../../mozilla-&mozilla-version;-spellchecker.tar.bz2 &amp;&amp;
13cd .. &amp;&amp;
14patch -Np1 -i mozilla-&mozilla-version;.patch &amp;&amp;
15./configure --prefix=&mozilla-prefix; \
16 --enable-default-mozilla-five-home \
17 --with-x --with-system-zlib \
18 --with-system-jpeg --with-system-png --with-system-mng \
19 --enable-xft --enable-crypto \
20 --enable-java-supplement \
21 --disable-jsd --disable-accessibility \
22 --disable-tests --disable-debug \
23 --enable-optimize=-O3 --disable-dtd-debug \
24 --disable-logging --enable-reorder \
25 --enable-strip --enable-elf-dynstr-gc \
26 --enable-cpp-rtti --enable-extensions=all,spellcheck \
27 --enable-svg
28make &amp;&amp;
29make install &amp;&amp;
30install -d &mozilla-prefix;/include/mozilla-&mozilla-version;/security &amp;&amp;
31cp -Lf dist/private/security/*.h dist/public/security/*.h \
32 &mozilla-prefix;/include/mozilla-&mozilla-version;/security &amp;&amp;
33install -d &mozilla-prefix;/lib/mozilla-&mozilla-version;/openoffice &amp;&amp;
34cp -f dist/lib/libembed_base_s.a dist/lib/liblber50.a \
35 dist/lib/libmozreg_s.a &mozilla-prefix;/lib/mozilla-&mozilla-version;/openoffice &amp;&amp;
36ln -nsf mozilla-&mozilla-version; &mozilla-prefix;/include/mozilla &amp;&amp;
37ln -nsf mozilla-&mozilla-version; &mozilla-prefix;/lib/mozilla &amp;&amp;
38ln -sf &mozilla-prefix;/bin/mozilla /usr/bin/mozilla &amp;&amp;
39ln -sf &mozilla-prefix;/bin/mozilla /usr/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.
62You will need to download the calendar source via cvs since it is not included
63with the release source.
64(Warning, this option is not yet stable).</para>
65
66<para><userinput>--enable-xterm-updates</userinput>: This option is
67for enabling the xterm title with the current command when compiling.</para>
68
69<para><userinput>--enable-plaintext-editor-only</userinput>: Disable support
70for HTML editing.</para>
71
72<para><userinput>--enable-default-toolkit=gtk2</userinput>: In theory
73mozilla now supports both gtk 1.2 and gtk 2.0. To enable gtk2 support, use
74this option. People have however had problems getting a usable gtk2
75built even with this and patches. There is also support for other toolkits
76available but this support is known to be unstable. If you want to try one,
77we suggest doing a normal build first and then only trying the other
78toolkits when you know you can get a standard build to work.</para>
79
80<para>According to the financial institutions, the following hack makes your
81browser insecure. You have been warned. Many sites use an MS-IE specific tag
82(autocomplete=off) to prevent autocomplete from working in some forms. This
83tag is now supported in mozilla to appease the financial institutions. As per
84the requirements of the financial institutions, they will not even accept a
85solution where this a preference option. However our opinion is that it should
86be in the hands of the user. To enable autocomplete to bypass
87this restriction, we need to make a slight modification in the code.</para>
88
89<para>Open the file <filename>extensions/wallet/src/wallet.cpp</filename> in
90the mozilla source tree and search for the line:
91<screen>#define WALLET_DONT_CACHE_ALL_PASSWORDS</screen>
92Then delete or comment out the line. If anyone tells you MS-IE is user
93friendly, give them this example! Note that unlike the patch referred to in
94the hint, the patch on the BLFS website does not contain this hack so you
95will need to enable it manually if you want it use it or download it from the
96hint site.</para>
97
98</sect2>
Note: See TracBrowser for help on using the repository browser.