source: xsoft/other/thunderbird.xml@ b5155c56

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since b5155c56 was b5155c56, checked in by Dan Nichilson <dnicholson@…>, 18 years ago

Updated to {firefox,thunderbird}-1.5.0.4. Added patches to fix
the builds with --enable-pango.

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

  • Property mode set to 100644
File size: 23.3 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!-- Inserted as a reminder to do this. The mention of a test suite
8 is usually right before the root user installation commands. Please
9 delete these 12 (including one blank) lines after you are done.-->
10
11 <!-- Use one of the two mentions below about a test suite,
12 delete the line that is not applicable. Of course, if the
13 test suite uses syntax other than "make check", revise the
14 line to reflect the actual syntax to run the test suite -->
15
16 <!-- <para>This package does not come with a test suite.</para> -->
17 <!-- <para>To test the results, issue: <command>make check</command>.</para> -->
18
19 <!ENTITY thunderbird-download-http "http://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/&thunderbird-version;/source/thunderbird-&thunderbird-version;-source.tar.bz2">
20 <!ENTITY thunderbird-download-ftp "ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/&thunderbird-version;/source/thunderbird-&thunderbird-version;-source.tar.bz2">
21 <!ENTITY thunderbird-md5sum "ada9c163f5b26fe81958e7a85340811e">
22 <!ENTITY thunderbird-size "34.2 MB">
23 <!ENTITY thunderbird-buildsize "597 MB">
24 <!ENTITY thunderbird-time "18.1 SBU">
25
26 <!ENTITY thunderbird-enigmail-version "0.94.0">
27 <!ENTITY thunderbird-enigmail-download "http://www.mozilla-enigmail.org/downloads/src/enigmail-&thunderbird-enigmail-version;.tar.gz">
28 <!ENTITY thunderbird-enigmail-md5sum "d326c302c1d2d68217fffcaa01ca7632">
29]>
30
31<sect1 id="thunderbird" xreflabel="Thunderbird-&thunderbird-version;">
32 <?dbhtml filename="thunderbird.html" ?>
33
34 <sect1info>
35 <othername>$LastChangedBy$</othername>
36 <date>$Date$</date>
37 </sect1info>
38
39 <title>Thunderbird-&thunderbird-version;</title>
40
41 <indexterm zone="thunderbird">
42 <primary sortas="a-Thunderbird">Thunderbird</primary>
43 </indexterm>
44
45 <sect2 role="package">
46 <title>Introduction to Thunderbird</title>
47
48 <para><application>Thunderbird</application> is a stand-alone
49 mail/news client based on the <application>Mozilla</application>
50 codebase.</para>
51
52 <bridgehead renderas="sect3">Package Information</bridgehead>
53 <itemizedlist spacing="compact">
54 <listitem>
55 <para>Download (HTTP): <ulink url="&thunderbird-download-http;"/></para>
56 </listitem>
57 <listitem>
58 <para>Download (FTP): <ulink url="&thunderbird-download-ftp;"/></para>
59 </listitem>
60 <listitem>
61 <para>Download MD5 sum: &thunderbird-md5sum;</para>
62 </listitem>
63 <listitem>
64 <para>Download size: &thunderbird-size;</para>
65 </listitem>
66 <listitem>
67 <para>Estimated disk space required: &thunderbird-buildsize;</para>
68 </listitem>
69 <listitem>
70 <para>Estimated build time: &thunderbird-time;</para>
71 </listitem>
72 </itemizedlist>
73
74 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
75 <itemizedlist spacing="compact">
76 <listitem>
77 <para>Required patch (if using system-installed versions of
78 <application>NSS</application> and <application>NSPR</application>:)
79 <ulink
80 url="&patch-root;/thunderbird-&thunderbird-version;-system_nss-1.patch"/>
81 </para>
82 </listitem>
83 <listitem>
84 <para>Required patch (if enabling <application>Pango</application>
85 font rendering):
86 url="&patch-root;/thunderbird-&thunderbird-version;-pangoxft-1.patch"/>
87 </para>
88 </listitem>
89 </itemizedlist>
90
91 <para>To enable the <application>Enigmail</application> extension to the
92 <application>Thunderbird</application> mail client, you'll need to download
93 the tarball shown below. The <application>Enigmail</application> extension
94 allows users to access the authentication and encryption features provided
95 by the <application>GnuPG</application> package. The Enigmail extension
96 will not operate correctly unless you have <xref linkend="gnupg"/>
97 installed.</para>
98
99 <itemizedlist spacing='compact'>
100 <listitem>
101 <para><ulink url="&thunderbird-enigmail-download;"/></para>
102 </listitem>
103 <listitem>
104 <para>Download MD5 sum: &thunderbird-enigmail-md5sum;</para>
105 </listitem>
106 </itemizedlist>
107
108 <bridgehead renderas="sect3">Thunderbird Dependencies</bridgehead>
109
110 <bridgehead renderas="sect4">Required</bridgehead>
111 <para role="required"><xref linkend="gtk2"/>,
112 <xref linkend="libidl"/>, and
113 <xref linkend="zip"/></para>
114
115 <para>Note: <application>libjpeg</application> should have been installed
116 before <application>GTK+</application> and should exist on your system. If
117 for some reason you haven't installed <application>libjpeg</application>,
118 you should remove the <option>--with-system-jpeg</option> option from the
119 <filename>.mozconfig</filename> file created below.</para>
120
121 <bridgehead renderas="sect4">Recommended (if you will be installing any
122 other package that utilizes NSS/NSPR, such as
123 <application>Firefox</application>,
124 <application>Mozilla</application>,
125 <application>Evolution</application>, or
126 <application>OpenOffice</application>)</bridgehead>
127 <para role="recommended"><xref linkend="nss"/></para>
128
129 <bridgehead renderas="sect4">Optional</bridgehead>
130 <para role="optional"><xref linkend="unzip"/> and
131 <xref linkend="libgnomeui"/> (to build the gnomevfs extension)</para>
132
133 <para condition="html" role="usernotes">User Notes:
134 <ulink url="&blfs-wiki;/Thunderbird"/></para>
135
136 </sect2>
137
138 <sect2 role="installation">
139 <title>Installation of Thunderbird</title>
140
141 <para>The configuration of <application>Thunderbird</application> is
142 accomplished by creating a <filename>.mozconfig</filename> file containing
143 the desired configuration options. A default <filename>.mozconfig</filename>
144 is created below. To see the entire list of available configuration options
145 (and an abbreviated description of each one), issue
146 <command>./configure --help</command>. If you are going to use
147 system-installed versions of the <application>NSS</application> and
148 <application>NSPR</application> libraries, ensure you uncomment the two
149 lines near the bottom of the file. You may also wish to review the entire
150 file and uncomment any other desired options. If you would prefer to
151 download the file instead of creating it by typing or cut-and-pasting, you
152 can find it at <ulink
153 url="&files-anduin;/thunderbird-&thunderbird-version;-mozconfig"/>
154 (the file must be installed in the root of the source tree
155 <filename class='directory'>mozilla</filename> directory, and named
156 <filename>.mozconfig</filename>). Create the file by issuing the following
157 command:</para>
158
159<screen><userinput>cat &gt; .mozconfig &lt;&lt; "EOF"
160<literal># This file contains the options used in the Thunderbird build. You may
161# need to specify additional options for your specific build needs.
162# Use the information provided by running './configure --help' to
163# help you determine if you need to add any additional options.
164# Some additional options can be added by uncommenting the examples
165# in this file or adding options by inserting a line containing
166# 'ac_add_options --some-option-you-need'.
167
168
169# Use the default settings specified in the source tree
170. $topsrcdir/mail/config/mozconfig
171
172# Create an object directory and specify to build the package in that
173# directory. If desired, modify the location of the object directory
174# to a directory inside the source tree by removing '../' from the
175# line below.
176mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../thunderbird-build
177
178# Specify the installation prefix. If you would prefer Thunderbird
179# installed in a different prefix, modify the line below to fit
180# your needs. You'll also need to modify some of the instructions in
181# the BLFS book to point to your desired prefix.
182ac_add_options --prefix=/usr
183
184# These options are used so that the Thunderbird binaries are linked to
185# the system-installed copies of the specified libraries instead of
186# the source tree code which may not be the most recent versions.
187ac_add_options --with-system-zlib
188ac_add_options --with-system-png
189ac_add_options --with-system-jpeg
190ac_add_options --enable-system-cairo
191
192# This option causes the installed binaries to have the official
193# Thunderbird name embedded in them. Due to license restrictions, you
194# may not distribute binaries created using this option.
195ac_add_options --enable-official-branding
196
197# This option specifies to include support for rendering the HTML
198# &lt;canvas&gt;&lt;/canvas&gt; tag in the Thunderbird mail client.
199#ac_add_options --enable-canvas
200
201# This option is used so that the debugging symbols are removed from
202# the installed binaries during the installation process. Comment out
203# this option if you may have a need to retain the debugging symbols
204# in the installed binaries. Note that this can substantially
205# increase the size of the installed binaries.
206ac_add_options --enable-strip
207
208# This option is added so that test libraries and programs are not
209# built. These would only be required for debugging purposes.
210ac_add_options --disable-tests
211
212# This option is added so that the Mozilla Installer program is not
213# built or installed. The program is not required for a BLFS
214# installation of Thunderbird.
215ac_add_options --disable-installer
216
217# This option is used to disable the a11y support in the Thunderbird
218# binaries. Comment out this option if you require a11y support.
219ac_add_options --disable-accessibility
220
221# This option is used to enable source tree included LDAP support in
222# the Thunderbird binaries.
223ac_add_options --enable-ldap
224
225# This option is used to enable support for rendering SVG files in the
226# Thunderbird mail client. Uncomment the line below to enable the option.
227#ac_add_options --enable-svg
228
229# Uncomment this option if you desire support for dual-monitor
230# display of Thunderbird using the X-Window Xinerama libraries.
231#ac_add_options --enable-xinerama
232
233# Complex scripts such as Thai can only be rendered in Thunderbird with
234# the help of Pango. This option significantly slows rendering, so only
235# use it if necessary.
236#ac_add_options --enable-pango
237
238# These two options enable support for building Thunderbird with
239# system-installed versions of the Network Security Services (NSS)
240# and Netscape Portable Runtime (NSPR) libraries. Uncomment both
241# lines to enable support for system-installed NSS/NSPR.
242#ac_add_options --with-system-nss
243#ac_add_options --with-system-nspr
244
245# This option identifies the default binary directory of the Thunderbird
246# installation and is used to locate Thunderbird's installed files. This
247# option is not required for end-user use, and is only used for
248# development purposes.
249#ac_add_options --with-default-mozilla-five-home=/usr/lib/thunderbird-&thunderbird-version;</literal>
250
251EOF</userinput></screen>
252
253 <para>If you have system-installed Network Security Services (NSS) and
254 Netscape Portable Runtime (NSPR) libraries and you uncommented the
255 appropriate lines in the <filename>.mozconfig</filename> file to utilize
256 them, apply the following patch:</para>
257
258<screen><userinput>patch -Np1 -i ../thunderbird-&thunderbird-version;-system_nss-1.patch</userinput></screen>
259
260 <para>If you wish to use <application>Pango</application> for font
261 rendering and have uncommented the appropriate option in
262 <filename>.mozconfig</filename>, apply the following patch:</para>
263
264<screen><userinput>patch -Np1 -i ../thunderbird-&thunderbird-version;-pangoxft-1.patch</userinput></screen>
265
266 <para>Compile <application>Thunderbird</application> by
267 issuing the following commands:</para>
268
269<screen><userinput>sed -i "s/^ enum$/&amp; xptinfo_enum_1/" \
270 xpcom/reflect/xptinfo/public/xptinfo.h &amp;&amp;
271make -f client.mk build</userinput></screen>
272
273 <para>If you're building the <application>Enigmail</application> extension,
274 issue the following commands:</para>
275
276<screen><userinput>tar -xf ../enigmail-&thunderbird-enigmail-version;.tar.gz -C mailnews/extensions &amp;&amp;
277cd mailnews/extensions/enigmail &amp;&amp;
278
279./makemake -r &amp;&amp;
280cd ../../.. &amp;&amp;
281
282make -C ../thunderbird-build/mailnews/extensions/enigmail &amp;&amp;
283make -C ../thunderbird-build/mailnews/extensions/enigmail xpi</userinput></screen>
284
285 <para>Install <application>Thunderbird</application> by running the following
286 commands as the <systemitem class="username">root</systemitem> user:</para>
287
288<screen role="root"><userinput>make -f client.mk install &amp;&amp;
289
290install -v -m644 ../thunderbird-build/dist/public/ldap-private/* \
291 /usr/include/thunderbird-&thunderbird-version;/ldap &amp;&amp;
292
293install -v -m755 -d /usr/lib/thunderbird-&thunderbird-version;/defaults/isp/US &amp;&amp;
294install -v -m644 mailnews/base/ispdata/movemail.rdf \
295 mail/extensions/newsblog/rss.rdf \
296 /usr/lib/thunderbird-&thunderbird-version;/defaults/isp &amp;&amp;
297ln -v -s ../{movemail,rss}.rdf \
298 /usr/lib/thunderbird-&thunderbird-version;/defaults/isp/US</userinput></screen>
299
300 <para>If you built <application>Thunderbird</application> utilizing
301 system-installed NSS and NSPR libraries, the
302 <filename>thunderbird-ns*.pc</filename> <application>pkgconfig</application>
303 files are broken as they point to the wrong directories where the actual
304 libraries and interface headers are located. Issue the following commands
305 as the <systemitem class="username">root</systemitem> user to replace the
306 broken files with symbolic links to known good files:</para>
307
308<screen role="root"><userinput>ln -v -sf nss.pc /usr/lib/pkgconfig/thunderbird-nss.pc &amp;&amp;
309ln -v -sf nspr.pc /usr/lib/pkgconfig/thunderbird-nspr.pc</userinput></screen>
310
311 <para>If you did <emphasis role="strong">NOT</emphasis> build
312 <application>Thunderbird</application> utilizing system-installed NSS and
313 NSPR libraries, issue the following commands as the
314 <systemitem class="username">root</systemitem> user to install the NSS
315 interface headers:</para>
316
317<screen role="root"><userinput>install -v -m755 -d /usr/include/thunderbird-&thunderbird-version;/nss &amp;&amp;
318cp -v -Lf ../thunderbird-build/dist/{private,public}/nss/*.h \
319 /usr/include/thunderbird-&thunderbird-version;/nss</userinput></screen>
320
321 <para>If you built the <application>Enigmail</application> extension,
322 issue the following commands as the <systemitem
323 class="username">root</systemitem> user to install the
324 <filename>.xpi</filename> file:</para>
325
326<screen role="root"><userinput>ENIGMAIL_FILENAME=$(basename \
327 `ls ../thunderbird-build/dist/bin/enigmail-&thunderbird-enigmail-version;-*.xpi`) &amp;&amp;
328
329install -v -m644 -D ../thunderbird-build/dist/bin/$ENIGMAIL_FILENAME \
330 /usr/lib/thunderbird-&thunderbird-version;/xpi_store/$ENIGMAIL_FILENAME</userinput></screen>
331
332 <para>If you want to install <application>Enigmail</application> globally
333 so that all users who run <application>Thunderbird</application> will have
334 access to the extension, issue the command shown below. Note that this
335 procedure starts an instance of <application>Thunderbird</application> and
336 you must have an X server running. Issue the following command as the
337 <systemitem class="username">root</systemitem> user:</para>
338
339<screen role="root"><userinput>/usr/bin/thunderbird -install-global-extension \
340 /usr/lib/thunderbird-&thunderbird-version;/xpi_store/$ENIGMAIL_FILENAME</userinput></screen>
341
342 <para>Global installation of other extensions can be done using the same
343 basic method as the <application>Enigmail</application> extension. See the
344 <quote>Configuring Thunderbird</quote> section below for information about
345 configuring <application>Enigmail</application> for individual users if you
346 did not not install it globally.</para>
347
348 <!-- This appears to not be required any longer. The regchrome program
349 is not built any longer, and multi-user access to Thunderbird appears
350 to work fine without running regxpcom and touching the files. -Randy
351
352 <para>To enable multi-user operation, execute the following as the
353 <systemitem class="username">root</systemitem> user:</para>
354
355<screen role="root"><userinput>cd /usr/lib/thunderbird-&thunderbird-version; &amp;&amp;
356export LD_LIBRARY_PATH="$PWD" &amp;&amp;
357export MOZILLA_FIVE_HOME="$PWD" &amp;&amp;
358./regxpcom &amp;&amp;
359./regchrome &amp;&amp;
360touch `find . -name *.rdf`</userinput></screen>
361
362 -->
363
364 <note>
365 <para>You should run <command>/usr/bin/thunderbird</command> once as the
366 <systemitem class="username">root</systemitem> user (or any user with
367 write privileges) to create some necessary additional files in the
368 <filename class='directory'>/usr/lib/thunderbird-&thunderbird-version;</filename>
369 directory.</para>
370 </note>
371
372 </sect2>
373
374 <sect2 role="commands">
375 <title>Command Explanations</title>
376
377 <para><command>sed -i "s/^ enum$/&amp; xptinfo_enum_1/" ...</command>:
378 This command is used to fix an anonymous enum in an external/public
379 interface header file.</para>
380
381 <para><command>make -f client.mk ...</command>: Mozilla products are
382 packaged to allow the use of a configuration file which can be used to
383 pass the configuration settings to the <command>configure</command>
384 command. <command>make</command> uses the <filename>client.mk</filename>
385 file to get initial configuration and setup parameters, then depending on
386 the target parameter (<parameter>build</parameter> or
387 <parameter>install</parameter>), either runs the
388 <command>configure</command> script and compiles the package or installs
389 the package.</para>
390
391 <para><command>./makemake -r</command>: This command is used to recursively
392 create <filename>Makefile</filename>s in the current directory.</para>
393
394 <para><command>make -C ... xpi</command>: This command builds the
395 <application>Enigmail</application>
396 <filename class='extension'>.xpi</filename> file which is used to install
397 <application>Enigmail</application>.</para>
398
399 <para><command>install .../movemail.rdf .../rss.rdf ...</command>: These
400 commands are used to install two files inadvertently left out of the
401 installation script.</para>
402
403 </sect2>
404
405 <sect2 role="configuration">
406 <title>Configuring Thunderbird</title>
407
408 <sect3><title>Configuration Information</title>
409
410 <para>No specific configuration is required as long as the
411 <command>thunderbird</command> script is in the user's path. If
412 <application>Thunderbird</application> is installed in a non-standard
413 location, then make a symlink to the <command>thunderbird</command>
414 script in the <filename class="directory">/usr/bin</filename>
415 directory.</para>
416
417 <para>If you don't have privileges to install extensions globally, or
418 you prefer to not install global extensions, you can configure
419 <application>Thunderbird</application> on an individual user basis for
420 access to extensions. For example, if you built the
421 <application>Enigmail</application> extension and did not install it
422 globally, it can be installed on an as-needed basis for each user of the
423 system who may use <application>Thunderbird</application>. It is
424 accomplished through the <application>Thunderbird</application>
425 <quote>Tools</quote> menu. Choose the <quote>Extensions</quote> &ndash;
426 <quote>Install</quote> option and fill in the <quote>Look in:</quote>
427 field with <filename
428 class='directory'>/usr/lib/thunderbird-&thunderbird-version;/xpi_store</filename>.
429 You'll then see the
430 <filename>enigmail-&thunderbird-enigmail-version;-linux-????.xpi</filename>
431 file listed. Choose this file and click on <quote>Open</quote>, then
432 click on <quote>Install now</quote>. The
433 <application>Enigmail</application> extension will install and you will
434 be prompted to restart <application>Thunderbird</application>.</para>
435
436 <para>If your Window or Desktop Manager does not allow you to configure
437 a default browser, you can add a configuration parameter to
438 <application>Thunderbird</application> so that a browser will start when
439 when you click on an Internet/intranet/local URL. The procedure to check
440 or modify any of the configuration parameters is quite simple and the
441 instructions here can be used to view or modify any of the
442 parameters.</para>
443
444 <para>First, open the configuration dialog by opening the
445 <quote>Edit</quote> drop-down menu. Choose <quote>Preferences</quote>
446 and then click on the <quote>Advanced</quote> icon on the top menu
447 bar. Choose the <quote>General</quote> tab and click on the
448 <quote>Config Editor</quote> button. This will display a list of the
449 configuration preferences and information related to each one. You can
450 use the <quote>Filter:</quote> bar to enter search criteria and narrow
451 down the listed items. Changing a preference can be done using two
452 methods. One, if the preference has a boolean value (True/False), simply
453 double-click on the preference to toggle the value and two, for other
454 preferences simply right-click on the desired line, choose
455 <quote>Modify</quote> from the menu and change the value. Creating new
456 preference items is accomplished in the same way, except choose
457 <quote>New</quote> from the menu and provide the desired data into the
458 fields when prompted.</para>
459
460 <para>The configuration preference item you need to check so that
461 <application>Thunderbird</application> uses a specified browser is the
462 <parameter>network.protocol-handler.app.http</parameter> which should
463 be set to the path of the desired browser, e.g.,
464 <option>/usr/bin/firefox</option>.</para>
465
466 <tip>
467 <para>There is a multitude of configuration parameters you can tweak to
468 customize <application>Thunderbird</application>. A very extensive and
469 up-to-date list of these parameters can be found at <ulink
470 url="http://preferential.mozdev.org/preferences.html"/>.</para>
471 </tip>
472
473 </sect3>
474
475 </sect2>
476
477 <sect2 role="content">
478 <title>Contents</title>
479
480 <segmentedlist>
481 <segtitle>Installed Programs</segtitle>
482 <segtitle>Installed Libraries</segtitle>
483 <segtitle>Installed Directories</segtitle>
484
485 <seglistitem>
486 <seg>thunderbird and thunderbird-config</seg>
487 <seg>Numerous libraries, email/newsgroups components, plugins,
488 extensions, and helper modules installed in <filename
489 class='directory'>/usr/lib/thunderbird-&thunderbird-version;</filename>
490 </seg>
491 <seg>/usr/include/thunderbird-&thunderbird-version;,
492 /usr/lib/thunderbird-&thunderbird-version;, and
493 /usr/share/idl/thunderbird-&thunderbird-version;</seg>
494 </seglistitem>
495 </segmentedlist>
496
497 <variablelist>
498 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
499 <?dbfo list-presentation="list"?>
500 <?dbhtml list-presentation="table"?>
501
502 <varlistentry id="thunderbird-prog">
503 <term><command>thunderbird</command></term>
504 <listitem>
505 <para>is <application>Mozilla</application>'s next-generation
506 email and newsgroup client.</para>
507 <indexterm zone="thunderbird thunderbird-prog">
508 <primary sortas="b-thunderbird">thunderbird</primary>
509 </indexterm>
510 </listitem>
511 </varlistentry>
512
513 </variablelist>
514
515 </sect2>
516
517</sect1>
Note: See TracBrowser for help on using the repository browser.