source: xsoft/other/thunderbird.xml@ 09ae65ca

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

More checks and fixes.

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

  • Property mode set to 100644
File size: 14.2 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 &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 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, firefox will now use all the cores by
160# default. Exceptionally, you can reduce the number of cores, e.g. to 1,
161# by uncommenting the next line and setting a valid number of CPU cores.
162#mk_add_options MOZ_MAKE_FLAGS="-j1"
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 matches
234 the value used in mozconfig (above) for the object directory
235 (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<screen><userinput>make -f client.mk</userinput></screen>
246
247 <para>
248 This package does not come with a test suite.
249 </para>
250
251 <para>
252 Install <application>Thunderbird</application> by running the following
253 commands as the <systemitem class="username">root</systemitem> user:
254 </para>
255
256<screen role="root"><userinput>make -f client.mk install INSTALL_SDK=</userinput></screen>
257
258 <para>
259 The above instruction just installs the parts you need to run
260 <application>Thunderbird</application>. Alternatively, if you want to
261 install the full <application>Thunderbird</application> development
262 environment, run the following command as the
263 <systemitem class="username">root</systemitem> user:
264 </para>
265
266<screen role="root"><userinput>make -C thunderbuild install</userinput></screen>
267
268 </sect2>
269
270 <sect2 role="commands">
271 <title>Command Explanations</title>
272
273 <para>
274 <command>make -f client.mk</command>: Mozilla products are packaged to
275 allow the use of a configuration file which can be used to pass the
276 configuration settings to the <command>configure</command> command.
277 <command>make</command> uses the <filename>client.mk</filename> file to
278 get initial configuration and setup parameters.
279 </para>
280
281 </sect2>
282
283 <sect2 role="configuration">
284 <title>Configuring Thunderbird</title>
285
286 <sect3><title>Configuration Information</title>
287
288 <para>
289 If your Window or Desktop Manager does not allow you to configure a
290 default browser, you can add a configuration parameter to
291 <application>Thunderbird</application> so that a browser will start when
292 when you click on an Internet/intranet/local URL. The procedure to check
293 or modify any of the configuration parameters is quite simple and the
294 instructions here can be used to view or modify any of the parameters.
295 </para>
296
297 <para>
298 First, open the configuration dialog by opening the <quote>Edit</quote>
299 drop-down menu. Choose <quote>Preferences</quote> and then click on the
300 <quote>Advanced</quote> icon on the top menu bar. Choose the
301 <quote>General</quote> tab and click on the <quote>Config Editor</quote>
302 button. This will display a list of the configuration preferences and
303 information related to each one. You can use the <quote>Filter:</quote>
304 bar to enter search criteria and narrow down the listed items. Changing
305 a preference can be done using two methods. One, if the preference has a
306 boolean value (True/False), simply double-click on the preference to
307 toggle the value and two, for other preferences simply right-click on
308 the desired line, choose <quote>Modify</quote> from the menu and change
309 the value. Creating new preference items is accomplished in the same
310 way, except choose <quote>New</quote> from the menu and provide the
311 desired data into the fields when prompted.
312 </para>
313
314 <para>
315 The configuration preference item you need to check so that
316 <application>Thunderbird</application> uses a specified browser is the
317 <parameter>network.protocol-handler.app.http</parameter> which should be
318 set to the path of the desired browser, e.g.
319 <option>/usr/bin/firefox</option>.
320 </para>
321
322 <tip>
323 <para>
324 There is a multitude of configuration parameters you can tweak to
325 customize <application>Thunderbird</application>. A very extensive,
326 but not so up-to-date list of these parameters can be found at
327 <ulink url="http://preferential.mozdev.org/preferences.html"/>.
328 </para>
329 </tip>
330
331 <para>
332 If you use a desktop environment like <application>GNOME</application> or
333 <application>KDE</application> you may wish to create a
334 <filename>thunderbird.desktop</filename> file so that
335 <application>Thunderbird</application> appears in the panel's menus. If
336 you didn't enable <application>startup-notification</application> in your
337 mozconfig then change the StartupNotify line to false. Run the following
338 commands as the <systemitem class="username">root</systemitem> user:
339 </para>
340
341<screen role="root"><userinput>mkdir -pv /usr/share/applications &amp;&amp;
342
343cat &gt; /usr/share/applications/thunderbird.desktop &lt;&lt; "EOF" &amp;&amp;
344<literal>[Desktop Entry]
345Encoding=UTF-8
346Name=Thunderbird Mail
347Comment=Send and receive mail with Thunderbird
348GenericName=Mail Client
349Exec=thunderbird %u
350Terminal=false
351Type=Application
352Icon=thunderbird
353Categories=Application;Network;Email;
354MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;x-scheme-handler/mailto;
355StartupNotify=true</literal>
356EOF
357
358for s in 16 22 24 32 48 256
359do
360install -v -Dm644 /usr/lib/thunderbird-&thunderbird-version;/chrome/icons/default/default${s}.png \
361 /usr/share/icons/hicolor/${s}x${s}/apps/thunderbird.png
362done &amp;&amp;
363gtk-update-icon-cache -qf /usr/share/icons/hicolor &amp;&amp;
364unset s</userinput></screen>
365
366 </sect3>
367
368 </sect2>
369
370 <sect2 role="content">
371 <title>Contents</title>
372
373 <segmentedlist>
374 <segtitle>Installed Program</segtitle>
375 <segtitle>Installed Libraries</segtitle>
376 <segtitle>Installed Directory</segtitle>
377
378 <seglistitem>
379 <seg>
380 thunderbird
381 </seg>
382 <seg>
383 None
384 </seg>
385 <seg>
386 /usr/lib/thunderbird-&thunderbird-version;
387 </seg>
388 </seglistitem>
389 </segmentedlist>
390
391 <variablelist>
392 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
393 <?dbfo list-presentation="list"?>
394 <?dbhtml list-presentation="table"?>
395
396 <varlistentry id="thunderbird-prog">
397 <term><command>thunderbird</command></term>
398 <listitem>
399 <para>
400 is <application>Mozilla</application>'s email and newsgroup client.
401 </para>
402 <indexterm zone="thunderbird thunderbird-prog">
403 <primary sortas="b-thunderbird">thunderbird</primary>
404 </indexterm>
405 </listitem>
406 </varlistentry>
407
408 </variablelist>
409
410 </sect2>
411
412</sect1>
Note: See TracBrowser for help on using the repository browser.