source: xsoft/other/thunderbird.xml@ b78e9bc

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 b78e9bc was b78e9bc, checked in by Bruce Dubbs <bdubbs@…>, 9 years ago

Remove references to libnotify in mozilla apps

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

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