mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-25 07:42:13 +08:00
3f2db3a638
They only contain a date tag that is nowhere used.
462 lines
16 KiB
XML
462 lines
16 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY seamonkey-download-http "&mozilla-http;/seamonkey/releases/&seamonkey-version;/source/seamonkey-&seamonkey-version;.source.tar.xz">
|
|
<!ENTITY seamonkey-download-ftp " ">
|
|
<!ENTITY seamonkey-md5sum "a179b07515ba05d33d111ee89fe2dbe5">
|
|
<!ENTITY seamonkey-size "244 MB">
|
|
<!ENTITY seamonkey-buildsize "3.0 GB (159 MB installed)">
|
|
<!ENTITY seamonkey-time "11 SBU (with parallelism=4)">
|
|
]>
|
|
|
|
<sect1 id="seamonkey" xreflabel="SeaMonkey-&seamonkey-version;">
|
|
<?dbhtml filename="seamonkey.html" ?>
|
|
|
|
|
|
<title>SeaMonkey-&seamonkey-version;</title>
|
|
|
|
<indexterm zone="seamonkey">
|
|
<primary sortas="a-SeaMonkey">SeaMonkey</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to SeaMonkey</title>
|
|
|
|
<para>
|
|
<application>SeaMonkey</application> is a browser suite, a descendant
|
|
of <application>Netscape</application>. It includes the browser,
|
|
composer, mail and news clients, and an IRC client.
|
|
</para>
|
|
|
|
<para>
|
|
It is the community-driven follow-on to the Mozilla Application Suite,
|
|
created after Mozilla decided to focus on separate applications for
|
|
browsing and e-mail. Those applications are
|
|
<xref linkend="firefox"/> and <xref linkend="thunderbird"/>.
|
|
</para>
|
|
|
|
&lfs112_checked;
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>
|
|
Download (HTTP): <ulink url="&seamonkey-download-http;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download (FTP): <ulink url="&seamonkey-download-ftp;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download MD5 sum: &seamonkey-md5sum;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download size: &seamonkey-size;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated disk space required: &seamonkey-buildsize;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated build time: &seamonkey-time;
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<!--
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>
|
|
Required patch:
|
|
<ulink url="&patch-root;/seamonkey-&seamonkey-version;-security_fix-1.patch"/>
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
-->
|
|
|
|
<note>
|
|
<para>
|
|
The tarball
|
|
<emphasis>seamonkey-&seamonkey-version;.source.tar.xz</emphasis> will
|
|
untar to <emphasis>seamonkey-&seamonkey-version;</emphasis> directory.
|
|
</para>
|
|
</note>
|
|
|
|
<bridgehead renderas="sect3">SeaMonkey Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
<para role="required">
|
|
<xref linkend="autoconf213"/>,
|
|
<xref linkend="cbindgen"/>,
|
|
<xref linkend="gtk3"/>,
|
|
<xref linkend="python2"/>,
|
|
<xref linkend="unzip"/>,
|
|
<xref linkend="yasm"/>, and
|
|
<xref linkend="zip"/>
|
|
</para>
|
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
|
<para role="recommended">
|
|
<xref linkend="icu"/>,
|
|
<xref linkend="libevent"/>,
|
|
<!--<xref linkend="libvpx"/>, Causes build failures similar to Firefox -->
|
|
<xref linkend="libwebp"/>,
|
|
<xref linkend="llvm"/> (with clang),
|
|
<xref linkend="nasm"/>,
|
|
<xref linkend="nspr"/>,
|
|
<xref linkend="nss"/>, and
|
|
<xref linkend="pulseaudio"/>
|
|
<!-- <xref linkend="sqlite"/> system version no longer supported -->
|
|
</para>
|
|
<!--
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
<para role="optional">
|
|
<xref linkend="sqlite"/> (not recommended due to potential
|
|
security concerns)
|
|
</para>
|
|
-->
|
|
<note>
|
|
<para>
|
|
If you don't install recommended dependencies, then internal copies of
|
|
those packages will be used. They might be tested to work, but they can
|
|
be out of date or contain security holes.
|
|
</para>
|
|
</note>
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
<para role="optional">
|
|
<xref linkend="alsa-lib"/>,
|
|
<xref linkend="curl"/>,
|
|
<xref linkend="dbus-glib"/>,
|
|
<xref linkend="doxygen"/>,
|
|
<xref linkend="GConf"/>,
|
|
<xref linkend="gst10-plugins-base"/> (and other plugins, only for tests),
|
|
<!--<xref linkend="openjdk"/>, Not seen in logs -->
|
|
<xref linkend="startup-notification"/>,
|
|
<xref linkend="valgrind"/>,
|
|
<xref linkend="wget"/>,
|
|
<xref linkend="wireless_tools"/>,
|
|
<ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>, and
|
|
<ulink url="https://facebook.github.io/watchman/">Watchman</ulink>
|
|
</para>
|
|
|
|
<para condition="html" role="usernotes">
|
|
User Notes: <ulink url="&blfs-wiki;/seamonkey"/>
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of SeaMonkey</title>
|
|
|
|
<para>
|
|
The configuration of <application>SeaMonkey</application> is accomplished
|
|
by creating a <filename>mozconfig</filename> file containing the desired
|
|
configuration options. A default <filename>mozconfig</filename> file is
|
|
created below. To see the entire list of available configuration options
|
|
(and an abbreviated description of each one), issue
|
|
<command>./configure --help</command>. You may also wish to review the
|
|
entire file and uncomment any other desired options. Create the file by
|
|
issuing the following command:
|
|
</para>
|
|
|
|
<screen><?dbfo keep-together="auto"?><userinput>cat > mozconfig << "EOF"
|
|
<literal># If you have a multicore machine, all cores will be used
|
|
|
|
# If you have installed DBus-Glib comment out this line:
|
|
ac_add_options --disable-dbus
|
|
|
|
# If you have installed dbus-glib, and you have installed (or will install)
|
|
# wireless-tools, and you wish to use geolocation web services, comment out
|
|
# this line
|
|
ac_add_options --disable-necko-wifi
|
|
|
|
# Uncomment these lines if you have installed optional dependencies:
|
|
#ac_add_options --enable-system-hunspell
|
|
#ac_add_options --enable-startup-notification
|
|
|
|
# Uncomment the following option if you have not installed PulseAudio
|
|
#ac_add_options --disable-pulseaudio
|
|
# and uncomment this if you installed alsa-lib instead of PulseAudio
|
|
#ac_add_options --enable-alsa
|
|
|
|
# Comment out following option if you have gconf installed
|
|
ac_add_options --disable-gconf
|
|
<!-- comments cause a blank line, following was for icu in the past
|
|
seems OK with icu-60, seamonkey-2.49
|
|
line below was with comment and explanation
|
|
# Use the internal version of icu due to execution problems-->
|
|
# Comment out following options if you have not installed
|
|
# recommended dependencies:
|
|
ac_add_options --with-system-icu
|
|
ac_add_options --with-system-libevent
|
|
ac_add_options --with-system-nspr
|
|
ac_add_options --with-system-nss
|
|
ac_add_options --with-system-webp
|
|
|
|
# Disabling debug symbols makes the build much smaller and a little
|
|
# faster. Comment this if you need to run a debugger. Note: This is
|
|
# required for compilation on i686.
|
|
ac_add_options --disable-debug-symbols
|
|
|
|
# The elf-hack is reported to cause failed installs (after successful builds)
|
|
# on some machines. It is supposed to improve startup time and it shrinks
|
|
# libxul.so by a few MB - comment this if you know your machine is not affected.
|
|
ac_add_options --disable-elf-hack
|
|
|
|
# Seamonkey has some additional features that are not turned on by default,
|
|
# such as an IRC client, calendar, and DOM Inspector. The DOM Inspector
|
|
# aids with designing web pages. Comment these options if you do not
|
|
# desire these features.
|
|
ac_add_options --enable-calendar
|
|
ac_add_options --enable-dominspector
|
|
ac_add_options --enable-irc
|
|
|
|
# The BLFS editors recommend not changing anything below this line:
|
|
ac_add_options --prefix=/usr
|
|
ac_add_options --enable-application=comm/suite
|
|
|
|
ac_add_options --disable-crashreporter
|
|
ac_add_options --disable-updater
|
|
ac_add_options --disable-tests
|
|
|
|
# rust-simd does not compile with recent versions of rust.
|
|
# It is disabled in recent versions of firefox
|
|
ac_add_options --disable-rust-simd
|
|
|
|
ac_add_options --enable-optimize="-O2"
|
|
ac_add_options --enable-strip
|
|
ac_add_options --enable-install-strip
|
|
ac_add_options --enable-official-branding
|
|
|
|
# The option to use system cairo was removed in 2.53.9.
|
|
ac_add_options --enable-system-ffi
|
|
ac_add_options --enable-system-pixman
|
|
|
|
ac_add_options --with-system-bz2
|
|
ac_add_options --with-system-jpeg
|
|
ac_add_options --with-system-png
|
|
ac_add_options --with-system-zlib</literal>
|
|
EOF</userinput></screen>
|
|
|
|
<note>
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
href="../../xincludes/mozshm.xml"/>
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
href="../../xincludes/mozmach.xml"/>
|
|
</note>
|
|
|
|
<!--
|
|
<para>
|
|
Apply a patch to fix a critical security vulnerability in Seamonkey:
|
|
</para>
|
|
|
|
<screen><userinput>patch -Np1 -i ../seamonkey-&seamonkey-version;-security_fix-1.patch</userinput></screen>
|
|
-->
|
|
|
|
<para>
|
|
First remove an obsolete flag in python code, that has been removed
|
|
in python-3.11:
|
|
</para>
|
|
|
|
<screen><userinput>grep -rl \"rU\" | xargs sed -i 's/"rU"/"r"/'</userinput></screen>
|
|
|
|
<para>
|
|
Then fix an issue with regular expressions in python-3.11:
|
|
</para>
|
|
|
|
<screen><userinput>sed -e 's/?s)\./?s:.)/' \
|
|
-e '/?m)/{s/?m)/?m:/;s/\$"/$)"/}' \
|
|
-e '/?s)%/{s/?s)/?s:/;s/?"/?)"/}' \
|
|
-i xpcom/idl-parser/xpidl/xpidl.py</userinput></screen>
|
|
|
|
<para>
|
|
Compile <application>SeaMonkey</application> by running the following
|
|
commands:
|
|
</para>
|
|
|
|
<screen><userinput>export CC=clang CXX=clang++ &&
|
|
./mach configure &&
|
|
./mach build</userinput></screen>
|
|
|
|
|
|
<!-- comment this since llvm must have been installed for rust
|
|
<note>
|
|
<para>
|
|
The CC and CXX variables above are only needed if
|
|
<xref linkend="llvm"/> is installed and you do not want to use clang.
|
|
</para>
|
|
</note>-->
|
|
|
|
<para>
|
|
This package does not come with a test suite.
|
|
</para>
|
|
|
|
<para>
|
|
Install <application>SeaMonkey</application> by issuing the following
|
|
commands as the <systemitem class="username">root</systemitem> user:
|
|
</para>
|
|
|
|
|
|
<screen role="root"><userinput>./mach install &&
|
|
chown -R 0:0 /usr/lib/seamonkey &&
|
|
|
|
cp -v $(find -name seamonkey.1 | head -n1) /usr/share/man/man1</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<para>
|
|
<command>export CC=clang CXX=clang++</command>:
|
|
With the introduction of <application>gcc-12</application>, many
|
|
more warnings are generated when compiling mozilla applications
|
|
and that results in a much slower, and larger, build. Furthermore,
|
|
building with GCC on i?86 is currently broken.
|
|
Although upstream mozilla code defaults to using
|
|
<application>llvm</application> unless overridden, the older configure
|
|
code in <application>SeaMonkey</application> defaults to gcc.
|
|
</para>
|
|
|
|
<para>
|
|
<command>./mach configure</command>: This validates the supplied
|
|
dependencies and the <filename>mozconfig</filename>.
|
|
</para>
|
|
|
|
<para>
|
|
<option>./mach build --verbose</option>: Use this alternative if you
|
|
need details of which files are being compiled, together with any C or
|
|
C++ flags being used. But do not add '--verbose' to the install command,
|
|
it is not accepted there.
|
|
</para>
|
|
|
|
<para>
|
|
<option>./mach build -jN</option>: The build should, by default, use
|
|
all the online CPU cores. If using all the cores causes the build to swap
|
|
because you have insufficient memory, using fewer cores can be faster.
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="configuration">
|
|
<title>Configuring SeaMonkey</title>
|
|
|
|
<para>
|
|
For installing various <application>SeaMonkey</application> add-ons, refer
|
|
to <ulink url="https://addons.thunderbird.net/en-US/seamonkey/">Add-ons
|
|
for Seamonkey</ulink>.
|
|
</para>
|
|
|
|
<para>
|
|
Along with using the <quote>Preferences</quote> menu to configure
|
|
<application>SeaMonkey</application>'s options and preferences to suit
|
|
individual tastes, finer grain control of many options is only available
|
|
using a tool not available from the general menu system. To access this
|
|
tool, you'll need to open a browser window and enter
|
|
<systemitem role="url">about:config</systemitem> in the address bar. This
|
|
will display a list of the configuration preferences and information
|
|
related to each one. You can use the <quote>Search:</quote> bar to enter
|
|
search criteria and narrow down the listed items. Changing a preference
|
|
can be done using two methods. One, if the preference has a boolean value
|
|
(True/False), simply double-click on the preference to toggle the value
|
|
and two, for other preferences simply right-click on the desired line,
|
|
choose <quote>Modify</quote> from the menu and change the value. Creating
|
|
new preference items is accomplished in the same way, except choose
|
|
<quote>New</quote> from the menu and provide the desired data into the
|
|
fields when prompted.
|
|
</para>
|
|
|
|
<!-- The URL no longer exists.
|
|
<tip>
|
|
<para>
|
|
There is a multitude of configuration parameters you can tweak to
|
|
customize <application>SeaMonkey</application>. A very extensive list of
|
|
these parameters can be found at
|
|
<ulink url="http://preferential.mozdev.org/preferences.html"/>.
|
|
</para>
|
|
</tip>
|
|
-->
|
|
<para>
|
|
If you use a desktop environment like <application>Gnome</application> or
|
|
<application>KDE</application> you may wish to create a
|
|
<filename>seamonkey.desktop</filename> file so that
|
|
<application>SeaMonkey</application> appears in the panel's menus. If you
|
|
didn't enable <application>Startup-Notification</application> in your
|
|
mozconfig change the StartupNotify line to false. As the
|
|
<systemitem class="username">root</systemitem> user:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>mkdir -pv /usr/share/{applications,pixmaps} &&
|
|
|
|
cat > /usr/share/applications/seamonkey.desktop << "EOF"
|
|
<literal>[Desktop Entry]
|
|
Encoding=UTF-8
|
|
Type=Application
|
|
Name=SeaMonkey
|
|
Comment=The Mozilla Suite
|
|
Icon=seamonkey
|
|
Exec=seamonkey
|
|
Categories=Network;GTK;Application;Email;Browser;WebBrowser;News;
|
|
StartupNotify=true
|
|
Terminal=false</literal>
|
|
EOF
|
|
|
|
ln -sfv /usr/lib/seamonkey/chrome/icons/default/default128.png \
|
|
/usr/share/pixmaps/seamonkey.png</userinput></screen>
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Directory</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>seamonkey</seg>
|
|
<seg>
|
|
Numerous libraries, browser, and email/newsgroup components, plugins,
|
|
extensions, and helper modules installed in
|
|
<filename class="directory">/usr/lib/seamonkey</filename>
|
|
</seg>
|
|
<seg>
|
|
/usr/lib/seamonkey
|
|
</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="seamonkey-prog">
|
|
<term><command>seamonkey</command></term>
|
|
<listitem>
|
|
<para>
|
|
is the Mozilla browser/email/newsgroup/chat client suite
|
|
</para>
|
|
<indexterm zone="seamonkey seamonkey-prog">
|
|
<primary sortas="b-seamonkey">seamonkey</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</sect2>
|
|
|
|
</sect1>
|