[16998db6] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[16998db6] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[e2ae0e7] | 7 | <!ENTITY thunderbird-download-http
|
---|
| 8 | "http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/&thunderbird-version;/source/thunderbird-&thunderbird-version;.source.tar.bz2">
|
---|
| 9 | <!ENTITY thunderbird-download-ftp
|
---|
| 10 | "ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/&thunderbird-version;/source/thunderbird-&thunderbird-version;.source.tar.bz2">
|
---|
[d41c02b] | 11 | <!ENTITY thunderbird-md5sum "1d7127a3282e62d95eb9b59d47291b70">
|
---|
| 12 | <!ENTITY thunderbird-size "97 MB">
|
---|
[02d3b95] | 13 | <!ENTITY thunderbird-buildsize "3 GB (46 MB installed)">
|
---|
| 14 | <!ENTITY thunderbird-time "26 SBU">
|
---|
[adb388a] | 15 |
|
---|
[16998db6] | 16 | ]>
|
---|
| 17 |
|
---|
[d1981e0] | 18 | <sect1 id="thunderbird" xreflabel="Thunderbird-&thunderbird-version;">
|
---|
[1c5e617] | 19 | <?dbhtml filename="thunderbird.html" ?>
|
---|
| 20 |
|
---|
| 21 | <sect1info>
|
---|
| 22 | <othername>$LastChangedBy$</othername>
|
---|
[55329727] | 23 | <date>$Date$</date>
|
---|
[1c5e617] | 24 | </sect1info>
|
---|
| 25 |
|
---|
| 26 | <title>Thunderbird-&thunderbird-version;</title>
|
---|
| 27 |
|
---|
| 28 | <indexterm zone="thunderbird">
|
---|
| 29 | <primary sortas="a-Thunderbird">Thunderbird</primary>
|
---|
| 30 | </indexterm>
|
---|
| 31 |
|
---|
| 32 | <sect2 role="package">
|
---|
| 33 | <title>Introduction to Thunderbird</title>
|
---|
| 34 |
|
---|
[d41c02b] | 35 | <para>
|
---|
| 36 | <application>Thunderbird</application> is a stand-alone mail/news client
|
---|
| 37 | based on the <application>Mozilla</application> codebase.
|
---|
| 38 | </para>
|
---|
[b9b1a372] | 39 |
|
---|
[4c77a949] | 40 | &lfs71_checked;
|
---|
[1c5e617] | 41 |
|
---|
| 42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 43 | <itemizedlist spacing="compact">
|
---|
| 44 | <listitem>
|
---|
[d41c02b] | 45 | <para>
|
---|
| 46 | Download (HTTP): <ulink url="&thunderbird-download-http;"/>
|
---|
| 47 | </para>
|
---|
[1c5e617] | 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
[d41c02b] | 50 | <para>
|
---|
| 51 | Download (FTP): <ulink url="&thunderbird-download-ftp;"/>
|
---|
| 52 | </para>
|
---|
[1c5e617] | 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
[d41c02b] | 55 | <para>
|
---|
| 56 | Download MD5 sum: &thunderbird-md5sum;
|
---|
| 57 | </para>
|
---|
[1c5e617] | 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
[d41c02b] | 60 | <para>
|
---|
| 61 | Download size: &thunderbird-size;
|
---|
| 62 | </para>
|
---|
[1c5e617] | 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
[d41c02b] | 65 | <para>
|
---|
| 66 | Estimated disk space required: &thunderbird-buildsize;
|
---|
| 67 | </para>
|
---|
[1c5e617] | 68 | </listitem>
|
---|
| 69 | <listitem>
|
---|
[d41c02b] | 70 | <para>
|
---|
| 71 | Estimated build time: &thunderbird-time;
|
---|
| 72 | </para>
|
---|
[1c5e617] | 73 | </listitem>
|
---|
| 74 | </itemizedlist>
|
---|
| 75 |
|
---|
[6a85e102] | 76 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 77 | <itemizedlist spacing="compact">
|
---|
| 78 | <listitem>
|
---|
| 79 | <para>
|
---|
| 80 | Required patch:
|
---|
[69d9406d] | 81 | <ulink url="&patch-root;/thunderbird-&thunderbird-version;_gcc-4.7-1.patch"/>
|
---|
[6a85e102] | 82 | </para>
|
---|
| 83 | </listitem>
|
---|
| 84 | </itemizedlist>
|
---|
| 85 |
|
---|
[1c5e617] | 86 | <bridgehead renderas="sect3">Thunderbird Dependencies</bridgehead>
|
---|
| 87 |
|
---|
| 88 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[d41c02b] | 89 | <para role="required">
|
---|
| 90 | <xref linkend="alsa-lib"/>,
|
---|
| 91 | <xref linkend="gtk2"/>,
|
---|
| 92 | <xref linkend="zip"/> and
|
---|
| 93 | <xref linkend="unzip"/>
|
---|
| 94 | </para>
|
---|
| 95 |
|
---|
| 96 | <para>
|
---|
| 97 | Note: <application>libjpeg</application> and
|
---|
| 98 | <application>libpng</application> (patched for apng support) should have
|
---|
| 99 | been installed before <application>gdk-pixbuf</application> and should
|
---|
| 100 | exist on your system. If for some strange reason you haven't installed
|
---|
| 101 | them, you should remove the <option>--with-system-jpeg</option> and
|
---|
| 102 | <option>--with-system-png</option> options from the
|
---|
| 103 | <filename>mozconfig</filename> file created below.
|
---|
| 104 | </para>
|
---|
[1c5e617] | 105 |
|
---|
| 106 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[d41c02b] | 107 | <para role="optional">
|
---|
| 108 | <xref linkend="dbus-glib"/>,
|
---|
| 109 | <xref linkend="doxygen"/>,
|
---|
| 110 | <xref linkend="gnome-vfs"/> and <xref linkend="libgnomeui"/>
|
---|
| 111 | (for integration with the old version of <application>Gnome</application>),
|
---|
| 112 | <xref linkend="libnotify"/>,
|
---|
| 113 | <xref linkend="nss"/>,
|
---|
| 114 | <xref linkend="nspr"/>,
|
---|
| 115 | <xref linkend="startup-notification"/>,
|
---|
| 116 | <xref linkend="sqlite"/>,
|
---|
| 117 | <xref linkend="yasm"/> (or <xref linkend="libvpx"/>),
|
---|
| 118 | <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>,
|
---|
| 119 | <ulink url="http://libevent.org/">Libevent</ulink>,
|
---|
| 120 | <ulink url="http://www.valgrind.org/">Valgrind</ulink> (only for testing
|
---|
| 121 | the jemalloc code) and
|
---|
| 122 | <xref linkend="wget"/>
|
---|
| 123 | </para>
|
---|
| 124 |
|
---|
| 125 | <para condition="html" role="usernotes">
|
---|
| 126 | User Notes: <ulink url="&blfs-wiki;/Thunderbird"/>
|
---|
| 127 | </para>
|
---|
[1c5e617] | 128 | </sect2>
|
---|
| 129 |
|
---|
| 130 | <sect2 role="installation">
|
---|
| 131 | <title>Installation of Thunderbird</title>
|
---|
| 132 |
|
---|
[d41c02b] | 133 | <para>
|
---|
| 134 | The configuration of <application>Thunderbird</application> is
|
---|
| 135 | accomplished by creating a <filename>mozconfig</filename> file containing
|
---|
| 136 | the desired configuration options. A default
|
---|
| 137 | <filename>mozconfig</filename> is created below. To see the entire list of
|
---|
| 138 | available configuration options (and a brief description of each), issue
|
---|
| 139 | <command>./configure --help</command>. Create the file with the following
|
---|
| 140 | command:
|
---|
| 141 | </para>
|
---|
[adb388a] | 142 |
|
---|
[0adc5d50] | 143 | <screen><userinput>cat > mozconfig << "EOF"
|
---|
[b9b1a372] | 144 | # If you have a multicore machine you can speed up the build by running
|
---|
| 145 | # several jobs at once, but if you have a single core, delete this line:
|
---|
| 146 | mk_add_options MOZ_MAKE_FLAGS="-j4"
|
---|
[9671f10] | 147 |
|
---|
[b9b1a372] | 148 | # If you have installed Yasm delete this option:
|
---|
| 149 | ac_add_options --disable-webm
|
---|
[9671f10] | 150 |
|
---|
[b9b1a372] | 151 | # If you have installed DBus-Glib delete this option:
|
---|
[f207d239] | 152 | ac_add_options --disable-dbus
|
---|
| 153 |
|
---|
[b9b1a372] | 154 | # If you have installed wireless-tools delete this option:
|
---|
[9671f10] | 155 | ac_add_options --disable-necko-wifi
|
---|
| 156 |
|
---|
[b9b1a372] | 157 | # If you have installed libnotify delete this option:
|
---|
[9671f10] | 158 | ac_add_options --disable-libnotify
|
---|
| 159 |
|
---|
[02d3b95] | 160 | # Uncomment these if you have installed them:
|
---|
[b9b1a372] | 161 | # ac_add_options --with-system-nspr
|
---|
| 162 | # ac_add_options --with-system-nss
|
---|
| 163 | # ac_add_options --enable-system-sqlite
|
---|
| 164 | # ac_add_options --with-system-libvpx
|
---|
| 165 | # ac_add_options --enable-startup-notification
|
---|
[a0ace670] | 166 | # ac_add_options --enable-system-hunspell
|
---|
[7133ec2] | 167 | # ac_add_options --with-system-libevent
|
---|
[f207d239] | 168 |
|
---|
[b9b1a372] | 169 | mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/thunderbuild
|
---|
[f207d239] | 170 | ac_add_options --enable-official-branding
|
---|
[a0ace670] | 171 | ac_add_options --with-pthreads
|
---|
[b9b1a372] | 172 | ac_add_options --enable-system-ffi
|
---|
[a0ace670] | 173 | ac_add_options --with-system-jpeg
|
---|
| 174 | ac_add_options --with-system-png
|
---|
[b9b1a372] | 175 | ac_add_options --enable-system-cairo
|
---|
[a0ace670] | 176 | ac_add_options --with-system-zlib
|
---|
[b9b1a372] | 177 | ac_add_options --enable-shared
|
---|
| 178 | ac_add_options --disable-static
|
---|
| 179 | ac_add_options --disable-debug
|
---|
| 180 | ac_add_options --disable-crashreporter
|
---|
| 181 | ac_add_options --disable-installer
|
---|
| 182 | ac_add_options --disable-updater
|
---|
| 183 | ac_add_options --disable-tests
|
---|
[adb388a] | 184 | EOF</userinput></screen>
|
---|
| 185 |
|
---|
[d41c02b] | 186 | <para>
|
---|
| 187 | Compile <application>Thunderbird</application> by issuing the following
|
---|
| 188 | commands:
|
---|
| 189 | </para>
|
---|
[adb388a] | 190 |
|
---|
[69d9406d] | 191 | <screen><userinput>patch -p1 < ../thunderbird-&thunderbird-version;_gcc-4.7-1.patch &&
|
---|
[6a85e102] | 192 | sed -i 's#VPX_CODEC_USE_INPUT_PARTITION#VPX_CODEC_USE_INPUT_FRAGMENTS#' \
|
---|
[0adc5d50] | 193 | mozilla/configure &&
|
---|
| 194 | make -f client.mk &&
|
---|
[b9b1a372] | 195 | make -C thunderbuild/mail/installer</userinput></screen>
|
---|
[99a80f7] | 196 |
|
---|
[d41c02b] | 197 | <para>
|
---|
| 198 | This package does not come with a test suite.
|
---|
| 199 | </para>
|
---|
[bc6cf88] | 200 |
|
---|
[d41c02b] | 201 | <para>
|
---|
| 202 | Install <application>Thunderbird</application> by running the following
|
---|
| 203 | commands as the <systemitem class="username">root</systemitem> user:
|
---|
| 204 | </para>
|
---|
[99a80f7] | 205 |
|
---|
[0adc5d50] | 206 | <screen role="root"><userinput>mkdir -p /usr/lib/thunderbird-&thunderbird-version; &&
|
---|
[4b797c45] | 207 | tar xf thunderbuild/mozilla/dist/thunderbird-*.tar.bz2 -C /usr/lib/thunderbird-&thunderbird-version; --strip-components=1 &&
|
---|
[02d3b95] | 208 | ln -s ../lib/thunderbird-&thunderbird-version;/thunderbird /usr/bin/thunderbird</userinput></screen>
|
---|
[dfff7ace] | 209 | </sect2>
|
---|
| 210 |
|
---|
| 211 | <sect2 role="commands">
|
---|
| 212 | <title>Command Explanations</title>
|
---|
| 213 |
|
---|
[d41c02b] | 214 | <para>
|
---|
| 215 | <command>sed -i 's#VPX_CODEC_USE_INPUT_PARTITION ...</command>: This fixes
|
---|
| 216 | mozilla's <command>configure</command> script to properly detect
|
---|
| 217 | <xref linkend="libvpx"/>. This sed is not needed if you have libvpx-v0.9.7
|
---|
| 218 | or earlier installed or if you've not installed
|
---|
| 219 | <application>Libvpx</application>.
|
---|
| 220 | </para>
|
---|
| 221 |
|
---|
| 222 | <para>
|
---|
| 223 | <command>make -f client.mk</command>: Mozilla products are packaged to
|
---|
| 224 | allow the use of a configuration file which can be used to pass the
|
---|
| 225 | configuration settings to the <command>configure</command> command.
|
---|
| 226 | <command>make</command> uses the <filename>client.mk</filename> file to
|
---|
| 227 | get initial configuration and setup parameters.
|
---|
| 228 | </para>
|
---|
| 229 |
|
---|
| 230 | <para>
|
---|
| 231 | <command>make -C thunderbuild/mail/installer</command>: this runs make in
|
---|
| 232 | the <filename class="directory">thunderbuild/mail/installer</filename>
|
---|
| 233 | folder. This gathers together all the parts of
|
---|
| 234 | <application>Thunderbird</application> and compresses them into a tarball.
|
---|
| 235 | </para>
|
---|
| 236 |
|
---|
| 237 | <para>
|
---|
| 238 | <command>tar -xfv thunderbuild/mozilla/dist ...</command>: This untars
|
---|
| 239 | <application>Thunderbird</application>, the <option>-C</option> option
|
---|
| 240 | uncompresses the files in
|
---|
| 241 | <filename class="directory">/usr/lib/thunderbird-&thunderbird-version;</filename>.
|
---|
| 242 | The <option>--strip-components=1</option> option removes the leading
|
---|
| 243 | 'thunderbird' directory from the filenames, allowing us to untar it into a
|
---|
| 244 | versioned directory.
|
---|
| 245 | </para>
|
---|
[b0ddfae5] | 246 | </sect2>
|
---|
| 247 |
|
---|
| 248 | <sect2 role="configuration">
|
---|
| 249 | <title>Configuring Thunderbird</title>
|
---|
| 250 |
|
---|
| 251 | <sect3><title>Configuration Information</title>
|
---|
| 252 |
|
---|
[d41c02b] | 253 | <para>
|
---|
| 254 | If your Window or Desktop Manager does not allow you to configure a
|
---|
| 255 | default browser, you can add a configuration parameter to
|
---|
| 256 | <application>Thunderbird</application> so that a browser will start when
|
---|
| 257 | when you click on an Internet/intranet/local URL. The procedure to check
|
---|
| 258 | or modify any of the configuration parameters is quite simple and the
|
---|
| 259 | instructions here can be used to view or modify any of the parameters.
|
---|
| 260 | </para>
|
---|
| 261 |
|
---|
| 262 | <para>
|
---|
| 263 | First, open the configuration dialog by opening the <quote>Edit</quote>
|
---|
| 264 | drop-down menu. Choose <quote>Preferences</quote> and then click on the
|
---|
| 265 | <quote>Advanced</quote> icon on the top menu bar. Choose the
|
---|
| 266 | <quote>General</quote> tab and click on the <quote>Config Editor</quote>
|
---|
| 267 | button. This will display a list of the configuration preferences and
|
---|
| 268 | information related to each one. You can use the <quote>Filter:</quote>
|
---|
| 269 | bar to enter search criteria and narrow down the listed items. Changing
|
---|
| 270 | a preference can be done using two methods. One, if the preference has a
|
---|
| 271 | boolean value (True/False), simply double-click on the preference to
|
---|
| 272 | toggle the value and two, for other preferences simply right-click on
|
---|
| 273 | the desired line, choose <quote>Modify</quote> from the menu and change
|
---|
| 274 | the value. Creating new preference items is accomplished in the same
|
---|
| 275 | way, except choose <quote>New</quote> from the menu and provide the
|
---|
| 276 | desired data into the fields when prompted.
|
---|
| 277 | </para>
|
---|
| 278 |
|
---|
| 279 | <para>
|
---|
| 280 | The configuration preference item you need to check so that
|
---|
| 281 | <application>Thunderbird</application> uses a specified browser is the
|
---|
| 282 | <parameter>network.protocol-handler.app.http</parameter> which should be
|
---|
| 283 | set to the path of the desired browser, e.g.
|
---|
| 284 | <option>/usr/bin/firefox</option>.
|
---|
| 285 | </para>
|
---|
[adb388a] | 286 |
|
---|
| 287 | <tip>
|
---|
[d41c02b] | 288 | <para>
|
---|
| 289 | There is a multitude of configuration parameters you can tweak to
|
---|
| 290 | customize <application>Thunderbird</application>. A very extensive, but
|
---|
| 291 | not so up-to-date list of these parameters can be found at
|
---|
| 292 | <ulink url="http://preferential.mozdev.org/preferences.html"/>.
|
---|
| 293 | </para>
|
---|
[adb388a] | 294 | </tip>
|
---|
[ff749e38] | 295 |
|
---|
[d41c02b] | 296 | <para>
|
---|
| 297 | If you use a desktop environment like <application>Gnome</application> or
|
---|
| 298 | <application>KDE</application> you may wish to create a
|
---|
| 299 | <filename>thunderbird.desktop</filename> file so that
|
---|
| 300 | <application>Thunderbird</application> appears in the panel's menus. If
|
---|
| 301 | you didn't enable startup-notification in your mozconfig change the
|
---|
| 302 | StartupNotify line to false. As the
|
---|
| 303 | <systemitem class="username">root</systemitem> user:
|
---|
| 304 | </para>
|
---|
[ff749e38] | 305 |
|
---|
| 306 | <screen role="root"><userinput>cat > /usr/share/applications/thunderbird.desktop << "EOF"
|
---|
| 307 | [Desktop Entry]
|
---|
| 308 | Encoding=UTF-8
|
---|
| 309 | Type=Application
|
---|
| 310 | Name=Thunderbird
|
---|
| 311 | Comment=Fetch Your Email
|
---|
| 312 | Icon=thunderbird
|
---|
| 313 | Exec=thunderbird
|
---|
[5e2fb70] | 314 | Categories=Network;GTK;Application;Email;News;
|
---|
[ff749e38] | 315 | StartupNotify=true
|
---|
| 316 | Terminal=false
|
---|
| 317 | EOF
|
---|
[0adc5d50] | 318 | ln -sv -f /usr/lib/thunderbird-&thunderbird-version;/chrome/icons/default/default256.png \
|
---|
| 319 | /usr/share/pixmaps/thunderbird.png</userinput></screen>
|
---|
[b0ddfae5] | 320 | </sect3>
|
---|
[1c5e617] | 321 | </sect2>
|
---|
| 322 |
|
---|
| 323 | <sect2 role="content">
|
---|
| 324 | <title>Contents</title>
|
---|
| 325 |
|
---|
| 326 | <segmentedlist>
|
---|
[b0ddfae5] | 327 | <segtitle>Installed Programs</segtitle>
|
---|
[1c5e617] | 328 | <segtitle>Installed Libraries</segtitle>
|
---|
| 329 | <segtitle>Installed Directories</segtitle>
|
---|
| 330 |
|
---|
| 331 | <seglistitem>
|
---|
[9671f10] | 332 | <seg>thunderbird</seg>
|
---|
[d41c02b] | 333 | <seg>
|
---|
| 334 | Numerous libraries, email/newsgroups components, plugins, extensions,
|
---|
| 335 | and helper modules installed in <filename
|
---|
| 336 | class="directory">/usr/lib/thunderbird-&thunderbird-version;</filename>
|
---|
[1c5e617] | 337 | </seg>
|
---|
[02d3b95] | 338 | <seg>/usr/lib/thunderbird-&thunderbird-version;</seg>
|
---|
[1c5e617] | 339 | </seglistitem>
|
---|
| 340 | </segmentedlist>
|
---|
| 341 |
|
---|
| 342 | <variablelist>
|
---|
| 343 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 344 | <?dbfo list-presentation="list"?>
|
---|
| 345 | <?dbhtml list-presentation="table"?>
|
---|
| 346 |
|
---|
| 347 | <varlistentry id="thunderbird-prog">
|
---|
| 348 | <term><command>thunderbird</command></term>
|
---|
| 349 | <listitem>
|
---|
[d41c02b] | 350 | <para>
|
---|
| 351 | is <application>Mozilla</application>'s next-generation email and
|
---|
| 352 | newsgroup client.
|
---|
| 353 | </para>
|
---|
[1c5e617] | 354 | <indexterm zone="thunderbird thunderbird-prog">
|
---|
| 355 | <primary sortas="b-thunderbird">thunderbird</primary>
|
---|
| 356 | </indexterm>
|
---|
| 357 | </listitem>
|
---|
| 358 | </varlistentry>
|
---|
| 359 | </variablelist>
|
---|
| 360 | </sect2>
|
---|
[167dc1dc] | 361 | </sect1>
|
---|