source: x/lib/xulrunner.xml@ c1ae13c

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since c1ae13c was c1ae13c, checked in by Andrew Benton <andy@…>, 12 years ago

firefox-11.0

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

  • Property mode set to 100644
File size: 11.1 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY xulrunner-download-http
8 "http://releases.mozilla.org/pub/mozilla.org/firefox/releases/&firefox-version;/source/firefox-&firefox-version;.source.tar.bz2">
9 <!ENTITY xulrunner-download-ftp
10 "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/&firefox-version;/source/firefox-&firefox-version;.source.tar.bz2">
11 <!-- md5sum and size should match firefox, but the buildsize and time will differ -->
12 <!ENTITY xulrunner-md5sum "4b07acf47857aff72776d805409cdd1b">
13 <!ENTITY xulrunner-size "75 MB">
14 <!ENTITY xulrunner-buildsize "2.6 GB (440 MB installed)">
15 <!ENTITY xulrunner-time "22 SBU">
16]>
17
18<sect1 id="xulrunner" xreflabel="Xulrunner-&xulrunner-version;">
19 <?dbhtml filename="xulrunner.html" ?>
20
21 <sect1info>
22 <othername>$LastChangedBy$</othername>
23 <date>$Date$</date>
24 </sect1info>
25
26 <title>Xulrunner-&xulrunner-version;</title>
27
28 <indexterm zone="xulrunner">
29 <primary sortas="a-Xulrunner">Xulrunner</primary>
30 </indexterm>
31
32 <sect2 role="package">
33 <title>Introduction to Xulrunner</title>
34
35 <para>
36 <application>Xulrunner</application> is a runtime environment for XUL
37 applications, and forms the major part of the
38 <application>Mozilla</application> codebase. In particular, it provides
39 the Gecko engine together with pkgconfig files so that other applications
40 can find and use it.
41 </para>
42
43 &lfs71_checked;
44
45 <bridgehead renderas="sect3">Package Information</bridgehead>
46 <itemizedlist spacing="compact">
47 <listitem>
48 <para>
49 Download (HTTP): <ulink url="&xulrunner-download-http;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download (FTP): <ulink url="&xulrunner-download-ftp;"/>
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download MD5 sum: &xulrunner-md5sum;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Download size: &xulrunner-size;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated disk space required: &xulrunner-buildsize;
70 </para>
71 </listitem>
72 <listitem>
73 <para>
74 Estimated build time: &xulrunner-time;
75 </para>
76 </listitem>
77 </itemizedlist>
78
79 <bridgehead renderas="sect3">Xulrunner Dependencies</bridgehead>
80
81 <bridgehead renderas="sect4">Required</bridgehead>
82 <para role="required">
83 <xref linkend="alsa-lib"/>,
84 <xref linkend="gtk2"/>,
85 <xref linkend="zip"/> and
86 <xref linkend="unzip"/>.
87 </para>
88
89 <para>
90 Note: <application>libjpeg</application> and
91 <application>libpng</application> (patched for apng support) should have
92 been installed before <application>gdk-pixbuf</application> and should
93 exist on your system. If for some strange reason you haven't installed
94 them, you should remove the <option>--with-system-jpeg</option> and
95 <option>--with-system-png</option> options from the
96 <filename>mozconfig</filename> file created below.
97 </para>
98
99 <bridgehead renderas="sect4">Recommended</bridgehead>
100 <para role="recommended">
101 <xref linkend="yasm"/> or <xref linkend="libvpx"/>
102 (to allow <application>Xulrunner</application> to play webm videos).
103 </para>
104
105 <bridgehead renderas="sect4">Optional</bridgehead>
106 <para role="optional">
107 <xref linkend="dbus-glib"/>,
108 <xref linkend="startup-notification"/>,
109 <xref linkend="sqlite"/>,
110 <ulink url="http://sourceforge.net/projects/hunspell/">Hunspell</ulink>,
111 <ulink url="http://libevent.org/">Libevent</ulink>,
112 <xref linkend="doxygen"/>,
113 <xref linkend="gnome-vfs"/> and <xref linkend="libgnomeui"/> (for
114 integration with the old version of <application>Gnome</application>),
115 <xref linkend="libnotify"/>,
116 <xref linkend="nspr"/>,
117 <xref linkend="nss"/>,
118 <xref linkend="wireless_tools"/>,
119 <ulink url="http://www.valgrind.org/">Valgrind</ulink> (only for testing
120 the jemalloc code) and
121 <xref linkend="wget"/>
122 </para>
123
124 <para condition="html" role="usernotes">
125 User Notes: <ulink url="&blfs-wiki;/xulrunner"/>
126 </para>
127 </sect2>
128
129 <sect2 role="installation">
130 <title>Installation of Xulrunner</title>
131
132 <para>
133 The configuration of <application>Xulrunner</application> is accomplished
134 by creating a <filename>mozconfig</filename> file containing the desired
135 configuration options. A default <filename>mozconfig</filename> is created
136 below. To see the entire list of available configuration options (and an
137 abbreviated description of each one), issue <command>./configure
138 --help</command>. You should review the entire file and comment or
139 uncomment options as necessary.
140 </para>
141
142<screen><userinput>cat &gt; mozconfig &lt;&lt; "EOF"
143# If you have a multicore machine you can speed up the build by running
144# several jobs at once, but if you have a single core, delete this line:
145mk_add_options MOZ_MAKE_FLAGS="-j4"
146
147# If you have installed Yasm delete this option:
148ac_add_options --disable-webm
149
150# If you have installed DBus-Glib delete this option:
151ac_add_options --disable-dbus
152
153# If you have installed wireless-tools delete this option:
154ac_add_options --disable-necko-wifi
155
156# If you have installed libnotify delete this option:
157ac_add_options --disable-libnotify
158
159# Uncomment these if you have installed them:
160# ac_add_options --with-system-nspr
161# ac_add_options --with-system-nss
162# ac_add_options --enable-system-sqlite
163# ac_add_options --with-system-libvpx
164# ac_add_options --enable-startup-notification
165# ac_add_options --enable-system-hunspell
166# ac_add_options --with-system-libevent
167
168mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/xulrunner-build-dir
169ac_add_options --prefix=/usr
170ac_add_options --enable-application=xulrunner
171ac_add_options --with-pthreads
172ac_add_options --enable-system-ffi
173ac_add_options --with-system-jpeg
174ac_add_options --with-system-png
175ac_add_options --enable-system-cairo
176ac_add_options --with-system-zlib
177ac_add_options --enable-shared
178ac_add_options --disable-static
179ac_add_options --disable-debug
180ac_add_options --disable-crashreporter
181ac_add_options --disable-installer
182ac_add_options --disable-updater
183ac_add_options --disable-tests
184EOF</userinput></screen>
185
186 <para>
187 Install <application>Xulrunner</application> by issuing the following
188 commands:
189 </para>
190
191<screen><userinput>sed -i 's#VPX_CODEC_USE_INPUT_PARTITION#VPX_CODEC_USE_INPUT_FRAGMENTS#' configure &amp;&amp;
192sed -i '/Version/aRequires: nspr &gt;= &nspr-version;' xulrunner/installer/libxul-embedding.pc.in &amp;&amp;
193make -f client.mk</userinput></screen>
194
195 <para>
196 This package does not come with a test suite.
197 </para>
198
199 <para>
200 Now, as the <systemitem class="username">root</systemitem> user:
201 </para>
202
203<screen role="root"><userinput>make -C xulrunner-build-dir install &amp;&amp;
204mkdir -p /usr/lib/mozilla &amp;&amp;
205rm -rf /usr/lib/xulrunner-&xulrunner-version;/plugins &amp;&amp;
206ln -sv ../mozilla/plugins /usr/lib/xulrunner-&xulrunner-version; &amp;&amp;
207chown -Rv root:root /usr/{include,lib,share/idl}/xulrunner-*</userinput></screen>
208
209 <para>
210 If you elected to use the included NSPR and NSS (ie, if you have
211 <emphasis>not</emphasis> installed <xref linkend="nspr"/> and
212 <xref linkend="nss"/>), while still the
213 <systemitem class="username">root</systemitem> user, complete the
214 installation with the following commands:
215 </para>
216
217<screen role="root"><userinput>for DL in libnss3.so libnssutil3.so libsmime3.so \
218 libssl3.so libsoftokn3.so libplds4.so libplc4.so libnspr4.so
219do ln -sv xulrunner-&xulrunner-version;/${DL} /usr/lib
220done &amp;&amp;
221unset DL</userinput></screen>
222 </sect2>
223
224 <sect2 role="commands">
225 <title>Command Explanations</title>
226
227 <para>
228 <command>sed -i 's#VPX_CODEC_USE_INPUT_PARTITION ...</command>: This fixes
229 <application>Xulrunner's</application> <command>configure</command>
230 script to properly detect <xref linkend="libvpx"/>. It is not needed if
231 you have libvpx-v0.9.7 or earlier installed or if you've not installed
232 <application>Libvpx</application>.
233 </para>
234
235 <para>
236 <command>sed ... Requires: nspr</command>: If you try to build some other
237 applications without this, the prtypes header from NSPR will not be found.
238 </para>
239
240 <para>
241 <command>make -f client.mk ...</command>: Mozilla products are packaged to
242 allow the use of a configuration file which can be used to pass the
243 configuration settings to the <command>configure</command> command.
244 <command>make</command> uses the <filename>client.mk</filename> file to
245 get initial configuration and setup parameters.
246 </para>
247
248 <para>
249 <command>ln -sv ../mozilla/plugins ...</command>: Some packages will
250 install browser plugins into
251 <filename class="directory">/usr/lib/mozilla/plugins</filename>.
252 Creating this symlink <application>Xulrunner</application> keeps
253 additional plugins in a common directory.
254 </para>
255
256 <para>
257 <command>for DL in ...</command>: The NSPR and NSS libraries shipped
258 with this package are installed into
259 <filename class="directory">/usr/lib/xulrunner-&xulrunner-version;</filename>
260 which means they will not be found at runtime. By using symbolic links
261 from <filename class="directory">/usr/lib</filename> the libraries will be
262 found and the links can be easily changed to point to a newer version
263 during an upgrade.
264 </para>
265
266 <note>
267 <para>
268 When you upgrade Xulrunner, remember to update the symlinks.
269 </para>
270 </note>
271 </sect2>
272
273 <sect2 role="content">
274 <title>Contents</title>
275
276 <segmentedlist>
277 <segtitle>Installed Programs</segtitle>
278 <segtitle>Installed Libraries</segtitle>
279 <segtitle>Installed Directories</segtitle>
280
281 <seglistitem>
282 <seg>xulrunner, and optionally nspr-config</seg>
283 <seg>Numerous libraries, browser components, plugins, extensions, and
284 helper modules installed in <filename
285 class="directory">/usr/lib/xulrunner-&xulrunner-version;</filename></seg>
286 <seg>/etc/gre.d, /usr/include/xulrunner-&xulrunner-version;,
287 /usr/lib/xulrunner-&xulrunner-version;,
288 /usr/lib/xulrunner-devel-&xulrunner-version;, and
289 /usr/share/idl/xulrunner-&xulrunner-version;</seg>
290 </seglistitem>
291 </segmentedlist>
292
293 <variablelist>
294 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
295 <?dbfo list-presentation="list"?>
296 <?dbhtml list-presentation="table"?>
297
298 <varlistentry id="xulrunner-prog">
299 <term><command>xulrunner</command></term>
300 <listitem>
301 <para>
302 is a shell script, useful for identifying the version installed.
303 </para>
304 <indexterm zone="xulrunner xulrunner-prog">
305 <primary sortas="b-xulrunner">xulrunner</primary>
306 </indexterm>
307 </listitem>
308 </varlistentry>
309 </variablelist>
310 </sect2>
311</sect1>
Note: See TracBrowser for help on using the repository browser.