source: xsoft/other/thunderbird.xml@ fcd66369

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 fcd66369 was fcd66369, checked in by Igor Živković <igor@…>, 11 years ago

add option to install firefox and thunderbird with system cairo

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

  • Property mode set to 100644
File size: 14.1 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
8 "&mozilla-http;/thunderbird/releases/&thunderbird-version;/source/thunderbird-&thunderbird-version;.source.tar.bz2">
9 <!ENTITY thunderbird-download-ftp
10 "&mozilla-ftp;/thunderbird/releases/&thunderbird-version;/source/thunderbird-&thunderbird-version;.source.tar.bz2">
11 <!ENTITY thunderbird-md5sum "e4aee8852e94e455930bf482aecdbcd4">
12 <!ENTITY thunderbird-size "108 MB">
13 <!ENTITY thunderbird-buildsize "3.1 GB (47 MB installed)">
14 <!ENTITY thunderbird-time "30 SBU">
15]>
16
17<sect1 id="thunderbird" xreflabel="Thunderbird-&thunderbird-version;">
18 <?dbhtml filename="thunderbird.html" ?>
19
20 <sect1info>
21 <othername>$LastChangedBy$</othername>
22 <date>$Date$</date>
23 </sect1info>
24
25 <title>Thunderbird-&thunderbird-version;</title>
26
27 <indexterm zone="thunderbird">
28 <primary sortas="a-Thunderbird">Thunderbird</primary>
29 </indexterm>
30
31 <sect2 role="package">
32 <title>Introduction to Thunderbird</title>
33
34 <para>
35 <application>Thunderbird</application> is a stand-alone mail/news client
36 based on the <application>Mozilla</application> codebase. It uses the
37 Gecko rendering engine to enable it to display and compose HTML emails.
38 </para>
39
40 &lfs74_checked;
41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>
46 Download (HTTP): <ulink url="&thunderbird-download-http;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download (FTP): <ulink url="&thunderbird-download-ftp;"/>
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download MD5 sum: &thunderbird-md5sum;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Download size: &thunderbird-size;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated disk space required: &thunderbird-buildsize;
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Estimated build time: &thunderbird-time;
72 </para>
73 </listitem>
74 </itemizedlist>
75
76 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
77 <itemizedlist spacing='compact'>
78 <listitem>
79 <para>Optional patch: <ulink
80 url="&patch-root;/thunderbird-&thunderbird-version;-system_cairo-1.patch"/></para>
81 </listitem>
82 </itemizedlist>
83
84 <bridgehead renderas="sect3">Thunderbird Dependencies</bridgehead>
85
86 <bridgehead renderas="sect4">Required</bridgehead>
87 <para role="required">
88 <xref linkend="alsa-lib"/>,
89 <xref linkend="gtk2"/>,
90 <xref linkend="zip"/> and
91 <xref linkend="unzip"/>
92 </para>
93
94 <bridgehead renderas="sect4">Recommended</bridgehead>
95 <para role="recommended">
96 <xref linkend="libevent"/>,
97 <xref linkend="libvpx"/>,
98 <xref linkend="nspr"/>,
99 <xref linkend="nss"/>,
100 <xref linkend="sqlite"/> and
101 <xref linkend="yasm"/>
102 </para>
103
104 <note>
105 <para>
106 If you don't install recommended dependencies,
107 then internal copies of those packages will
108 be used. They might be tested to work, but
109 they can be out of date or contain security
110 holes.
111 </para>
112 </note>
113
114 <bridgehead renderas="sect4">Optional</bridgehead>
115 <para role="optional">
116 <xref linkend="curl"/>,
117 <xref linkend="cyrus-sasl"/>,
118 <xref linkend="dbus-glib"/>,
119 <xref linkend="doxygen"/>,
120 <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>,
121 <xref linkend="libnotify"/>,
122 <xref linkend="startup-notification"/>,
123 <xref linkend="wget"/> and
124 <xref linkend="wireless_tools"/>
125 </para>
126
127 <para condition="html" role="usernotes">
128 User Notes: <ulink url="&blfs-wiki;/Thunderbird"/>
129 </para>
130 </sect2>
131
132 <sect2 role="installation">
133 <title>Installation of Thunderbird</title>
134
135 <para>
136 The configuration of <application>Thunderbird</application> is
137 accomplished by creating a <filename>mozconfig</filename> file containing
138 the desired configuration options. A default
139 <filename>mozconfig</filename> is created below. To see the entire list of
140 available configuration options (and a brief description of each), issue
141 <command>./configure --help</command>. Create the file with the following
142 command:
143 </para>
144
145<screen><userinput>cat &gt; mozconfig &lt;&lt; "EOF"
146# If you have a multicore machine you can speed up the build by running
147# several jobs at once by uncommenting the following line and setting the
148# value to number of CPU cores:
149#mk_add_options MOZ_MAKE_FLAGS="-j4"
150
151# If you have installed DBus-Glib comment out this line:
152ac_add_options --disable-dbus
153
154# If you have installed wireless-tools comment out this line:
155ac_add_options --disable-necko-wifi
156
157# If you have installed libnotify comment out this line:
158ac_add_options --disable-libnotify
159
160# Uncomment these lines if you have installed optional dependencies:
161#ac_add_options --enable-system-hunspell
162#ac_add_options --enable-startup-notification
163
164# Uncomment this line if you compiled Cairo with --enable-tee switch and want
165# to use it instead of the bundled one:
166#ac_add_options --enable-system-cairo
167
168# If you have not installed Yasm then uncomment this line:
169#ac_add_options --disable-webm
170
171# If you want to compile the Mozilla Calendar, uncomment this line:
172#ac_add_options --enable-calendar
173
174# Comment out following options if you have not installed
175# recommended dependencies:
176ac_add_options --enable-system-sqlite
177ac_add_options --with-system-libevent
178ac_add_options --with-system-libvpx
179ac_add_options --with-system-nspr
180ac_add_options --with-system-nss
181
182# It is recommended not to touch anything below this line
183ac_add_options --prefix=/usr
184
185ac_add_options --disable-crashreporter
186ac_add_options --disable-installer
187ac_add_options --disable-updater
188ac_add_options --disable-debug
189ac_add_options --disable-tests
190
191ac_add_options --enable-optimize
192ac_add_options --enable-strip
193ac_add_options --enable-install-strip
194
195ac_add_options --enable-gio
196ac_add_options --enable-official-branding
197ac_add_options --enable-safe-browsing
198ac_add_options --enable-url-classifier
199
200ac_add_options --enable-system-ffi
201ac_add_options --enable-system-pixman
202
203ac_add_options --with-pthreads
204
205ac_add_options --with-system-bz2
206ac_add_options --with-system-jpeg
207ac_add_options --with-system-png
208ac_add_options --with-system-zlib
209
210mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/thunderbuild
211EOF</userinput></screen>
212
213 <para>
214 If you are building against a system-installed <application>Cairo</application>
215 apply the patch:
216 </para>
217
218<screen><userinput>patch -Np1 -i ../thunderbird-&thunderbird-version;-system_cairo-1.patch
219</userinput></screen>
220
221 <para>
222 Compile <application>Thunderbird</application> by issuing the following
223 commands:
224 </para>
225
226<screen><userinput>make -f client.mk &amp;&amp;
227make -C thunderbuild/mail/installer</userinput></screen>
228
229 <para>
230 This package does not come with a test suite.
231 </para>
232
233 <para>
234 Install <application>Thunderbird</application> by running the following
235 commands as the <systemitem class="username">root</systemitem> user:
236 </para>
237
238<screen role="root"><userinput>mkdir -pv /usr/lib/thunderbird-&thunderbird-version; &amp;&amp;
239tar -xvf thunderbuild/mozilla/dist/thunderbird-&thunderbird-version;.en-US.linux-$(uname -m).tar.bz2 \
240 -C /usr/lib/thunderbird-&thunderbird-version; --strip-components=1 &amp;&amp;
241ln -sfv ../lib/thunderbird-&thunderbird-version;/thunderbird /usr/bin</userinput></screen>
242
243 <para>
244 The above instructions just install the parts you need to run
245 <application>Thunderbird</application>. Alternatively, if you want to
246 install the full <application>Thunderbird</application> development
247 environment, run the following command as the
248 <systemitem class="username">root</systemitem> user:
249 </para>
250
251<screen role="root"><userinput>make -C thunderbuild install</userinput></screen>
252 </sect2>
253
254 <sect2 role="commands">
255 <title>Command Explanations</title>
256
257 <para>
258 <command>make -f client.mk</command>: Mozilla products are packaged to
259 allow the use of a configuration file which can be used to pass the
260 configuration settings to the <command>configure</command> command.
261 <command>make</command> uses the <filename>client.mk</filename> file to
262 get initial configuration and setup parameters.
263 </para>
264
265 <para>
266 <command>make -C thunderbuild/mail/installer</command>: this runs make in
267 the <filename class="directory">thunderbuild/mail/installer</filename>
268 folder. This gathers together all the parts of
269 <application>Thunderbird</application> and compresses them into a tarball.
270 </para>
271
272 <para>
273 <command>tar -xfv thunderbuild/mozilla/dist ...</command>: This untars
274 <application>Thunderbird</application>, the <option>-C</option> option
275 uncompresses the files in
276 <filename class="directory">/usr/lib/thunderbird-&thunderbird-version;</filename>.
277 The <option>--strip-components=1</option> option removes the leading
278 'thunderbird' directory from the filenames, allowing us to untar it into a
279 versioned directory.
280 </para>
281 </sect2>
282
283 <sect2 role="configuration">
284 <title>Configuring Thunderbird</title>
285
286 <sect3><title>Configuration Information</title>
287
288 <para>
289 If your Window or Desktop Manager does not allow you to configure a
290 default browser, you can add a configuration parameter to
291 <application>Thunderbird</application> so that a browser will start when
292 when you click on an Internet/intranet/local URL. The procedure to check
293 or modify any of the configuration parameters is quite simple and the
294 instructions here can be used to view or modify any of the parameters.
295 </para>
296
297 <para>
298 First, open the configuration dialog by opening the <quote>Edit</quote>
299 drop-down menu. Choose <quote>Preferences</quote> and then click on the
300 <quote>Advanced</quote> icon on the top menu bar. Choose the
301 <quote>General</quote> tab and click on the <quote>Config Editor</quote>
302 button. This will display a list of the configuration preferences and
303 information related to each one. You can use the <quote>Filter:</quote>
304 bar to enter search criteria and narrow down the listed items. Changing
305 a preference can be done using two methods. One, if the preference has a
306 boolean value (True/False), simply double-click on the preference to
307 toggle the value and two, for other preferences simply right-click on
308 the desired line, choose <quote>Modify</quote> from the menu and change
309 the value. Creating new preference items is accomplished in the same
310 way, except choose <quote>New</quote> from the menu and provide the
311 desired data into the fields when prompted.
312 </para>
313
314 <para>
315 The configuration preference item you need to check so that
316 <application>Thunderbird</application> uses a specified browser is the
317 <parameter>network.protocol-handler.app.http</parameter> which should be
318 set to the path of the desired browser, e.g.
319 <option>/usr/bin/firefox</option>.
320 </para>
321
322 <tip>
323 <para>
324 There is a multitude of configuration parameters you can tweak to
325 customize <application>Thunderbird</application>. A very extensive,
326 but not so up-to-date list of these parameters can be found at
327 <ulink url="http://preferential.mozdev.org/preferences.html"/>.
328 </para>
329 </tip>
330
331 <para>
332 If you use a desktop environment like <application>GNOME</application> or
333 <application>KDE</application> you may wish to create a
334 <filename>thunderbird.desktop</filename> file so that
335 <application>Thunderbird</application> appears in the panel's menus. If
336 you didn't enable <application>startup-notification</application> in your
337 mozconfig then change the StartupNotify line to false. Run the following
338 commands as the <systemitem class="username">root</systemitem> user:
339 </para>
340
341<screen role="root"><userinput>mkdir -pv /usr/share/applications &amp;&amp;
342mkdir -pv /usr/share/pixmaps &amp;&amp;
343
344cat &gt; /usr/share/applications/thunderbird.desktop &lt;&lt; "EOF" &amp;&amp;
345<literal>[Desktop Entry]
346Encoding=UTF-8
347Name=Thunderbird Mail
348Comment=Send and receive mail with Thunderbird
349GenericName=Mail Client
350Exec=thunderbird %u
351Terminal=false
352Type=Application
353Icon=thunderbird
354Categories=Application;Network;Email;
355MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;x-scheme-handler/mailto;
356StartupNotify=true</literal>
357EOF
358
359ln -sfv /usr/lib/thunderbird-&thunderbird-version;/chrome/icons/default/default256.png \
360 /usr/share/pixmaps/thunderbird.png</userinput></screen>
361 </sect3>
362 </sect2>
363
364 <sect2 role="content">
365 <title>Contents</title>
366
367 <segmentedlist>
368 <segtitle>Installed Program</segtitle>
369 <segtitle>Installed Libraries</segtitle>
370 <segtitle>Installed Directory</segtitle>
371
372 <seglistitem>
373 <seg>
374 thunderbird
375 </seg>
376 <seg>
377 None
378 </seg>
379 <seg>
380 /usr/lib/thunderbird-&thunderbird-version;
381 </seg>
382 </seglistitem>
383 </segmentedlist>
384
385 <variablelist>
386 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
387 <?dbfo list-presentation="list"?>
388 <?dbhtml list-presentation="table"?>
389
390 <varlistentry id="thunderbird-prog">
391 <term><command>thunderbird</command></term>
392 <listitem>
393 <para>
394 is <application>Mozilla</application>'s email and newsgroup client.
395 </para>
396 <indexterm zone="thunderbird thunderbird-prog">
397 <primary sortas="b-thunderbird">thunderbird</primary>
398 </indexterm>
399 </listitem>
400 </varlistentry>
401
402 </variablelist>
403
404 </sect2>
405
406</sect1>
Note: See TracBrowser for help on using the repository browser.