source: xsoft/other/thunderbird.xml@ 8ebf0b04

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gimp3 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 8ebf0b04 was d6c6562, checked in by Bruce Dubbs <bdubbs@…>, 7 years ago

Remove gcc7 entity

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

  • Property mode set to 100644
File size: 15.0 KB
RevLine 
[16998db6]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[16998db6]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[cf7d546]7 <!ENTITY thunderbird-download-http "&mozilla-http;/thunderbird/releases/&thunderbird-version;/source/thunderbird-&thunderbird-version;.source.tar.xz">
[8dfc5c3]8 <!ENTITY thunderbird-download-ftp " ">
9 <!ENTITY thunderbird-md5sum "df6ddc52046acd66503756c094c30e21">
10 <!ENTITY thunderbird-size "218 MB">
11 <!ENTITY thunderbird-buildsize "4.5 GB (109 MB installed)">
12 <!ENTITY thunderbird-time "15 SBU (with -j4, estimated 40 SBU with -j1)">
[16998db6]13]>
14
[d1981e0]15<sect1 id="thunderbird" xreflabel="Thunderbird-&thunderbird-version;">
[1c5e617]16 <?dbhtml filename="thunderbird.html" ?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
[55329727]20 <date>$Date$</date>
[1c5e617]21 </sect1info>
22
23 <title>Thunderbird-&thunderbird-version;</title>
24
25 <indexterm zone="thunderbird">
26 <primary sortas="a-Thunderbird">Thunderbird</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to Thunderbird</title>
31
[d41c02b]32 <para>
33 <application>Thunderbird</application> is a stand-alone mail/news client
[604ba3d8]34 based on the <application>Mozilla</application> codebase. It uses the
35 Gecko rendering engine to enable it to display and compose HTML emails.
[d41c02b]36 </para>
[b9b1a372]37
[a8bf5520]38 &lfs80_checked;
[1c5e617]39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
[d41c02b]43 <para>
44 Download (HTTP): <ulink url="&thunderbird-download-http;"/>
45 </para>
[1c5e617]46 </listitem>
47 <listitem>
[d41c02b]48 <para>
49 Download (FTP): <ulink url="&thunderbird-download-ftp;"/>
50 </para>
[1c5e617]51 </listitem>
52 <listitem>
[d41c02b]53 <para>
54 Download MD5 sum: &thunderbird-md5sum;
55 </para>
[1c5e617]56 </listitem>
57 <listitem>
[d41c02b]58 <para>
59 Download size: &thunderbird-size;
60 </para>
[1c5e617]61 </listitem>
62 <listitem>
[d41c02b]63 <para>
64 Estimated disk space required: &thunderbird-buildsize;
65 </para>
[1c5e617]66 </listitem>
67 <listitem>
[d41c02b]68 <para>
69 Estimated build time: &thunderbird-time;
70 </para>
[1c5e617]71 </listitem>
72 </itemizedlist>
[773ef6d]73
[1c5e617]74 <bridgehead renderas="sect3">Thunderbird Dependencies</bridgehead>
75
76 <bridgehead renderas="sect4">Required</bridgehead>
[d41c02b]77 <para role="required">
78 <xref linkend="alsa-lib"/>,
[989c203]79 <xref linkend="gtk3"/>,
[8b9ad6e]80 <xref linkend="zip"/>,
[a30a874]81 <xref linkend="unzip"/>, and
82 <xref linkend="yasm"/>
[d41c02b]83 </para>
84
[1ddbf11a]85 <bridgehead renderas="sect4">Recommended</bridgehead>
86 <para role="recommended">
87 <xref linkend="libevent"/>,
88 <xref linkend="libvpx"/>,
[989c203]89 <xref linkend="nspr"/>,
90 <xref linkend="nss"/>, and
[8b9ad6e]91 <xref linkend="sqlite"/>
[1ddbf11a]92 </para>
93
94 <note>
95 <para>
96 If you don't install recommended dependencies,
97 then internal copies of those packages will
98 be used. They might be tested to work, but
99 they can be out of date or contain security
100 holes.
101 </para>
102 </note>
103
[80454f5]104 <note>
105 <para>
[0c3e9be8]106 With <application>Thunderbird-31.0</application> and later versions,
107 you must have installed <application>Openssl</application> before
[80454f5]108 <application>Python 2</application>, or the build system will quickly
109 fail with output including "ImportError: cannot import name
[0c3e9be8]110 HTTPSHandler". If you are in any doubt about this (e.g. upgrading from
111 an older version of Thunderbird), check if
112 <filename>/usr/lib/python&python2-majorver;/lib-dynload/_ssl.so</filename>
113 exists. If it does not, reinstall <xref linkend="python2"/> (after
[80454f5]114 installing <xref linkend="openssl"/> - the latest version of any
[0c3e9be8]115 <emphasis>currently maintained</emphasis> version of Openssl should be
116 satisfactory if already installed - if that package has not already
[80454f5]117 been installed).
118 </para>
119 </note>
120
[1c5e617]121 <bridgehead renderas="sect4">Optional</bridgehead>
[d41c02b]122 <para role="optional">
[989c203]123 <!-- <xref linkend="curl"/>, not in build log-->
[23d3543c]124 <xref linkend="cyrus-sasl"/>,
[d41c02b]125 <xref linkend="dbus-glib"/>,
126 <xref linkend="doxygen"/>,
[89cdb63d]127 <xref linkend="GConf"/>,
[989c203]128 <!--<xref linkend="gst10-plugins-base"/> (with
[6000a3e]129 <xref linkend="gst10-plugins-good"/> and
[989c203]130 <xref linkend="gst10-libav"/> at runtime),-->
[6a9a5f2]131 <xref linkend="llvm"/>,
[989c203]132 <!-- <xref linkend="openjdk"/>, not in build log -->
[4ee8515]133 <xref linkend="pulseaudio"/>,
[d41c02b]134 <xref linkend="startup-notification"/>,
[66370fc]135 <xref linkend="wget"/>,
136 <xref linkend="wireless_tools"/>, and
137 <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>
[d41c02b]138 </para>
139
140 <para condition="html" role="usernotes">
141 User Notes: <ulink url="&blfs-wiki;/Thunderbird"/>
142 </para>
[1c5e617]143 </sect2>
144
145 <sect2 role="installation">
146 <title>Installation of Thunderbird</title>
147
[d41c02b]148 <para>
149 The configuration of <application>Thunderbird</application> is
150 accomplished by creating a <filename>mozconfig</filename> file containing
151 the desired configuration options. A default
[53f790a]152 <filename>mozconfig</filename> is created below. To see the entire list
153 of available configuration options (and a brief description of each),
154 issue <command>mozilla/configure --help</command>. Create the file with
155 the following command:
[d41c02b]156 </para>
[adb388a]157
[0adc5d50]158<screen><userinput>cat &gt; mozconfig &lt;&lt; "EOF"
[da0a3b9]159<literal># If you have a multicore machine, the build may be faster if using parallel
[53f790a]160# jobs. The build system automatically adds -jN to the "make" flags, where N
161# is the number of CPU cores. The option below is therefore useless, unless
162# you want to use a smaller number of jobs:
163#mk_add_options MOZ_MAKE_FLAGS="-j1"
[9671f10]164
[7090d94]165# If you have installed dbus-glib, comment out this line:
[f207d239]166ac_add_options --disable-dbus
167
[1ddbf11a]168# If you have installed wireless-tools comment out this line:
[9671f10]169ac_add_options --disable-necko-wifi
170
[1ddbf11a]171# Uncomment these lines if you have installed optional dependencies:
172#ac_add_options --enable-system-hunspell
173#ac_add_options --enable-startup-notification
174
[4ee8515]175# Comment out following option if you have PulseAudio installed
176ac_add_options --disable-pulseaudio
[89cdb63d]177
178# Comment out following option if you have gconf installed
179ac_add_options --disable-gconf
[9831a90]180
[5ef6186]181# If you want to compile the Mozilla Calendar, uncomment this line:
[1ddbf11a]182#ac_add_options --enable-calendar
183
184# Comment out following options if you have not installed
185# recommended dependencies:
[989c203]186ac_add_options --enable-system-sqlite
[1ddbf11a]187ac_add_options --with-system-libevent
188ac_add_options --with-system-libvpx
189ac_add_options --with-system-nspr
190ac_add_options --with-system-nss
[18310d86]191ac_add_options --with-system-icu
[83d02fc6]192<!-- These do not seem to be needed any more
[0639bb6]193# Set CFLAGS and CXXFLAGS to prevent segfaults due to aggressive
[63ab44e]194# optimizations in GCC-6:
195export CFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2"
196export CXXFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2"
[83d02fc6]197-->
[7251b1d]198# The BLFS editors recommend not changing anything below this line:
[1ddbf11a]199ac_add_options --prefix=/usr
[222df76]200ac_add_options --enable-application=mail
[5ef6186]201
[5f5dcc2]202ac_add_options --disable-crashreporter
203ac_add_options --disable-updater
[1ddbf11a]204ac_add_options --disable-debug
205ac_add_options --disable-tests
206
[83d02fc6]207ac_add_options --enable-optimize=-O2
[1ddbf11a]208ac_add_options --enable-strip
209ac_add_options --enable-install-strip
210
211ac_add_options --enable-gio
[f207d239]212ac_add_options --enable-official-branding
[1ddbf11a]213ac_add_options --enable-safe-browsing
214ac_add_options --enable-url-classifier
215
[1f84fb4]216# Use internal cairo due to reports of unstable execution with
217# system cairo
218#ac_add_options --enable-system-cairo
[b9b1a372]219ac_add_options --enable-system-ffi
[1ddbf11a]220ac_add_options --enable-system-pixman
221
[5f5dcc2]222ac_add_options --with-pthreads
[1ddbf11a]223
224ac_add_options --with-system-bz2
[a0ace670]225ac_add_options --with-system-jpeg
226ac_add_options --with-system-png
[e67830f1]227ac_add_options --with-system-zlib</literal>
[adb388a]228EOF</userinput></screen>
[e67830f1]229
[d41c02b]230 <para>
231 Compile <application>Thunderbird</application> by issuing the following
232 commands:
233 </para>
[adb388a]234
[279b5f38]235 <note><para>
236 If you are compiling <application>Thunderbird</application> in chroot,
[63ab44e]237 prepend <envar>SHELL=/bin/sh</envar> to the make command below.
[279b5f38]238 </para></note>
239
[9831a90]240<screen><userinput>make -f client.mk</userinput></screen>
[99a80f7]241
[1ddbf11a]242 <para>
243 This package does not come with a test suite.
244 </para>
[bc6cf88]245
[d41c02b]246 <para>
247 Install <application>Thunderbird</application> by running the following
248 commands as the <systemitem class="username">root</systemitem> user:
249 </para>
[99a80f7]250
[000d5dc]251<screen role="root"><userinput>make -f client.mk install INSTALL_SDK= &amp;&amp;
[3551afa]252chown -R 0:0 /usr/lib/thunderbird-&thunderbird-version;</userinput></screen>
[5246cff]253
[0277210]254<!-- thunderbuild directory does not exist anymore. Leaving as comment,
255in case an editor figures out how to install the development environment.
[de930747]256 <para>
[0ccfdd3a]257 The above instruction just installs the parts you need to run
[de930747]258 <application>Thunderbird</application>. Alternatively, if you want to
259 install the full <application>Thunderbird</application> development
[1ddbf11a]260 environment, run the following command as the
261 <systemitem class="username">root</systemitem> user:
[de930747]262 </para>
263
264<screen role="root"><userinput>make -C thunderbuild install</userinput></screen>
[0277210]265-->
[dfff7ace]266 </sect2>
267
268 <sect2 role="commands">
269 <title>Command Explanations</title>
[4def8b6]270<!-- might be necessary
271 <para>
272 <command>test $(uname -m) = "i686" &amp;&amp; sed ...</command>: On this
273 version of thunderbird, an old bug has reappeared in 32-bit builds. With
274 optimization, the install fails with a Python error. This command will
275 fix i686 builds and preserve the optimization on x86_64.
276 </para>-->
[66370fc]277
[92dd66f]278 <para>
279 <command>export CFLAGS= ... export CXXFLAGS= ...</command>: These
280 settings work around code which gcc6 would otherwise regard as
281 out-of-specification and allow it to produce a working program.
[773ef6d]282 </para>
283
[d41c02b]284 <para>
285 <command>make -f client.mk</command>: Mozilla products are packaged to
286 allow the use of a configuration file which can be used to pass the
287 configuration settings to the <command>configure</command> command.
288 <command>make</command> uses the <filename>client.mk</filename> file to
289 get initial configuration and setup parameters.
290 </para>
291
[b0ddfae5]292 </sect2>
293
294 <sect2 role="configuration">
295 <title>Configuring Thunderbird</title>
296
297 <sect3><title>Configuration Information</title>
298
[d41c02b]299 <para>
300 If your Window or Desktop Manager does not allow you to configure a
301 default browser, you can add a configuration parameter to
302 <application>Thunderbird</application> so that a browser will start when
303 when you click on an Internet/intranet/local URL. The procedure to check
304 or modify any of the configuration parameters is quite simple and the
305 instructions here can be used to view or modify any of the parameters.
306 </para>
307
308 <para>
309 First, open the configuration dialog by opening the <quote>Edit</quote>
310 drop-down menu. Choose <quote>Preferences</quote> and then click on the
311 <quote>Advanced</quote> icon on the top menu bar. Choose the
312 <quote>General</quote> tab and click on the <quote>Config Editor</quote>
313 button. This will display a list of the configuration preferences and
314 information related to each one. You can use the <quote>Filter:</quote>
315 bar to enter search criteria and narrow down the listed items. Changing
316 a preference can be done using two methods. One, if the preference has a
317 boolean value (True/False), simply double-click on the preference to
318 toggle the value and two, for other preferences simply right-click on
319 the desired line, choose <quote>Modify</quote> from the menu and change
320 the value. Creating new preference items is accomplished in the same
321 way, except choose <quote>New</quote> from the menu and provide the
322 desired data into the fields when prompted.
323 </para>
324
325 <para>
326 The configuration preference item you need to check so that
327 <application>Thunderbird</application> uses a specified browser is the
328 <parameter>network.protocol-handler.app.http</parameter> which should be
329 set to the path of the desired browser, e.g.
330 <option>/usr/bin/firefox</option>.
331 </para>
[adb388a]332
[604ba3d8]333 <tip>
334 <para>
335 There is a multitude of configuration parameters you can tweak to
336 customize <application>Thunderbird</application>. A very extensive,
337 but not so up-to-date list of these parameters can be found at
338 <ulink url="http://preferential.mozdev.org/preferences.html"/>.
339 </para>
340 </tip>
[ff749e38]341
[d41c02b]342 <para>
[000d5dc]343
344 If you use a desktop environment such as <application>GNOME</application>
345 or <application>KDE</application>, a desktop file
346 <filename>thunderbird.desktop</filename> may be created, in order to
347 include a <quote><application>Thunderbird</application></quote> entry in
348 the menu. If you didn't enable
349 <application>startup-notification</application> in your mozconfig, then
350 change the StartupNotify line to false. Run the following commands as the
351 <systemitem class="username">root</systemitem> user:
352
[d41c02b]353 </para>
[ff749e38]354
[4def8b6]355<screen role="root"><userinput>mkdir -pv /usr/share/{applications,pixmaps} &amp;&amp;
[0e37869]356
[c099902d]357cat &gt; /usr/share/applications/thunderbird.desktop &lt;&lt; "EOF" &amp;&amp;
[fcd66369]358<literal>[Desktop Entry]
[ff749e38]359Encoding=UTF-8
[1ddbf11a]360Name=Thunderbird Mail
361Comment=Send and receive mail with Thunderbird
362GenericName=Mail Client
363Exec=thunderbird %u
364Terminal=false
[ff749e38]365Type=Application
366Icon=thunderbird
[1ddbf11a]367Categories=Application;Network;Email;
368MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;x-scheme-handler/mailto;
[fcd66369]369StartupNotify=true</literal>
[ff749e38]370EOF
[0e37869]371
[eb5f847a]372ln -sfv /usr/lib/thunderbird-&thunderbird-version;/chrome/icons/default/default256.png \
[1ddbf11a]373 /usr/share/pixmaps/thunderbird.png</userinput></screen>
[b0ddfae5]374 </sect3>
[1c5e617]375 </sect2>
376
377 <sect2 role="content">
378 <title>Contents</title>
379
380 <segmentedlist>
[c3c56b2]381 <segtitle>Installed Program</segtitle>
382 <segtitle>Installed Libraries</segtitle>
383 <segtitle>Installed Directory</segtitle>
[1c5e617]384
385 <seglistitem>
[d41c02b]386 <seg>
[1ddbf11a]387 thunderbird
388 </seg>
[c3c56b2]389 <seg>
[9831a90]390 libldap60.so, liblgpllibs.so, libmozgtk.so, libmozsandbox.so,
391 libprldap60.so, and libxul.so
[c3c56b2]392 </seg>
[1ddbf11a]393 <seg>
394 /usr/lib/thunderbird-&thunderbird-version;
[1c5e617]395 </seg>
396 </seglistitem>
397 </segmentedlist>
398
399 <variablelist>
400 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
401 <?dbfo list-presentation="list"?>
402 <?dbhtml list-presentation="table"?>
403
404 <varlistentry id="thunderbird-prog">
405 <term><command>thunderbird</command></term>
406 <listitem>
[d41c02b]407 <para>
[de930747]408 is <application>Mozilla</application>'s email and newsgroup client.
[d41c02b]409 </para>
[1c5e617]410 <indexterm zone="thunderbird thunderbird-prog">
411 <primary sortas="b-thunderbird">thunderbird</primary>
412 </indexterm>
413 </listitem>
414 </varlistentry>
[1ddbf11a]415
[1c5e617]416 </variablelist>
[1ddbf11a]417
[1c5e617]418 </sect2>
[1ddbf11a]419
[167dc1dc]420</sect1>
Note: See TracBrowser for help on using the repository browser.