mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 23:07:23 +08:00
assorted firefox and xulrunner tweaks
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9127 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
d4e8546705
commit
eb148eb13f
@ -4,12 +4,15 @@
|
||||
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
||||
%general-entities;
|
||||
|
||||
<!--
|
||||
<!ENTITY xulrunner-download-http "http://releases.mozilla.org/pub/mozilla.org/firefox/releases/&firefox-version;/source/firefox-&firefox-version;.source.tar.bz2">
|
||||
-->
|
||||
<!ENTITY xulrunner-download-http " ">
|
||||
<!ENTITY xulrunner-download-ftp "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/&firefox-version;/source/firefox-&firefox-version;.source.tar.bz2">
|
||||
<!-- md5sum and size should match firefox, but the buildsize and time will differ -->
|
||||
<!ENTITY xulrunner-md5sum "d8d0c8c79660752b02d9e9ab69a68f94">
|
||||
<!ENTITY xulrunner-size "70.8 MB">
|
||||
<!ENTITY xulrunner-buildsize "2.6 GB">
|
||||
<!ENTITY xulrunner-buildsize "2.6 GB (440 MB installed)">
|
||||
<!ENTITY xulrunner-time "22 SBU">
|
||||
]>
|
||||
|
||||
@ -71,7 +74,7 @@
|
||||
<para>Note: <application>libjpeg</application> and
|
||||
<application>libpng</application> (patched for apng support) should have
|
||||
been installed before <application>gdk-pixbuf</application> and should
|
||||
exist on your system. If for some strange reason you haven't installed
|
||||
exist on your system. If for some strange reason you haven't installed
|
||||
them, you should remove the <option>--with-system-jpeg</option> and
|
||||
<option>--with-system-png</option> options from the
|
||||
<filename>mozconfig</filename> file created below.</para>
|
||||
@ -155,7 +158,7 @@ EOF</userinput></screen>
|
||||
<para>Install <application>Xulrunner</application> by issuing the
|
||||
following commands:</para>
|
||||
|
||||
<screen><userinput>sed -i '/Version/aRequires: nspr >= 4.8.9' xulrunner/installer/libxul-embedding.pc.in &&
|
||||
<screen><userinput>sed -i '/Version/aRequires: nspr >= &nspr-version;' xulrunner/installer/libxul-embedding.pc.in &&
|
||||
make -f client.mk</userinput></screen>
|
||||
|
||||
<para>This package does not come with a test suite.</para>
|
||||
@ -165,6 +168,7 @@ make -f client.mk</userinput></screen>
|
||||
|
||||
<screen role="root"><userinput>make -C xulrunner-build-dir install &&
|
||||
mkdir -p /usr/lib/mozilla &&
|
||||
rm -rf /usr/lib/xulrunner-&xulrunner-version;/plugins &&
|
||||
ln -sv ../mozilla/plugins /usr/lib/xulrunner-&xulrunner-version; &&
|
||||
chown -Rv root:root /usr/{include,lib,share/idl}/xulrunner-*</userinput></screen>
|
||||
|
||||
@ -199,7 +203,7 @@ unset DL</userinput></screen>
|
||||
|
||||
<para><command>for DL in ...</command>: The NSPR and NSS libraries shipped
|
||||
with this package are installed into
|
||||
<filename class='directory'>/usr/lib/xulrunner-&xulrunner-version;</filename>
|
||||
<filename class="directory">/usr/lib/xulrunner-&xulrunner-version;</filename>
|
||||
which means they will not be found at runtime. By using symbolic links from
|
||||
<filename class="directory">/usr/lib</filename> the libraries will be found
|
||||
and the links can be easily changed to point to a newer version during an
|
||||
@ -207,7 +211,7 @@ unset DL</userinput></screen>
|
||||
|
||||
<para><command>ln -sv ../mozilla/plugins ...</command>: Some packages will
|
||||
install browser plugins into
|
||||
<filename class='directory'>/usr/lib/mozilla/plugins</filename>.
|
||||
<filename class="directory">/usr/lib/mozilla/plugins</filename>.
|
||||
Creating this symlink <application>Xulrunner</application> keeps additional
|
||||
plugins in a common directory.</para>
|
||||
|
||||
@ -229,7 +233,7 @@ unset DL</userinput></screen>
|
||||
<seg>xulrunner, and optionally nspr-config</seg>
|
||||
<seg>Numerous libraries, browser components, plugins, extensions, and
|
||||
helper modules installed in <filename
|
||||
class='directory'>/usr/lib/xulrunner-&xulrunner-version;</filename></seg>
|
||||
class="directory">/usr/lib/xulrunner-&xulrunner-version;</filename></seg>
|
||||
<seg>/etc/gre.d, /usr/include/xulrunner-&xulrunner-version;,
|
||||
/usr/lib/xulrunner-&xulrunner-version;,
|
||||
/usr/lib/xulrunner-devel-&xulrunner-version;, and
|
||||
|
@ -11,9 +11,8 @@
|
||||
<!ENTITY firefox-download-ftp "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/&firefox-version;/source/firefox-&firefox-version;.source.tar.bz2">
|
||||
<!ENTITY firefox-md5sum "d8d0c8c79660752b02d9e9ab69a68f94">
|
||||
<!ENTITY firefox-size "70.8 MB">
|
||||
<!ENTITY firefox-buildsize "3 GB (or 495 MB if you're building against an
|
||||
installed Xulrunner)">
|
||||
<!ENTITY firefox-time "24 SBU (or 0.3 SBU if you're building against
|
||||
<!ENTITY firefox-buildsize "3 GB (33 MB installed)">
|
||||
<!ENTITY firefox-time "24 SBU (or 0.3 SBU if you're building against
|
||||
an installed Xulrunner)">
|
||||
]>
|
||||
|
||||
@ -70,7 +69,7 @@
|
||||
<para>Note: <application>libjpeg</application> and
|
||||
<application>libpng</application> (patched for apng support) should have
|
||||
been installed before <application>gdk-pixbuf</application> and should
|
||||
exist on your system. If for some strange reason you haven't installed
|
||||
exist on your system. If for some strange reason you haven't installed
|
||||
them, you should remove the <option>--with-system-jpeg</option> and
|
||||
<option>--with-system-png</option> options from the
|
||||
<filename>mozconfig</filename> file created below.</para>
|
||||
@ -128,15 +127,14 @@ ac_add_options --disable-necko-wifi
|
||||
# If you have installed libnotify delete this option:
|
||||
ac_add_options --disable-libnotify
|
||||
|
||||
# If you have installed nss and nspr uncomment these two lines:
|
||||
# ac_add_options --with-system-nspr
|
||||
# ac_add_options --with-system-nss
|
||||
|
||||
# If you have installed xulrunner uncomment these two lines:
|
||||
# ac_add_options --with-system-libxul
|
||||
# ac_add_options --with-libxul-sdk=/usr/lib/xulrunner-devel-&xulrunner-version;
|
||||
|
||||
# Uncomment these if you have installed them:
|
||||
# Uncomment these if you have installed them and
|
||||
# you're not using an already installed xulrunner:
|
||||
# ac_add_options --with-system-nspr
|
||||
# ac_add_options --with-system-nss
|
||||
# ac_add_options --enable-system-sqlite
|
||||
# ac_add_options --enable-system-lcms
|
||||
# ac_add_options --with-system-libvpx
|
||||
@ -146,7 +144,7 @@ mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/firefox-build-dir
|
||||
ac_add_options --enable-official-branding
|
||||
ac_add_options --prefix=/usr
|
||||
|
||||
# The rest of these options have no effect if you're
|
||||
# The rest of these options have no effect if you're
|
||||
# building against an already installed xulrunner:
|
||||
ac_add_options --enable-pthreads
|
||||
ac_add_options --enable-system-ffi
|
||||
@ -190,8 +188,8 @@ mkdir -p /usr/lib/mozilla/plugins &&
|
||||
ln -sv ../mozilla/plugins /usr/lib/firefox-&firefox-version; &&
|
||||
chown -R -v root:root /usr/lib/firefox-&firefox-version;</userinput></screen>
|
||||
|
||||
<para>If you have installed <application>Firefox</application> linked
|
||||
against an already installed <application>Xulrunner</application>, as the
|
||||
<para>If you <emphasis>have</emphasis> linked against an already installed
|
||||
<application>Xulrunner</application>, as the
|
||||
<systemitem class="username">root</systemitem> user:</para>
|
||||
|
||||
<screen role="root"><userinput>make -C firefox-build-dir install &&
|
||||
@ -228,8 +226,8 @@ chown -R -v root:root /usr/lib/firefox-&firefox-version;</userinput></screen>
|
||||
'firefox' directory from the filenames, allowing us to untar it
|
||||
into a versioned directory. Untaring it (instead of running make install)
|
||||
prevents it installing /usr/lib/firefox-devel-&firefox-version; which
|
||||
contains about 430 MB of files. If you need any of those files, they're in
|
||||
<xref linkend="xulrunner"/></para>
|
||||
contains about 430 MB of files. If you need any of those files,
|
||||
they're in <xref linkend="xulrunner"/></para>
|
||||
|
||||
<para><command>make -C firefox-build-dir install</command>: This runs
|
||||
<command>make install</command> in firefox-build-dir.</para>
|
||||
@ -271,7 +269,7 @@ chown -R -v root:root /usr/lib/firefox-&firefox-version;</userinput></screen>
|
||||
<seg>firefox</seg>
|
||||
<seg>Numerous libraries, browser components, plugins, extensions, and
|
||||
helper modules installed in <filename
|
||||
class='directory'>/usr/lib/firefox-&firefox-version;</filename>.</seg>
|
||||
class="directory">/usr/lib/firefox-&firefox-version;</filename>.</seg>
|
||||
<seg>/usr/lib/firefox-&firefox-version;</seg>
|
||||
</seglistitem>
|
||||
</segmentedlist>
|
||||
|
Loading…
Reference in New Issue
Block a user