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

10.0 10.1 11.0 11.1 11.2 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 krejzi/svn lazarus nosym perl-modules plabs/python-mods qt5new systemd-11177 systemd-13485 trunk upgradedb v5_0 v5_0-pre1 v5_1 v5_1-pre1 xry111/intltool xry111/soup3 xry111/test-20220226
Last change on this file since 21456e1 was 21456e1, checked in by Larry Lawrence <larry@…>, 19 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: 4.2 KB
Line 
1<sect2>
2<title>Installation of <application>Mozilla</application></title>
3
4<para>Install <application>Mozilla</application> by running the following
5commands:</para>
6
7<screen><userinput><command>export MOZILLA_OFFICIAL="1" &amp;&amp;
8export BUILD_OFFICIAL="1" &amp;&amp;
9export MOZ_INTERNAL_LIBART_LGPL="1" &amp;&amp;
10<!--
11cd extensions &amp;&amp;
12rm -rf spellcheck &amp;&amp;
13tar -xjf ../../mozilla-&mozilla-version;-spellchecker.tar.bz2 &amp;&amp;
14cd .. &amp;&amp;
15-->
16for p in ../mozilla-&mozilla-version;-*.patch
17do patch -Np1 -i $p
18done</command></userinput></screen>
19
20<para>According to the financial institutions, the following hack makes your
21browser insecure. You have been warned. Many sites use an MS-IE specific tag
22(autocomplete=off) to prevent autocomplete from working in some forms. This
23tag is now supported in Mozilla to appease the financial institutions. As per
24the requirements of the financial institutions, they will not even accept a
25solution where this a preference option. However our opinion is that it should
26be in the hands of the user. To enable autocomplete to bypass
27this restriction, we need to make a slight modification in the code.</para>
28
29<para>Open the file <filename>extensions/wallet/src/wallet.cpp</filename> in
30the Mozilla source tree and search for the line:
31<screen>#define WALLET_DONT_CACHE_ALL_PASSWORDS</screen>
32Then delete or comment out the line. Now, if anyone tells you MS-IE is user
33friendly, give them this example!</para>
34
35<screen><userinput><command>./configure --prefix=&mozilla-prefix; \
36 --enable-default-mozilla-five-home \
37 --enable-toolkit-gtk2 --enable-default-toolkit=gtk2 \
38 --with-x --with-system-zlib \
39 --with-system-jpeg --with-system-png --with-system-mng \
40 --enable-xft --enable-crypto \
41 --enable-java-supplement \
42 --disable-accessibility \
43 --disable-tests --disable-debug \
44 --disable-logging --enable-reorder \
45 --enable-strip \
46 --enable-cpp-rtti --enable-extensions=all \
47 --enable-svg &amp;&amp;
48make &amp;&amp;
49make install &amp;&amp;
50install -d &mozilla-prefix;/include/mozilla-&mozilla-version;/nss &amp;&amp;
51cp -Lf dist/private/nss/*.h dist/public/nss/*.h \
52 &mozilla-prefix;/include/mozilla-&mozilla-version;/nss &amp;&amp;
53<!--
54install -d &mozilla-prefix;/lib/mozilla-&mozilla-version;/openoffice &amp;&amp;
55cp -f dist/lib/libembed_base_s.a dist/lib/liblber50.a \
56 dist/lib/libmozreg_s.a &mozilla-prefix;/lib/mozilla-&mozilla-version;/openoffice &amp;&amp;
57-->
58ln -nsf mozilla-&mozilla-version; &mozilla-prefix;/include/mozilla &amp;&amp;
59ln -nsf mozilla-&mozilla-version; &mozilla-prefix;/lib/mozilla &amp;&amp;
60cd &mozilla-prefix;/lib/mozilla-&mozilla-version; &amp;&amp;
61export LD_LIBRARY_PATH="&mozilla-prefix;/lib/mozilla-&mozilla-version;" &amp;&amp;
62export MOZILLA_FIVE_HOME="&mozilla-prefix;/lib/mozilla-&mozilla-version;" &amp;&amp;
63./regxpcom &amp;&amp;
64./regchrome &amp;&amp;
65touch `find &mozilla-prefix;/lib/mozilla-&mozilla-version; -name *.rdf`</command></userinput></screen>
66
67</sect2>
68
69<sect2>
70<title>Optional Extra Switches</title>
71
72<para>Each of these switches can be added to the configure line in order to
73have the described effect on the mozilla compile.</para>
74
75<para><command>--enable-elf-dynstr-gc</command> : Removes unreferenced
76strings from <acronym>ELF</acronym> shared objects generated during the build.
77Note that this option breaks build on alpha.</para>
78
79<para><command>--disable-mailnews</command> : Disable the mail and news
80clients.</para>
81
82<para><command>--disable-ldap</command> : Disable <acronym>LDAP</acronym>
83Support, recommended if mail is disabled.</para>
84
85<para><command>--enable-calendar</command> : Build the calendar client.
86You will need to download the calendar source via cvs since it is not included
87with the release source.
88(Warning, this option is not yet stable).</para>
89
90<para><command>--enable-xterm-updates</command> : This option is
91for enabling the <command>xterm</command> title with the current command when
92compiling.</para>
93
94<para><command>--enable-plaintext-editor-only</command> : Disable support
95for <acronym>HTML</acronym> editing. Do not use this switch if you are building
96the mail-news component.</para>
97
98</sect2>
Note: See TracBrowser for help on using the repository browser.