Ignore:
Timestamp:
11/09/2014 01:59:30 PM (9 years ago)
Author:
Fernando de Oliveira <fernando@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
08cc98a4
Parents:
45f401ea
Message:

Fixes to seamonkey-2.30: number of threads, optimization and dependencies.
Fixes to firefox-33.0.3: number of threads and optimization.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xsoft/graphweb/seamonkey.xml

    r45f401ea r566fcae  
    9595    <bridgehead renderas="sect4">Recommended</bridgehead>
    9696    <para role="recommended">
    97       <xref linkend="yasm"/> or <xref linkend="libvpx"/>
    98       (to allow <application>SeaMonkey</application> to play webm videos).
    99     </para>
     97      <xref linkend="icu"/>,
     98      <xref linkend="libevent"/>,
     99      <xref linkend="libvpx"/>,
     100      <xref linkend="nspr"/>,
     101      <xref linkend="nss"/>,
     102      <xref linkend="sqlite"/> and
     103      <xref linkend="yasm"/>
     104    </para>
     105
     106    <note>
     107      <para>
     108        If you don't install recommended dependencies, then internal copies of
     109        those packages will be used. They might be tested to work, but they can
     110        be out of date or contain security holes.
     111      </para>
     112    </note>
     113
     114    <note>
     115      <para>
     116        You must have installed <application>Openssl</application> before
     117        <application>Python 2</application> or the build system will quickly
     118        fail with output including "ImportError: cannot import name
     119        HTTPSHandler". If you are in any doubt about this (e.g. upgrading from
     120        an older version of Seamonkey), check if
     121        <filename>/usr/lib/python2.7/lib-dynload/_ssl.so</filename> exists.  If
     122        it does not, reinstall <xref linkend="python2"/> (after installing
     123        <xref linkend="openssl"/>.  The latest version of any
     124        <emphasis>currently maintained</emphasis> version of Openssl should be
     125        satisfactory if already installed.
     126      </para>
     127    </note>
    100128
    101129    <bridgehead renderas="sect4">Optional</bridgehead>
    102130    <para role="optional">
     131      <xref linkend="curl"/>,
    103132      <xref linkend="dbus-glib"/>,
    104       <xref linkend="startup-notification"/>,
    105       <xref linkend="sqlite"/>,
    106       <xref linkend="libevent"/>,
    107133      <xref linkend="doxygen"/>,
    108134      <xref linkend="gst-plugins-base"/> (with
     
    113139      <xref linkend="gst10-libav"/> at runtime),
    114140      <xref linkend="libnotify"/>,
    115       <xref linkend="nspr"/>,
    116       <xref linkend="nss"/>,
    117141      <xref linkend="openjdk"/>,
    118142      <xref linkend="pulseaudio"/>,
    119       <xref linkend="wireless_tools"/>,
    120       <xref linkend="valgrind"/> (only for testing the jemalloc code),
    121       <xref linkend="wget"/>, and
     143      <xref linkend="startup-notification"/>,
     144      <xref linkend="valgrind"/>,
     145      <xref linkend="wget"/>,
     146      <xref linkend="wireless_tools"/>, and
    122147      <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>
    123148    </para>
     
    126151      User Notes: <ulink url="&blfs-wiki;/seamonkey"/>
    127152    </para>
     153
    128154  </sect2>
    129155
     
    150176
    151177<screen><?dbfo keep-together="auto"?><userinput>cat &gt; mozconfig &lt;&lt; "EOF"
    152 <literal># If you have a multicore machine you can speed up the build by running
    153 # several jobs at once, but if you have a single core, delete this line:
    154 mk_add_options MOZ_MAKE_FLAGS="-j$(getconf _NPROCESSORS_ONLN)"
    155 
    156 # If you have installed Yasm delete this option:
    157 ac_add_options --disable-webm
    158 
    159 # If you have installed DBus-Glib delete this option:
     178<literal># If you have a multicore machine, all cores will be used by default.
     179# Exceptionally, you can reduce the number used of cores, e.g. to 1, by
     180# uncommenting the next line and setting a valid number of CPU cores.
     181#mk_add_options MOZ_MAKE_FLAGS="-j1"
     182
     183# If you have installed DBus-Glib comment out this line:
    160184ac_add_options --disable-dbus
    161185
    162 # If you have installed wireless-tools delete this option:
     186# If you have installed dbus-glib, and you have installed (or will install)
     187# wireless-tools, and you wish to use geolocation web services, comment out
     188# this line
    163189ac_add_options --disable-necko-wifi
    164190
    165 # If you have installed libnotify delete this option:
     191# If you have installed libnotify comment out this line:
    166192ac_add_options --disable-libnotify
    167 
    168 # Comment out following option if you have PulseAudio installed
    169 ac_add_options --disable-pulseaudio
    170193
    171194# GStreamer is necessary for H.264 video playback in HTML5 Video Player;
     
    176199#ac_add_options --enable-gstreamer=1.0
    177200
    178 # Uncomment these if you have installed them:
    179 # ac_add_options --enable-startup-notification
    180 # ac_add_options --enable-system-hunspell
    181 # ac_add_options --enable-system-sqlite
    182 # ac_add_options --with-system-libevent
    183 # ac_add_options --with-system-libvpx
    184 # ac_add_options --with-system-nspr
    185 # ac_add_options --with-system-nss
    186 
    187 mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/moz-build-dir
     201# Uncomment these lines if you have installed optional dependencies:
     202#ac_add_options --enable-system-hunspell
     203#ac_add_options --enable-startup-notification
     204
     205# Comment out following option if you have PulseAudio installed
     206ac_add_options --disable-pulseaudio
     207
     208# If you have not installed Yasm then uncomment this line:
     209#ac_add_options --disable-webm
     210
     211# Comment out following options if you have not installed
     212# recommended dependencies:
     213ac_add_options --enable-system-sqlite
     214ac_add_options --with-system-libevent
     215ac_add_options --with-system-libvpx
     216ac_add_options --with-system-nspr
     217ac_add_options --with-system-nss
     218ac_add_options --with-system-icu
     219
     220# The BLFS editors recommend not changing anything below this line:
     221ac_add_options --prefix=/usr
     222ac_add_options --enable-application=suite
     223
    188224ac_add_options --disable-crashreporter
    189 ac_add_options --disable-debug
    190 ac_add_options --disable-debug-symbols
    191 ac_add_options --disable-installer
    192 ac_add_options --disable-static
     225ac_add_options --disable-updater
    193226ac_add_options --disable-tests
    194 ac_add_options --disable-updater
    195 ac_add_options --enable-application=suite
     227
    196228ac_add_options --enable-optimize
    197 ac_add_options --enable-shared
     229ac_add_options --enable-strip
     230ac_add_options --enable-install-strip
     231
     232ac_add_options --enable-gio
     233ac_add_options --enable-official-branding
     234ac_add_options --enable-safe-browsing
     235ac_add_options --enable-url-classifier
     236
    198237ac_add_options --enable-system-cairo
    199238ac_add_options --enable-system-ffi
    200 ac_add_options --prefix=/usr
     239ac_add_options --enable-system-pixman
     240
    201241ac_add_options --with-pthreads
     242
     243ac_add_options --with-system-bz2
    202244ac_add_options --with-system-jpeg
    203245ac_add_options --with-system-png
    204 ac_add_options --with-system-zlib</literal>
     246ac_add_options --with-system-zlib
     247
     248mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/moz-build-dir</literal>
    205249EOF</userinput></screen>
     250
     251    <para>
     252      There is a problem in i686 systems, when build with
     253      <application>gcc</application> ranging from 4.8 to 4.9.1, and using the
     254      switch <quote>--enable-optimize</quote>. You have two alternatives, best
     255      one being the upgrade of <application>gcc</application> to version 4.9.2,
     256      because that switch implies better perfomance and smaller binaries.
     257      However, if you do not wish to upgrade gcc, disable the switch with:
     258    </para>
     259
     260<screen><userinput>test $(uname -m) = "i686" &amp;&amp; sed -i 's/enable-optimize/disable-optimize/' mozconfig || true</userinput></screen>
     261
     262    <note><para>
     263      If you are compiling <application>SeaMonkey</application> in chroot, make
     264      sure you have <envar>$SHELL</envar> environment variable set or prepend
     265      <envar>SHELL=/bin/sh</envar> to the first make command below.
     266    </para></note>
    206267
    207268    <para>
     
    224285    </note>
    225286
    226 <screen><userinput>test $(uname -m) = "i686" &amp;&amp; sed -i 's/enable-optimize/disable-optimize/' mozconfig || true &amp;&amp;
    227 make -f client.mk</userinput></screen>
     287<screen><userinput>make -f client.mk</userinput></screen>
    228288
    229289    <para>
     
    259319      <command>test $(uname -m) = "i686" &amp;&amp; sed ...</command>:
    260320      On this version of seamonkey, an old bug has reappeared in 32-bit builds.
    261       With optimization, the install fails with a Python error.  This
     321      With optimization, the install fails<!-- with a Python error-->.  This
    262322      command will fix i686 builds and preserve the optimization on x86_64.
    263323    </para>
Note: See TracChangeset for help on using the changeset viewer.