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 | "http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/&thunderbird-version;/source/thunderbird-&thunderbird-version;.source.tar.bz2">
|
---|
9 | <!ENTITY thunderbird-download-ftp
|
---|
10 | "ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/&thunderbird-version;/source/thunderbird-&thunderbird-version;.source.tar.bz2">
|
---|
11 | <!ENTITY thunderbird-md5sum "624bef982d7ac610b1175737d9905150">
|
---|
12 | <!ENTITY thunderbird-size "93 MB">
|
---|
13 | <!ENTITY thunderbird-buildsize "3 GB (46 MB installed)">
|
---|
14 | <!ENTITY thunderbird-time "26 SBU">
|
---|
15 |
|
---|
16 | ]>
|
---|
17 |
|
---|
18 | <sect1 id="thunderbird" xreflabel="Thunderbird-&thunderbird-version;">
|
---|
19 | <?dbhtml filename="thunderbird.html" ?>
|
---|
20 |
|
---|
21 | <sect1info>
|
---|
22 | <othername>$LastChangedBy$</othername>
|
---|
23 | <date>$Date$</date>
|
---|
24 | </sect1info>
|
---|
25 |
|
---|
26 | <title>Thunderbird-&thunderbird-version;</title>
|
---|
27 |
|
---|
28 | <indexterm zone="thunderbird">
|
---|
29 | <primary sortas="a-Thunderbird">Thunderbird</primary>
|
---|
30 | </indexterm>
|
---|
31 |
|
---|
32 | <sect2 role="package">
|
---|
33 | <title>Introduction to Thunderbird</title>
|
---|
34 |
|
---|
35 | <para><application>Thunderbird</application> is a stand-alone mail/news
|
---|
36 | client based on the <application>Mozilla</application> codebase.</para>
|
---|
37 |
|
---|
38 | &lfs71_checked;
|
---|
39 |
|
---|
40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
41 | <itemizedlist spacing="compact">
|
---|
42 | <listitem>
|
---|
43 | <para>Download (HTTP): <ulink url="&thunderbird-download-http;"/></para>
|
---|
44 | </listitem>
|
---|
45 | <listitem>
|
---|
46 | <para>Download (FTP): <ulink url="&thunderbird-download-ftp;"/></para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>Download MD5 sum: &thunderbird-md5sum;</para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>Download size: &thunderbird-size;</para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>Estimated disk space required: &thunderbird-buildsize;</para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>Estimated build time: &thunderbird-time;</para>
|
---|
59 | </listitem>
|
---|
60 | </itemizedlist>
|
---|
61 |
|
---|
62 | <bridgehead renderas="sect3">Thunderbird Dependencies</bridgehead>
|
---|
63 |
|
---|
64 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
65 | <para role="required"><xref linkend="alsa-lib"/>, <xref linkend="gtk2"/>
|
---|
66 | <xref linkend="zip"/> and <xref linkend="unzip"/></para>
|
---|
67 |
|
---|
68 | <para>Note: <application>libjpeg</application> and
|
---|
69 | <application>libpng</application> (patched for apng support) should have
|
---|
70 | been installed before <application>gdk-pixbuf</application> and should
|
---|
71 | exist on your system. If for some strange reason you haven't installed
|
---|
72 | them, you should remove the <option>--with-system-jpeg</option> and
|
---|
73 | <option>--with-system-png</option> options from the
|
---|
74 | <filename>mozconfig</filename> file created below.</para>
|
---|
75 |
|
---|
76 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
77 | <para role="optional"><xref linkend="dbus-glib"/>,
|
---|
78 | <xref linkend="doxygen"/>, <xref linkend="gnome-vfs"/> and
|
---|
79 | <xref linkend="libgnomeui"/> (for gnome integration),
|
---|
80 | <xref linkend="libnotify"/>, <xref linkend="nss"/>, <xref linkend="nspr"/>,
|
---|
81 | <xref linkend="startup-notification"/>, <xref linkend="sqlite"/>,
|
---|
82 | <xref linkend="yasm"/> (or <xref linkend="libvpx"/>),
|
---|
83 | <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>,
|
---|
84 | <ulink url="http://libevent.org/">Libevent</ulink>,
|
---|
85 | <ulink url="http://www.valgrind.org/">Valgrind</ulink> (only for testing
|
---|
86 | the jemalloc code), and <xref linkend="wget"/></para>
|
---|
87 |
|
---|
88 | <para condition="html" role="usernotes">User Notes:
|
---|
89 | <ulink url="&blfs-wiki;/Thunderbird"/></para>
|
---|
90 | </sect2>
|
---|
91 |
|
---|
92 | <sect2 role="installation">
|
---|
93 | <title>Installation of Thunderbird</title>
|
---|
94 |
|
---|
95 | <para>The configuration of <application>Thunderbird</application> is
|
---|
96 | accomplished by creating a <filename>mozconfig</filename> file containing
|
---|
97 | the desired configuration options. A default <filename>mozconfig</filename>
|
---|
98 | is created below. To see the entire list of available configuration options
|
---|
99 | (and an abbreviated description of each one), issue
|
---|
100 | <command>./configure --help</command>. Create the file by issuing the
|
---|
101 | following command:</para>
|
---|
102 |
|
---|
103 | <screen><userinput>cat > mozconfig << "EOF"
|
---|
104 | # If you have a multicore machine you can speed up the build by running
|
---|
105 | # several jobs at once, but if you have a single core, delete this line:
|
---|
106 | mk_add_options MOZ_MAKE_FLAGS="-j4"
|
---|
107 |
|
---|
108 | # If you have installed Yasm delete this option:
|
---|
109 | ac_add_options --disable-webm
|
---|
110 |
|
---|
111 | # If you have installed DBus-Glib delete this option:
|
---|
112 | ac_add_options --disable-dbus
|
---|
113 |
|
---|
114 | # If you have installed wireless-tools delete this option:
|
---|
115 | ac_add_options --disable-necko-wifi
|
---|
116 |
|
---|
117 | # If you have installed libnotify delete this option:
|
---|
118 | ac_add_options --disable-libnotify
|
---|
119 |
|
---|
120 | # Uncomment these if you have installed them:
|
---|
121 | # ac_add_options --with-system-nspr
|
---|
122 | # ac_add_options --with-system-nss
|
---|
123 | # ac_add_options --enable-system-sqlite
|
---|
124 | # ac_add_options --with-system-libvpx
|
---|
125 | # ac_add_options --enable-startup-notification
|
---|
126 | # ac_add_options --enable-system-hunspell
|
---|
127 | # ac_add_options --with-system-libevent
|
---|
128 |
|
---|
129 | mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/thunderbuild
|
---|
130 | ac_add_options --enable-official-branding
|
---|
131 | ac_add_options --with-pthreads
|
---|
132 | ac_add_options --enable-system-ffi
|
---|
133 | ac_add_options --with-system-jpeg
|
---|
134 | ac_add_options --with-system-png
|
---|
135 | ac_add_options --enable-system-cairo
|
---|
136 | ac_add_options --with-system-zlib
|
---|
137 | ac_add_options --enable-shared
|
---|
138 | ac_add_options --disable-static
|
---|
139 | ac_add_options --disable-debug
|
---|
140 | ac_add_options --disable-crashreporter
|
---|
141 | ac_add_options --disable-installer
|
---|
142 | ac_add_options --disable-updater
|
---|
143 | ac_add_options --disable-tests
|
---|
144 | EOF</userinput></screen>
|
---|
145 |
|
---|
146 | <para>Compile <application>Thunderbird</application> by issuing the
|
---|
147 | following commands:</para>
|
---|
148 |
|
---|
149 | <screen><userinput>sed -i 's#VPX_CODEC_USE_INPUT_PARTITION#VPX_CODEC_USE_INPUT_FRAGMENTS#' \
|
---|
150 | mozilla/configure &&
|
---|
151 | make -f client.mk &&
|
---|
152 | make -C thunderbuild/mail/installer</userinput></screen>
|
---|
153 |
|
---|
154 | <para>This package does not come with a test suite.</para>
|
---|
155 |
|
---|
156 | <para>Install <application>Thunderbird</application> by running the
|
---|
157 | following commands as the <systemitem class="username">root</systemitem>
|
---|
158 | user:</para>
|
---|
159 |
|
---|
160 | <screen role="root"><userinput>mkdir -p /usr/lib/thunderbird-&thunderbird-version; &&
|
---|
161 | tar xf thunderbuild/mozilla/dist/thunderbird-*.tar.bz2 -C /usr/lib/thunderbird-&thunderbird-version; --strip-components=1 &&
|
---|
162 | ln -s ../lib/thunderbird-&thunderbird-version;/thunderbird /usr/bin/thunderbird</userinput></screen>
|
---|
163 | </sect2>
|
---|
164 |
|
---|
165 | <sect2 role="commands">
|
---|
166 | <title>Command Explanations</title>
|
---|
167 |
|
---|
168 | <para><command>sed -i 's#VPX_CODEC_USE ...</command>: This fixes
|
---|
169 | mozilla's <command>configure</command> script to properly detect
|
---|
170 | libvpx-v1.0.0. This sed is not needed if you have libvpx-v0.9.7 or earlier
|
---|
171 | installed or if you've not installed <xref linkend="libvpx"/>.</para>
|
---|
172 |
|
---|
173 | <para><command>make -f client.mk</command>: Mozilla products are packaged
|
---|
174 | to allow the use of a configuration file which can be used to pass the
|
---|
175 | configuration settings to the <command>configure</command> command.
|
---|
176 | <command>make</command> uses the <filename>client.mk</filename>
|
---|
177 | file to get initial configuration and setup parameters.</para>
|
---|
178 |
|
---|
179 | <para><command>make -C thunderbuild/mail/installer</command>: this runs make
|
---|
180 | in the <filename class="directory">thunderbuild/mail/installer</filename>
|
---|
181 | folder. This gathers together all the parts of
|
---|
182 | <application>Thunderbird</application> and compresses them into a
|
---|
183 | tarball.</para>
|
---|
184 |
|
---|
185 | <para><command>tar -xfv thunderbuild/mozilla/dist ...</command>: This
|
---|
186 | untars <application>Thunderbird</application>, the <option>-C</option>
|
---|
187 | option uncompresses the files in
|
---|
188 | /usr/lib/thunderbird-&thunderbird-version;. The
|
---|
189 | <option>--strip-components=1</option> option removes the leading
|
---|
190 | 'thunderbird' directory from the filenames, allowing us to untar
|
---|
191 | it into a versioned directory.<!-- Running <command>make -C thunderbuild
|
---|
192 | install</command> would install an additional 480 MB of files--></para>
|
---|
193 | </sect2>
|
---|
194 |
|
---|
195 | <sect2 role="configuration">
|
---|
196 | <title>Configuring Thunderbird</title>
|
---|
197 |
|
---|
198 | <sect3><title>Configuration Information</title>
|
---|
199 |
|
---|
200 | <para>If your Window or Desktop Manager does not allow you to configure
|
---|
201 | a default browser, you can add a configuration parameter to
|
---|
202 | <application>Thunderbird</application> so that a browser will start when
|
---|
203 | when you click on an Internet/intranet/local URL. The procedure to check
|
---|
204 | or modify any of the configuration parameters is quite simple and the
|
---|
205 | instructions here can be used to view or modify any of the
|
---|
206 | parameters.</para>
|
---|
207 |
|
---|
208 | <para>First, open the configuration dialog by opening the
|
---|
209 | <quote>Edit</quote> drop-down menu. Choose <quote>Preferences</quote>
|
---|
210 | and then click on the <quote>Advanced</quote> icon on the top menu
|
---|
211 | bar. Choose the <quote>General</quote> tab and click on the
|
---|
212 | <quote>Config Editor</quote> button. This will display a list of the
|
---|
213 | configuration preferences and information related to each one. You can
|
---|
214 | use the <quote>Filter:</quote> bar to enter search criteria and narrow
|
---|
215 | down the listed items. Changing a preference can be done using two
|
---|
216 | methods. One, if the preference has a boolean value (True/False), simply
|
---|
217 | double-click on the preference to toggle the value and two, for other
|
---|
218 | preferences simply right-click on the desired line, choose
|
---|
219 | <quote>Modify</quote> from the menu and change the value. Creating new
|
---|
220 | preference items is accomplished in the same way, except choose
|
---|
221 | <quote>New</quote> from the menu and provide the desired data into the
|
---|
222 | fields when prompted.</para>
|
---|
223 |
|
---|
224 | <para>The configuration preference item you need to check so that
|
---|
225 | <application>Thunderbird</application> uses a specified browser is the
|
---|
226 | <parameter>network.protocol-handler.app.http</parameter> which should
|
---|
227 | be set to the path of the desired browser, e.g.,
|
---|
228 | <option>/usr/bin/firefox</option>.</para>
|
---|
229 |
|
---|
230 | <tip>
|
---|
231 | <para>There is a multitude of configuration parameters you can tweak to
|
---|
232 | customize <application>Thunderbird</application>. A very extensive, but
|
---|
233 | not so up-to-date list of these parameters can be found at <ulink
|
---|
234 | url="http://preferential.mozdev.org/preferences.html"/>.</para>
|
---|
235 | </tip>
|
---|
236 |
|
---|
237 | <para>If you use a desktop environment like <application>Gnome</application>
|
---|
238 | or <application>KDE</application> you may wish to create a
|
---|
239 | thunderbird.desktop file so that <application>Thunderbird</application>
|
---|
240 | appears in the panel's menus. If you didn't enable
|
---|
241 | startup-notification in your mozconfig change the StartupNotify line to
|
---|
242 | false. As the <systemitem class="username">root</systemitem> user:</para>
|
---|
243 |
|
---|
244 | <screen role="root"><userinput>cat > /usr/share/applications/thunderbird.desktop << "EOF"
|
---|
245 | [Desktop Entry]
|
---|
246 | Encoding=UTF-8
|
---|
247 | Type=Application
|
---|
248 | Name=Thunderbird
|
---|
249 | Comment=Fetch Your Email
|
---|
250 | Icon=thunderbird
|
---|
251 | Exec=thunderbird
|
---|
252 | Categories=Network;GTK;Application;Email;News;
|
---|
253 | StartupNotify=true
|
---|
254 | Terminal=false
|
---|
255 | EOF
|
---|
256 | ln -sv -f /usr/lib/thunderbird-&thunderbird-version;/chrome/icons/default/default256.png \
|
---|
257 | /usr/share/pixmaps/thunderbird.png</userinput></screen>
|
---|
258 | </sect3>
|
---|
259 | </sect2>
|
---|
260 |
|
---|
261 | <sect2 role="content">
|
---|
262 | <title>Contents</title>
|
---|
263 |
|
---|
264 | <segmentedlist>
|
---|
265 | <segtitle>Installed Programs</segtitle>
|
---|
266 | <segtitle>Installed Libraries</segtitle>
|
---|
267 | <segtitle>Installed Directories</segtitle>
|
---|
268 |
|
---|
269 | <seglistitem>
|
---|
270 | <seg>thunderbird</seg>
|
---|
271 | <seg>Numerous libraries, email/newsgroups components, plugins,
|
---|
272 | extensions, and helper modules installed in <filename
|
---|
273 | class="directory">/usr/lib/thunderbird-&thunderbird-version;</filename>
|
---|
274 | </seg>
|
---|
275 | <seg>/usr/lib/thunderbird-&thunderbird-version;</seg>
|
---|
276 | </seglistitem>
|
---|
277 | </segmentedlist>
|
---|
278 |
|
---|
279 | <variablelist>
|
---|
280 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
281 | <?dbfo list-presentation="list"?>
|
---|
282 | <?dbhtml list-presentation="table"?>
|
---|
283 |
|
---|
284 | <varlistentry id="thunderbird-prog">
|
---|
285 | <term><command>thunderbird</command></term>
|
---|
286 | <listitem>
|
---|
287 | <para>is <application>Mozilla</application>'s next-generation
|
---|
288 | email and newsgroup client.</para>
|
---|
289 | <indexterm zone="thunderbird thunderbird-prog">
|
---|
290 | <primary sortas="b-thunderbird">thunderbird</primary>
|
---|
291 | </indexterm>
|
---|
292 | </listitem>
|
---|
293 | </varlistentry>
|
---|
294 | </variablelist>
|
---|
295 | </sect2>
|
---|
296 | </sect1>
|
---|