source: xsoft/other/thunderbird.xml@ 762462a3

7.6-blfs 7.6-systemd kde5-14269 kde5-14686 systemd-13485
Last change on this file since 762462a3 was df282778, checked in by Krejzi <krejzi@…>, 10 years ago

Merge trunk.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@13735 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 14.8 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
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 "195ea7d3887eb49402ea7b3875b7ce15">
12 <!ENTITY thunderbird-size "164 MB">
13 <!ENTITY thunderbird-buildsize "3.7 GB (68 MB installed)">
14 <!ENTITY thunderbird-time "45 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 &lfs75_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 of
153 available configuration options (and a brief description of each), issue
154 <command>./configure --help</command>. Create the file with the following
155 command:
156 </para>
157
158<screen><userinput>cat &gt; mozconfig &lt;&lt; "EOF"
159# If you have a multicore machine you can speed up the build by running
160# several jobs at once by uncommenting the following line and setting the
161# value to number of CPU cores:
162#mk_add_options MOZ_MAKE_FLAGS="-j4"
163
164# If you have installed DBus-Glib comment out this line:
165ac_add_options --disable-dbus
166
167# If you have installed wireless-tools comment out this line:
168ac_add_options --disable-necko-wifi
169
170# If you have installed libnotify comment out this line:
171ac_add_options --disable-libnotify
172
173# GStreamer is necessary for H.264 video playback in HTML5 Video Player;
174# to be enabled, also remember to set "media.gstreamer.enabled" to "true"
175# in about:config. If you have installed GStreamer comment out this line:
176ac_add_options --disable-gstreamer
177
178# Uncomment these lines if you have installed optional dependencies:
179#ac_add_options --enable-system-hunspell
180#ac_add_options --enable-startup-notification
181
182# Comment out following option if you have PulseAudio installed
183ac_add_options --disable-pulseaudio
184
185# If you have not installed Yasm then uncomment this line:
186#ac_add_options --disable-webm
187
188# If you want to compile the Mozilla Calendar, uncomment this line:
189#ac_add_options --enable-calendar
190
191# Comment out following options if you have not installed
192# recommended dependencies:
193ac_add_options --enable-system-sqlite
194ac_add_options --with-system-libevent
195ac_add_options --with-system-libvpx
196ac_add_options --with-system-nspr
197ac_add_options --with-system-nss
198ac_add_options --with-system-icu
199
200# The BLFS editors recommend not changing anything below this line:
201ac_add_options --prefix=/usr
202
203ac_add_options --disable-crashreporter
204ac_add_options --disable-installer
205ac_add_options --disable-updater
206ac_add_options --disable-debug
207ac_add_options --disable-tests
208
209ac_add_options --enable-optimize
210ac_add_options --enable-strip
211ac_add_options --enable-install-strip
212
213ac_add_options --enable-gio
214ac_add_options --enable-official-branding
215ac_add_options --enable-safe-browsing
216ac_add_options --enable-url-classifier
217
218ac_add_options --enable-system-cairo
219ac_add_options --enable-system-ffi
220ac_add_options --enable-system-pixman
221
222ac_add_options --with-pthreads
223
224ac_add_options --with-system-bz2
225ac_add_options --with-system-jpeg
226ac_add_options --with-system-png
227ac_add_options --with-system-zlib
228
229mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/thunderbuild
230EOF</userinput></screen>
231
232 <para>
233 First, a bug needs to be fixed. Notice that thunderbuild needs to match
234 the value used in mozconfig (above) for the object directory (MOZ_OBJDIR):
235 </para>
236
237<screen><userinput>mkdir -vp mozilla/thunderbuild</userinput></screen>
238
239 <para>
240 Compile <application>Thunderbird</application> by issuing the following
241 commands:
242 </para>
243
244 <note><para>
245 If you are compiling <application>Thunderbird</application> in chroot,
246 prepend <envar>SHELL=/bin/sh</envar> to the <!--first -->make command below.
247 </para></note>
248
249<screen><userinput>make -f client.mk<!--
250make -C thunderbuild/mail/installer--></userinput></screen>
251
252 <para>
253 This package does not come with a test suite.
254 </para>
255
256 <para>
257 Install <application>Thunderbird</application> by running the following
258 commands as the <systemitem class="username">root</systemitem> user:
259 </para>
260
261<!--<screen role="root"><userinput>mkdir -pv /usr/lib/thunderbird-&thunderbird-version; &amp;&amp;
262tar -xvf thunderbuild/mozilla/dist/thunderbird-&thunderbird-version;.en-US.linux-$(uname -m).tar.bz2 \
263 -C /usr/lib/thunderbird-&thunderbird-version; -\-strip-components=1 &amp;&amp;
264ln -sfv ../lib/thunderbird-&thunderbird-version;/thunderbird /usr/bin</userinput></screen>-->
265
266<screen role="root"><userinput>make -f client.mk install INSTALL_SDK=</userinput></screen>
267
268 <para>
269 The above instruction just installs the parts you need to run
270 <application>Thunderbird</application>. Alternatively, if you want to
271 install the full <application>Thunderbird</application> development
272 environment, run the following command as the
273 <systemitem class="username">root</systemitem> user:
274 </para>
275
276<screen role="root"><userinput>make -C thunderbuild install</userinput></screen>
277 </sect2>
278
279 <sect2 role="commands">
280 <title>Command Explanations</title>
281
282 <para>
283 <command>mkdir -vp mozilla/thunderbuild</command>: fixes a build failure
284 of Makefile at the beginning of build, where a file cannot be found.
285 </para>
286
287 <para>
288 <command>make -f client.mk</command>: Mozilla products are packaged to
289 allow the use of a configuration file which can be used to pass the
290 configuration settings to the <command>configure</command> command.
291 <command>make</command> uses the <filename>client.mk</filename> file to
292 get initial configuration and setup parameters.
293 </para>
294
295 </sect2>
296
297 <sect2 role="configuration">
298 <title>Configuring Thunderbird</title>
299
300 <sect3><title>Configuration Information</title>
301
302 <para>
303 If your Window or Desktop Manager does not allow you to configure a
304 default browser, you can add a configuration parameter to
305 <application>Thunderbird</application> so that a browser will start when
306 when you click on an Internet/intranet/local URL. The procedure to check
307 or modify any of the configuration parameters is quite simple and the
308 instructions here can be used to view or modify any of the parameters.
309 </para>
310
311 <para>
312 First, open the configuration dialog by opening the <quote>Edit</quote>
313 drop-down menu. Choose <quote>Preferences</quote> and then click on the
314 <quote>Advanced</quote> icon on the top menu bar. Choose the
315 <quote>General</quote> tab and click on the <quote>Config Editor</quote>
316 button. This will display a list of the configuration preferences and
317 information related to each one. You can use the <quote>Filter:</quote>
318 bar to enter search criteria and narrow down the listed items. Changing
319 a preference can be done using two methods. One, if the preference has a
320 boolean value (True/False), simply double-click on the preference to
321 toggle the value and two, for other preferences simply right-click on
322 the desired line, choose <quote>Modify</quote> from the menu and change
323 the value. Creating new preference items is accomplished in the same
324 way, except choose <quote>New</quote> from the menu and provide the
325 desired data into the fields when prompted.
326 </para>
327
328 <para>
329 The configuration preference item you need to check so that
330 <application>Thunderbird</application> uses a specified browser is the
331 <parameter>network.protocol-handler.app.http</parameter> which should be
332 set to the path of the desired browser, e.g.
333 <option>/usr/bin/firefox</option>.
334 </para>
335
336 <tip>
337 <para>
338 There is a multitude of configuration parameters you can tweak to
339 customize <application>Thunderbird</application>. A very extensive,
340 but not so up-to-date list of these parameters can be found at
341 <ulink url="http://preferential.mozdev.org/preferences.html"/>.
342 </para>
343 </tip>
344
345 <para>
346 If you use a desktop environment like <application>GNOME</application> or
347 <application>KDE</application> you may wish to create a
348 <filename>thunderbird.desktop</filename> file so that
349 <application>Thunderbird</application> appears in the panel's menus. If
350 you didn't enable <application>startup-notification</application> in your
351 mozconfig then change the StartupNotify line to false. Run the following
352 commands as the <systemitem class="username">root</systemitem> user:
353 </para>
354
355<screen role="root"><userinput>mkdir -pv /usr/share/applications &amp;&amp;
356mkdir -pv /usr/share/pixmaps &amp;&amp;
357
358cat &gt; /usr/share/applications/thunderbird.desktop &lt;&lt; "EOF" &amp;&amp;
359<literal>[Desktop Entry]
360Encoding=UTF-8
361Name=Thunderbird Mail
362Comment=Send and receive mail with Thunderbird
363GenericName=Mail Client
364Exec=thunderbird %u
365Terminal=false
366Type=Application
367Icon=thunderbird
368Categories=Application;Network;Email;
369MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;x-scheme-handler/mailto;
370StartupNotify=true</literal>
371EOF
372
373ln -sfv /usr/lib/thunderbird-&thunderbird-version;/chrome/icons/default/default256.png \
374 /usr/share/pixmaps/thunderbird.png</userinput></screen>
375 </sect3>
376 </sect2>
377
378 <sect2 role="content">
379 <title>Contents</title>
380
381 <segmentedlist>
382 <segtitle>Installed Program</segtitle>
383 <segtitle>Installed Libraries</segtitle>
384 <segtitle>Installed Directory</segtitle>
385
386 <seglistitem>
387 <seg>
388 thunderbird
389 </seg>
390 <seg>
391 None
392 </seg>
393 <seg>
394 /usr/lib/thunderbird-&thunderbird-version;
395 </seg>
396 </seglistitem>
397 </segmentedlist>
398
399 <variablelist>
400 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
401 <?dbfo list-presentation="list"?>
402 <?dbhtml list-presentation="table"?>
403
404 <varlistentry id="thunderbird-prog">
405 <term><command>thunderbird</command></term>
406 <listitem>
407 <para>
408 is <application>Mozilla</application>'s email and newsgroup client.
409 </para>
410 <indexterm zone="thunderbird thunderbird-prog">
411 <primary sortas="b-thunderbird">thunderbird</primary>
412 </indexterm>
413 </listitem>
414 </varlistentry>
415
416 </variablelist>
417
418 </sect2>
419
420</sect1>
Note: See TracBrowser for help on using the repository browser.