source: xsoft/other/thunderbird.xml@ 77b7bf36

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 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 77b7bf36 was 77b7bf36, checked in by Randy McMurchy <randy@…>, 19 years ago

Added a GCC-4 patch to the Thunderbird instructions

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

  • Property mode set to 100644
File size: 13.2 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY thunderbird-download-http "http://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/&thunderbird-version;/source/thunderbird-&thunderbird-version;-source.tar.bz2">
8 <!ENTITY thunderbird-download-ftp "ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/&thunderbird-version;/source/thunderbird-&thunderbird-version;-source.tar.bz2">
9 <!ENTITY thunderbird-md5sum "a0ddcc8bd5ee2c9be724b6963ad27111">
10 <!ENTITY thunderbird-size "33.3 MB">
11 <!ENTITY thunderbird-buildsize "560 MB">
12 <!ENTITY thunderbird-time "10.3 SBU">
13
14 <!ENTITY thunderbird-enigmail-version "0.92.0">
15 <!ENTITY thunderbird-enigmail-download "http://downloads.mozdev.org/enigmail/src/enigmail-&thunderbird-enigmail-version;.tar.gz">
16 <!ENTITY thunderbird-enigmail-md5sum "50c369ce6d6fcb2d275cd30319a601ff">
17
18 <!ENTITY thunderbird-ipc-version "1.1.3">
19 <!ENTITY thunderbird-ipc-download "http://downloads.mozdev.org/enigmail/src/ipc-&thunderbird-ipc-version;.tar.gz">
20 <!ENTITY thunderbird-ipc-md5sum "64ba4c6e3b52568468c4f6680ec7e679">
21]>
22
23<!--
24
25Devs:
26
27Always check the mail/config/mozconfig file in the source tree for
28any changes to the options passed to configure. This file shows the
29default build used by Mozilla. BLFS adds to this, but the values here
30should be in our setup. The stuff about ActiveX can be ignored as
31that is Windows crap only.
32
33-->
34
35<sect1 id="thunderbird" xreflabel="Thunderbird-&thunderbird-version;">
36 <?dbhtml filename="thunderbird.html" ?>
37
38 <sect1info>
39 <othername>$LastChangedBy$</othername>
40 <date>$Date$</date>
41 </sect1info>
42
43 <title>Thunderbird-&thunderbird-version;</title>
44
45 <indexterm zone="thunderbird">
46 <primary sortas="a-Thunderbird">Thunderbird</primary>
47 </indexterm>
48
49 <sect2 role="package">
50 <title>Introduction to Thunderbird</title>
51
52 <para><application>Thunderbird</application> is a stand-alone
53 mail/news client based on the <application>Mozilla</application>
54 codebase.</para>
55
56 <bridgehead renderas="sect3">Package Information</bridgehead>
57 <itemizedlist spacing="compact">
58 <listitem>
59 <para>Download (HTTP): <ulink url="&thunderbird-download-http;"/></para>
60 </listitem>
61 <listitem>
62 <para>Download (FTP): <ulink url="&thunderbird-download-ftp;"/></para>
63 </listitem>
64 <listitem>
65 <para>Download MD5 sum: &thunderbird-md5sum;</para>
66 </listitem>
67 <listitem>
68 <para>Download size: &thunderbird-size;</para>
69 </listitem>
70 <listitem>
71 <para>Estimated disk space required: &thunderbird-buildsize;</para>
72 </listitem>
73 <listitem>
74 <para>Estimated build time: &thunderbird-time;</para>
75 </listitem>
76 </itemizedlist>
77
78 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
79 <itemizedlist spacing="compact">
80 <listitem>
81 <para>Required patch: <ulink
82 url="&patch-root;/thunderbird-&thunderbird-version;-gcc4-1.patch"/></para>
83 </listitem>
84 <listitem>
85 <para>Required patch: <ulink
86 url="&patch-root;/thunderbird-&thunderbird-version;-fixes-1.patch"/></para>
87 </listitem>
88 </itemizedlist>
89
90 <para>To enable the <application>Enigmail</application> extension to the
91 <application>Thunderbird</application> mail client, you'll need to download
92 the two tarballs below. The <application>Enigmail</application> extension
93 allows users to access the authentication and encryption features provided
94 by the <application>GnuPG</application> package.</para>
95
96 <itemizedlist spacing='compact'>
97 <listitem>
98 <para><ulink url="&thunderbird-enigmail-download;"/></para>
99 </listitem>
100 <listitem>
101 <para>Download MD5 sum (Enigmail): &thunderbird-enigmail-md5sum;</para>
102 </listitem>
103 <listitem>
104 <para><ulink url="&thunderbird-ipc-download;"/></para>
105 </listitem>
106 <listitem>
107 <para>Download MD5 sum (IPC): &thunderbird-ipc-md5sum;</para>
108 </listitem>
109 </itemizedlist>
110
111 <bridgehead renderas="sect3">Thunderbird Dependencies</bridgehead>
112
113 <bridgehead renderas="sect4">Required</bridgehead>
114 <para><xref linkend="zip"/>,
115 <xref linkend="gtk2"/> and
116 <xref linkend="libidl"/></para>
117
118 <bridgehead renderas="sect4">Recommended</bridgehead>
119 <para><xref linkend="gnupg"/> (run-time only dependency for the
120 <application>Enigmail</application> extension)</para>
121
122 <bridgehead renderas="sect4">Optional</bridgehead>
123 <para><xref linkend="libjpeg"/>,
124 <xref linkend="unzip"/>,
125 <xref linkend="gnome-vfs"/>,
126 <xref linkend="libgnome"/>,
127 <xref linkend="mitkrb"/> or <xref linkend="heimdal"/>
128 (for the GSSAPI libraries),
129 <xref linkend="doxygen"/>,
130 <ulink url="http://xprint.mozdev.org/">Xprint</ulink>,
131 <ulink url="http://perens.com/FreeSoftware/">Electric Fence</ulink>
132 and <ulink url="http://cairographics.org/">Cairo</ulink></para>
133
134 </sect2>
135
136 <sect2 role="installation">
137 <title>Installation of Thunderbird</title>
138
139 <para>The configuration of <application>Thunderbird</application> is
140 very similar to <xref linkend="mozilla"/> and hence the options will not
141 be discussed. Refer to the <xref linkend="mozilla"/> instructions for
142 explanations and additional configuration information.</para>
143
144 <para>Compile <application>Thunderbird</application> by
145 running the following commands:</para>
146
147<screen><userinput>export MOZILLA_OFFICIAL="1" &amp;&amp;
148export BUILD_OFFICIAL="1" &amp;&amp;
149export MOZ_THUNDERBIRD="1" &amp;&amp;
150patch -Np1 -i ../thunderbird-&thunderbird-version;-gcc4-1.patch &amp;&amp;
151patch -Np1 -i ../thunderbird-&thunderbird-version;-fixes-1.patch &amp;&amp;
152./configure --prefix=/usr \
153 --with-default-mozilla-five-home=/usr/lib/thunderbird-&thunderbird-version; \
154 --with-user-appdir=.thunderbird \
155 --with-system-zlib \
156 --with-system-png \
157 --enable-application=mail \
158 --enable-default-toolkit=gtk2 \
159 --enable-extensions=wallet,spellcheck,xmlextras,webservices \
160 --enable-crypto \
161 --enable-xft \
162 --enable-xinerama \
163 --enable-optimize \
164 --enable-reorder \
165 --enable-strip \
166 --enable-cpp-rtti \
167 --enable-single-profile \
168 --enable-necko-protocols=http,file,jar,viewsource,res,data \
169 --enable-image-decoders=default,-xbm \
170 --disable-freetype2 \
171 --disable-accessibility \
172 --disable-debug \
173 --disable-tests \
174 --disable-logging \
175 --disable-pedantic \
176 --disable-installer \
177 --disable-profilesharing \
178 --disable-mathml \
179 --disable-oji \
180 --disable-plugins \
181 --disable-necko-disk-cache &amp;&amp;
182make</userinput></screen>
183
184 <para>You should add the <option>--with-system-jpeg</option> switch
185 to the <command>configure</command> script if you have
186 <application>libjpeg</application> installed.</para>
187
188 <para>If you're building the <application>Enigmail</application> extension,
189 execute the following steps:</para>
190
191<screen><userinput>tar -zxf ../enigmail-&thunderbird-enigmail-version;.tar.gz -C extensions &amp;&amp;
192tar -zxf ../ipc-&thunderbird-ipc-version;.tar.gz -C extensions &amp;&amp;
193build/autoconf/make-makefile extensions/ipc extensions/enigmail &amp;&amp;
194make -C extensions/ipc &amp;&amp;
195make -C extensions/enigmail &amp;&amp;
196make -C extensions/enigmail xpi</userinput></screen>
197
198 <para>Install <application>Thunderbird</application> by running the following
199 commands as the <systemitem class="username">root</systemitem> user:</para>
200
201<screen role="root"><userinput>make install &amp;&amp;
202install -v -m755 -d /usr/include/thunderbird-&thunderbird-version;/nss &amp;&amp;
203cp -v -Lf dist/private/nss/*.h dist/public/nss/*.h \
204 /usr/include/thunderbird-&thunderbird-version;/nss &amp;&amp;
205install -v -m755 -d /usr/lib/thunderbird-&thunderbird-version;/defaults/isp/US &amp;&amp;
206install -v -m644 mailnews/base/ispdata/movemail.rdf \
207 mail/extensions/newsblog/rss.rdf \
208 /usr/lib/thunderbird-&thunderbird-version;/defaults/isp &amp;&amp;
209ln -v -s ../{movemail,rss}.rdf \
210 /usr/lib/thunderbird-&thunderbird-version;/defaults/isp/US</userinput></screen>
211
212 <para>If you're installing the <application>Enigmail</application> extension,
213 issue the following commands as the <systemitem
214 class="username">root</systemitem> user:</para>
215
216<screen role="root"><userinput>install -v -m755 -d /usr/lib/thunderbird-&thunderbird-version;/extensions &amp;&amp;
217install -v -m644 dist/bin/enigmail-&thunderbird-enigmail-version;-linux-*.xpi \
218 /usr/lib/thunderbird-&thunderbird-version;/extensions</userinput></screen>
219
220 <para>To enable multi-user operation, execute the following as the
221 <systemitem class="username">root</systemitem> user:</para>
222
223<screen role="root"><userinput>cd /usr/lib/thunderbird-&thunderbird-version; &amp;&amp;
224export LD_LIBRARY_PATH="$PWD" &amp;&amp;
225export MOZILLA_FIVE_HOME="$PWD" &amp;&amp;
226./regxpcom &amp;&amp;
227./regchrome &amp;&amp;
228touch `find . -name *.rdf`</userinput></screen>
229
230 <note>
231 <para>You should run <command>/usr/bin/thunderbird</command> once as the
232 <systemitem class="username">root</systemitem> user (or any user with
233 write privileges) to create some necessary additional files in the
234 <filename class='directory'>/usr/lib/thunderbird-&thunderbird-version;</filename>
235 directory.</para>
236 </note>
237
238 <para>Finally, unset the build variables from the unprivileged user's
239 environment:</para>
240
241<screen><userinput>unset MOZILLA_OFFICIAL &amp;&amp;
242unset BUILD_OFFICIAL &amp;&amp;
243unset MOZ_THUNDERBIRD</userinput></screen>
244
245 </sect2>
246
247 <sect2 role="commands">
248 <title>Command Explanations</title>
249
250 <para><command>patch -Np1 -i ...</command>: This patch fixes three major
251 issues with the <application>Thunderbird</application> installation. First,
252 it moves the installation of the <filename>prefs.js</filename> file from
253 <filename class='directory'>/usr/bin/defaults/profile</filename> to
254 <filename class='directory'>/usr/lib/thunderbird-&thunderbird-version;/defaults/profile</filename>,
255 it fixes a profile locking problem if the <command>thunderbird</command>
256 script is called when <application>Thunderbird</application> is already
257 running and last, makes it so that if a
258 <computeroutput>mailto:</computeroutput> URL is clicked, a message
259 compose window will open with the <computeroutput>To:</computeroutput>
260 field filled out.</para>
261
262 </sect2>
263
264 <sect2 role="configuration">
265 <title>Configuring Thunderbird</title>
266
267 <sect3><title>Configuration Information</title>
268
269 <para>Configuration of <application>Thunderbird</application> to use the
270 <application>Enigmail</application> extension must be done on an
271 as-needed basis for each user of the system who may use
272 <application>Thunderbird</application>. It is accomplished through the
273 <application>Thunderbird</application> <quote>Tools</quote> menu. Choose
274 the <quote>Extensions</quote> &ndash; <quote>Install</quote> option and
275 fill in the <quote>Look in:</quote> field with
276 <filename class='directory'>/usr/lib/thunderbird-&thunderbird-version;/extensions</filename>.
277 You'll then see the
278 <filename>enigmail-&thunderbird-enigmail-version;-linux-????.xpi</filename>
279 file listed. Choose this file and click on <quote>Open</quote>, then
280 click on <quote>Install now</quote>. The
281 <application>Enigmail</application> extension will install and you will
282 be prompted to restart <application>Thunderbird</application>.</para>
283
284 </sect3>
285
286 </sect2>
287
288 <sect2 role="content">
289 <title>Contents</title>
290
291 <segmentedlist>
292 <segtitle>Installed Programs</segtitle>
293 <segtitle>Installed Libraries</segtitle>
294 <segtitle>Installed Directories</segtitle>
295
296 <seglistitem>
297 <seg>thunderbird and thunderbird-config</seg>
298 <seg>Numerous libraries, email/newsgroups components, plugins,
299 extensions, and helper modules installed in <filename
300 class='directory'>/usr/lib/thunderbird-&thunderbird-version;</filename>
301 </seg>
302 <seg>/usr/include/thunderbird-&thunderbird-version;,
303 /usr/lib/thunderbird-&thunderbird-version;, and
304 /usr/share/idl/thunderbird-&thunderbird-version;</seg>
305 </seglistitem>
306 </segmentedlist>
307
308 <variablelist>
309 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
310 <?dbfo list-presentation="list"?>
311 <?dbhtml list-presentation="table"?>
312
313 <varlistentry id="thunderbird-prog">
314 <term><command>thunderbird</command></term>
315 <listitem>
316 <para>is <application>Mozilla</application>'s next-generation
317 email and newsgroup client.</para>
318 <indexterm zone="thunderbird thunderbird-prog">
319 <primary sortas="b-thunderbird">thunderbird</primary>
320 </indexterm>
321 </listitem>
322 </varlistentry>
323
324 </variablelist>
325
326 </sect2>
327
328</sect1>
Note: See TracBrowser for help on using the repository browser.