source: xsoft/other/thunderbird.xml@ 173a7508

7.8
Last change on this file since 173a7508 was 173a7508, checked in by Bruce Dubbs <bdubbs@…>, 9 years ago

BLFS-7.8

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/tags/7.8@16494 af4574ff-66df-0310-9fd7-8a98e5e911e0

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