Changeset 67d6349d for xsoft


Ignore:
Timestamp:
06/26/2004 01:08:43 AM (20 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.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
Children:
b03b3db
Parents:
8087472
Message:

clarified and repaired the Enigmail instructions in the Mozilla section

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xsoft/graphweb/mozilla.xml

    r8087472 r67d6349d  
    77  <!ENTITY mozilla-download-http "http://ftp.mozilla.org/pub/mozilla/releases/mozilla&mozilla-version;/src/mozilla-source-&mozilla-version;.tar.bz2">
    88  <!ENTITY mozilla-download-ftp  "ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla&mozilla-version;/src/mozilla-source-&mozilla-version;.tar.bz2">
    9   <!ENTITY mozilla-size          "39 MB">
    10   <!ENTITY mozilla-buildsize     "550 MB">
    11   <!ENTITY mozilla-time          "22.64 SBU">
    12 
    13   <!ENTITY enigmail-version      "0.83.6">
     9  <!ENTITY mozilla-size          "35 MB">
     10  <!ENTITY mozilla-buildsize     "700 MB">
     11  <!ENTITY mozilla-time          "15.22 SBU">
     12
     13  <!ENTITY enigmail-version      "0.84.1">
    1414  <!ENTITY ipc-version           "1.0.5">
    1515]>
     
    2424<para><application>Mozilla</application> is a browser suite, the Open Source
    2525sibling of <application>Netscape</application>. It includes the browser,
    26 composer, mail client, a calendar client and an <acronym>IRC</acronym> client.</para>
    27 
    28 <para>The Mozilla project also hosts two subprojects that aim to satisfy the needs
    29 of users who don't need the complete browser suite or like to have separate applications
    30 for browsing and e-mail. These subprojects are
    31 <ulink url="http://www.mozilla.org/products/firefox/">Mozilla Firefox</ulink>,
    32 (a stand-alone browser based on the Mozilla source code) and
    33 <ulink url="http://www.mozilla.org/projects/thunderbird/">Mozilla Thunderbird</ulink>,
    34 (a stand-alone mail client based on the Mozilla source code). The build instructions
    35 for these two applications are discussed in separate sections:</para>
     26composer, mail and news clients, a calendar client and an
     27<acronym>IRC</acronym> client.</para>
     28
     29<para>The <application>Mozilla</application> project also hosts two subprojects
     30that aim to satisfy the needs of users who don't need the complete browser
     31suite or like to have separate applications for browsing and e-mail. These
     32subprojects are
     33<ulink url="http://www.mozilla.org/products/firefox/">Mozilla Firefox</ulink>,
     34(a stand-alone browser based on the
     35<application>Mozilla</application> source code) and <ulink
     36url="http://www.mozilla.org/projects/thunderbird/">Mozilla Thunderbird</ulink>,
     37(a stand-alone mail client based on the <application>Mozilla</application>
     38source code). The build instructions for these two applications are discussed
     39in separate sections:</para>
    3640
    3741<itemizedlist>
     
    5357</sect3>
    5458
     59<sect3><title>Additional downloads</title>
     60
     61<para>To enable the <application>Enigmail</application> extension to the
     62<application>Mozilla</application> and <application>Thunderbird</application>
     63mail clients, you'll need to download the two tarballs below. The
     64<application>Enigmail</application> extension allows users to access the
     65authentication and encryption features provided by the
     66<application>GnuPG</application> package.</para>
     67
     68<itemizedlist spacing='compact'>
     69<!-- <listitem><para><ulink url="http://enigmail.mozdev.org/">Enigmail Extension
     70(Version &enigmail-version;)</ulink>
     71(Useful only if Mozilla Mail is built)</para></listitem>
     72<listitem><para><ulink url="http://enigmail.mozdev.org/">Inter Process
     73Communicaton Extension (Version &ipc-version;)</ulink>
     74(Needed for Enigmail)</ulink></para></listitem> -->
     75
     76<listitem><para><ulink
     77url="http://downloads.mozdev.org/enigmail/src/enigmail-&enigmail-version;.tar.gz"/>
     78</para></listitem>
     79<listitem><para><ulink
     80url="http://downloads.mozdev.org/enigmail/src/ipc-&ipc-version;.tar.gz"/>
     81</para></listitem>
     82</itemizedlist>
     83</sect3>
     84
    5585<sect3><title><application>Mozilla</application> dependencies</title>
    5686<sect4><title>Required</title>
    57 <para><xref linkend="zip"/>, <xref linkend="GTK2"/>,
    58 <xref linkend="libIDL"/>, <xref linkend="libmng"/> and
    59 <xref linkend="which"/>
    60 </para></sect4>
     87<para><xref linkend="zip"/>, <xref linkend="GTK2"/>, <xref linkend="libIDL"/>,
     88<xref linkend="libmng"/> and <xref linkend="which"/></para></sect4>
    6189<sect4><title>Recommended</title>
    62 <para><xref linkend="gnupg"/> (for Enigmail extension)
    63 </para></sect4>
    64 </sect3>
    65 
    66 <sect3><title>Additional downloads</title>
    67 <itemizedlist spacing='compact'>
    68 <listitem><para><ulink url="http://enigmail.mozdev.org/">Enigmail Extension
    69 (Version &enigmail-version;)</ulink>
    70 (Useful only if Mozilla Mail is built)
    71 <!-- <ulink
    72 url="http://downloads.mozdev.org/enigmail/src/enigmail-&enigmail-version;.tar.gz"/>
    73 -->
    74 </para></listitem>
    75 <listitem><para><ulink url="http://enigmail.mozdev.org/">Inter Process
    76 Communicaton Extension (Version &ipc-version;)</ulink>
    77 (Needed for Enigmail)
    78 <!--
    79 <ulink
    80 url="http://downloads.mozdev.org/enigmail/src/ipc-&ipc-version;.tar.gz"/>
    81 -->
    82 </para></listitem>
    83 </itemizedlist>
     90<para><xref linkend="gnupg"/> (for Enigmail extension)</para></sect4>
    8491</sect3>
    8592
     
    94101browser insecure. You have been warned. Many sites use an MS-IE specific tag
    95102(autocomplete=off) to prevent autocomplete from working in some forms. This
    96 tag is now supported in <application>Mozilla</application> to appease the financial institutions. As per
     103tag is now supported in <application>Mozilla</application> to appease
     104the financial institutions. As per
    97105the requirements of the financial institutions, they will not even accept a
    98106solution where this a preference option. However our opinion is that it should
     
    108116-->
    109117
    110 <warning><para>Do not install Mozilla, Mozilla Firefox and Mozilla Thunderbird
    111 with a single prefix since they install identically named files. The BLFS Book
    112 installs Mozilla in <filename>/usr</filename> while Mozilla Firefox and Mozilla
    113 Thunderbird are installed in <filename>/opt</filename>.</para></warning>
    114 
    115 <para>If you plan to install Enigmail, extract the ipc and enigmail tarballs
    116 in the <filename class="directory">extensions</filename> directory.</para>
     118<warning><para>Do not install <application>Mozilla</application>,
     119<application>Mozilla Firefox</application> and
     120<application>Mozilla Thunderbird</application> with a single prefix since they
     121install identically named files. The <acronym>BLFS</acronym> Book installs
     122<application>Mozilla</application> in <filename>/usr</filename> while
     123<application>Mozilla Firefox</application> and
     124<application>Mozilla Thunderbird</application> are installed in
     125<filename>/opt</filename>.</para></warning>
    117126
    118127<para>Compile <application>Mozilla</application> by running the following
     
    134143make</command></userinput></screen>
    135144
    136 <para>If installing Enigmail, execute the following steps:</para>
    137 
    138 <screen><userinput><command>build/autoconf/make-makefile extensions/ipc extensions/enigmail &amp;&amp;
     145<para>If you're building the <application>Mozilla</application> mail and news
     146clients and plan to install the <application>Enigmail</application>
     147extension, execute the following steps:</para>
     148
     149<screen><userinput><command>tar zxf ../enigmail-&enigmail-version;.tar.gz -C extensions &amp;&amp;
     150tar zxf ../ipc-&ipc-version;.tar.gz -C extensions &amp;&amp;
     151build/autoconf/make-makefile extensions/ipc extensions/enigmail &amp;&amp;
    139152make -C extensions/ipc &amp;&amp;
    140 make -C extensions/enigmail</command></userinput></screen>
     153make -C extensions/enigmail &amp;&amp;
     154make -C extensions/enigmail/build xpi &amp;&amp;
     155make -C extensions/enigmail/package xpi</command></userinput></screen>
    141156
    142157<para>Install <application>Mozilla</application> as follows:</para>
     
    149164ln -nsf mozilla-&mozilla-version; /usr/lib/mozilla</command></userinput></screen>
    150165
    151 <para>Some libraries installed by mozilla are also needed by other packages. These
    152 libraries should be in <filename>/usr/lib</filename> so that other packages can
    153 link against them. Move them as follows:</para>
     166<para>Some libraries installed by <application>Mozilla</application> are also
     167needed by other packages. These libraries should be in
     168<filename>/usr/lib</filename> so that other packages can link against them.
     169Move them as follows:</para>
    154170
    155171<screen><userinput><command>for i in lib{nspr4,plc4,plds4,nss3,smime3,softokn3,ssl3}.so libsoftokn3.chk
     
    159175done</command></userinput></screen>
    160176
    161 <para>Install Enigmail as follows:</para>
     177<para>Install the <application>Enigmail</application> extension as
     178follows:</para>
    162179
    163180<screen><userinput><command>make -C extensions/ipc install &amp;&amp;
     
    179196
    180197<para>Each of these switches can be added to the configure line in order to
    181 have the described effect on the <application>Mozilla</application> compile.</para>
     198have the described effect on the <application>Mozilla</application>
     199compile.</para>
    182200
    183201<para><option>--enable-elf-dynstr-gc</option>: Removes un-referenced
     
    193211<para><option>--enable-calendar</option>: Build the calendar client.</para>
    194212
    195 <para><option>--enable-xterm-updates</option>: This option is
    196 for enabling the <command>xterm</command> title with the current command when
     213<para><option>--enable-xterm-updates</option>: This option is for enabling
     214the <command>xterm</command> window title with the current command when
    197215compiling.</para>
    198216
    199217<para><option>--enable-plaintext-editor-only</option>: Disable support
    200 for <acronym>HTML</acronym> editing. Do not use this switch if you are building
    201 the mail-news component.</para>
     218for <acronym>HTML</acronym> editing. Do not use this switch if you are
     219building the mail-news component.</para>
    202220
    203221</sect2>
     
    208226<para><screen><command>export MOZILLA_OFFICIAL="1" &amp;&amp;
    209227export BUILD_OFFICIAL="1"</command></screen>
    210 Set some variables that affect what and how the package is built. The first two exports
    211 specify a distribution is being built.</para>
     228Set some variables that affect what and how the package is built. These two
     229exports specify a distribution is being built.</para>
    212230
    213231<!--
     
    216234-->
    217235
    218 <para><parameter>--prefix=/usr</parameter>: Previously mozilla did
    219 not support the make install option. Hence, the package was installed in
    220 <filename>/opt</filename>. The package now supports "make install" and follows
    221 the <acronym>FHS</acronym> guidelines for installation. Therefore the book now
    222 recommends installation in a system wide prefix such as <filename>/usr
    223 </filename>.</para>
    224 
    225 <para><screen><option>--enable-toolkit-gtk2</option></screen>Use gtk2
    226 toolkit.</para>
     236<para><parameter>--prefix=/usr</parameter>: Previously
     237<application>Mozilla</application> did not support the <command>make
     238install</command> option. Hence, the package was installed in
     239<filename>/opt</filename>. The package now supports
     240"<command>make install</command>" and follows the <acronym>FHS</acronym>
     241guidelines for installation. Therefore the book now recommends installation
     242in a system wide prefix such as <filename>/usr</filename>.</para>
     243
     244<para><screen><option>--enable-toolkit-gtk2</option></screen>
     245Use the gtk2 toolkit.</para>
    227246
    228247<para><screen><option>--with-system-zlib --with-system-jpeg \
    229248--with-system-png --with-system-mng</option></screen>
    230 Use the system versions for these packages.</para>
    231 
    232 <para><option>--enable-xft</option>: Enable the Xft support. You need
    233 <application>fontconfig</application> or the latest <application>XFree86
    234 </application> version to enable xft.</para>
     249Use the system installed versions of these packages.</para>
     250
     251<para><option>--enable-xft</option>: Enable Xft support. You need
     252<application>fontconfig</application> or the latest
     253<application>XFree86</application> version to enable Xft.</para>
    235254
    236255<para><option>--enable-crypto</option>: Enable the Personal
     
    244263--enable-cpp-rtti</option></screen>
    245264Various options that affect what components are built and some optimization
    246 options. You can pick and choose from these options.  More information on them
    247 can be found in the <application>Mozilla</application> <command>configure
    248 </command> script help. Not all options are used in the instructions given
    249 above.</para>
     265options. You can pick and choose from these options. More information on them
     266can be found in the <application>Mozilla</application>
     267<command>configure</command> script help. Not all options are used in the
     268instructions given above.</para>
    250269
    251270<para><option>--enable-extensions=...</option>: Enables extensions.  If you
    252271want, you can disable all extensions other than the browser by changing this
    253 switch to <parameter>--enable-extensions="default,-venkman,-inspector,-irc"</parameter>.
    254 For a short description of the various extensions available with the mozilla
    255 source, see
    256 <ulink url="http://linuxfromscratch.org/~tushar/downloads/mozilla-extensions.txt"/>.</para>
     272switch to
     273<parameter>--enable-extensions="default,-venkman,-inspector,-irc"</parameter>.
     274For a short description of the various extensions available with the
     275<application>Mozilla</application> source, see
     276<ulink
     277url="http://linuxfromscratch.org/~tushar/downloads/mozilla-extensions.txt"/>.
     278</para>
    257279
    258280<para><screen><command>install -d /usr/include/mozilla-&mozilla-version;/nss
     
    269291<para><command>ln -nsf mozilla-&mozilla-version; ...</command>:
    270292<application>Mozilla</application> installs headers and libraries in version
    271 specific directories. This command makes symbolic links so that applications that
    272 depend on <application>Mozilla</application> (such as <application>OpenOffice
    273 </application>, <application>Galeon</application>, etc.) don't need to know
    274 which version of <application>Mozilla</application> is installed.</para>
     293specific directories. This command makes symbolic links so that applications
     294depending on <application>Mozilla</application> (such as
     295<application>OpenOffice</application>, <application>Galeon</application>,
     296etc.) don't need to know which version of <application>Mozilla</application>
     297is installed.</para>
    275298
    276299<para><screen><command>export LD_LIBRARY_PATH="/usr/lib/mozilla-&mozilla-version;" &amp;&amp;
     
    281304</screen>
    282305Create the required component registries to enable multi-user installs. These
    283 steps should be preformed by the root user each time a mozilla add-on is
    284 installed. This will allow normal users to run mozilla.</para>
     306steps should be preformed by the root user each time a
     307<application>Mozilla</application> add-on is installed. This will allow normal
     308users to run <command>mozilla</command>.</para>
    285309
    286310</sect2>
     
    289313<title>Configuring <application>Mozilla</application></title>
    290314
    291 <para>No specific configuration is required as long as the <command>mozilla
    292 </command> binary is in the path for the user. If <application>Mozilla</application>
    293 is installed in a non-standard location, then make a symlink to the
    294 <command>mozilla</command> binary from <filename class="directory">/usr/bin</filename>.
    295 The same thing applies for <application>Mozilla Firefox</application> and
     315<para>No specific configuration is required as long as the
     316<command>mozilla</command> binary is in the path for the user. If
     317<application>Mozilla</application> is installed in a non-standard location,
     318then make a symlink to the <command>mozilla</command> binary from
     319<filename class="directory">/usr/bin</filename>. The same thing applies for
     320<application>Mozilla Firefox</application> and
    296321<application>Mozilla Thunderbird</application>.</para>
    297322
     
    302327
    303328<para>For installing various <application>Mozilla</application> plugins, refer
    304 to <ulink url="http://plugindoc.mozdev.org/linux.html">Mozdev's PluginDoc Project</ulink></para>
     329to <ulink url="http://plugindoc.mozdev.org/linux.html">Mozdev's PluginDoc
     330Project</ulink></para>
    305331
    306332</sect2>
     
    310336
    311337<para>The <application>Mozilla</application> package contains
    312 <command>mozilla</command>. The various components such as composer and mail-news can be accessed
    313 from the menu after <command>mozilla</command> starts or via command-line
    314 switches to the <command>mozilla</command> binary.
     338<command>mozilla</command> and the <application>Mozilla</application>
     339libraries and plugins. The various components such as composer and mail-news
     340can be accessed from the menu after <command>mozilla</command> starts or
     341via command-line switches to the <command>mozilla</command> binary.
    315342</para>
    316343
     
    318345
    319346</sect1>
    320 
Note: See TracChangeset for help on using the changeset viewer.