1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY thunderbird-download-http
|
---|
8 | "http://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/&thunderbird-version;/source/thunderbird-&thunderbird-version;.source.tar.bz2">
|
---|
9 | <!ENTITY thunderbird-download-ftp
|
---|
10 | "&mozilla-ftp;/thunderbird/releases/&thunderbird-version;/source/thunderbird-&thunderbird-version;.source.tar.bz2">
|
---|
11 | <!ENTITY thunderbird-md5sum "92a36f2e4916529c1226aa283dc160a6">
|
---|
12 | <!ENTITY thunderbird-size "163 MB">
|
---|
13 | <!ENTITY thunderbird-buildsize "4.6 GB (62 MB installed)">
|
---|
14 | <!ENTITY thunderbird-time "50 SBU">
|
---|
15 | ]>
|
---|
16 |
|
---|
17 | <sect1 id="thunderbird" xreflabel="Thunderbird-&thunderbird-version;">
|
---|
18 | <?dbhtml filename="thunderbird.html" ?>
|
---|
19 |
|
---|
20 | <sect1info>
|
---|
21 | <othername>$LastChangedBy$</othername>
|
---|
22 | <date>$Date$</date>
|
---|
23 | </sect1info>
|
---|
24 |
|
---|
25 | <title>Thunderbird-&thunderbird-version;</title>
|
---|
26 |
|
---|
27 | <indexterm zone="thunderbird">
|
---|
28 | <primary sortas="a-Thunderbird">Thunderbird</primary>
|
---|
29 | </indexterm>
|
---|
30 |
|
---|
31 | <sect2 role="package">
|
---|
32 | <title>Introduction to Thunderbird</title>
|
---|
33 |
|
---|
34 | <para>
|
---|
35 | <application>Thunderbird</application> is a stand-alone mail/news client
|
---|
36 | based on the <application>Mozilla</application> codebase. It uses the
|
---|
37 | Gecko rendering engine to enable it to display and compose HTML emails.
|
---|
38 | </para>
|
---|
39 |
|
---|
40 | &lfs76_checked;
|
---|
41 |
|
---|
42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
43 | <itemizedlist spacing="compact">
|
---|
44 | <listitem>
|
---|
45 | <para>
|
---|
46 | Download (HTTP): <ulink url="&thunderbird-download-http;"/>
|
---|
47 | </para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>
|
---|
51 | Download (FTP): <ulink url="&thunderbird-download-ftp;"/>
|
---|
52 | </para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>
|
---|
56 | Download MD5 sum: &thunderbird-md5sum;
|
---|
57 | </para>
|
---|
58 | </listitem>
|
---|
59 | <listitem>
|
---|
60 | <para>
|
---|
61 | Download size: &thunderbird-size;
|
---|
62 | </para>
|
---|
63 | </listitem>
|
---|
64 | <listitem>
|
---|
65 | <para>
|
---|
66 | Estimated disk space required: &thunderbird-buildsize;
|
---|
67 | </para>
|
---|
68 | </listitem>
|
---|
69 | <listitem>
|
---|
70 | <para>
|
---|
71 | Estimated build time: &thunderbird-time;
|
---|
72 | </para>
|
---|
73 | </listitem>
|
---|
74 | </itemizedlist>
|
---|
75 |
|
---|
76 | <bridgehead renderas="sect3">Thunderbird Dependencies</bridgehead>
|
---|
77 |
|
---|
78 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
79 | <para role="required">
|
---|
80 | <xref linkend="alsa-lib"/>,
|
---|
81 | <xref linkend="gtk2"/>,
|
---|
82 | <xref linkend="zip"/> and
|
---|
83 | <xref linkend="unzip"/>
|
---|
84 | </para>
|
---|
85 |
|
---|
86 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
87 | <para role="recommended">
|
---|
88 | <xref linkend="libevent"/>,
|
---|
89 | <xref linkend="libvpx"/>,
|
---|
90 | <xref linkend="nspr"/>,
|
---|
91 | <xref linkend="nss"/>,
|
---|
92 | <xref linkend="sqlite"/> and
|
---|
93 | <xref linkend="yasm"/>
|
---|
94 | </para>
|
---|
95 |
|
---|
96 | <note>
|
---|
97 | <para>
|
---|
98 | If you don't install recommended dependencies,
|
---|
99 | then internal copies of those packages will
|
---|
100 | be used. They might be tested to work, but
|
---|
101 | they can be out of date or contain security
|
---|
102 | holes.
|
---|
103 | </para>
|
---|
104 | </note>
|
---|
105 |
|
---|
106 | <note>
|
---|
107 | <para>
|
---|
108 | With <application>Thunderbird-31.0</application> and later versions, you
|
---|
109 | must have installed <application>Openssl</application> before
|
---|
110 | <application>Python 2</application>, or the build system will quickly
|
---|
111 | fail with output including "ImportError: cannot import name
|
---|
112 | HTTPSHandler". If you are in any doubt about this (e.g. upgrading
|
---|
113 | from an older version of Thunderbird), check if
|
---|
114 | <filename>/usr/lib/python2.7/lib-dynload/_ssl.so</filename> exists.
|
---|
115 | If it does not, reinstall <xref linkend="python2"/> (after
|
---|
116 | installing <xref linkend="openssl"/> - the latest version of any
|
---|
117 | <emphasis>currently maintained</emphasis> version of Openssl should
|
---|
118 | be satisfactory if already installed - if that package has not already
|
---|
119 | been installed).
|
---|
120 | </para>
|
---|
121 | </note>
|
---|
122 |
|
---|
123 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
124 | <para role="optional">
|
---|
125 | <xref linkend="curl"/>,
|
---|
126 | <xref linkend="cyrus-sasl"/>,
|
---|
127 | <xref linkend="dbus-glib"/>,
|
---|
128 | <xref linkend="doxygen"/>,
|
---|
129 | <xref linkend="gst-plugins-good"/> and
|
---|
130 | <xref linkend="gst-ffmpeg"/>,
|
---|
131 | <xref linkend="libnotify"/>,
|
---|
132 | <xref linkend="openjdk"/>,
|
---|
133 | <xref linkend="pulseaudio"/>,
|
---|
134 | <xref linkend="startup-notification"/>,
|
---|
135 | <xref linkend="wget"/>,
|
---|
136 | <xref linkend="wireless_tools"/>, and
|
---|
137 | <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>
|
---|
138 | </para>
|
---|
139 |
|
---|
140 | <para condition="html" role="usernotes">
|
---|
141 | User Notes: <ulink url="&blfs-wiki;/Thunderbird"/>
|
---|
142 | </para>
|
---|
143 | </sect2>
|
---|
144 |
|
---|
145 | <sect2 role="installation">
|
---|
146 | <title>Installation of Thunderbird</title>
|
---|
147 |
|
---|
148 | <para>
|
---|
149 | The configuration of <application>Thunderbird</application> is
|
---|
150 | accomplished by creating a <filename>mozconfig</filename> file containing
|
---|
151 | the desired configuration options. A default
|
---|
152 | <filename>mozconfig</filename> is created below. To see the entire list
|
---|
153 | of available configuration options (and a brief description of each),
|
---|
154 | issue <command>mozilla/configure --help</command>. Create the file with
|
---|
155 | the following command:
|
---|
156 | </para>
|
---|
157 |
|
---|
158 | <screen><userinput>cat > mozconfig << "EOF"
|
---|
159 | <literal># If you have a multicore machine, the build may be faster if using parallel
|
---|
160 | # jobs. The build system automatically adds -jN to the "make" flags, where N
|
---|
161 | # is the number of CPU cores. The option below is therefore useless, unless
|
---|
162 | # you want to use a smaller number of jobs:
|
---|
163 | #mk_add_options MOZ_MAKE_FLAGS="-j1"
|
---|
164 |
|
---|
165 | # If you have installed DBus-Glib comment out this line:
|
---|
166 | ac_add_options --disable-dbus
|
---|
167 |
|
---|
168 | # If you have installed wireless-tools comment out this line:
|
---|
169 | ac_add_options --disable-necko-wifi
|
---|
170 |
|
---|
171 | # If you have installed libnotify comment out this line:
|
---|
172 | ac_add_options --disable-libnotify
|
---|
173 |
|
---|
174 | # GStreamer is necessary for H.264 video playback in HTML5 Video Player;
|
---|
175 | # to be enabled, also remember to set "media.gstreamer.enabled" to "true"
|
---|
176 | # in about:config. If you have installed GStreamer comment out this line:
|
---|
177 | ac_add_options --disable-gstreamer
|
---|
178 |
|
---|
179 | # Uncomment these lines if you have installed optional dependencies:
|
---|
180 | #ac_add_options --enable-system-hunspell
|
---|
181 | #ac_add_options --enable-startup-notification
|
---|
182 |
|
---|
183 | # Comment out following option if you have PulseAudio installed
|
---|
184 | ac_add_options --disable-pulseaudio
|
---|
185 |
|
---|
186 | # If you have not installed Yasm then uncomment this line:
|
---|
187 | #ac_add_options --disable-webm
|
---|
188 |
|
---|
189 | # If you want to compile the Mozilla Calendar, uncomment this line:
|
---|
190 | #ac_add_options --enable-calendar
|
---|
191 |
|
---|
192 | # Comment out following options if you have not installed
|
---|
193 | # recommended dependencies:
|
---|
194 | ac_add_options --enable-system-sqlite
|
---|
195 | ac_add_options --with-system-libevent
|
---|
196 | ac_add_options --with-system-libvpx
|
---|
197 | ac_add_options --with-system-nspr
|
---|
198 | ac_add_options --with-system-nss
|
---|
199 | ac_add_options --with-system-icu
|
---|
200 |
|
---|
201 | # The BLFS editors recommend not changing anything below this line:
|
---|
202 | ac_add_options --prefix=/usr
|
---|
203 |
|
---|
204 | ac_add_options --disable-crashreporter
|
---|
205 | ac_add_options --disable-installer
|
---|
206 | ac_add_options --disable-updater
|
---|
207 | ac_add_options --disable-debug
|
---|
208 | ac_add_options --disable-tests
|
---|
209 |
|
---|
210 | ac_add_options --enable-optimize
|
---|
211 | ac_add_options --enable-strip
|
---|
212 | ac_add_options --enable-install-strip
|
---|
213 |
|
---|
214 | ac_add_options --enable-gio
|
---|
215 | ac_add_options --enable-official-branding
|
---|
216 | ac_add_options --enable-safe-browsing
|
---|
217 | ac_add_options --enable-url-classifier
|
---|
218 |
|
---|
219 | ac_add_options --enable-system-cairo
|
---|
220 | ac_add_options --enable-system-ffi
|
---|
221 | ac_add_options --enable-system-pixman
|
---|
222 |
|
---|
223 | ac_add_options --with-pthreads
|
---|
224 |
|
---|
225 | ac_add_options --with-system-bz2
|
---|
226 | ac_add_options --with-system-jpeg
|
---|
227 | ac_add_options --with-system-png
|
---|
228 | ac_add_options --with-system-zlib
|
---|
229 |
|
---|
230 | mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/thunderbuild</literal>
|
---|
231 | EOF</userinput></screen>
|
---|
232 |
|
---|
233 | <para>
|
---|
234 | First, a bug needs to be fixed. Notice that thunderbuild needs to match
|
---|
235 | the value used in mozconfig (above) for the object directory (MOZ_OBJDIR):
|
---|
236 | </para>
|
---|
237 |
|
---|
238 | <screen><userinput>mkdir -vp mozilla/thunderbuild</userinput></screen>
|
---|
239 |
|
---|
240 | <para>
|
---|
241 | Compile <application>Thunderbird</application> by issuing the following
|
---|
242 | commands:
|
---|
243 | </para>
|
---|
244 |
|
---|
245 | <note><para>
|
---|
246 | If you are compiling <application>Thunderbird</application> in chroot,
|
---|
247 | prepend <envar>SHELL=/bin/sh</envar> to the <!--first -->make command below.
|
---|
248 | </para></note>
|
---|
249 |
|
---|
250 | <screen><userinput>make -f client.mk<!--
|
---|
251 | make -C thunderbuild/mail/installer--></userinput></screen>
|
---|
252 |
|
---|
253 | <para>
|
---|
254 | This package does not come with a test suite.
|
---|
255 | </para>
|
---|
256 |
|
---|
257 | <para>
|
---|
258 | Install <application>Thunderbird</application> by running the following
|
---|
259 | commands as the <systemitem class="username">root</systemitem> user:
|
---|
260 | </para>
|
---|
261 |
|
---|
262 | <!--<screen role="root"><userinput>mkdir -pv /usr/lib/thunderbird-&thunderbird-version; &&
|
---|
263 | tar -xvf thunderbuild/mozilla/dist/thunderbird-&thunderbird-version;.en-US.linux-$(uname -m).tar.bz2 \
|
---|
264 | -C /usr/lib/thunderbird-&thunderbird-version; -\-strip-components=1 &&
|
---|
265 | ln -sfv ../lib/thunderbird-&thunderbird-version;/thunderbird /usr/bin</userinput></screen>-->
|
---|
266 |
|
---|
267 | <screen role="root"><userinput>make -f client.mk install INSTALL_SDK=</userinput></screen>
|
---|
268 |
|
---|
269 | <para>
|
---|
270 | The above instruction just installs the parts you need to run
|
---|
271 | <application>Thunderbird</application>. Alternatively, if you want to
|
---|
272 | install the full <application>Thunderbird</application> development
|
---|
273 | environment, run the following command as the
|
---|
274 | <systemitem class="username">root</systemitem> user:
|
---|
275 | </para>
|
---|
276 |
|
---|
277 | <screen role="root"><userinput>make -C thunderbuild install</userinput></screen>
|
---|
278 | </sect2>
|
---|
279 |
|
---|
280 | <sect2 role="commands">
|
---|
281 | <title>Command Explanations</title>
|
---|
282 |
|
---|
283 | <para>
|
---|
284 | <command>mkdir -vp mozilla/thunderbuild</command>: fixes a build failure
|
---|
285 | of Makefile at the beginning of build, where a file cannot be found.
|
---|
286 | </para>
|
---|
287 |
|
---|
288 | <para>
|
---|
289 | <command>make -f client.mk</command>: Mozilla products are packaged to
|
---|
290 | allow the use of a configuration file which can be used to pass the
|
---|
291 | configuration settings to the <command>configure</command> command.
|
---|
292 | <command>make</command> uses the <filename>client.mk</filename> file to
|
---|
293 | get initial configuration and setup parameters.
|
---|
294 | </para>
|
---|
295 |
|
---|
296 | </sect2>
|
---|
297 |
|
---|
298 | <sect2 role="configuration">
|
---|
299 | <title>Configuring Thunderbird</title>
|
---|
300 |
|
---|
301 | <sect3><title>Configuration Information</title>
|
---|
302 |
|
---|
303 | <para>
|
---|
304 | If your Window or Desktop Manager does not allow you to configure a
|
---|
305 | default browser, you can add a configuration parameter to
|
---|
306 | <application>Thunderbird</application> so that a browser will start when
|
---|
307 | when you click on an Internet/intranet/local URL. The procedure to check
|
---|
308 | or modify any of the configuration parameters is quite simple and the
|
---|
309 | instructions here can be used to view or modify any of the parameters.
|
---|
310 | </para>
|
---|
311 |
|
---|
312 | <para>
|
---|
313 | First, open the configuration dialog by opening the <quote>Edit</quote>
|
---|
314 | drop-down menu. Choose <quote>Preferences</quote> and then click on the
|
---|
315 | <quote>Advanced</quote> icon on the top menu bar. Choose the
|
---|
316 | <quote>General</quote> tab and click on the <quote>Config Editor</quote>
|
---|
317 | button. This will display a list of the configuration preferences and
|
---|
318 | information related to each one. You can use the <quote>Filter:</quote>
|
---|
319 | bar to enter search criteria and narrow down the listed items. Changing
|
---|
320 | a preference can be done using two methods. One, if the preference has a
|
---|
321 | boolean value (True/False), simply double-click on the preference to
|
---|
322 | toggle the value and two, for other preferences simply right-click on
|
---|
323 | the desired line, choose <quote>Modify</quote> from the menu and change
|
---|
324 | the value. Creating new preference items is accomplished in the same
|
---|
325 | way, except choose <quote>New</quote> from the menu and provide the
|
---|
326 | desired data into the fields when prompted.
|
---|
327 | </para>
|
---|
328 |
|
---|
329 | <para>
|
---|
330 | The configuration preference item you need to check so that
|
---|
331 | <application>Thunderbird</application> uses a specified browser is the
|
---|
332 | <parameter>network.protocol-handler.app.http</parameter> which should be
|
---|
333 | set to the path of the desired browser, e.g.
|
---|
334 | <option>/usr/bin/firefox</option>.
|
---|
335 | </para>
|
---|
336 |
|
---|
337 | <tip>
|
---|
338 | <para>
|
---|
339 | There is a multitude of configuration parameters you can tweak to
|
---|
340 | customize <application>Thunderbird</application>. A very extensive,
|
---|
341 | but not so up-to-date list of these parameters can be found at
|
---|
342 | <ulink url="http://preferential.mozdev.org/preferences.html"/>.
|
---|
343 | </para>
|
---|
344 | </tip>
|
---|
345 |
|
---|
346 | <para>
|
---|
347 | If you use a desktop environment like <application>GNOME</application> or
|
---|
348 | <application>KDE</application> you may wish to create a
|
---|
349 | <filename>thunderbird.desktop</filename> file so that
|
---|
350 | <application>Thunderbird</application> appears in the panel's menus. If
|
---|
351 | you didn't enable <application>startup-notification</application> in your
|
---|
352 | mozconfig then change the StartupNotify line to false. Run the following
|
---|
353 | commands as the <systemitem class="username">root</systemitem> user:
|
---|
354 | </para>
|
---|
355 |
|
---|
356 | <screen role="root"><userinput>mkdir -pv /usr/share/applications &&
|
---|
357 | mkdir -pv /usr/share/pixmaps &&
|
---|
358 |
|
---|
359 | cat > /usr/share/applications/thunderbird.desktop << "EOF" &&
|
---|
360 | <literal>[Desktop Entry]
|
---|
361 | Encoding=UTF-8
|
---|
362 | Name=Thunderbird Mail
|
---|
363 | Comment=Send and receive mail with Thunderbird
|
---|
364 | GenericName=Mail Client
|
---|
365 | Exec=thunderbird %u
|
---|
366 | Terminal=false
|
---|
367 | Type=Application
|
---|
368 | Icon=thunderbird
|
---|
369 | Categories=Application;Network;Email;
|
---|
370 | MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;x-scheme-handler/mailto;
|
---|
371 | StartupNotify=true</literal>
|
---|
372 | EOF
|
---|
373 |
|
---|
374 | ln -sfv /usr/lib/thunderbird-&thunderbird-version;/chrome/icons/default/default256.png \
|
---|
375 | /usr/share/pixmaps/thunderbird.png</userinput></screen>
|
---|
376 | </sect3>
|
---|
377 | </sect2>
|
---|
378 |
|
---|
379 | <sect2 role="content">
|
---|
380 | <title>Contents</title>
|
---|
381 |
|
---|
382 | <segmentedlist>
|
---|
383 | <segtitle>Installed Program</segtitle>
|
---|
384 | <segtitle>Installed Libraries</segtitle>
|
---|
385 | <segtitle>Installed Directory</segtitle>
|
---|
386 |
|
---|
387 | <seglistitem>
|
---|
388 | <seg>
|
---|
389 | thunderbird
|
---|
390 | </seg>
|
---|
391 | <seg>
|
---|
392 | None
|
---|
393 | </seg>
|
---|
394 | <seg>
|
---|
395 | /usr/lib/thunderbird-&thunderbird-version;
|
---|
396 | </seg>
|
---|
397 | </seglistitem>
|
---|
398 | </segmentedlist>
|
---|
399 |
|
---|
400 | <variablelist>
|
---|
401 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
402 | <?dbfo list-presentation="list"?>
|
---|
403 | <?dbhtml list-presentation="table"?>
|
---|
404 |
|
---|
405 | <varlistentry id="thunderbird-prog">
|
---|
406 | <term><command>thunderbird</command></term>
|
---|
407 | <listitem>
|
---|
408 | <para>
|
---|
409 | is <application>Mozilla</application>'s email and newsgroup client.
|
---|
410 | </para>
|
---|
411 | <indexterm zone="thunderbird thunderbird-prog">
|
---|
412 | <primary sortas="b-thunderbird">thunderbird</primary>
|
---|
413 | </indexterm>
|
---|
414 | </listitem>
|
---|
415 | </varlistentry>
|
---|
416 |
|
---|
417 | </variablelist>
|
---|
418 |
|
---|
419 | </sect2>
|
---|
420 |
|
---|
421 | </sect1>
|
---|