source: xsoft/other/thunderbird.xml@ 773ef6d

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 8.0 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 nosym 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 773ef6d was 773ef6d, checked in by DJ Lucas <dj@…>, 8 years ago

Added build-fix for Thunderbird-45.1.1 with GCC-6.1.

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

  • Property mode set to 100644
File size: 15.9 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 "&mozilla-ftp;/thunderbird/releases/&thunderbird-version;/source/thunderbird-&thunderbird-version;.source.tar.xz">-->
9 <!ENTITY thunderbird-download-ftp " ">
10 <!ENTITY thunderbird-md5sum "19e1a8eb1aa99927c35ea2fcfbd7f255">
11 <!ENTITY thunderbird-size "192 MB">
12 <!ENTITY thunderbird-buildsize "3.8 GB (73 MB installed)">
13 <!ENTITY thunderbird-time "9.3 SBU (with -j4, 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 &lfs79_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-6:
80 <ulink url="&patch-root;/thunderbird-&thunderbird-version;-gcc6-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="GConf"/>,
139 <xref linkend="gst10-plugins-base"/> (with
140 <xref linkend="gst10-plugins-good"/> and
141 <xref linkend="gst10-libav"/> at runtime),
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# GStreamer is necessary for H.264 video playback in HTML5 Video Player;
182# to be enabled, also remember to set "media.gstreamer.enabled" to "true"
183# in about:config. If you have GStreamer 1.x.y, comment out this line and
184# uncomment the following one:
185ac_add_options --disable-gstreamer
186#ac_add_options --enable-gstreamer=1.0
187
188# Uncomment these lines if you have installed optional dependencies:
189#ac_add_options --enable-system-hunspell
190#ac_add_options --enable-startup-notification
191
192# Comment out following option if you have PulseAudio installed
193ac_add_options --disable-pulseaudio
194
195# Comment out following option if you have gconf installed
196ac_add_options --disable-gconf
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<!-- might be necessary
247test $(uname -m) = "i686" && sed -i 's/enable-optimize/disable-optimize/' mozconfig || true &&-->
248 <para>Fix some issues with GCC-6.1:</para>
249
250<screen><userinput>patch -Np1 -i ../thunderbird-&thunderbird-version;-gcc6-1.patch</userinput></screen>
251
252 <para>
253 Compile <application>Thunderbird</application> by issuing the following
254 commands:
255 </para>
256
257 <note><para>
258 If you are compiling <application>Thunderbird</application> in chroot,
259 prepend <envar>SHELL=/bin/sh</envar> to the <!--first -->make command below.
260 </para></note>
261
262<screen><userinput>CFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2"
263CXXFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2"
264make -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;
276chown -R 0:0 /usr/lib/thunderbird-&thunderbird-version;</userinput></screen>
277
278<!-- thunderbuild directory does not exist anymore. Leaving as comment,
279in case an editor figures out how to install the development environment.
280 <para>
281 The above instruction just installs the parts you need to run
282 <application>Thunderbird</application>. Alternatively, if you want to
283 install the full <application>Thunderbird</application> development
284 environment, run the following command as the
285 <systemitem class="username">root</systemitem> user:
286 </para>
287
288<screen role="root"><userinput>make -C thunderbuild install</userinput></screen>
289-->
290 </sect2>
291
292 <sect2 role="commands">
293 <title>Command Explanations</title>
294<!-- might be necessary
295 <para>
296 <command>test $(uname -m) = "i686" &amp;&amp; sed ...</command>: On this
297 version of thunderbird, an old bug has reappeared in 32-bit builds. With
298 optimization, the install fails with a Python error. This command will
299 fix i686 builds and preserve the optimization on x86_64.
300 </para>-->
301
302 <para>
303 <command>CFLAGS= ... CXXFLAGS= ...</command>: These settings work around
304 code which gcc6 would otherwise regard as out-of-specification and allow
305 it to produce a working program.
306 </para>
307
308 <para>
309 <command>make -f client.mk</command>: Mozilla products are packaged to
310 allow the use of a configuration file which can be used to pass the
311 configuration settings to the <command>configure</command> command.
312 <command>make</command> uses the <filename>client.mk</filename> file to
313 get initial configuration and setup parameters.
314 </para>
315
316 </sect2>
317
318 <sect2 role="configuration">
319 <title>Configuring Thunderbird</title>
320
321 <sect3><title>Configuration Information</title>
322
323 <para>
324 If your Window or Desktop Manager does not allow you to configure a
325 default browser, you can add a configuration parameter to
326 <application>Thunderbird</application> so that a browser will start when
327 when you click on an Internet/intranet/local URL. The procedure to check
328 or modify any of the configuration parameters is quite simple and the
329 instructions here can be used to view or modify any of the parameters.
330 </para>
331
332 <para>
333 First, open the configuration dialog by opening the <quote>Edit</quote>
334 drop-down menu. Choose <quote>Preferences</quote> and then click on the
335 <quote>Advanced</quote> icon on the top menu bar. Choose the
336 <quote>General</quote> tab and click on the <quote>Config Editor</quote>
337 button. This will display a list of the configuration preferences and
338 information related to each one. You can use the <quote>Filter:</quote>
339 bar to enter search criteria and narrow down the listed items. Changing
340 a preference can be done using two methods. One, if the preference has a
341 boolean value (True/False), simply double-click on the preference to
342 toggle the value and two, for other preferences simply right-click on
343 the desired line, choose <quote>Modify</quote> from the menu and change
344 the value. Creating new preference items is accomplished in the same
345 way, except choose <quote>New</quote> from the menu and provide the
346 desired data into the fields when prompted.
347 </para>
348
349 <para>
350 The configuration preference item you need to check so that
351 <application>Thunderbird</application> uses a specified browser is the
352 <parameter>network.protocol-handler.app.http</parameter> which should be
353 set to the path of the desired browser, e.g.
354 <option>/usr/bin/firefox</option>.
355 </para>
356
357 <tip>
358 <para>
359 There is a multitude of configuration parameters you can tweak to
360 customize <application>Thunderbird</application>. A very extensive,
361 but not so up-to-date list of these parameters can be found at
362 <ulink url="http://preferential.mozdev.org/preferences.html"/>.
363 </para>
364 </tip>
365
366 <para>
367
368 If you use a desktop environment such as <application>GNOME</application>
369 or <application>KDE</application>, a desktop file
370 <filename>thunderbird.desktop</filename> may be created, in order to
371 include a <quote><application>Thunderbird</application></quote> entry in
372 the menu. If you didn't enable
373 <application>startup-notification</application> in your mozconfig, then
374 change the StartupNotify line to false. Run the following commands as the
375 <systemitem class="username">root</systemitem> user:
376
377 </para>
378
379<screen role="root"><userinput>mkdir -pv /usr/share/{applications,pixmaps} &amp;&amp;
380
381cat &gt; /usr/share/applications/thunderbird.desktop &lt;&lt; "EOF" &amp;&amp;
382<literal>[Desktop Entry]
383Encoding=UTF-8
384Name=Thunderbird Mail
385Comment=Send and receive mail with Thunderbird
386GenericName=Mail Client
387Exec=thunderbird %u
388Terminal=false
389Type=Application
390Icon=thunderbird
391Categories=Application;Network;Email;
392MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;x-scheme-handler/mailto;
393StartupNotify=true</literal>
394EOF
395
396ln -sfv /usr/lib/thunderbird-&thunderbird-version;/chrome/icons/default/default256.png \
397 /usr/share/pixmaps/thunderbird.png</userinput></screen>
398 </sect3>
399 </sect2>
400
401 <sect2 role="content">
402 <title>Contents</title>
403
404 <segmentedlist>
405 <segtitle>Installed Program</segtitle>
406 <segtitle>Installed Libraries</segtitle>
407 <segtitle>Installed Directory</segtitle>
408
409 <seglistitem>
410 <seg>
411 thunderbird
412 </seg>
413 <seg>
414 None
415 </seg>
416 <seg>
417 /usr/lib/thunderbird-&thunderbird-version;
418 </seg>
419 </seglistitem>
420 </segmentedlist>
421
422 <variablelist>
423 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
424 <?dbfo list-presentation="list"?>
425 <?dbhtml list-presentation="table"?>
426
427 <varlistentry id="thunderbird-prog">
428 <term><command>thunderbird</command></term>
429 <listitem>
430 <para>
431 is <application>Mozilla</application>'s email and newsgroup client.
432 </para>
433 <indexterm zone="thunderbird thunderbird-prog">
434 <primary sortas="b-thunderbird">thunderbird</primary>
435 </indexterm>
436 </listitem>
437 </varlistentry>
438
439 </variablelist>
440
441 </sect2>
442
443</sect1>
Note: See TracBrowser for help on using the repository browser.