Firefox-12.0

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9976 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Andrew Benton 2012-04-22 16:13:56 +00:00
parent 521cea0d22
commit 9e069685f1
3 changed files with 17 additions and 11 deletions

View File

@ -646,7 +646,7 @@ $Date$
<!ENTITY freeglut-version "2.8.0">
<!ENTITY goffice-version "0.8.17">
<!ENTITY mesalib-version "7.9">
<!ENTITY xulrunner-version "11.0">
<!ENTITY xulrunner-version "12.0">
<!ENTITY webkitgtk-version "1.8.0">
<!ENTITY libsexy-version "0.1.11">
<!ENTITY libnotify-version "0.7.5">
@ -908,7 +908,7 @@ program you invoke. Development restarted Feb 12, so commented until a new rele
<!-- Chapter 36 -->
<!ENTITY seamonkey-version "2.8">
<!-- Don't forget xulrunner -->
<!ENTITY firefox-version "11.0">
<!ENTITY firefox-version "12.0">
<!-- Obsolete
<!ENTITY dillo-version "0.8.5">

View File

@ -46,7 +46,7 @@
<itemizedlist>
<listitem>
<para>[rthomsen] - Added Mercurial 2.1.2. Fixes
<ulink url="&blfs-ticket-root;2451">#2451</ulink>.</para>
<ulink url="&blfs-ticket-root;2451">#2451</ulink>.</para>
</listitem>
<listitem>
<para>[krejzi] - network-manager-applet 0.9.4.1.</para>
@ -63,6 +63,9 @@
<listitem>
<para>[krejzi] - shared-mime-info 1.0.</para>
</listitem>
<listitem>
<para>[abenton] - Firefox 12.0</para>
</listitem>
</itemizedlist>
</listitem>

View File

@ -206,8 +206,9 @@ EOF</userinput></screen>
commands:
</para>
<screen><userinput>patch -p1 &lt; ../firefox-&firefox-version;_gcc-4.7-1.patch &amp;&amp;
sed -i 's#VPX_CODEC_USE_INPUT_PARTITION#VPX_CODEC_USE_INPUT_FRAGMENTS#' configure &amp;&amp;
<screen><userinput>sed -i '/fcntl.h/a#include &lt;unistd.h&gt;' \
ipc/chromium/src/base/{file_util_linux,message_pump_libevent}.cc &amp;&amp;
sed -i '/sys\/time\.h/a#include &lt;unistd.h&gt;' ipc/chromium/src/base/time_posix.cc &amp;&amp;
sed -i 's# ""##' browser/base/Makefile.in &amp;&amp;
make -f client.mk</userinput></screen>
@ -231,7 +232,8 @@ make -f client.mk</userinput></screen>
</para>
<screen role="root"><userinput>mkdir /usr/lib/firefox-&firefox-version; &amp;&amp;
tar -xvf firefox-build-dir/dist/firefox-*.tar.bz2 -C /usr/lib/firefox-&firefox-version; --strip-components=1 &amp;&amp;
tar -xvf firefox-build-dir/dist/firefox-*.tar.bz2 \
-C /usr/lib/firefox-&firefox-version; --strip-components=1 &amp;&amp;
ln -sfv ../lib/firefox-&firefox-version;/firefox /usr/bin/firefox &amp;&amp;
mkdir -p /usr/lib/mozilla/plugins &amp;&amp;
ln -sv ../mozilla/plugins /usr/lib/firefox-&firefox-version; &amp;&amp;
@ -259,11 +261,12 @@ chown -R -v root:root /usr/lib/firefox-&firefox-version;</userinput></screen>
<title>Command Explanations</title>
<para>
<command>sed -i 's#VPX_CODEC_USE_INPUT_PARTITION ...</command>: This fixes
<application>Firefox's</application> <command>configure</command>
script to properly detect <xref linkend="libvpx"/>. It is not needed if
you have libvpx-v0.9.7 or earlier installed or if you've not installed
<application>Libvpx</application>.
<command>sed -i '/fcntl.h/a#include &lt;unistd.h&gt;'
ipc/chromium/src/base/{file_util_linux,message_pump_libevent}.cc
&amp;&amp; sed -i '/sys\/time\.h/a#include &lt;unistd.h&gt;'
ipc/chromium/src/base/time_posix.cc</command>: These seds fix bugs that
would otherwise break the build if you're using
<application>GCC 4.7</application>.
</para>
<para>