source: xsoft/other/thunderbird.xml@ 69d9406d

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 69d9406d was 69d9406d, checked in by Andrew Benton <andy@…>, 12 years ago

Webkitgtk gcc-4.7 patch

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

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