source: xsoft/graphweb/mozilla/mozilla-inst.xml@ aca49ab1

10.0 10.1 11.0 11.1 11.2 11.3 12.0 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/inkscape-core-mods krejzi/svn lazarus lxqt nosym perl-modules plabs/python-mods qt5new systemd-11177 systemd-13485 trunk upgradedb v1_0 v5_0 v5_0-pre1 v5_1 v5_1-pre1 xry111/intltool xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since aca49ab1 was aca49ab1, checked in by Tushar Teredesai <tushar@…>, 21 years ago

Fixed typos in nss headers installation

git-svn-id: svn:// af4574ff-66df-0310-9fd7-8a98e5e911e0

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