mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
xulrunner-12.0
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9977 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
9e069685f1
commit
a949fa4525
@ -76,16 +76,6 @@
|
|||||||
</listitem>
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
|
|
||||||
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
||||||
<itemizedlist spacing="compact">
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
Required patch if you're using <application>GCC-4.7</application>:
|
|
||||||
<ulink url="&patch-root;/xulrunner-&xulrunner-version;_gcc-4.7-1.patch"/>
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
</itemizedlist>
|
|
||||||
|
|
||||||
<bridgehead renderas="sect3">Xulrunner Dependencies</bridgehead>
|
<bridgehead renderas="sect3">Xulrunner Dependencies</bridgehead>
|
||||||
|
|
||||||
<bridgehead renderas="sect4">Required</bridgehead>
|
<bridgehead renderas="sect4">Required</bridgehead>
|
||||||
@ -198,13 +188,17 @@ EOF</userinput></screen>
|
|||||||
commands:
|
commands:
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<screen><userinput>patch -p1 < ../xulrunner-&xulrunner-version;_gcc-4.7-1.patch &&
|
<screen><userinput>sed -i '/fcntl.h/a#include <unistd.h>' \
|
||||||
sed -i 's#VPX_CODEC_USE_INPUT_PARTITION#VPX_CODEC_USE_INPUT_FRAGMENTS#' configure &&
|
ipc/chromium/src/base/{file_util_linux,message_pump_libevent}.cc &&
|
||||||
if pkg-config --atleast-version &nspr-version; nspr
|
sed -i '/sys\/time\.h/a#include <unistd.h>' ipc/chromium/src/base/time_posix.cc &&
|
||||||
|
make -f client.mk</userinput></screen>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
if pkg-config --atleast-version &nspr-version; nspr
|
||||||
then sed -i '/Version/aRequires: nspr >= &nspr-version;' xulrunner/installer/libxul-embedding.pc.in
|
then sed -i '/Version/aRequires: nspr >= &nspr-version;' xulrunner/installer/libxul-embedding.pc.in
|
||||||
else sed -i '/Version/aRequires: mozilla-nspr >= &nspr-version;' xulrunner/installer/libxul-embedding.pc.in
|
else sed -i '/Version/aRequires: mozilla-nspr >= &nspr-version;' xulrunner/installer/libxul-embedding.pc.in
|
||||||
fi &&
|
fi &&
|
||||||
make -f client.mk</userinput></screen>
|
-->
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
This package does not come with a test suite.
|
This package does not come with a test suite.
|
||||||
@ -215,7 +209,7 @@ make -f client.mk</userinput></screen>
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
<screen role="root"><userinput>make -C xulrunner-build-dir install &&
|
<screen role="root"><userinput>make -C xulrunner-build-dir install &&
|
||||||
mkdir -p /usr/lib/mozilla &&
|
mkdir -p /usr/lib/mozilla/plugins &&
|
||||||
rm -rf /usr/lib/xulrunner-&xulrunner-version;/plugins &&
|
rm -rf /usr/lib/xulrunner-&xulrunner-version;/plugins &&
|
||||||
ln -sv ../mozilla/plugins /usr/lib/xulrunner-&xulrunner-version; &&
|
ln -sv ../mozilla/plugins /usr/lib/xulrunner-&xulrunner-version; &&
|
||||||
chown -Rv root:root /usr/{include,lib,share/idl}/xulrunner-* &&
|
chown -Rv root:root /usr/{include,lib,share/idl}/xulrunner-* &&
|
||||||
@ -228,15 +222,17 @@ done</userinput></screen>
|
|||||||
<title>Command Explanations</title>
|
<title>Command Explanations</title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
<command>sed -i 's#VPX_CODEC_USE_INPUT_PARTITION ...</command>: This fixes
|
<command>sed -i '/fcntl.h/a#include <unistd.h>'
|
||||||
<application>Xulrunner's</application> <command>configure</command>
|
ipc/chromium/src/base/{file_util_linux,message_pump_libevent}.cc
|
||||||
script to properly detect <xref linkend="libvpx"/>. It is not needed if
|
&& sed -i '/sys\/time\.h/a#include <unistd.h>'
|
||||||
you have libvpx-v0.9.7 or earlier installed or if you've not installed
|
ipc/chromium/src/base/time_posix.cc</command>: These seds fix bugs that
|
||||||
<application>Libvpx</application>.
|
would otherwise break the build if you're using
|
||||||
|
<application>GCC 4.7</application>.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
<!-- is this sed nstill needed?
|
||||||
<para>
|
<para>
|
||||||
<command>if pkg-config --atleast-version &nspr-version; nspr;
|
<command>if pkg-config --atleast-version &nspr-version; nspr;
|
||||||
then sed -i '/Version/aRequires: nspr >= &nspr-version;'
|
then sed -i '/Version/aRequires: nspr >= &nspr-version;'
|
||||||
xulrunner/installer/libxul-embedding.pc.in;
|
xulrunner/installer/libxul-embedding.pc.in;
|
||||||
else sed -i '/Version/aRequires: mozilla-nspr >= &nspr-version;'
|
else sed -i '/Version/aRequires: mozilla-nspr >= &nspr-version;'
|
||||||
@ -247,7 +243,7 @@ done</userinput></screen>
|
|||||||
to <filename>libxul-embedding.pc</filename>. If you try to build some
|
to <filename>libxul-embedding.pc</filename>. If you try to build some
|
||||||
other applications without this, the prtypes header from NSPR will not be
|
other applications without this, the prtypes header from NSPR will not be
|
||||||
found.
|
found.
|
||||||
</para>
|
</para> -->
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
<command>make -f client.mk ...</command>: Mozilla products are packaged to
|
<command>make -f client.mk ...</command>: Mozilla products are packaged to
|
||||||
@ -286,7 +282,7 @@ done</userinput></screen>
|
|||||||
<segtitle>Installed Directories</segtitle>
|
<segtitle>Installed Directories</segtitle>
|
||||||
|
|
||||||
<seglistitem>
|
<seglistitem>
|
||||||
<seg>xulrunner, and optionally nspr-config</seg>
|
<seg>xulrunner</seg>
|
||||||
<seg>Numerous libraries, browser components, plugins, extensions, and
|
<seg>Numerous libraries, browser components, plugins, extensions, and
|
||||||
helper modules installed in <filename
|
helper modules installed in <filename
|
||||||
class="directory">/usr/lib/xulrunner-&xulrunner-version;</filename></seg>
|
class="directory">/usr/lib/xulrunner-&xulrunner-version;</filename></seg>
|
||||||
|
@ -73,16 +73,6 @@
|
|||||||
</listitem>
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
|
|
||||||
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
||||||
<itemizedlist spacing="compact">
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
Required patch if you're using <application>GCC-4.7</application>:
|
|
||||||
<ulink url="&patch-root;/firefox-&firefox-version;_gcc-4.7-1.patch"/>
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
</itemizedlist>
|
|
||||||
|
|
||||||
<bridgehead renderas="sect3">Firefox Dependencies</bridgehead>
|
<bridgehead renderas="sect3">Firefox Dependencies</bridgehead>
|
||||||
|
|
||||||
<bridgehead renderas="sect4">Required</bridgehead>
|
<bridgehead renderas="sect4">Required</bridgehead>
|
||||||
|
Loading…
Reference in New Issue
Block a user