Changeset d1981e0


Ignore:
Timestamp:
12/14/2004 06:07:48 AM (17 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.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, krejzi/svn, nosym, perl-modules, qt5new, systemd-11177, systemd-13485, trunk, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
ddb1f96
Parents:
7ea0a8d5
Message:

Updated to Mozilla-1.7.3 and Thunderbird-1.0; modified Firefox instructions

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

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r7ea0a8d5 rd1981e0  
    1 <!ENTITY day          "13">
     1<!ENTITY day          "14">
    22<!ENTITY month        "12">
    33<!ENTITY year         "2004">
     
    381381
    382382<!-- Chapter 35 -->       
    383 <!ENTITY mozilla-version              "1.7.1"> 
     383<!ENTITY mozilla-version              "1.7.3"> 
    384384<!ENTITY firefox-version              "1.0">
    385385<!ENTITY galeon-version               "1.3.14a">
     
    387387
    388388<!-- Chapter 36 -->
    389 <!ENTITY thunderbird-version          "0.8"> 
     389<!ENTITY thunderbird-version          "1.0"> 
    390390<!ENTITY pan-version                  "0.14.2">
    391391<!ENTITY balsa-version                "2.2.6">   
  • introduction/welcome/changelog.xml

    r7ea0a8d5 rd1981e0  
    2222
    2323<itemizedlist>
     24
     25<listitem><para>December 14th, 2004 [randy]: Updated to Mozilla-1.7.3 and
     26Thunderbird-1.0; modified Firefox instructions.</para></listitem>
    2427
    2528<listitem><para>December 13th, 2004 [randy]: Added two acronyms
  • xsoft/graphweb/firefox.xml

    r7ea0a8d5 rd1981e0  
    77  <!ENTITY firefox-download-http "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/&firefox-version;/source/firefox-&firefox-version;-source.tar.bz2">
    88  <!ENTITY firefox-download-ftp "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/&firefox-version;/source/firefox-&firefox-version;-source.tar.bz2">
     9  <!ENTITY firefox-md5sum        "49c16a71f4de014ea471be81e46b1da8">
    910  <!ENTITY firefox-size          "32 MB">
    10   <!ENTITY firefox-buildsize     "575 MB">
    11   <!ENTITY firefox-time          "11.1 SBU">
     11  <!ENTITY firefox-buildsize     "564 MB">
     12  <!ENTITY firefox-time          "11.3 SBU">
    1213]>
    1314
     
    3233<listitem><para>Download (FTP): <ulink
    3334url="&firefox-download-ftp;"/></para></listitem>
     35<listitem><para>Download MD5 sum: &firefox-md5sum;</para></listitem>
    3436<listitem><para>Download size: &firefox-size;</para></listitem>
    3537<listitem><para>Estimated disk space required:
     
    4143<sect3><title><application>Firefox</application> dependencies</title>
    4244<sect4><title>Required</title>
    43 <para>
    44 <xref linkend="GTK2"/>,
    45 <xref linkend="libIDL"/> and
    46 <xref linkend="zip"/>
    47 </para></sect4>
     45<para><xref linkend="GTK2"/>,
     46<xref linkend="libIDL"/> and
     47<xref linkend="zip"/></para>
     48</sect4>
     49
    4850<sect4><title>Optional</title>
    49 <para>
    50 <xref linkend="libjpeg"/>,
    51 <xref linkend="unzip"/>,
    52 <xref linkend="gnome-vfs"/>,
    53 <xref linkend="mitkrb"/> or <xref linkend="heimdal"/>,
     51<para><xref linkend="libjpeg"/>,
     52<xref linkend="unzip"/>,
     53<xref linkend="gnome-vfs"/>,
     54<xref linkend="libgnome"/>,
     55<xref linkend="mitkrb"/> or <xref linkend="heimdal"/>
     56(for the GSSAPI libraries),
    5457<xref linkend="doxygen"/>,
    55 <ulink url="http://xprint.mozdev.org/">Xprint</ulink>,
     58<ulink url="http://xprint.mozdev.org/">Xprint</ulink>, 
    5659<ulink url="http://perens.com/FreeSoftware/">Electric Fence</ulink> and
    57 <ulink url="http://cairographics.org/">Cairo</ulink>
    58 </para></sect4>
     60<ulink url="http://cairographics.org/">Cairo</ulink></para>
     61</sect4>
    5962</sect3>
    6063
     
    7679export MOZ_PHOENIX="1" &amp;&amp;
    7780./configure --prefix=/usr \
     81            --with-default-mozilla-five-home=/usr/lib/firefox-1.0
     82            --with-user-appdir=.firefox \
    7883            --with-system-zlib \
    7984            --with-system-png \
     85            --enable-application=browser \
    8086            --enable-default-toolkit=gtk2 \
     87            --enable-extensions=all,-typeaheadfind \
     88            --enable-crypto \
     89            --enable-xft \
     90            --enable-xinerama \
     91            --enable-optimize \
     92            --enable-reorder \
     93            --enable-strip \
     94            --enable-cpp-rtti \
     95            --enable-single-profile \
     96            --disable-freetype2 \
     97            --disable-accessibility \
     98            --disable-debug \
     99            --disable-tests \
     100            --disable-logging \
     101            --disable-pedantic \
     102            --disable-installer \
    81103            --disable-mailnews \
    82104            --disable-ldap \
    83             --enable-xft \
    84             --disable-freetype2 \
    85             --enable-crypto \
    86             --enable-xinerama \
    87             --enable-single-profile \
    88105            --disable-composer \
    89             --enable-extensions=all,-typeaheadfind \
    90             --disable-installer \
    91             --disable-tests \
    92             --disable-debug \
    93             --enable-optimize \
    94             --disable-logging \
    95             --enable-reorder \
    96             --enable-strip \
    97             --disable-pedantic \
    98             --enable-cpp-rtti \
    99106            --disable-profilesharing &amp;&amp;
    100107make &amp;&amp;
     
    102109install -d /usr/include/firefox-&firefox-version;/nss &amp;&amp;
    103110cp -Lf dist/private/nss/*.h dist/public/nss/*.h \
    104     /usr/include/firefox-&firefox-version;/nss &amp;&amp;
    105 chown -R root:root /usr/include/firefox-&firefox-version;/nss</command></userinput></screen>
     111    /usr/include/firefox-&firefox-version;/nss</command></userinput></screen>
    106112
    107 <para>You might want to add the <option>--with-system-jpeg</option>
    108 switch to the <command>configure</command> script if you have
     113<para>You should add the <option>--with-system-jpeg</option> switch to the
     114<command>configure</command> script if you have
    109115<application>libjpeg</application> installed.</para>
    110116
     
    118124touch `find . -name *.rdf`</command></userinput></screen>
    119125
    120 <note><para>You should run
    121 <command>/usr/bin/firefox</command>
    122 once as the root user (or any user with write privileges) to
    123 create some necessary additional files in the
    124 <filename class='directory'>/usr</filename>
     126<note><para>You should run <command>/usr/bin/firefox</command> once as the
     127root user (or any user with write privileges) to create some necessary
     128additional files in the <filename class='directory'>/usr</filename>
    125129hierarchy.</para></note>
    126130
  • xsoft/graphweb/mozilla.xml

    r7ea0a8d5 rd1981e0  
    55  %general-entities;
    66
    7   <!ENTITY mozilla-download-http "http://ftp.mozilla.org/pub/mozilla/releases/mozilla&mozilla-version;/src/mozilla-source-&mozilla-version;.tar.bz2">
     7  <!ENTITY mozilla-download-http "http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla&mozilla-version;/src/mozilla-source-&mozilla-version;.tar.bz2">
    88  <!ENTITY mozilla-download-ftp  "ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla&mozilla-version;/src/mozilla-source-&mozilla-version;.tar.bz2">
    9   <!ENTITY mozilla-size          "34 MB">
    10   <!ENTITY mozilla-buildsize     "700 MB">
    11   <!ENTITY mozilla-time          "10.37 SBU">
    12 
    13   <!ENTITY enigmail-version      "0.85.0">
    14   <!ENTITY ipc-version           "1.0.5">
     9  <!ENTITY mozilla-md5sum        "15cb68da1d58f055f871b77ff655df77">
     10  <!ENTITY mozilla-size          "29 MB">
     11  <!ENTITY mozilla-buildsize     "619 MB">
     12  <!ENTITY mozilla-time          "13.46 SBU">
     13
     14  <!ENTITY enigmail-version      "0.89.5">
     15  <!ENTITY ipc-version           "1.1.2">
    1516]>
    1617
     
    3334<para>The <application>Mozilla</application> project also hosts two subprojects
    3435that aim to satisfy the needs of users who don't need the complete browser
    35 suite or like to have separate applications for browsing and e-mail. These
    36 subprojects are
     36suite or prefer to have separate applications for browsing and e-mail. These
     37subprojects are 
    3738<ulink url="http://www.mozilla.org/products/firefox/">Mozilla Firefox</ulink>,
    3839(a stand-alone browser based on the
    3940<application>Mozilla</application> source code) and <ulink
    40 url="http://www.mozilla.org/projects/thunderbird/">Mozilla Thunderbird</ulink>,
     41url="http://www.mozilla.org/products/thunderbird/">Mozilla Thunderbird</ulink>,
    4142(a stand-alone mail client based on the <application>Mozilla</application>
    4243source code). The build instructions for these two applications are discussed
     
    5455<listitem><para>Download (FTP): <ulink
    5556url="&mozilla-download-ftp;"/></para></listitem>
     57<listitem><para>Download MD5 sum: &mozilla-md5sum;</para></listitem>
    5658<listitem><para>Download size: &mozilla-size;</para></listitem>
    57 <listitem><para>Estimated Disk space required:
     59<listitem><para>Estimated disk space required:
    5860&mozilla-buildsize;</para></listitem>
    5961<listitem><para>Estimated build time:
     
    6264
    6365<sect3><title>Additional downloads</title>
     66
     67<para>To enable the <application>Enigmail</application> extension to the
     68<application>Mozilla</application> mail client, you'll need to download the
     69two tarballs below. The <application>Enigmail</application> extension allows
     70users to access the authentication and encryption features provided by the
     71<application>GnuPG</application> package.</para>
     72
    6473<itemizedlist spacing='compact'>
    65 <listitem><para>Required Patch: <ulink
    66 url="&patch-root;/mozilla-&mozilla-version;-freetype_fix-1.patch"/></para>
    67 </listitem></itemizedlist>
    68 
    69 <para>To enable the <application>Enigmail</application> extension to the
    70 <application>Mozilla</application> and <application>Thunderbird</application>
    71 mail clients, you'll need to download the two tarballs below. The
    72 <application>Enigmail</application> extension allows users to access the
    73 authentication and encryption features provided by the
    74 <application>GnuPG</application> package.</para>
    75 
    76 <itemizedlist spacing='compact'>
    77 <!-- <listitem><para><ulink url="http://enigmail.mozdev.org/">Enigmail Extension
    78 (Version &enigmail-version;)</ulink>
    79 (Useful only if Mozilla Mail is built)</para></listitem>
    80 <listitem><para><ulink url="http://enigmail.mozdev.org/">Inter Process
    81 Communicaton Extension (Version &ipc-version;)</ulink>
    82 (Needed for Enigmail)</ulink></para></listitem> -->
    83 
    84 <listitem><para><ulink
     74<listitem><para><ulink
    8575url="http://downloads.mozdev.org/enigmail/src/enigmail-&enigmail-version;.tar.gz"/>
    8676</para></listitem>
    87 <listitem><para><ulink
     77<listitem><para><ulink 
    8878url="http://downloads.mozdev.org/enigmail/src/ipc-&ipc-version;.tar.gz"/>
    8979</para></listitem>
     
    9585<para><xref linkend="zip"/>,
    9686<xref linkend="GTK2"/>,
    97 <xref linkend="libIDL"/>,
    98 <xref linkend="libmng"/> and
    99 <xref linkend="which"/></para>
     87<xref linkend="libIDL"/></para>
    10088</sect4>
    10189
    10290<sect4><title>Recommended</title>
    103 <para><xref linkend="gnupg"/> (for Enigmail extension)</para>
     91<para><xref linkend="gnupg"/> (for the Enigmail extension)</para>
    10492</sect4>
    10593
    10694<sect4><title>Optional</title>
    107 <para><xref linkend="gnome-vfs"/>,
    108 <xref linkend="libart_lgpl"/>,
    109 <xref linkend="heimdal"/> or <xref linkend="mitkrb"/>
    110 (for the GSSAPI libraries),
    111 <xref linkend="doxygen"/> and
    112 <ulink url="http://www.hpl.hp.com/personal/Hans_Boehm/gc/">GC</ulink></para>
     95<para><xref linkend="libjpeg"/>,
     96<xref linkend="unzip"/>,
     97<xref linkend="gnome-vfs"/>,
     98<xref linkend="libart_lgpl"/>,
     99<xref linkend="heimdal"/> or <xref linkend="mitkrb"/>
     100(for the GSSAPI libraries),
     101<xref linkend="doxygen"/>,
     102<ulink url="http://xprint.mozdev.org/">Xprint</ulink>,
     103<ulink url="http://perens.com/FreeSoftware/">Electric Fence</ulink> and
     104<ulink url="http://cairographics.org/">Cairo</ulink></para>
    113105</sect4>
    114106</sect3>
     
    119111<title>Installation of <application>Mozilla</application></title>
    120112
    121 <!--
    122 <note>
    123 <para>According to the financial institutions, the following hack makes your
    124 browser insecure. You have been warned. Many sites use an MS-IE specific tag
    125 (autocomplete=off) to prevent autocomplete from working in some forms. This
    126 tag is now supported in <application>Mozilla</application> to appease
    127 the financial institutions. As per
    128 the requirements of the financial institutions, they will not even accept a
    129 solution where this a preference option. However our opinion is that it should
    130 be in the hands of the user. To enable autocomplete to bypass
    131 this restriction, we need to make a slight modification in the code.</para>
    132 
    133 <para>Open the file <filename>extensions/wallet/src/wallet.cpp</filename> in
    134 the <application>Mozilla</application> source tree and search for the line:
    135 <screen>#define WALLET_DONT_CACHE_ALL_PASSWORDS</screen>
    136 Then delete or comment out the line.  Now, if anyone tells you MS-IE is user
    137 friendly, give them this example!</para>
    138 </note>
    139 -->
    140 
    141 <warning><para>Do not install <application>Mozilla</application>,
    142 <application>Mozilla Firefox</application> and
    143 <application>Mozilla Thunderbird</application> with a single prefix since they
    144 install identically named files. The <acronym>BLFS</acronym> Book installs
    145 <application>Mozilla</application> in <filename>/usr</filename> while
    146 <application>Mozilla Firefox</application> and
    147 <application>Mozilla Thunderbird</application> are installed in
    148 <filename>/opt</filename>.</para></warning>
    149 
    150113<para>Compile <application>Mozilla</application> by running the following
    151114commands:</para>
     
    153116<screen><userinput><command>export MOZILLA_OFFICIAL="1" &amp;&amp;
    154117export BUILD_OFFICIAL="1" &amp;&amp;
    155 patch -Np1 -i ../mozilla-&mozilla-version;-freetype_fix-1.patch &amp;&amp;
    156118./configure --prefix=/usr \
    157119            --with-default-mozilla-five-home=/usr/lib/mozilla \
     120            --with-system-zlib \
     121            --with-system-png \
     122            --enable-application=suite \
    158123            --enable-default-toolkit=gtk2 \
    159             --with-x --with-system-zlib \
    160             --with-system-jpeg --with-system-png --with-system-mng \
    161             --enable-xft --enable-crypto \
     124            --enable-extensions=all \
     125            --enable-crypto \
     126            --enable-xft \
     127            --enable-xinerama \
     128            --enable-optimize \
     129            --enable-reorder \
     130            --enable-strip \
     131            --enable-cpp-rtti \
     132            --enable-calendar \
     133            --disable-freetype2 \
    162134            --disable-accessibility \
    163             --disable-tests --disable-debug \
    164             --disable-logging --enable-reorder \
    165             --enable-strip --disable-pedantic \
    166             --enable-cpp-rtti --enable-extensions=all &amp;&amp;
     135            --disable-debug \
     136            --disable-tests \
     137            --disable-logging \
     138            --disable-pedantic \
     139            --disable-installer &amp;&amp;
    167140make</command></userinput></screen>
    168141
     
    175148build/autoconf/make-makefile extensions/ipc extensions/enigmail &amp;&amp;
    176149make -C extensions/ipc &amp;&amp;
    177 make -C extensions/enigmail &amp;&amp;
    178 make -C extensions/enigmail/build xpi &amp;&amp;
    179 make -C extensions/enigmail/package xpi</command></userinput></screen>
     150make -C extensions/enigmail</command></userinput></screen>
    180151
    181152<para>Install <application>Mozilla</application> as follows:</para>
     
    186157   /usr/include/mozilla-&mozilla-version;/nss &amp;&amp;
    187158ln -nsf mozilla-&mozilla-version; /usr/include/mozilla &amp;&amp;
     159if [ -d /usr/lib/mozilla/plugins ]; then
     160    mv /usr/lib/mozilla/plugins/* /usr/lib/mozilla-&mozilla-version;/plugins
     161    rm -rf /usr/lib/mozilla
     162fi &amp;&amp;
    188163ln -nsf mozilla-&mozilla-version; /usr/lib/mozilla</command></userinput></screen>
    189164
    190 <para>Some libraries installed by <application>Mozilla</application> are also
    191 needed by other packages. These libraries should be in
    192 <filename>/usr/lib</filename> so that other packages can link against them.
    193 Move them as follows:</para>
     165<para>If you're installing the <application>Enigmail</application> extension,
     166issue the following commands:</para>
     167
     168<screen><userinput><command>make -C extensions/ipc install &amp;&amp;
     169make -C extensions/enigmail install</command></userinput></screen>
     170
     171<para>Some libraries, including the Netscape Portable Runtime
     172(<acronym>NSPR</acronym>) and Network Security Services
     173(<acronym>NSS</acronym>) libraries, installed by
     174<application>Mozilla</application> are also needed by other packages. These
     175libraries should be in <filename>/usr/lib</filename> so that other packages
     176can link against them. Move them as follows:</para>
    194177
    195178<screen><userinput><command>for i in lib{nspr4,plc4,plds4,nss3,smime3,softokn3,ssl3}.so libsoftokn3.chk
     
    199182done</command></userinput></screen>
    200183
    201 <para>Install the <application>Enigmail</application> extension as
    202 follows:</para>
    203 
    204 <screen><userinput><command>make -C extensions/ipc install &amp;&amp;
    205 make -C extensions/enigmail install</command></userinput></screen>
    206 
    207 <para>To enable multi-user operation, execute the following:</para>
     184<para>Create the required component registries to enable multi-user installs.
     185These steps should be preformed by the root user each time a
     186<application>Mozilla</application> add-on is installed. This will allow normal
     187users to run <command>mozilla</command>. Enable multi-user operation by
     188executing the following:</para>
    208189
    209190<screen><userinput><command>cd /usr/lib/mozilla-&mozilla-version; &amp;&amp;
    210 export LD_LIBRARY_PATH="/usr/lib/mozilla-&mozilla-version;" &amp;&amp;
    211 export MOZILLA_FIVE_HOME="/usr/lib/mozilla-&mozilla-version;" &amp;&amp;
     191export LD_LIBRARY_PATH="$PWD" &amp;&amp;
     192export MOZILLA_FIVE_HOME="$PWD" &amp;&amp;
    212193./regxpcom &amp;&amp;
    213194./regchrome &amp;&amp;
    214 touch `find /usr/lib/mozilla-&mozilla-version; -name *.rdf`</command></userinput></screen>
     195touch `find . -name *.rdf`</command></userinput></screen>
     196
     197<note><para>You should run <command>/usr/bin/mozilla</command> once as the
     198root user (or any user with write privileges) to create some necessary
     199additional files in the <filename class='directory'>/usr</filename>
     200hierarchy.</para></note>
    215201
    216202</sect2>
     
    219205<title>Optional Extra Switches</title>
    220206
    221 <para>Each of these switches can be added to the configure line in order to
    222 have the described effect on the <application>Mozilla</application>
    223 compile.</para>
    224 
    225 <para><option>--enable-elf-dynstr-gc</option>: Removes un-referenced
     207<para>You may wish to run <command>./configure --help</command> and review
     208each of the listed options to discover what affect they have on the build.
     209Feel free to add or remove options to tailor the build to your desires.
     210Listed below are some common options not listed above but can be added to
     211the <command>configure</command> command in order to have the described effect
     212on the <application>Mozilla</application> compile.</para>
     213
     214<para><option>--with-system-jpeg</option>: Uses the system-installed copy of
     215<application>libjpeg</application> instead of the bundled copy.</para>
     216
     217<para><option>--enable-elf-dynstr-gc</option>: Removes un-referenced
    226218strings from <acronym>ELF</acronym> shared objects generated during the build.
    227219Note that this option breaks the build on alpha.</para>
    228220
    229 <para><option>--disable-mailnews</option>: Disable the mail and news
     221<para><option>--disable-mailnews</option>: Disables the mail and news
    230222clients.</para>
    231223
    232 <para><option>--disable-ldap</option>: Disable <acronym>LDAP</acronym>
     224<para><option>--disable-ldap</option>: Disables <acronym>LDAP</acronym>
    233225support, recommended if mail is disabled.</para>
    234226
    235 <para><option>--enable-calendar</option>: Build the calendar client.</para>
    236 
    237 <para><option>--enable-xterm-updates</option>: This option is for enabling
    238 the <command>xterm</command> window title with the current command when
    239 compiling.</para>
    240 
    241 <para><option>--enable-plaintext-editor-only</option>: Disable support
     227<para><option>--enable-xterm-updates</option>: Displays the current command
     228in the <command>xterm</command> window title during the compilation.</para>
     229
     230<para><option>--enable-plaintext-editor-only</option>: Disables support
    242231for <acronym>HTML</acronym> editing. Do not use this switch if you are
    243232building the mail-news component.</para>
     
    248237<title>Command explanations</title>
    249238
    250 <para><screen><command>export MOZILLA_OFFICIAL="1" &amp;&amp;
    251 export BUILD_OFFICIAL="1"</command></screen>
    252 Set some variables that affect what and how the package is built. These two
    253 exports specify a distribution is being built.</para>
    254 
    255 <!--
    256 <para> The last export specifies that we
    257 are ok with the <acronym>LGPL</acronym> versioned libart.</para>
    258 -->
    259 
    260 <para><parameter>--prefix=/usr</parameter>: Previously
    261 <application>Mozilla</application> did not support the <command>make
    262 install</command> option. Hence, the package was installed in
    263 <filename>/opt</filename>. The package now supports
    264 "<command>make install</command>" and follows the <acronym>FHS</acronym>
    265 guidelines for installation. Therefore the book now recommends installation
    266 in a system wide prefix such as <filename>/usr</filename>.</para>
    267 
    268 <para><screen><option>--enable-default-toolkit=gtk2</option></screen>
    269 Use the gtk2 toolkit.</para>
    270 
    271 <para><screen><option>--with-system-zlib --with-system-jpeg \
    272 --with-system-png --with-system-mng</option></screen>
    273 Use the system installed versions of these packages.</para>
    274 
    275 <para><option>--enable-xft</option>: Enable Xft support. You need
    276 <application>fontconfig</application> or the latest
    277 <application>XFree86</application> version to enable Xft.</para>
    278 
    279 <para><option>--enable-crypto</option>: Enable the Personal
    280 Security Manager to enable <acronym>SSL</acronym> connections.</para>
    281 
    282 <para><screen><option>--disable-jsd --disable-accessibility \
    283 --disable-tests --disable-debug \
    284 --disable-dtd-debug \
    285 --disable-logging --enable-reorder \
    286 --enable-strip \
    287 --enable-cpp-rtti</option></screen>
    288 Various options that affect what components are built and some optimization
    289 options. You can pick and choose from these options. More information on them
    290 can be found in the <application>Mozilla</application>
    291 <command>configure</command> script help. Not all options are used in the
    292 instructions given above.</para>
    293 
    294 <para><option>--enable-extensions=...</option>: Enables extensions.  If you
    295 want, you can disable all extensions other than the browser by changing this
    296 switch to
    297 <parameter>--enable-extensions="default,-venkman,-inspector,-irc"</parameter>.
     239<para><command>export MOZILLA_OFFICIAL="1";
     240export BUILD_OFFICIAL="1"</command>: Set some variables that affect what and
     241how the package is built. These two exports specify a distribution is being
     242built.</para>
     243
     244<para><parameter>--with-default-mozilla-five-home=/usr/lib/mozilla</parameter>:
     245Sets the default value for <envar>MOZILLA_FIVE_HOME</envar>.</para>
     246
     247<para><parameter>--with-system-zlib --with-system-png </parameter>: Use the
     248system-installed versions of these packages.</para>
     249
     250<para><parameter>--enable-application=suite</parameter>: Identifies the build
     251as a <application>Mozilla</application> suite build.</para>
     252
     253<para><parameter>--enable-default-toolkit=gtk2</parameter>: Use the
     254<acronym>GTK</acronym>2 toolkit for graphics rendering.</para>
     255
     256<para><parameter>--enable-extensions=all</parameter>: Enables all available
     257extensions. If you want, you can disable any or all extensions other than the
     258browser by changing this switch to
     259<parameter>--enable-extensions="default,-venkman,-inspector,..."</parameter>.
    298260For a short description of the various extensions available with the
    299261<application>Mozilla</application> source, see
     
    302264</para>
    303265
    304 <para><screen><command>install -d /usr/include/mozilla-&mozilla-version;/nss
    305 cp -Lf dist/private/nss/*.h dist/public/nss/*.h \
    306    /usr/include/mozilla-&mozilla-version;/nss</command></screen>
    307 Copy the nss headers that are not copied by make install.</para>
    308 
    309 <!--
    310 <para><userinput>install -d /usr/lib/mozilla-&mozilla-version;/openoffice</userinput> :
    311 Make a directory to store static libraries that openoffice needs during compilation.
    312 These libraries are not installed by default.</para>
    313 -->
    314 
    315 <para><command>ln -nsf mozilla-&mozilla-version; ...</command>:
     266<para><parameter>--enable-crypto</parameter>: Enable the Personal
     267Security Manager to enable <acronym>SSL</acronym> connections.</para>
     268
     269<para><parameter>--enable-calendar</parameter>: Builds the calendar
     270application. Removed this parameter if you don't wish to build it.</para>
     271 
     272<para><parameter>--enable-xft; --disable-freetype2</parameter>: Enable Xft
     273support which automatically pulls in the <application>FreeType</application>
     274libraries.</para>
     275
     276<para><parameter>--enable-xinerama; --enable-optimize; --enable-reorder;
     277--enable-strip; --enable-cpp-rtti --disable-accessibility; --disable-debug;
     278--disable-tests; --disable-logging; --disable-pedantic;
     279--disable-installer</parameter>: Various options that affect what components
     280are built and some optimization options. You can pick and choose from these
     281options. More information on them, and many other available options, can be
     282found by running <command>./configure --help</command>.</para>
     283
     284<para><command>install -d /usr/include/mozilla-&mozilla-version;/nss;
     285cp -Lf ...</command>: Copy the <acronym>NSS</acronym> interface headers that
     286are not copied by <command>make install</command>.</para>
     287
     288<para><command>if [ -d /usr/lib/mozilla/plugins ] ... fi</command>: Some
     289applications may have already installed <application>Mozilla</application>
     290plugins. This set of commands move any existing plugins to the newly created
     291plugin directory, then removes the existing
     292<filename class='directory'>/usr/lib/mozilla</filename> directory.</para>
     293
     294<para><command>ln -nsf mozilla-&mozilla-version; ...</command>:
    316295<application>Mozilla</application> installs headers and libraries in version
    317 specific directories. This command makes symbolic links so that applications
     296specific directories. These commands makes symbolic links so that applications
    318297depending on <application>Mozilla</application> (such as
    319298<application>OpenOffice</application>, <application>Galeon</application>,
     
    321300is installed.</para>
    322301
    323 <para><screen><command>export LD_LIBRARY_PATH="/usr/lib/mozilla-&mozilla-version;" &amp;&amp;
    324 export MOZILLA_FIVE_HOME="/usr/lib/mozilla-&mozilla-version;" &amp;&amp;
    325 ./regxpcom &amp;&amp;
    326 ./regchrome &amp;&amp;
    327 touch `find /usr/lib/mozilla-${VERSION} -name *.rdf`</command>
    328 </screen>
    329 Create the required component registries to enable multi-user installs. These
    330 steps should be preformed by the root user each time a
    331 <application>Mozilla</application> add-on is installed. This will allow normal
    332 users to run <command>mozilla</command>.</para>
    333 
    334302</sect2>
    335303
     
    338306
    339307<para>No specific configuration is required as long as the
    340 <command>mozilla</command> binary is in the path for the user. If
     308<command>mozilla</command> script is in the user's path. If
    341309<application>Mozilla</application> is installed in a non-standard location,
    342 then make a symlink to the <command>mozilla</command> binary from
    343 <filename class="directory">/usr/bin</filename>. The same thing applies for
    344 <application>Mozilla Firefox</application> and
    345 <application>Mozilla Thunderbird</application>.</para>
     310then make a symlink to the <command>mozilla</command> script from
     311<filename class="directory">/usr/bin</filename>.</para>
    346312
    347313<para>Many applications look for <command>netscape</command> when they need to
     
    359325<title>Contents</title>
    360326
    361 <para>The <application>Mozilla</application> package contains
     327<para>The <application>Mozilla</application> package contains 
    362328<command>mozilla</command> and the <application>Mozilla</application>
    363 libraries and plugins. The various components such as composer and mail-news
    364 can be accessed from the menu after <command>mozilla</command> starts or
    365 via command-line switches to the <command>mozilla</command> binary.
    366 </para>
     329libraries and plugins. The various components such as the Composer,
     330mail-news client, calendar, <acronym>IRC</acronym> chat client and
     331address book can be accessed from the menu after <command>mozilla</command>
     332starts or via command-line switches to the <command>mozilla</command> script.
     333Issue <command>man mozilla</command> for additional information.</para>
    367334
    368335</sect2>
  • xsoft/other/thunderbird.xml

    r7ea0a8d5 rd1981e0  
    55  %general-entities;
    66
    7   <!ENTITY thunderbird-download-http     "http://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/&thunderbird-version;/thunderbird-source-&thunderbird-version;.tar.bz2">
    8   <!ENTITY thunderbird-download-ftp      "ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/&thunderbird-version;/thunderbird-source-&thunderbird-version;.tar.bz2">
    9   <!ENTITY thunderbird-size              "32.9 MB">
    10   <!ENTITY thunderbird-buildsize         "637 MB">
    11   <!ENTITY thunderbird-time              "13.05 SBU">
    12   <!ENTITY thunderbird-enigmail-version  "0.86.0">
    13   <!ENTITY thunderbird-ipc-version       "1.0.8">
     7  <!ENTITY thunderbird-download-http     "http://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/&thunderbird-version;/source/thunderbird-&thunderbird-version;-source.tar.bz2">
     8  <!ENTITY thunderbird-download-ftp      "ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/&thunderbird-version;/source/thunderbird-&thunderbird-version;-source.tar.bz2">
     9  <!ENTITY thunderbird-md5sum            "232ffe434fd65f5f0284a760d6e4ba2a">
     10  <!ENTITY thunderbird-size              "33 MB">
     11  <!ENTITY thunderbird-buildsize         "608 MB">
     12  <!ENTITY thunderbird-time              "12.38 SBU">
     13  <!ENTITY thunderbird-enigmail-version  "0.89.5">
     14  <!ENTITY thunderbird-ipc-version       "1.1.2">
    1415  <!ENTITY thunderbird-enigmail-download "http://downloads.mozdev.org/enigmail/src/enigmail-&thunderbird-enigmail-version;.tar.gz">
    1516  <!ENTITY thunderbird-ipc-download      "http://downloads.mozdev.org/enigmail/src/ipc-&thunderbird-ipc-version;.tar.gz">
    1617]>
    1718
    18 <sect1 id="thunderbird" xreflabel="MozillaThunderbird-&thunderbird-version;">
     19<sect1 id="thunderbird" xreflabel="Thunderbird-&thunderbird-version;">
    1920<sect1info>
    2021<othername>$LastChangedBy$</othername>
     
    2223</sect1info>
    2324<?dbhtml filename="thunderbird.html" ?>
    24 <title>MozillaThunderbird-&thunderbird-version;</title>
     25<title>Thunderbird-&thunderbird-version;</title>
    2526
    2627<sect2>
    27 <title>Introduction to <application>Mozilla Thunderbird</application></title>
     28<title>Introduction to <application>Thunderbird</application></title>
    2829
    29 <para><application>Mozilla Thunderbird</application> is a stand-alone
     30<para><application>Thunderbird</application> is a stand-alone
    3031mail/news client based on the <application>Mozilla</application>
    3132codebase.</para>
     
    3738<listitem><para>Download (FTP): <ulink
    3839url="&thunderbird-download-ftp;"/></para></listitem>
     40<listitem><para>Download MD5 sum: &thunderbird-md5sum;</para></listitem>
    3941<listitem><para>Download size: &thunderbird-size;</para></listitem>
    40 <listitem><para>Estimated Disk space required:
     42<listitem><para>Estimated disk space required:
    4143&thunderbird-buildsize;</para></listitem>
    4244<listitem><para>Estimated build time:
     
    4547
    4648<sect3><title>Additional downloads</title>
    47 <itemizedlist spacing="compact">
    48 <listitem><para>Required Patch: <ulink
    49 url="&patch-root;/thunderbird-&thunderbird-version;-freetype_fix-1.patch"/></para>
    50 </listitem></itemizedlist>
    5149
    5250<para>To enable the <application>Enigmail</application> extension to the
     
    6260</sect3>
    6361
    64 <sect3><title><application>Mozilla Thunderbird</application>
     62<sect3><title><application>Thunderbird</application>
    6563dependencies</title>
    6664<sect4><title>Required</title>
     
    7169
    7270<sect4><title>Recommended</title>
    73 <para><xref linkend="gnupg"/> (for <application>Enigmail</application>
     71<para><xref linkend="gnupg"/> (for the <application>Enigmail</application>
    7472extension)</para>
    7573</sect4>
     
    7977<xref linkend="unzip"/>,
    8078<xref linkend="gnome-vfs"/>,
    81 <xref linkend="mitkrb"/> or <xref linkend="heimdal"/>,
     79<xref linkend="libgnome"/>,
     80<xref linkend="mitkrb"/> or <xref linkend="heimdal"/>
     81(for the GSSAPI libraries),
    8282<xref linkend="doxygen"/>,
    8383<ulink url="http://xprint.mozdev.org/">Xprint</ulink>,
     
    9090
    9191<sect2>
    92 <title>Installation of <application>Mozilla Thunderbird</application></title>
     92<title>Installation of <application>Thunderbird</application></title>
    9393
    94 <!-- <warning>
    95 <para>The current source tarball uses CRLF line-ending (DOS Format). This causes
    96 problems during the compilation. Once you extract the tarball, convert the files
    97 to UNIX style line endings using <xref linkend="hd2u"/>.</para>
    98 <screen><userinput><command>find -type f -print0 | xargs -0 dos2unix -d2u</command></userinput></screen>
    99 </warning> -->
    100 
    101 <para>The configuration of <application>Mozilla Thunderbird</application> is
     94<para>The configuration of <application>Thunderbird</application> is
    10295very similar to <xref linkend="mozilla"/> and hence the options will not be
    10396discussed. Refer to the <xref linkend="mozilla"/> instructions for
    10497explanations and additional configuration information.</para>
    10598
    106 <note><para>There is a known issue with the imbedded help facility in the
    107 <application>Thunderbird</application> build. The <quote>Release Notes</quote>
    108 and <quote>Mozilla Thunderbird Help</quote> items in the drop down
    109 <quote>Help</quote> menu will not work. BLFS is working to resolve this
    110 issue.</para></note>
    111 
    112 <para>Compile <application>Mozilla Thunderbird</application> by
     99<para>Compile <application>Thunderbird</application> by
    113100running the following commands:</para>
    114101
    115 <screen><userinput><command>patch -Np1 -i ../thunderbird-&thunderbird-version;-freetype_fix-1.patch &amp;&amp;
    116 export MOZILLA_OFFICIAL="1" &amp;&amp;
     102<screen><userinput><command>export MOZILLA_OFFICIAL="1" &amp;&amp;
    117103export BUILD_OFFICIAL="1" &amp;&amp;
    118104export MOZ_THUNDERBIRD="1" &amp;&amp;
    119 ./configure --prefix=/opt/thunderbird-&thunderbird-version; \
     105./configure --prefix=/usr \
     106            --with-default-mozilla-five-home=/usr/lib/thunderbird-&thunderbird-version; \
    120107            --with-system-zlib \
    121108            --with-system-png \
     109            --enable-application=mail \
    122110            --enable-default-toolkit=gtk2 \
    123             --disable-ldap \
     111            --enable-extensions=wallet,spellcheck,xmlextras,webservices \
     112            --enable-crypto \
    124113            --enable-xft \
    125             --enable-crypto \
    126114            --enable-xinerama \
    127             --enable-single-profile \
    128             --enable-extensions=all \
    129             --disable-installer \
    130             --disable-tests \
    131             --disable-debug \
    132115            --enable-optimize \
    133             --disable-logging \
    134116            --enable-reorder \
    135117            --enable-strip \
     118            --enable-cpp-rtti \
     119            --enable-single-profile \
     120            --enable-necko-protocols=http,file,jar,viewsource,res,data \
     121            --enable-image-decoders=default,-xbm \
     122            --disable-freetype2 \
     123            --disable-accessibility \
     124            --disable-debug \
     125            --disable-tests \
     126            --disable-logging \
    136127            --disable-pedantic \
    137             --enable-cpp-rtti \
    138             --disable-profilesharing &amp;&amp;
     128            --disable-installer \
     129            --disable-profilesharing \
     130            --disable-mathml \
     131            --disable-oji \
     132            --disable-plugins \
     133            --disable-necko-disk-cache &amp;&amp;
    139134make</command></userinput></screen>
    140135
    141 <para>You may want to add the <option>--with-system-jpeg</option>
    142 switch to the <command>configure</command> script if you have
     136<para>You should add the <option>--with-system-jpeg</option> switch to the
     137<command>configure</command> script if you have
    143138<application>libjpeg</application> installed.</para>
    144139
     
    150145build/autoconf/make-makefile extensions/ipc extensions/enigmail &amp;&amp;
    151146make -C extensions/ipc &amp;&amp;
    152 make -C extensions/enigmail &amp;&amp;
    153 make -C extensions/enigmail/build xpi &amp;&amp;
    154 make -C extensions/enigmail/package xpi</command></userinput></screen>
     147make -C extensions/enigmail</command></userinput></screen>
    155148
    156149<para>Install <application>Thunderbird</application> by running the following
     
    158151
    159152<screen><userinput><command>make install &amp;&amp;
    160 install -d /opt/thunderbird-&thunderbird-version;/include/thunderbird-&thunderbird-version;/nss &amp;&amp;
     153install -d /usr/include/thunderbird-&thunderbird-version;/nss &amp;&amp;
    161154cp -Lf dist/private/nss/*.h dist/public/nss/*.h \
    162     /opt/thunderbird-&thunderbird-version;/include/thunderbird-&thunderbird-version;/nss &amp;&amp;
    163 chown -R root:root /opt/thunderbird-&thunderbird-version;/include/thunderbird-&thunderbird-version;/nss &amp;&amp;
    164 ln -sf /opt/thunderbird-&thunderbird-version;/bin/thunderbird \
    165     /usr/bin/MozillaThunderbird</command></userinput></screen>
     155    /usr/include/thunderbird-&thunderbird-version;/nss</command></userinput></screen>
    166156
    167 <para>If desired, install the <application>Enigmail</application> extension
    168 by running the following commands:</para>
     157<para>If you're installing the <application>Enigmail</application> extension,
     158issue the following commands:</para>
    169159
    170160<screen><userinput><command>make -C extensions/ipc install &amp;&amp;
     
    173163<para>To enable multi-user operation, execute the following:</para>
    174164
    175 <screen><userinput><command>cd /opt/thunderbird-&thunderbird-version;/lib/thunderbird-&thunderbird-version; &amp;&amp;
     165<screen><userinput><command>cd /usr/lib/thunderbird-&thunderbird-version; &amp;&amp;
    176166export LD_LIBRARY_PATH="$PWD" &amp;&amp;
    177167export MOZILLA_FIVE_HOME="$PWD" &amp;&amp;
     
    180170touch `find . -name *.rdf`</command></userinput></screen>
    181171
    182 <para>There are three overlay definitions which cause menu functionality and 
    183 display problems. Remove these definitions with the following commands:</para>
    184 
    185 <screen><userinput><command>export CHROME_PATH="/opt/thunderbird-&thunderbird-version;/lib/thunderbird-&thunderbird-version;/chrome" &amp;&amp;
    186 sed -i.orig -e "/cookieContextOverlay/d" \
    187     $CHROME_PATH/overlayinfo/messenger/content/overlays.rdf &amp;&amp;
    188 sed -i.orig -e "/cookieContextOverlay/d" -e "/helpMenuOverlay/d" \
    189     $CHROME_PATH/overlayinfo/communicator/content/overlays.rdf &amp;&amp;
    190 unset CHROME_PATH LD_LIBRARY_PATH MOZILLA_FIVE_HOME \
    191     MOZILLA_OFFICIAL BUILD_OFFICIAL MOZ_THUNDERBIRD</command></userinput></screen>
    192 
    193 <note><para>You should run
    194 <command>/opt/thunderbird-&thunderbird-version;/bin/thunderbird</command>
    195 once as the root user (or any user with write privileges) to
    196 create some necessary additional files in the
    197 <filename class='directory'>/opt/thunderbird-&thunderbird-version;</filename>
     172<note><para>You should run <command>/usr/bin/thunderbird</command> once as
     173the root user (or any user with write privileges) to create some necessary
     174additional files in the <filename class='directory'>/usr</filename>
    198175hierarchy.</para></note>
    199176
Note: See TracChangeset for help on using the changeset viewer.