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