source: xsoft/graphweb/mozilla/mozilla-inst.xml@ 2537aba

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 2537aba was 2537aba, checked in by Tushar Teredesai <tushar@…>, 21 years ago

removed optimization flags; other minor changes

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

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