Ignore:
Timestamp:
06/15/2016 02:49:32 AM (8 years ago)
Author:
Ken Moffat <ken@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 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:
f475ce8b
Parents:
39fdfae4
Message:

firefox-47.0

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xsoft/graphweb/firefox.xml

    r39fdfae4 r14de4227  
    77  <!ENTITY firefox-download-http "&mozilla-http;/firefox/releases/&firefox-version;/source/firefox-&firefox-version;.source.tar.xz">
    88  <!ENTITY firefox-download-ftp " ">
    9   <!ENTITY firefox-md5sum        "3e3b90268b8a634f7c60a25eb3a04c8c">
    10   <!ENTITY firefox-size          "179 MB">
    11   <!ENTITY firefox-buildsize     "4.6 GB (84 MB installed)">
    12   <!ENTITY firefox-time          "11.5 SBU (with parallelism=4)">
     9  <!ENTITY firefox-md5sum        "0bd5991a6c821dd1a34ead0f8bbb301a      ">
     10  <!ENTITY firefox-size          "180 MB">
     11  <!ENTITY firefox-buildsize     "5.3 GB (85 MB installed)">
     12  <!ENTITY firefox-time          "11.3 SBU (with parallelism=4 on a recent intel i7, much longer on lesser CPUs)">
    1313]>
    1414
     
    3535    </para>
    3636
    37     &lfs79_checked;
    38     &gcc6_checked;
     37    &lfs79_checked;&gcc6_checked;
    3938
    4039    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    6867        <para>
    6968          Estimated build time: &firefox-time;
     69        </para>
     70      </listitem>
     71    </itemizedlist>
     72
     73    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     74    <itemizedlist spacing="compact">
     75      <listitem>
     76        <para>
     77          Required patch if using gtk+-3.20 or later (do not use with earlier versions)
     78          <ulink url="&patch-root;/firefox-&firefox-version;-gtk320-1.patch"/>
     79        </para>
     80      </listitem>
     81      <listitem>
     82        <para>
     83          Optional patch to allow system versions of <xref linkend="graphite2"/>
     84          and <xref linkend="harfbuzz"/> - this should be regarded as experimental
     85          <ulink url="&patch-root;/firefox-&firefox-version;-system_graphite2_harfbuzz-1.patch"/>
    7086        </para>
    7187      </listitem>
     
    84100    <para role="required">
    85101      <xref linkend="alsa-lib"/>,
    86       <xref linkend="gtk2"/>
    87       (or <xref linkend="gtk3"/> if you change the mozconfig where indicated),
     102      <xref linkend="autoconf213"/>,
     103      <xref linkend="gtk3"/>
     104      (or <xref linkend="gtk2"/> if you change the mozconfig where indicated),
    88105      <xref linkend="nss"/>,
    89106      <xref linkend="unzip"/>,
     
    143160      <ulink url="https://hunspell.github.io/">Hunspell</ulink>,
    144161      <ulink url="http://sourceforge.net/projects/liboauth/files/">liboauth</ulink>, and
    145       <ulink url="https://github.com/libproxy/libproxy">libproxy</ulink>, and
    146       <ulink url="https://www.rust-lang.org/">Rust</ulink>
     162      <ulink url="https://github.com/libproxy/libproxy">libproxy</ulink>,
     163      <ulink url="https://www.rust-lang.org/">Rust</ulink>,
     164      and (with the patch)
     165      <xref linkend="graphite2"/> and
     166      <xref linkend="harfbuzz"/>
    147167    </para>
    148168
     
    188208#ac_add_options --enable-gstreamer=1.0
    189209
    190 # Comment out this option if you wish to build with gtk+-3
    191 ac_add_options --enable-default-toolkit=cairo-gtk2
     210# Uncomment this option if you wish to build with gtk+-2
     211#ac_add_options --enable-default-toolkit=cairo-gtk2
    192212
    193213# Uncomment these lines if you have installed optional dependencies:
     
    210230ac_add_options --with-system-icu
    211231
     232# If you are going to apply the patch for system graphite
     233# and system harfbuzz, uncomment these lines:
     234#ac_add_options --with-system-graphite2
     235#ac_add_options --with-system-harfbuzz
     236
     237# Stripping is now enabled by default.
     238# Uncomment these lines if you need to run a debugger:
     239#ac_add_options --disable-strip
     240#ac_add_options --disable-install-strip
     241
    212242# The BLFS editors recommend not changing anything below this line:
    213243ac_add_options --prefix=/usr
     
    219249
    220250ac_add_options --enable-optimize
    221 ac_add_options --enable-strip
    222 ac_add_options --enable-install-strip
    223251
    224252ac_add_options --enable-gio
     
    248276    </para>
    249277
     278    <para>
     279      If you are using gtk+-3.20 or later, apply a patch to restore the
     280      slider on scrollbars:
     281    </para>
     282
     283<screen><userinput>patch -Np1 -i ../firefox-&firefox-version;-gtk320-1.patch</userinput></screen>
     284
     285    <para>
     286      If you have installed system versions of graphite2 and harfbuzz and wish
     287      firefox to use those instead of its shipped versions, apply the patch and
     288      uncomment the appropriate entries in the <filename>mozconfig</filename>
     289      file:
     290    </para>
     291
     292<screen><userinput>patch -Np1 -i ../firefox-&firefox-version;-system_graphite2_harfbuzz-1.patch</userinput></screen>
     293
    250294    <note><para>
    251295      If you are compiling <application>Firefox</application> in chroot, make
     
    262306    -i nsprpub/config/make-system-wrappers.pl
    263307
    264 CXX='g++ -std=c++11' make -f client.mk</userinput></screen>
     308CFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2"
     309CXXFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2"</userinput></screen>
    265310
    266311    <para>
     
    284329
    285330     <para>
    286       <command>sed ...</command>: These commads correct the source to be
    287       compatible with gcc6.
     331      <command>sed ...</command>: These commands correct the source to be
     332      compatible with gcc6 by preventing c++ scope errors.
     333    </para>
     334
     335    <para>
     336      <command>CFLAGS= ... CXXFLAGS= ...</command>: These settings work around
     337      code which gcc6 would otherwise regard as out-of-specification and allow
     338      it to produce a working program.
    288339    </para>
    289340
Note: See TracChangeset for help on using the changeset viewer.