Ignore:
Timestamp:
03/13/2018 10:12:24 PM (6 years ago)
Author:
Ken Moffat <ken@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, 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:
d5aefd5c
Parents:
7887b22f
Message:

Firefox-59.0. I wish they still packaged release tarballs as firefox-NN.N and offered .tar.xz, but they don't. Please note that system cairo can no longer be used, and the libraries now install into an unversioned /usr/lib/firefox/ directory.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xsoft/graphweb/firefox.xml

    r7887b22f r8d0bc761  
    55  %general-entities;
    66
     7<!--
    78  <!ENTITY firefox-download-http "&mozilla-http;/firefox/releases/&firefox-version;/source/firefox-&firefox-version;.source.tar.xz">
     9-->
     10   <!ENTITY firefox-hgversion "c61f5f5ead48c78a80c80db5c489bdc7cfaf8175">
     11  <!-- use tinyurl to get a much shorter link for the wget example -->
     12  <!ENTITY firefox-tiny "https://tinyurl.com/firefox-59-0-tar-bz2">
     13  <!ENTITY firefox-download-http "&mozilla-hg;&firefox-hgversion;.tar.bz2">
    814  <!ENTITY firefox-download-ftp  " ">
    9   <!ENTITY firefox-md5sum        "a64c6cd4785ba1ae094faae16105dbf2">
    10   <!ENTITY firefox-size          "237 MB">
     15  <!ENTITY firefox-md5sum        "2dfc59e6adccea41b5fb87c2d9456d4e">
     16  <!ENTITY firefox-size          "291 MB">
    1117  <!-- NB with stylo, much of the build uses rust, and therefore cargo files.
    1218    But when building 58.0 on rustc-1.22.1 the extra files, if any, seem to be minimal -->
    13   <!ENTITY firefox-buildsize     "7.4 GB (152 MB installed) without tests">
    14   <!ENTITY firefox-time          "20 SBU (with parallelism=4) without tests">
     19  <!ENTITY firefox-buildsize     "7.5 GB (157 MB installed) without tests">
     20  <!ENTITY firefox-time          "21 SBU (with parallelism=4) without tests">
    1521]>
    1622
     
    7581    <note>
    7682      <para>
    77         The build times for this version of firefox (using stylo, the new CSS
    78         rendering code) seem to vary widely between different machines. On one
    79         old Intel i3 the build took considerably longer. The reason for this is
    80         not understood. A build with stylo disabled is typically 1 or 2 SBU
    81         quicker and needs 0.8GB less disk space.
    82       </para>
    83 
    84       <para>
    85         Although upstream prefer to use <application>PulseAudio</application>,
    86         for the moment <application>Alsa</application> can still be used. Both
    87         may need runtime configuration to get sound working.
     83        Upstream now only provide tarballs named with 40-character mercurial
     84        commit hashes.
     85        <!--
     86        This will untar to <emphasis>mozilla-release-&firefox-hgversion;/</emphasis>,
     87        but it will build firefox-&firefox-version; - you may prefer to rename the
     88        -->
     89        You may prefer to rename the
     90        downloaded tarball, either to firefox-&firefox-version;.tar.bz2 or to
     91        mozilla-release-&firefox-hgversion;.tar.bz2, or to use wget, e.g.
     92<screen><userinput>wget -c &firefox-tiny; \
     93     -O mozilla-release-&firefox-hgversion;.tar.bz2</userinput></screen>
    8894      </para>
    8995    </note>
     
    102108    <note>
    103109      <para>
    104         The tarball <emphasis>firefox-&firefox-version;.source.tar.xz</emphasis>
    105         will untar to <emphasis>firefox-&firefox-version;</emphasis> directory.
    106         It will also reset the permissions of the current directory to 0755 if you
     110        Extracting the tarball
     111        will reset the permissions of the current directory to 0755 if you
    107112        have permission to do that. If you do this in a directory where
    108113        the sticky bit is set, such
     
    121126        Do not untar as the <systemitem class="username">root</systemitem> user
    122127        in a directory where the sticky bit is set - that will unset it.
     128      </para>
     129
     130      <para>
     131        The build times for this version of firefox (using stylo, the new CSS
     132        rendering code) seem to vary widely between different machines. On one
     133        old Intel i3 with only 4GB of RAM the build took
     134        <emphasis>considerably</emphasis> longer. The reason for this is
     135        not understood. A build with stylo disabled is typically 1 or 2 SBU
     136        quicker and needs 0.8GB less disk space.
     137      </para>
     138
     139      <para>
     140        Although upstream prefer to use <application>PulseAudio</application>,
     141        for the moment <application>Alsa</application> can still be used. Both
     142        may need runtime configuration to get sound working.
    123143      </para>
    124144    </note>
     
    160180      </para>
    161181    </note>
    162 <!--
    163     <note>
    164       <para>
    165         With <application>Firefox-31.0</application> and later versions, you
    166         must have installed <application>Openssl</application> before
    167         <application>Python 2</application> or the build system will quickly
    168         fail with output including "ImportError: cannot import name
    169         HTTPSHandler". If you are in any doubt about this (e.g. upgrading from
    170         an older version of Firefox), check if
    171         <filename>/usr/lib/python&python2-majorver;/lib-dynload/_ssl.so</filename>
    172         exists.  If it does not, reinstall <xref linkend="python2"/> (after
    173         installing <xref linkend="openssl"/>).  The latest version of any
    174         <emphasis>currently maintained</emphasis> version of Openssl should be
    175         satisfactory if already installed.
    176       </para>
    177     </note>
    178 -->
     182
    179183    <bridgehead renderas="sect4">Optional</bridgehead>
    180184    <para role="optional">
     
    222226# You can change the number of non-rust jobs by setting a valid number
    223227# of cores in this option, but when rust crates are being compiled
    224 # jobs will be scheduled for all the online CPU cores.
     228# jobs will be scheduled for all the available CPU cores.
    225229#mk_add_options MOZ_MAKE_FLAGS="-j1"
    226230
     
    292296ac_add_options --enable-official-branding
    293297
    294 # From firefox-40, using system cairo caused firefox to crash
    295 # frequently when it was doing background rendering in a tab.
    296 # This appears to again work in firefox-56
    297 ac_add_options --enable-system-cairo
     298# In firefox-59.0 system cairo breaks the build, so comment it.
     299#ac_add_options --enable-system-cairo
    298300ac_add_options --enable-system-ffi
    299301ac_add_options --enable-system-pixman
     
    377379
    378380mkdir -pv  /usr/lib/mozilla/plugins                             &amp;&amp;
    379 ln    -sfv ../../mozilla/plugins /usr/lib/firefox-&firefox-version;/browser</userinput></screen>
     381ln    -sfv ../../mozilla/plugins /usr/lib/firefox/browser/</userinput></screen>
    380382<!--
    381383    <para>
     
    406408
    407409    <para>
    408       <command>mkdir -p /usr/lib/mozilla/plugins</command>: This checks
    409       that <filename class="directory">/usr/lib/mozilla/plugins</filename>
     410      <command>mkdir -pv /usr/lib/mozilla/plugins</command>: This ensures
     411      that <filename class="directory">/usr/lib/mozilla/plugins/</filename>
    410412      exists.
    411413    </para>
    412414
    413415    <para>
    414       <command>ln -sv ... /usr/lib/firefox-&firefox-version;/browser</command>:
     416      <command>ln -sv ... /usr/lib/firefox/browser</command>:
    415417      This command creates a symbolic link to <filename
    416418      class="directory">/usr/lib/mozilla/plugins</filename>. It's not really
     
    533535        <seg>
    534536          Numerous libraries, browser components, plugins, extensions, and
    535           helper modules installed in /usr/lib/firefox-&firefox-version;
     537          helper modules installed in /usr/lib/firefox
    536538        </seg>
    537539        <seg>
Note: See TracChangeset for help on using the changeset viewer.