|
|
|
@ -4,12 +4,12 @@
|
|
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
|
%general-entities;
|
|
|
|
|
|
|
|
|
|
<!ENTITY mozilla-download-http "http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla&mozilla-version;/source/mozilla-&mozilla-version;-source.tar.bz2">
|
|
|
|
|
<!ENTITY mozilla-download-ftp "ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla&mozilla-version;/source/mozilla-&mozilla-version;-source.tar.bz2">
|
|
|
|
|
<!ENTITY mozilla-md5sum "f1ad6adbbc0510eb76d352c94c801fac">
|
|
|
|
|
<!ENTITY mozilla-size "30.4 MB">
|
|
|
|
|
<!ENTITY mozilla-buildsize "575 MB">
|
|
|
|
|
<!ENTITY mozilla-time "9.4 SBU">
|
|
|
|
|
<!ENTITY mozilla-download-http "http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/&seamonkey-version;/seamonkey-&seamonkey-version;.source.tar.bz2">
|
|
|
|
|
<!ENTITY mozilla-download-ftp "ftp://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/&seamonkey-version;/seamonkey-&seamonkey-version;.source.tar.bz2">
|
|
|
|
|
<!ENTITY mozilla-md5sum "e4f2edc5b2248d090303c70f5b28f210">
|
|
|
|
|
<!ENTITY mozilla-size "33.3 MB">
|
|
|
|
|
<!ENTITY mozilla-buildsize "625 MB">
|
|
|
|
|
<!ENTITY mozilla-time "15.3 SBU">
|
|
|
|
|
|
|
|
|
|
<!--
|
|
|
|
|
|
|
|
|
@ -17,7 +17,7 @@
|
|
|
|
|
|
|
|
|
|
The information below is for the Enigmail and IPC downloads. Additionally,
|
|
|
|
|
a makemake file is download because we cannot build Enigmail using an
|
|
|
|
|
object directory without it. Informaiton about the Enigmail source to
|
|
|
|
|
object directory without it. Information about the Enigmail source to
|
|
|
|
|
check for updates is located at http://enigmail.mozdev.org/source.html.
|
|
|
|
|
|
|
|
|
|
The link to the makemake file is near the end of the page in the section
|
|
|
|
@ -30,53 +30,51 @@
|
|
|
|
|
|
|
|
|
|
-->
|
|
|
|
|
|
|
|
|
|
<!ENTITY mozilla-enigmail-version "0.93.0">
|
|
|
|
|
<!ENTITY mozilla-enigmail-version "0.94.0">
|
|
|
|
|
<!ENTITY mozilla-ipc-version "1.1.3">
|
|
|
|
|
<!ENTITY enigmail-makemake-version "?rev=1.3">
|
|
|
|
|
<!ENTITY mozilla-enigmail-download "http://www.mozilla-enigmail.org/downloads/src/enigmail-&mozilla-enigmail-version;.tar.gz">
|
|
|
|
|
<!ENTITY mozilla-ipc-download "http://www.mozilla-enigmail.org/downloads/src/ipc-&mozilla-ipc-version;.tar.gz">
|
|
|
|
|
<!ENTITY enigmail-makemake-download "http://www.mozdev.org/source/browse/~checkout~/enigmail/src/makemake">
|
|
|
|
|
<!ENTITY mozilla-enigmail-md5sum "cb7126705924cb7f0de205b4ff4e28b4">
|
|
|
|
|
<!ENTITY mozilla-enigmail-md5sum "d326c302c1d2d68217fffcaa01ca7632">
|
|
|
|
|
<!ENTITY mozilla-ipc-md5sum "64ba4c6e3b52568468c4f6680ec7e679">
|
|
|
|
|
]>
|
|
|
|
|
|
|
|
|
|
<sect1 id="mozilla" xreflabel="Mozilla-&mozilla-version;">
|
|
|
|
|
<?dbhtml filename="mozilla.html" ?>
|
|
|
|
|
<sect1 id="seamonkey" xreflabel="Seamonkey-&seamonkey-version;">
|
|
|
|
|
<?dbhtml filename="seamonkey.html" ?>
|
|
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
|
<date>$Date$</date>
|
|
|
|
|
<keywordset>
|
|
|
|
|
<keyword role="package">mozilla-&mozilla-version;-source.tar</keyword>
|
|
|
|
|
<keyword role="ftpdir">mozilla</keyword>
|
|
|
|
|
<keyword role="package">seamonkey-&seamonkey-version;-source.tar</keyword>
|
|
|
|
|
<keyword role="ftpdir">seamonkey</keyword>
|
|
|
|
|
</keywordset>
|
|
|
|
|
</sect1info>
|
|
|
|
|
|
|
|
|
|
<title>Mozilla-&mozilla-version;</title>
|
|
|
|
|
<title>Seamonkey-&seamonkey-version;</title>
|
|
|
|
|
|
|
|
|
|
<indexterm zone="mozilla">
|
|
|
|
|
<primary sortas="a-Mozilla">Mozilla</primary>
|
|
|
|
|
<indexterm zone="seamonkey">
|
|
|
|
|
<primary sortas="a-Seamonkey">Seamonkey</primary>
|
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
|
<title>Introduction to Mozilla</title>
|
|
|
|
|
<title>Introduction to Seamonkey</title>
|
|
|
|
|
|
|
|
|
|
<para><application>Mozilla</application> is a browser suite, the Open
|
|
|
|
|
<para><application>Seamonkey</application> is a browser suite, the Open
|
|
|
|
|
Source sibling of <application>Netscape</application>. It includes the
|
|
|
|
|
browser, composer, mail and news clients, a calendar client and an
|
|
|
|
|
IRC client.</para>
|
|
|
|
|
IRC client. It is the follow-on to the Mozilla browser suite.</para>
|
|
|
|
|
|
|
|
|
|
<para>The <application>Mozilla</application> project also hosts two
|
|
|
|
|
subprojects that aim to satisfy the needs of users who don't need the
|
|
|
|
|
complete browser suite or prefer to have separate applications for
|
|
|
|
|
browsing and e-mail. These subprojects are <ulink
|
|
|
|
|
url="http://www.mozilla.com/firefox/">Mozilla Firefox</ulink>,
|
|
|
|
|
(a stand-alone browser based on the <application>Mozilla</application>
|
|
|
|
|
source code) and <ulink
|
|
|
|
|
url="http://www.mozilla.com/thunderbird/">Mozilla Thunderbird</ulink>,
|
|
|
|
|
(a stand-alone mail/newsgroup client based on the
|
|
|
|
|
<application>Mozilla</application> source code). The build instructions
|
|
|
|
|
for these two applications are discussed in separate sections:</para>
|
|
|
|
|
<para>The Mozilla project also hosts two subprojects that aim to satisfy
|
|
|
|
|
the needs of users who don't need the complete browser suite or prefer to
|
|
|
|
|
have separate applications for browsing and e-mail. These subprojects are
|
|
|
|
|
<ulink url="http://www.mozilla.com/firefox/">Mozilla Firefox</ulink>, (a
|
|
|
|
|
stand-alone browser based on the <application>Mozilla</application> source
|
|
|
|
|
code) and <ulink url="http://www.mozilla.com/thunderbird/">Mozilla
|
|
|
|
|
Thunderbird</ulink>, (a stand-alone mail/newsgroup client based on the
|
|
|
|
|
<application>Mozilla</application> source code). The build instructions for
|
|
|
|
|
these two applications are discussed in separate sections:</para>
|
|
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
<listitem>
|
|
|
|
@ -108,31 +106,25 @@
|
|
|
|
|
<para>Estimated build time: &mozilla-time;</para>
|
|
|
|
|
</listitem>
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
|
|
<!--
|
|
|
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
|
<listitem>
|
|
|
|
|
<para>Required patch: <ulink
|
|
|
|
|
url="&patch-root;/mozilla-&mozilla-version;-gcc4-1.patch"/></para>
|
|
|
|
|
</listitem>
|
|
|
|
|
<listitem>
|
|
|
|
|
<para>Required patch: <ulink
|
|
|
|
|
url="&patch-root;/mozilla-&mozilla-version;-gfx_fixes-1.patch"/></para>
|
|
|
|
|
</listitem>
|
|
|
|
|
<listitem>
|
|
|
|
|
<para>Required patch (if using system-installed versions of
|
|
|
|
|
<application>NSS</application> and <application>NSPR</application>):
|
|
|
|
|
<para>Required patch:
|
|
|
|
|
<ulink
|
|
|
|
|
url="&patch-root;/mozilla-&mozilla-version;-system_nss-1.patch"/>
|
|
|
|
|
(if using system-installed versions of <application>NSS</application>
|
|
|
|
|
and <application>NSPR</application>)
|
|
|
|
|
</para>
|
|
|
|
|
</listitem>
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
-->
|
|
|
|
|
|
|
|
|
|
<para>To enable the <application>Enigmail</application> extension to
|
|
|
|
|
the <application>Mozilla</application> mail client, you'll need to
|
|
|
|
|
download the two tarballs and <command>makemake</command> file listed
|
|
|
|
|
below. The <application>Enigmail</application> extension allows users to
|
|
|
|
|
access the authentication and encryption features provided by the
|
|
|
|
|
<para>To enable the <application>Enigmail</application> extension to the
|
|
|
|
|
<application>Seamonkey</application> mail client, you'll need to download
|
|
|
|
|
the two tarballs and <command>makemake</command> file listed below. The
|
|
|
|
|
<application>Enigmail</application> extension allows users to access the
|
|
|
|
|
authentication and encryption features provided by the
|
|
|
|
|
<application>GnuPG</application> package. The
|
|
|
|
|
<application>Enigmail</application> extension will not operate correctly
|
|
|
|
|
unless you have <xref linkend="gnupg"/> installed.</para>
|
|
|
|
@ -159,47 +151,54 @@
|
|
|
|
|
<para>The <command>makemake</command> file is an enhanced version that will
|
|
|
|
|
be copied into the source tree to replace an existing file during the
|
|
|
|
|
installation instructions. The instructions expect the file to be named
|
|
|
|
|
<filename>mozilla-&mozilla-version;-enigmail_makemake</filename>. If you
|
|
|
|
|
<filename>seamonkey-&seamonkey-version;-enigmail_makemake</filename>. If you
|
|
|
|
|
have <xref linkend="wget"/> installed, you can download and rename the file
|
|
|
|
|
in one step using the following command:</para>
|
|
|
|
|
|
|
|
|
|
<screen><userinput>wget -O mozilla-&mozilla-version;-enigmail_makemake \
|
|
|
|
|
<screen><userinput>wget -O seamonkey-&seamonkey-version;-enigmail_makemake \
|
|
|
|
|
&enigmail-makemake-download;\
|
|
|
|
|
&enigmail-makemake-version;</userinput></screen>
|
|
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Mozilla Dependencies</bridgehead>
|
|
|
|
|
<bridgehead renderas="sect3">Seamonkey Dependencies</bridgehead>
|
|
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
|
|
|
<para role="required"><xref linkend="gtk2"/>,
|
|
|
|
|
<xref linkend="libidl"/>, and
|
|
|
|
|
<xref linkend="zip"/></para>
|
|
|
|
|
<para role="required">
|
|
|
|
|
<xref linkend="gtk2"/>,
|
|
|
|
|
<xref linkend="libidl"/>, and
|
|
|
|
|
<xref linkend="zip"/>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>Note: <application>libjpeg</application> should have been installed
|
|
|
|
|
before <application>GTK+</application> and should exist on your system. If
|
|
|
|
|
for some reason you haven't installed <application>libjpeg</application>,
|
|
|
|
|
you should remove the <option>--with-system-jpeg</option> option from the
|
|
|
|
|
<filename>.mozconfig</filename> file created below.</para>
|
|
|
|
|
<note>
|
|
|
|
|
<para><application>libjpeg</application> should have been installed
|
|
|
|
|
before <application>GTK+</application> and should exist on your system. If
|
|
|
|
|
for some reason you haven't installed <application>libjpeg</application>,
|
|
|
|
|
you should remove the <option>--with-system-jpeg</option> option from the
|
|
|
|
|
<filename>.mozconfig</filename> file created below.</para>
|
|
|
|
|
</note>
|
|
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Recommended (if you will be installing any
|
|
|
|
|
other package that utilizes NSS/NSPR, such as
|
|
|
|
|
<application>Firefox</application>,
|
|
|
|
|
<application>Thunderbird</application> or
|
|
|
|
|
<application>Evolution</application>)</bridgehead>
|
|
|
|
|
<para role="recommended"><xref linkend="nss"/></para>
|
|
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
|
|
|
|
<para role="recommended">
|
|
|
|
|
<xref linkend="nss"/> (needed if you will be installing any other
|
|
|
|
|
package that utilizes NSS/NSPR, such as <application>Firefox</application>,
|
|
|
|
|
<application>Thunderbird</application> or
|
|
|
|
|
<application>Evolution</application>)
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
|
|
|
<para role="optional"><xref linkend="unzip"/>,
|
|
|
|
|
<xref linkend="gnome-vfs"/> (to build the gnomevfs extension),
|
|
|
|
|
<xref linkend="libart_lgpl"/>, and
|
|
|
|
|
<xref linkend="heimdal"/> or <xref linkend="mitkrb"/>
|
|
|
|
|
(for the GSSAPI libraries to build the negotiateauth extension)</para>
|
|
|
|
|
<para role="optional">
|
|
|
|
|
<xref linkend="unzip"/>,
|
|
|
|
|
<xref linkend="gnome-vfs"/> (to build the gnomevfs extension),
|
|
|
|
|
<xref linkend="libart_lgpl"/>, and
|
|
|
|
|
<xref linkend="heimdal"/> or <xref linkend="mitkrb"/>
|
|
|
|
|
(for the GSSAPI libraries to build the negotiateauth extension)
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
|
<title>Installation of Mozilla</title>
|
|
|
|
|
<title>Installation of Seamonkey</title>
|
|
|
|
|
|
|
|
|
|
<para>The configuration of <application>Mozilla</application> is
|
|
|
|
|
<para>The configuration of <application>Seamonkey</application> is
|
|
|
|
|
accomplished by creating a <filename>.mozconfig</filename> file containing
|
|
|
|
|
the desired configuration options. A default <filename>.mozconfig</filename>
|
|
|
|
|
file is created below. To see the entire list of available configuration
|
|
|
|
@ -211,7 +210,7 @@
|
|
|
|
|
libraries, ensure you uncomment the two lines at the bottom of the file. If
|
|
|
|
|
you would prefer to download the file instead of creating it by typing or
|
|
|
|
|
cut-and-pasting, you can find it at <ulink
|
|
|
|
|
url="&files-anduin;/mozilla-&mozilla-version;-mozconfig"/>
|
|
|
|
|
url="&files-anduin;/seamonkey-&seamonkey-version;-mozconfig"/>
|
|
|
|
|
(the file must be installed in the root of the source tree
|
|
|
|
|
<filename class='directory'>mozilla</filename> directory, and named
|
|
|
|
|
<filename>.mozconfig</filename>). Create the file by issuing the following
|
|
|
|
@ -234,25 +233,12 @@ ac_add_options --with-system-png
|
|
|
|
|
ac_add_options --with-system-jpeg
|
|
|
|
|
|
|
|
|
|
# Options in all Mozilla-family builds
|
|
|
|
|
ac_add_options --enable-official-branding
|
|
|
|
|
ac_add_options --enable-strip
|
|
|
|
|
ac_add_options --disable-tests
|
|
|
|
|
ac_add_options --disable-installer
|
|
|
|
|
ac_add_options --disable-accessibility
|
|
|
|
|
|
|
|
|
|
# Options used for graphics settings in Mozilla Suite (Not Seamonkey)
|
|
|
|
|
ac_add_options --enable-default-toolkit=gtk2
|
|
|
|
|
ac_add_options --enable-xft
|
|
|
|
|
ac_add_options --disable-freetype2
|
|
|
|
|
|
|
|
|
|
# Options used just for Mozilla Suite (Not Seamonkey)
|
|
|
|
|
ac_add_options --enable-optimize
|
|
|
|
|
ac_add_options --disable-debug
|
|
|
|
|
ac_add_options --disable-logging
|
|
|
|
|
ac_add_options --enable-crypto
|
|
|
|
|
ac_add_options --enable-extensions=all
|
|
|
|
|
|
|
|
|
|
# Options used just for Mozilla Suite
|
|
|
|
|
# Options used just for Mozilla/Seamonkey Suite
|
|
|
|
|
ac_add_options --enable-ldap
|
|
|
|
|
ac_add_options --enable-calendar
|
|
|
|
|
|
|
|
|
@ -261,61 +247,55 @@ ac_add_options --enable-calendar
|
|
|
|
|
#ac_add_options --with-system-nss</literal>
|
|
|
|
|
|
|
|
|
|
EOF</userinput></screen>
|
|
|
|
|
|
|
|
|
|
<!--
|
|
|
|
|
<para>If you have system-installed Network Security Services (NSS) and
|
|
|
|
|
Netscape Portable Runtime (NSPR) libraries and you uncommented the
|
|
|
|
|
appropriate lines in the <filename>.mozconfig</filename> file to utilize
|
|
|
|
|
them, apply the following patch:</para>
|
|
|
|
|
|
|
|
|
|
<screen><userinput>patch -Np1 -i ../mozilla-&mozilla-version;-system_nss-1.patch</userinput></screen>
|
|
|
|
|
|
|
|
|
|
<para>Compile <application>Mozilla</application> by running the
|
|
|
|
|
<screen><userinput>patch -Np1 -i ../seamonkey-&seamonkey-version;-system_nss-1.patch</userinput></screen>
|
|
|
|
|
-->
|
|
|
|
|
<para>Compile <application>Seamonkey</application> by running the
|
|
|
|
|
following commands:</para>
|
|
|
|
|
|
|
|
|
|
<screen><userinput>export MOZILLA_OFFICIAL="1" &&
|
|
|
|
|
export BUILD_OFFICIAL="1" &&
|
|
|
|
|
<screen><userinput>make -f client.mk build</userinput></screen>
|
|
|
|
|
|
|
|
|
|
patch -Np1 -i ../mozilla-&mozilla-version;-gfx_fixes-1.patch &&
|
|
|
|
|
patch -Np1 -i ../mozilla-&mozilla-version;-gcc4-1.patch &&
|
|
|
|
|
|
|
|
|
|
make -f client.mk build</userinput></screen>
|
|
|
|
|
|
|
|
|
|
<para>If you're building the <application>Mozilla</application>
|
|
|
|
|
<para>If you're building the <application>Seamonkey</application>
|
|
|
|
|
mail/newsgroup client and plan to install the
|
|
|
|
|
<application>Enigmail</application> extension, issue the following
|
|
|
|
|
commands:</para>
|
|
|
|
|
|
|
|
|
|
<screen><userinput>tar -xf ../enigmail-&mozilla-enigmail-version;.tar.gz -C extensions &&
|
|
|
|
|
<screen><userinput>tar -xf ../enigmail-&mozilla-enigmail-version;.tar.gz -C mailnews/extensions &&
|
|
|
|
|
tar -xf ../ipc-&mozilla-ipc-version;.tar.gz -C extensions &&
|
|
|
|
|
|
|
|
|
|
install -v -m755 -b ../mozilla-&mozilla-version;-enigmail_makemake \
|
|
|
|
|
install -v -m755 -b ../seamonkey-&mozilla-version;-enigmail_makemake \
|
|
|
|
|
extensions/ipc/makemake &&
|
|
|
|
|
install -v -m755 -b ../mozilla-&mozilla-version;-enigmail_makemake \
|
|
|
|
|
extensions/enigmail/makemake &&
|
|
|
|
|
install -v -m755 -b ../seamonkey-&mozilla-version;-enigmail_makemake \
|
|
|
|
|
mailnews/extensions/enigmail/makemake &&
|
|
|
|
|
|
|
|
|
|
cd extensions/ipc &&
|
|
|
|
|
./makemake -r &&
|
|
|
|
|
|
|
|
|
|
cd ../enigmail &&
|
|
|
|
|
cd ../../mailnews/extensions/enigmail &&
|
|
|
|
|
./makemake -r &&
|
|
|
|
|
|
|
|
|
|
cd ../.. &&
|
|
|
|
|
cd ../../.. &&
|
|
|
|
|
make -C ../mozilla-build/extensions/ipc &&
|
|
|
|
|
make -C ../mozilla-build/extensions/enigmail &&
|
|
|
|
|
make -C ../mozilla-build/extensions/enigmail xpi</userinput></screen>
|
|
|
|
|
make -C ../mozilla-build/mailnews/extensions/enigmail &&
|
|
|
|
|
make -C ../mozilla-build/mailnews/extensions/enigmail xpi</userinput></screen>
|
|
|
|
|
|
|
|
|
|
<para>Install <application>Mozilla</application> by issuing the following
|
|
|
|
|
<para>Install <application>Seamonkey</application> by issuing the following
|
|
|
|
|
commands as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
|
|
|
|
|
|
<screen role="root"><userinput>make -f client.mk install &&
|
|
|
|
|
|
|
|
|
|
install -v -m644 ../mozilla-build/dist/public/ldap-private/* \
|
|
|
|
|
/usr/include/mozilla-&mozilla-version;/ldap &&
|
|
|
|
|
/usr/include/seamonkey-&seamonkey-version;/ldap &&
|
|
|
|
|
|
|
|
|
|
install -v -m755 -d /usr/lib/mozilla-&mozilla-version;/defaults/isp/US &&
|
|
|
|
|
install -v -m755 -d /usr/lib/seamonkey-&seamonkey-version;/defaults/isp/US &&
|
|
|
|
|
install -v -m644 mailnews/base/ispdata/movemail.rdf \
|
|
|
|
|
/usr/lib/mozilla-&mozilla-version;/defaults/isp &&
|
|
|
|
|
ln -v -s ../movemail.rdf /usr/lib/mozilla-&mozilla-version;/defaults/isp/US</userinput></screen>
|
|
|
|
|
/usr/lib/seamonkey-&seamonkey-version;/defaults/isp &&
|
|
|
|
|
ln -v -s ../movemail.rdf /usr/lib/seamonkey-&seamonkey-version;/defaults/isp/US</userinput></screen>
|
|
|
|
|
|
|
|
|
|
<!-- Commenting this out per the discussion on BLFS-Dev about this.
|
|
|
|
|
The stuff commented out below is replaced with text in the
|
|
|
|
@ -344,37 +324,37 @@ ln -v -nsf mozilla-&mozilla-version; /usr/include/mozilla &&
|
|
|
|
|
ln -v -nsf mozilla-&mozilla-version; /usr/lib/mozilla &&
|
|
|
|
|
-->
|
|
|
|
|
|
|
|
|
|
<para>If you built <application>Mozilla</application> utilizing
|
|
|
|
|
<para>If you built <application>Seamonkey</application> utilizing
|
|
|
|
|
system-installed NSS and NSPR libraries, the
|
|
|
|
|
<filename>mozilla-ns*.pc</filename> <application>pkgconfig</application>
|
|
|
|
|
<filename>seamonkey-ns*.pc</filename> <application>pkgconfig</application>
|
|
|
|
|
files are broken as they point to the wrong directories where the actual
|
|
|
|
|
libraries and interface headers are located. Issue the following commands
|
|
|
|
|
as the <systemitem class="username">root</systemitem> user to replace the
|
|
|
|
|
broken files with symbolic links to known good files:</para>
|
|
|
|
|
|
|
|
|
|
<screen role="root"><userinput>ln -v -sf nss.pc /usr/lib/pkgconfig/mozilla-nss.pc &&
|
|
|
|
|
ln -v -sf nspr.pc /usr/lib/pkgconfig/mozilla-nspr.pc</userinput></screen>
|
|
|
|
|
<screen role="root"><userinput>ln -v -sf nss.pc /usr/lib/pkgconfig/seamonkey-nss.pc &&
|
|
|
|
|
ln -v -sf nspr.pc /usr/lib/pkgconfig/seamonkey-nspr.pc</userinput></screen>
|
|
|
|
|
|
|
|
|
|
<para>If you did <emphasis role="strong">NOT</emphasis> build
|
|
|
|
|
<application>Mozilla</application> utilizing system-installed NSS and
|
|
|
|
|
<application>seamonkey</application> utilizing system-installed NSS and
|
|
|
|
|
NSPR libraries, issue the following commands as the
|
|
|
|
|
<systemitem class="username">root</systemitem> user to install the NSS
|
|
|
|
|
interface headers:</para>
|
|
|
|
|
|
|
|
|
|
<screen role="root"><userinput>install -v -m755 -d /usr/include/mozilla-&mozilla-version;/nss &&
|
|
|
|
|
<screen role="root"><userinput>install -v -m755 -d /usr/include/seamonkey-&seamonkey-version;/nss &&
|
|
|
|
|
cp -v -Lf ../mozilla-build/dist/{private,public}/nss/*.h \
|
|
|
|
|
/usr/include/mozilla-&mozilla-version;/nss</userinput></screen>
|
|
|
|
|
/usr/include/seamonkey-&seamonkey-version;/nss</userinput></screen>
|
|
|
|
|
|
|
|
|
|
<para>If you built the <application>Enigmail</application> extension,
|
|
|
|
|
issue the following commands as the <systemitem
|
|
|
|
|
class="username">root</systemitem> user to install the
|
|
|
|
|
<filename>.xpi</filename> file into the
|
|
|
|
|
<filename class='directory'>/usr/lib/mozilla-&mozilla-version;</filename>
|
|
|
|
|
<filename class='directory'>/usr/lib/seamonkey-&seamonkey-version;</filename>
|
|
|
|
|
directory:</para>
|
|
|
|
|
|
|
|
|
|
<screen role="root"><userinput>install -v -m755 -d /usr/lib/mozilla-&mozilla-version;/xpi_store &&
|
|
|
|
|
<screen role="root"><userinput>install -v -m755 -d /usr/lib/seamonkey-&seamonkey-version;/xpi_store &&
|
|
|
|
|
install -v -m644 ../mozilla-build/dist/bin/enigmail-&mozilla-enigmail-version;-*.xpi \
|
|
|
|
|
/usr/lib/mozilla-&mozilla-version;/xpi_store</userinput></screen>
|
|
|
|
|
/usr/lib/seamonkey-&seamonkey-version;/xpi_store</userinput></screen>
|
|
|
|
|
|
|
|
|
|
<para>There are two methods you can use to install the
|
|
|
|
|
<application>Enigmail</application> extension. Both are shown here and
|
|
|
|
@ -387,11 +367,11 @@ install -v -m644 ../mozilla-build/dist/bin/enigmail-&mozilla-enigmail-version;-*
|
|
|
|
|
created earlier and can be done later (at any time you desire) as the
|
|
|
|
|
file used to install <application>Enigmail</application> was copied into
|
|
|
|
|
<filename
|
|
|
|
|
class='directory'>/usr/lib/mozilla-&mozilla-version;/xpi_store</filename>
|
|
|
|
|
class='directory'>/usr/lib/seamonkey-&seamonkey-version;/xpi_store</filename>
|
|
|
|
|
in the previous step. This method can be used to install any
|
|
|
|
|
downloaded <application>Mozilla</application> extension distributed in a
|
|
|
|
|
<filename class='extension'>.xpi</filename> file. There are many
|
|
|
|
|
extensions available for <application>Mozilla</application>. A list
|
|
|
|
|
extensions available for <application>Seamonkey</application>. A list
|
|
|
|
|
containing many of them can be found at
|
|
|
|
|
<ulink url="http://extensionroom.mozdev.org/"/>.</para>
|
|
|
|
|
|
|
|
|
@ -400,7 +380,7 @@ install -v -m644 ../mozilla-build/dist/bin/enigmail-&mozilla-enigmail-version;-*
|
|
|
|
|
<systemitem class="username">root</systemitem> user:</para>
|
|
|
|
|
|
|
|
|
|
<screen role="root"><userinput>make -C ../mozilla-build/extensions/ipc install &&
|
|
|
|
|
make -C ../mozilla-build/extensions/enigmail install</userinput></screen>
|
|
|
|
|
make -C ../mozilla-build/mailnews/extensions/enigmail install</userinput></screen>
|
|
|
|
|
|
|
|
|
|
<para>To install an extension from a created or download
|
|
|
|
|
<filename class='extension'>.xpi</filename> file, you simply need to
|
|
|
|
@ -410,7 +390,7 @@ make -C ../mozilla-build/extensions/enigmail install</userinput></screen>
|
|
|
|
|
the <application>Enigmail</application>
|
|
|
|
|
<filename class='extension'>.xpi</filename> file is located in
|
|
|
|
|
<filename
|
|
|
|
|
class='directory'>/usr/lib/mozilla-&mozilla-version;/xpi_store</filename>),
|
|
|
|
|
class='directory'>/usr/lib/seamonkey-&seamonkey-version;/xpi_store</filename>),
|
|
|
|
|
select it, then follow the prompts to install the extension.</para>
|
|
|
|
|
|
|
|
|
|
<!-- Commenting this out as there really is no need to put the Mozilla
|
|
|
|
@ -454,14 +434,8 @@ touch `find . -name *.rdf`</userinput></screen>
|
|
|
|
|
|
|
|
|
|
-->
|
|
|
|
|
|
|
|
|
|
<para>Unset the build variables from the unprivileged user's
|
|
|
|
|
environment:</para>
|
|
|
|
|
|
|
|
|
|
<screen><userinput>unset MOZILLA_OFFICIAL &&
|
|
|
|
|
unset BUILD_OFFICIAL</userinput></screen>
|
|
|
|
|
|
|
|
|
|
<note>
|
|
|
|
|
<para>You should run <command>/usr/bin/mozilla</command> once as the
|
|
|
|
|
<para>You should run <command>/usr/bin/seamonkey</command> once as the
|
|
|
|
|
<systemitem class="username">root</systemitem> user (or any user with
|
|
|
|
|
write privileges) to create some necessary additional files in the
|
|
|
|
|
<filename class='directory'>/usr</filename> hierarchy. Also do this
|
|
|
|
@ -482,7 +456,7 @@ unset BUILD_OFFICIAL</userinput></screen>
|
|
|
|
|
to discover what affect they have on the build. Feel free to add or remove
|
|
|
|
|
options to tailor the build to your desires. Listed below are some common
|
|
|
|
|
options not in the default <filename>.mozconfig</filename> file but can be
|
|
|
|
|
added in order to have the described effect on the Mozilla compile.</para>
|
|
|
|
|
added in order to have the described effect on the Seamonkey compile.</para>
|
|
|
|
|
|
|
|
|
|
<para><option>ac_add_options --enable-elf-dynstr-gc</option>: Removes
|
|
|
|
|
un-referenced strings from ELF shared objects generated during the build.
|
|
|
|
@ -518,16 +492,12 @@ unset BUILD_OFFICIAL</userinput></screen>
|
|
|
|
|
source tree by removing <quote>../</quote> from the line.</para>
|
|
|
|
|
|
|
|
|
|
<para><parameter>--enable-application=suite</parameter>: Identifies the
|
|
|
|
|
build as a <application>Mozilla</application> suite build.</para>
|
|
|
|
|
build as a <application>Seamonkey</application> suite build.</para>
|
|
|
|
|
|
|
|
|
|
<para><parameter>--with-system-zlib --with-system-png
|
|
|
|
|
--with-system-jpeg</parameter>: Uses the system-installed versions of these
|
|
|
|
|
packages.</para>
|
|
|
|
|
|
|
|
|
|
<para><parameter>--enable-official-branding</parameter>: Uses the official
|
|
|
|
|
Mozilla logos and icons in the built binaries. Due to license restrictions,
|
|
|
|
|
you may not distribute binaries created using this option.</para>
|
|
|
|
|
|
|
|
|
|
<para><parameter>--enable-default-toolkit=gtk2 --enable-xft
|
|
|
|
|
--disable-freetype2</parameter>: Use the GTK2 toolkit for graphics
|
|
|
|
|
rendering and XFT (automatically pulls in the
|
|
|
|
@ -538,7 +508,7 @@ unset BUILD_OFFICIAL</userinput></screen>
|
|
|
|
|
the browser by changing this switch to
|
|
|
|
|
<option>--enable-extensions="default,-venkman,-inspector,..."</option>.
|
|
|
|
|
For a short description of the various extensions available with the
|
|
|
|
|
<application>Mozilla</application> source, see <ulink
|
|
|
|
|
<application>Seamonkey</application> source, see <ulink
|
|
|
|
|
url="http://linuxfromscratch.org/~tushar/downloads/mozilla-extensions.txt"/>.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
@ -561,11 +531,6 @@ unset BUILD_OFFICIAL</userinput></screen>
|
|
|
|
|
<sect2 role="commands">
|
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
|
|
|
|
|
<para><command>export MOZILLA_OFFICIAL="1"
|
|
|
|
|
export BUILD_OFFICIAL="1"</command>: Sets some variables that affect what
|
|
|
|
|
and how the package is built. These two exports specify a distribution is
|
|
|
|
|
being built.</para>
|
|
|
|
|
|
|
|
|
|
<para><command>make -f client.mk ...</command>: Mozilla products are
|
|
|
|
|
packaged to allow the use of a configuration file which can be used to
|
|
|
|
|
pass the configuration settings to the <command>configure</command>
|
|
|
|
@ -577,7 +542,8 @@ unset BUILD_OFFICIAL</userinput></screen>
|
|
|
|
|
the package.</para>
|
|
|
|
|
|
|
|
|
|
<para><command>./makemake -r</command>: This command is used to recursively
|
|
|
|
|
create <filename>Makefile</filename>s in the current directory.</para>
|
|
|
|
|
create <filename>Makefile</filename>s in the appropriate subdirectory
|
|
|
|
|
of mozilla-build.</para>
|
|
|
|
|
|
|
|
|
|
<para><command>make -C ... xpi</command>: This command builds the
|
|
|
|
|
<application>Enigmail</application>
|
|
|
|
@ -609,21 +575,21 @@ unset BUILD_OFFICIAL</userinput></screen>
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
|
|
<sect2 role="configuration">
|
|
|
|
|
<title>Configuring Mozilla</title>
|
|
|
|
|
<title>Configuring Seamonkey</title>
|
|
|
|
|
|
|
|
|
|
<para>No specific configuration is required as long as the
|
|
|
|
|
<command>mozilla</command> script is in the user's path. If
|
|
|
|
|
<application>Mozilla</application> is installed in a non-standard location,
|
|
|
|
|
then make a symlink to the <command>mozilla</command> script in the
|
|
|
|
|
<command>seamonkey</command> script is in the user's path. If
|
|
|
|
|
<application>Seamonkey</application> is installed in a non-standard location,
|
|
|
|
|
then make a symlink to the <command>seamonkey</command> script in the
|
|
|
|
|
<filename class="directory">/usr/bin</filename> directory.</para>
|
|
|
|
|
|
|
|
|
|
<para>Many applications look for <command>netscape</command> when they need
|
|
|
|
|
to open a browser. You may make the following symlink for convenience (as
|
|
|
|
|
the <systemitem class="username">root</systemitem> user).</para>
|
|
|
|
|
|
|
|
|
|
<screen role="root"><userinput>ln -v -sf mozilla /usr/bin/netscape</userinput></screen>
|
|
|
|
|
<screen role="root"><userinput>ln -v -sf seamonkey /usr/bin/netscape</userinput></screen>
|
|
|
|
|
|
|
|
|
|
<para>For installing various <application>Mozilla</application> plugins,
|
|
|
|
|
<para>For installing various <application>Seamonkey</application> plugins,
|
|
|
|
|
refer to <ulink url="http://plugindoc.mozdev.org/linux.html">Mozdev's
|
|
|
|
|
PluginDoc Project</ulink>. If you have <xref linkend="jdk"/> already
|
|
|
|
|
installed, create the following link as the
|
|
|
|
@ -631,25 +597,25 @@ unset BUILD_OFFICIAL</userinput></screen>
|
|
|
|
|
<application>JAVA</application> plugin: </para>
|
|
|
|
|
|
|
|
|
|
<screen role="root"><userinput>ln -v -s $JAVA_HOME/jre/plugin/i386/ns7/libjavaplugin_oji.so \
|
|
|
|
|
/usr/lib/mozilla-&mozilla-version;/plugins</userinput></screen>
|
|
|
|
|
/usr/lib/seamonkey-&seamonkey-version;/plugins</userinput></screen>
|
|
|
|
|
|
|
|
|
|
<para>Some packages install Mozilla plugins into the default system-wide
|
|
|
|
|
<para>Some packages install Seamonkey plugins into the default system-wide
|
|
|
|
|
directory <filename class='directory'>/usr/lib/mozilla/plugins</filename>.
|
|
|
|
|
If desired, create symbolic links in the <application>Mozilla</application>
|
|
|
|
|
If desired, create symbolic links in the <application>Seamonkey</application>
|
|
|
|
|
plugin directory
|
|
|
|
|
<filename class='directory'>/usr/lib/mozilla-&mozilla-version;/plugins</filename>
|
|
|
|
|
<filename class='directory'>/usr/lib/seamonkey-&seamonkey-version;/plugins</filename>
|
|
|
|
|
to the files in the default plugin directory (you should link to the actual
|
|
|
|
|
files and not other links). Alternatively, you can move or copy the files
|
|
|
|
|
in the default plugin directory to the
|
|
|
|
|
<application>Mozilla</application> plugin directory. An example of creating
|
|
|
|
|
<application>Seamonkey</application> plugin directory. An example of creating
|
|
|
|
|
a symbolic link is shown below. Create the links as the
|
|
|
|
|
<systemitem class="username">root</systemitem> user:</para>
|
|
|
|
|
|
|
|
|
|
<screen role="root"><userinput>ln -v -s ../../mozilla/plugins/<replaceable>[plugin.so]</replaceable> \
|
|
|
|
|
/usr/lib/mozilla-&mozilla-version;/plugins</userinput></screen>
|
|
|
|
|
<screen role="root"><userinput>ln -v -s ../../seamonkey/plugins/<replaceable>[plugin.so]</replaceable> \
|
|
|
|
|
/usr/lib/seamonkey-&seamonkey-version;/plugins</userinput></screen>
|
|
|
|
|
|
|
|
|
|
<para>Along with using the <quote>Preferences</quote> menu to configure
|
|
|
|
|
<application>Mozilla</application>'s options and preferences to suit
|
|
|
|
|
<application>Seamonkey</application>'s options and preferences to suit
|
|
|
|
|
individual tastes, finer grain control of many options is only available
|
|
|
|
|
using a tool not available from the general menu system. To access this
|
|
|
|
|
tool, you'll need to open a Navigator window and enter
|
|
|
|
@ -667,7 +633,7 @@ unset BUILD_OFFICIAL</userinput></screen>
|
|
|
|
|
|
|
|
|
|
<tip>
|
|
|
|
|
<para>There is a multitude of configuration parameters you can tweak to
|
|
|
|
|
customize <application>Mozilla</application>. A very extensive and
|
|
|
|
|
customize <application>Seamonkey</application>. A very extensive and
|
|
|
|
|
up-to-date list of these parameters can be found at <ulink
|
|
|
|
|
url="http://preferential.mozdev.org/preferences.html"/>.</para>
|
|
|
|
|
</tip>
|
|
|
|
@ -683,13 +649,13 @@ unset BUILD_OFFICIAL</userinput></screen>
|
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
|
<seg>mozilla and mozilla-config</seg>
|
|
|
|
|
<seg>seamonkey and seamonkey-config</seg>
|
|
|
|
|
<seg>Numerous libraries, browser, and email/newsgroup components,
|
|
|
|
|
plugins, extensions, and helper modules installed in <filename
|
|
|
|
|
class='directory'>/usr/lib/mozilla-&mozilla-version;</filename></seg>
|
|
|
|
|
<seg>/usr/include/mozilla-&mozilla-version;,
|
|
|
|
|
/usr/lib/mozilla-&mozilla-version;, and
|
|
|
|
|
/usr/share/idl/mozilla-&mozilla-version;</seg>
|
|
|
|
|
class='directory'>/usr/lib/seamonkey-&seamonkey-version;</filename></seg>
|
|
|
|
|
<seg>/usr/include/seamonkey-&seamonkey-version;,
|
|
|
|
|
/usr/lib/seamonkey-&seamonkey-version;, and
|
|
|
|
|
/usr/share/idl/seamonkey-&seamonkey-version;</seg>
|
|
|
|
|
</seglistitem>
|
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
|
@ -698,17 +664,17 @@ unset BUILD_OFFICIAL</userinput></screen>
|
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
|
|
<varlistentry id="mozilla-prog">
|
|
|
|
|
<term><command>mozilla</command></term>
|
|
|
|
|
<varlistentry id="seamonkey-prog">
|
|
|
|
|
<term><command>seamonkey</command></term>
|
|
|
|
|
<listitem>
|
|
|
|
|
<para>is a browser/email/newsgroup/calendar/chat client suite. The
|
|
|
|
|
various components such as the Composer, mail-news client, calendar,
|
|
|
|
|
IRC chat client and address book can be accessed from the menu after
|
|
|
|
|
<command>mozilla</command> starts or via command-line switches to
|
|
|
|
|
the <command>mozilla</command> script. Issue
|
|
|
|
|
<command>man mozilla</command> for additional information.</para>
|
|
|
|
|
<indexterm zone="mozilla mozilla-prog">
|
|
|
|
|
<primary sortas="b-mozilla">mozilla</primary>
|
|
|
|
|
<command>seamonkey</command> starts or via command-line switches to
|
|
|
|
|
the <command>seamonkey</command> script. Issue
|
|
|
|
|
<command>man seamonkey</command> for additional information.</para>
|
|
|
|
|
<indexterm zone="seamonkey seamonkey-prog">
|
|
|
|
|
<primary sortas="b-seamonkey">seamonkey</primary>
|
|
|
|
|
</indexterm>
|
|
|
|
|
</listitem>
|
|
|
|
|
</varlistentry>
|