source: xsoft/other/thunderbird.xml@ d6c6562

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since d6c6562 was d6c6562, checked in by Bruce Dubbs <bdubbs@…>, 7 years ago

Remove gcc7 entity

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19032 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 15.0 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.xz">
8 <!ENTITY thunderbird-download-ftp " ">
9 <!ENTITY thunderbird-md5sum "df6ddc52046acd66503756c094c30e21">
10 <!ENTITY thunderbird-size "218 MB">
11 <!ENTITY thunderbird-buildsize "4.5 GB (109 MB installed)">
12 <!ENTITY thunderbird-time "15 SBU (with -j4, estimated 40 SBU with -j1)">
13]>
14
15<sect1 id="thunderbird" xreflabel="Thunderbird-&thunderbird-version;">
16 <?dbhtml filename="thunderbird.html" ?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>Thunderbird-&thunderbird-version;</title>
24
25 <indexterm zone="thunderbird">
26 <primary sortas="a-Thunderbird">Thunderbird</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to Thunderbird</title>
31
32 <para>
33 <application>Thunderbird</application> is a stand-alone mail/news client
34 based on the <application>Mozilla</application> codebase. It uses the
35 Gecko rendering engine to enable it to display and compose HTML emails.
36 </para>
37
38 &lfs80_checked;
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>
44 Download (HTTP): <ulink url="&thunderbird-download-http;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download (FTP): <ulink url="&thunderbird-download-ftp;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download MD5 sum: &thunderbird-md5sum;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download size: &thunderbird-size;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated disk space required: &thunderbird-buildsize;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated build time: &thunderbird-time;
70 </para>
71 </listitem>
72 </itemizedlist>
73
74 <bridgehead renderas="sect3">Thunderbird Dependencies</bridgehead>
75
76 <bridgehead renderas="sect4">Required</bridgehead>
77 <para role="required">
78 <xref linkend="alsa-lib"/>,
79 <xref linkend="gtk3"/>,
80 <xref linkend="zip"/>,
81 <xref linkend="unzip"/>, and
82 <xref linkend="yasm"/>
83 </para>
84
85 <bridgehead renderas="sect4">Recommended</bridgehead>
86 <para role="recommended">
87 <xref linkend="libevent"/>,
88 <xref linkend="libvpx"/>,
89 <xref linkend="nspr"/>,
90 <xref linkend="nss"/>, and
91 <xref linkend="sqlite"/>
92 </para>
93
94 <note>
95 <para>
96 If you don't install recommended dependencies,
97 then internal copies of those packages will
98 be used. They might be tested to work, but
99 they can be out of date or contain security
100 holes.
101 </para>
102 </note>
103
104 <note>
105 <para>
106 With <application>Thunderbird-31.0</application> and later versions,
107 you must have installed <application>Openssl</application> before
108 <application>Python 2</application>, or the build system will quickly
109 fail with output including "ImportError: cannot import name
110 HTTPSHandler". If you are in any doubt about this (e.g. upgrading from
111 an older version of Thunderbird), check if
112 <filename>/usr/lib/python&python2-majorver;/lib-dynload/_ssl.so</filename>
113 exists. If it does not, reinstall <xref linkend="python2"/> (after
114 installing <xref linkend="openssl"/> - the latest version of any
115 <emphasis>currently maintained</emphasis> version of Openssl should be
116 satisfactory if already installed - if that package has not already
117 been installed).
118 </para>
119 </note>
120
121 <bridgehead renderas="sect4">Optional</bridgehead>
122 <para role="optional">
123 <!-- <xref linkend="curl"/>, not in build log-->
124 <xref linkend="cyrus-sasl"/>,
125 <xref linkend="dbus-glib"/>,
126 <xref linkend="doxygen"/>,
127 <xref linkend="GConf"/>,
128 <!--<xref linkend="gst10-plugins-base"/> (with
129 <xref linkend="gst10-plugins-good"/> and
130 <xref linkend="gst10-libav"/> at runtime),-->
131 <xref linkend="llvm"/>,
132 <!-- <xref linkend="openjdk"/>, not in build log -->
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 &gt; mozconfig &lt;&lt; "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:
166ac_add_options --disable-dbus
167
168# If you have installed wireless-tools comment out this line:
169ac_add_options --disable-necko-wifi
170
171# Uncomment these lines if you have installed optional dependencies:
172#ac_add_options --enable-system-hunspell
173#ac_add_options --enable-startup-notification
174
175# Comment out following option if you have PulseAudio installed
176ac_add_options --disable-pulseaudio
177
178# Comment out following option if you have gconf installed
179ac_add_options --disable-gconf
180
181# If you want to compile the Mozilla Calendar, uncomment this line:
182#ac_add_options --enable-calendar
183
184# Comment out following options if you have not installed
185# recommended dependencies:
186ac_add_options --enable-system-sqlite
187ac_add_options --with-system-libevent
188ac_add_options --with-system-libvpx
189ac_add_options --with-system-nspr
190ac_add_options --with-system-nss
191ac_add_options --with-system-icu
192<!-- These do not seem to be needed any more
193# Set CFLAGS and CXXFLAGS to prevent segfaults due to aggressive
194# optimizations in GCC-6:
195export CFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2"
196export CXXFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2"
197-->
198# The BLFS editors recommend not changing anything below this line:
199ac_add_options --prefix=/usr
200ac_add_options --enable-application=mail
201
202ac_add_options --disable-crashreporter
203ac_add_options --disable-updater
204ac_add_options --disable-debug
205ac_add_options --disable-tests
206
207ac_add_options --enable-optimize=-O2
208ac_add_options --enable-strip
209ac_add_options --enable-install-strip
210
211ac_add_options --enable-gio
212ac_add_options --enable-official-branding
213ac_add_options --enable-safe-browsing
214ac_add_options --enable-url-classifier
215
216# Use internal cairo due to reports of unstable execution with
217# system cairo
218#ac_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</literal>
228EOF</userinput></screen>
229
230 <para>
231 Compile <application>Thunderbird</application> by issuing the following
232 commands:
233 </para>
234
235 <note><para>
236 If you are compiling <application>Thunderbird</application> in chroot,
237 prepend <envar>SHELL=/bin/sh</envar> to the make command below.
238 </para></note>
239
240<screen><userinput>make -f client.mk</userinput></screen>
241
242 <para>
243 This package does not come with a test suite.
244 </para>
245
246 <para>
247 Install <application>Thunderbird</application> by running the following
248 commands as the <systemitem class="username">root</systemitem> user:
249 </para>
250
251<screen role="root"><userinput>make -f client.mk install INSTALL_SDK= &amp;&amp;
252chown -R 0:0 /usr/lib/thunderbird-&thunderbird-version;</userinput></screen>
253
254<!-- thunderbuild directory does not exist anymore. Leaving as comment,
255in case an editor figures out how to install the development environment.
256 <para>
257 The above instruction just installs the parts you need to run
258 <application>Thunderbird</application>. Alternatively, if you want to
259 install the full <application>Thunderbird</application> development
260 environment, run the following command as the
261 <systemitem class="username">root</systemitem> user:
262 </para>
263
264<screen role="root"><userinput>make -C thunderbuild install</userinput></screen>
265-->
266 </sect2>
267
268 <sect2 role="commands">
269 <title>Command Explanations</title>
270<!-- might be necessary
271 <para>
272 <command>test $(uname -m) = "i686" &amp;&amp; sed ...</command>: On this
273 version of thunderbird, an old bug has reappeared in 32-bit builds. With
274 optimization, the install fails with a Python error. This command will
275 fix i686 builds and preserve the optimization on x86_64.
276 </para>-->
277
278 <para>
279 <command>export CFLAGS= ... export CXXFLAGS= ...</command>: These
280 settings work around code which gcc6 would otherwise regard as
281 out-of-specification and allow it to produce a working program.
282 </para>
283
284 <para>
285 <command>make -f client.mk</command>: Mozilla products are packaged to
286 allow the use of a configuration file which can be used to pass the
287 configuration settings to the <command>configure</command> command.
288 <command>make</command> uses the <filename>client.mk</filename> file to
289 get initial configuration and setup parameters.
290 </para>
291
292 </sect2>
293
294 <sect2 role="configuration">
295 <title>Configuring Thunderbird</title>
296
297 <sect3><title>Configuration Information</title>
298
299 <para>
300 If your Window or Desktop Manager does not allow you to configure a
301 default browser, you can add a configuration parameter to
302 <application>Thunderbird</application> so that a browser will start when
303 when you click on an Internet/intranet/local URL. The procedure to check
304 or modify any of the configuration parameters is quite simple and the
305 instructions here can be used to view or modify any of the parameters.
306 </para>
307
308 <para>
309 First, open the configuration dialog by opening the <quote>Edit</quote>
310 drop-down menu. Choose <quote>Preferences</quote> and then click on the
311 <quote>Advanced</quote> icon on the top menu bar. Choose the
312 <quote>General</quote> tab and click on the <quote>Config Editor</quote>
313 button. This will display a list of the configuration preferences and
314 information related to each one. You can use the <quote>Filter:</quote>
315 bar to enter search criteria and narrow down the listed items. Changing
316 a preference can be done using two methods. One, if the preference has a
317 boolean value (True/False), simply double-click on the preference to
318 toggle the value and two, for other preferences simply right-click on
319 the desired line, choose <quote>Modify</quote> from the menu and change
320 the value. Creating new preference items is accomplished in the same
321 way, except choose <quote>New</quote> from the menu and provide the
322 desired data into the fields when prompted.
323 </para>
324
325 <para>
326 The configuration preference item you need to check so that
327 <application>Thunderbird</application> uses a specified browser is the
328 <parameter>network.protocol-handler.app.http</parameter> which should be
329 set to the path of the desired browser, e.g.
330 <option>/usr/bin/firefox</option>.
331 </para>
332
333 <tip>
334 <para>
335 There is a multitude of configuration parameters you can tweak to
336 customize <application>Thunderbird</application>. A very extensive,
337 but not so up-to-date list of these parameters can be found at
338 <ulink url="http://preferential.mozdev.org/preferences.html"/>.
339 </para>
340 </tip>
341
342 <para>
343
344 If you use a desktop environment such as <application>GNOME</application>
345 or <application>KDE</application>, a desktop file
346 <filename>thunderbird.desktop</filename> may be created, in order to
347 include a <quote><application>Thunderbird</application></quote> entry in
348 the menu. If you didn't enable
349 <application>startup-notification</application> in your mozconfig, then
350 change the StartupNotify line to false. Run the following commands as the
351 <systemitem class="username">root</systemitem> user:
352
353 </para>
354
355<screen role="root"><userinput>mkdir -pv /usr/share/{applications,pixmaps} &amp;&amp;
356
357cat &gt; /usr/share/applications/thunderbird.desktop &lt;&lt; "EOF" &amp;&amp;
358<literal>[Desktop Entry]
359Encoding=UTF-8
360Name=Thunderbird Mail
361Comment=Send and receive mail with Thunderbird
362GenericName=Mail Client
363Exec=thunderbird %u
364Terminal=false
365Type=Application
366Icon=thunderbird
367Categories=Application;Network;Email;
368MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;x-scheme-handler/mailto;
369StartupNotify=true</literal>
370EOF
371
372ln -sfv /usr/lib/thunderbird-&thunderbird-version;/chrome/icons/default/default256.png \
373 /usr/share/pixmaps/thunderbird.png</userinput></screen>
374 </sect3>
375 </sect2>
376
377 <sect2 role="content">
378 <title>Contents</title>
379
380 <segmentedlist>
381 <segtitle>Installed Program</segtitle>
382 <segtitle>Installed Libraries</segtitle>
383 <segtitle>Installed Directory</segtitle>
384
385 <seglistitem>
386 <seg>
387 thunderbird
388 </seg>
389 <seg>
390 libldap60.so, liblgpllibs.so, libmozgtk.so, libmozsandbox.so,
391 libprldap60.so, and libxul.so
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.