[2aaa7e5] | 1 | <sect2>
|
---|
| 2 | <title>Installation of mozilla</title>
|
---|
| 3 |
|
---|
[1c6182e] | 4 | <para>Install mozilla by running the following commands:</para>
|
---|
[2aaa7e5] | 5 |
|
---|
| 6 | <para><screen><userinput>export MOZILLA_OFFICIAL="1" &&
|
---|
| 7 | export BUILD_OFFICIAL="1" &&
|
---|
| 8 | export MOZ_INTERNAL_LIBART_LGPL="1" &&
|
---|
| 9 | cd extensions &&
|
---|
| 10 | rm -rf spellcheck &&
|
---|
[20d6dc1] | 11 | tar -xjf ../../mozilla-&mozilla-version;-spellchecker.tar.bz2 &&
|
---|
[2aaa7e5] | 12 | cd .. &&
|
---|
[1c6182e] | 13 | patch -Np1 -i ../mozilla-&mozilla-version;.patch</userinput></screen></para>
|
---|
| 14 |
|
---|
| 15 | <para>According to the financial institutions, the following hack makes your
|
---|
| 16 | browser insecure. You have been warned. Many sites use an MS-IE specific tag
|
---|
| 17 | (autocomplete=off) to prevent autocomplete from working in some forms. This
|
---|
| 18 | tag is now supported in mozilla to appease the financial institutions. As per
|
---|
| 19 | the requirements of the financial institutions, they will not even accept a
|
---|
| 20 | solution where this a preference option. However our opinion is that it should
|
---|
| 21 | be in the hands of the user. To enable autocomplete to bypass
|
---|
| 22 | this restriction, we need to make a slight modification in the code.</para>
|
---|
| 23 |
|
---|
| 24 | <para>Open the file <filename>extensions/wallet/src/wallet.cpp</filename> in
|
---|
| 25 | the mozilla source tree and search for the line:
|
---|
| 26 | <screen>#define WALLET_DONT_CACHE_ALL_PASSWORDS</screen>
|
---|
| 27 | Then delete or comment out the line. Now, if anyone tells you MS-IE is user
|
---|
| 28 | friendly, give them this example!</para>
|
---|
| 29 |
|
---|
| 30 | <para><screen><userinput>./configure --prefix=&mozilla-prefix; \
|
---|
[2aaa7e5] | 31 | --enable-default-mozilla-five-home \
|
---|
[1c6182e] | 32 | --enable-toolkit-gtk2 --enable-default-toolkit=gtk2 \
|
---|
[2aaa7e5] | 33 | --with-x --with-system-zlib \
|
---|
| 34 | --with-system-jpeg --with-system-png --with-system-mng \
|
---|
| 35 | --enable-xft --enable-crypto \
|
---|
| 36 | --enable-java-supplement \
|
---|
| 37 | --disable-jsd --disable-accessibility \
|
---|
| 38 | --disable-tests --disable-debug \
|
---|
| 39 | --enable-optimize=-O3 --disable-dtd-debug \
|
---|
| 40 | --disable-logging --enable-reorder \
|
---|
| 41 | --enable-strip --enable-elf-dynstr-gc \
|
---|
[098ad89] | 42 | --enable-cpp-rtti --enable-extensions=all,spellcheck \
|
---|
[2aaa7e5] | 43 | --enable-svg
|
---|
| 44 | make &&
|
---|
| 45 | make install &&
|
---|
[1c6182e] | 46 | install -d &mozilla-prefix;/include/mozilla-&mozilla-version;/nss &&
|
---|
| 47 | cp -Lf dist/private/nss/*.h dist/public/nss/*.h \
|
---|
[2aaa7e5] | 48 | &mozilla-prefix;/include/mozilla-&mozilla-version;/security &&
|
---|
[098ad89] | 49 | install -d &mozilla-prefix;/lib/mozilla-&mozilla-version;/openoffice &&
|
---|
| 50 | cp -f dist/lib/libembed_base_s.a dist/lib/liblber50.a \
|
---|
| 51 | dist/lib/libmozreg_s.a &mozilla-prefix;/lib/mozilla-&mozilla-version;/openoffice &&
|
---|
| 52 | ln -nsf mozilla-&mozilla-version; &mozilla-prefix;/include/mozilla &&
|
---|
| 53 | ln -nsf mozilla-&mozilla-version; &mozilla-prefix;/lib/mozilla &&
|
---|
[2aaa7e5] | 54 | cd &mozilla-prefix;/lib/mozilla-&mozilla-version; &&
|
---|
| 55 | export LD_LIBRARY_PATH="&mozilla-prefix;/lib/mozilla-&mozilla-version;" &&
|
---|
| 56 | export MOZILLA_FIVE_HOME="&mozilla-prefix;/lib/mozilla-&mozilla-version;" &&
|
---|
| 57 | ./regxpcom &&
|
---|
| 58 | ./regchrome &&
|
---|
| 59 | touch `find &mozilla-prefix;/lib/mozilla-&mozilla-version; -name *.rdf`</userinput></screen></para>
|
---|
| 60 |
|
---|
| 61 | </sect2>
|
---|
| 62 |
|
---|
| 63 | <sect2>
|
---|
| 64 | <title>Optional Extra Switches</title>
|
---|
| 65 |
|
---|
| 66 | <para>Each of these switches can be added to the configure line in order to
|
---|
| 67 | have the described effect on the mozilla compile.</para>
|
---|
| 68 |
|
---|
[24c5c34] | 69 | <para><userinput>--disable-mailnews</userinput> : Disable the mail and news
|
---|
[2aaa7e5] | 70 | clients.</para>
|
---|
| 71 |
|
---|
[24c5c34] | 72 | <para><userinput>--disable-ldap</userinput> : Disable LDAP Support,
|
---|
[2aaa7e5] | 73 | recommended if mail is disabled.</para>
|
---|
| 74 |
|
---|
[24c5c34] | 75 | <para><userinput>--enable-calendar</userinput> : Build the calendar client.
|
---|
[098ad89] | 76 | You will need to download the calendar source via cvs since it is not included
|
---|
| 77 | with the release source.
|
---|
[2aaa7e5] | 78 | (Warning, this option is not yet stable).</para>
|
---|
| 79 |
|
---|
[24c5c34] | 80 | <para><userinput>--enable-xterm-updates</userinput> : This option is
|
---|
[2aaa7e5] | 81 | for enabling the xterm title with the current command when compiling.</para>
|
---|
| 82 |
|
---|
[24c5c34] | 83 | <para><userinput>--enable-plaintext-editor-only</userinput> : Disable support
|
---|
[2aaa7e5] | 84 | for HTML editing.</para>
|
---|
| 85 |
|
---|
| 86 | </sect2>
|
---|