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