source: xsoft/other/thunderbird.xml@ 89cdb63d

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.9 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 89cdb63d was 89cdb63d, checked in by Bruce Dubbs <bdubbs@…>, 9 years ago

Fix issues in mozilla apps with freetype-2.6.1 and gconf dependencies.

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

  • Property mode set to 100644
File size: 15.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 "&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="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="libnotify"/>,
143 <xref linkend="openjdk"/>,
144 <xref linkend="pulseaudio"/>,
145 <xref linkend="startup-notification"/>,
146 <xref linkend="wget"/>,
147 <xref linkend="wireless_tools"/>, and
148 <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>
149 </para>
150
151 <para condition="html" role="usernotes">
152 User Notes: <ulink url="&blfs-wiki;/Thunderbird"/>
153 </para>
154 </sect2>
155
156 <sect2 role="installation">
157 <title>Installation of Thunderbird</title>
158
159 <para>
160 The configuration of <application>Thunderbird</application> is
161 accomplished by creating a <filename>mozconfig</filename> file containing
162 the desired configuration options. A default
163 <filename>mozconfig</filename> is created below. To see the entire list
164 of available configuration options (and a brief description of each),
165 issue <command>mozilla/configure --help</command>. Create the file with
166 the following command:
167 </para>
168
169<screen><userinput>cat &gt; mozconfig &lt;&lt; "EOF"
170<literal># If you have a multicore machine, the build may be faster if using parallel
171# jobs. The build system automatically adds -jN to the "make" flags, where N
172# is the number of CPU cores. The option below is therefore useless, unless
173# you want to use a smaller number of jobs:
174#mk_add_options MOZ_MAKE_FLAGS="-j1"
175
176# If you have installed DBus-Glib comment out this line:
177ac_add_options --disable-dbus
178
179# If you have installed wireless-tools comment out this line:
180ac_add_options --disable-necko-wifi
181
182# If you have installed libnotify comment out this line:
183ac_add_options --disable-libnotify
184
185# GStreamer is necessary for H.264 video playback in HTML5 Video Player;
186# to be enabled, also remember to set "media.gstreamer.enabled" to "true"
187# in about:config. If you have GStreamer 1.x.y, comment out this line and
188# uncomment the following one:
189ac_add_options --disable-gstreamer
190#ac_add_options --enable-gstreamer=1.0
191
192# Uncomment these lines if you have installed optional dependencies:
193#ac_add_options --enable-system-hunspell
194#ac_add_options --enable-startup-notification
195
196# Comment out following option if you have PulseAudio installed
197ac_add_options --disable-pulseaudio
198
199# Comment out following option if you have gconf installed
200ac_add_options --disable-gconf
201<!-- Uncommenting does not work
202# If you have not installed Yasm then uncomment this line:
203#ac_add_options - -disable-webm
204-->
205# If you want to compile the Mozilla Calendar, uncomment this line:
206#ac_add_options --enable-calendar
207
208# Comment out following options if you have not installed
209# recommended dependencies:
210ac_add_options --enable-system-sqlite
211ac_add_options --with-system-libevent
212ac_add_options --with-system-libvpx
213ac_add_options --with-system-nspr
214ac_add_options --with-system-nss
215ac_add_options --with-system-icu
216
217# The BLFS editors recommend not changing anything below this line:
218ac_add_options --prefix=/usr
219ac_add_options --enable-application=mail
220
221ac_add_options --disable-crashreporter
222ac_add_options --disable-installer
223ac_add_options --disable-updater
224ac_add_options --disable-debug
225ac_add_options --disable-tests
226
227ac_add_options --enable-optimize
228ac_add_options --enable-strip
229ac_add_options --enable-install-strip
230
231ac_add_options --enable-gio
232ac_add_options --enable-official-branding
233ac_add_options --enable-safe-browsing
234ac_add_options --enable-url-classifier
235
236# Use internal cairo due to reports of unstable execution with
237# system cairo
238#ac_add_options --enable-system-cairo
239ac_add_options --enable-system-ffi
240ac_add_options --enable-system-pixman
241
242ac_add_options --with-pthreads
243
244ac_add_options --with-system-bz2
245ac_add_options --with-system-jpeg
246ac_add_options --with-system-png
247ac_add_options --with-system-zlib</literal>
248EOF</userinput></screen>
249
250 <para>
251 First, fix building with system freetype-2.6 or later:
252 </para>
253
254<!-- might be necessary
255test $(uname -m) = "i686" && sed -i 's/enable-optimize/disable-optimize/' mozconfig || true &&-->
256<screen><userinput>sed -e '/^ftglyph.h/i ftfntfmt.h' \
257 -e '/^freetype\/ftcache.h/a freetype\/ftfntfmt.h' \
258 -i mozilla/config/system-headers</userinput></screen>
259
260 <para>
261 Compile <application>Thunderbird</application> by issuing the following
262 commands:
263 </para>
264
265 <note><para>
266 If you are compiling <application>Thunderbird</application> in chroot,
267 prepend <envar>SHELL=/bin/sh</envar> to the <!--first -->make command below.
268 </para></note>
269
270<screen><userinput>make -f client.mk</userinput></screen>
271
272 <para>
273 This package does not come with a test suite.
274 </para>
275
276 <para>
277 Install <application>Thunderbird</application> by running the following
278 commands as the <systemitem class="username">root</systemitem> user:
279 </para>
280
281<screen role="root"><userinput>make -f client.mk install INSTALL_SDK= &amp;&amp;
282chown -R 0:0 /usr/lib/thunderbird-&thunderbird-version;</userinput></screen>
283
284<!-- thunderbuild directory does not exist anymore. Leaving as comment,
285in case an editor figures out how to install the development environment.
286 <para>
287 The above instruction just installs the parts you need to run
288 <application>Thunderbird</application>. Alternatively, if you want to
289 install the full <application>Thunderbird</application> development
290 environment, run the following command as the
291 <systemitem class="username">root</systemitem> user:
292 </para>
293
294<screen role="root"><userinput>make -C thunderbuild install</userinput></screen>
295-->
296 </sect2>
297
298 <sect2 role="commands">
299 <title>Command Explanations</title>
300<!-- might be necessary
301 <para>
302 <command>test $(uname -m) = "i686" &amp;&amp; sed ...</command>: On this
303 version of thunderbird, an old bug has reappeared in 32-bit builds. With
304 optimization, the install fails with a Python error. This command will
305 fix i686 builds and preserve the optimization on x86_64.
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.