source: x/lib/xulrunner.xml@ 1f78606

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 1f78606 was 1f78606, checked in by Fernando de Oliveira <fernando@…>, 11 years ago

Updates to icedtea-web-1.4.1, xulrunner-24.0 and firefox-24.0 linked to xulrunner

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

  • Property mode set to 100644
File size: 11.3 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 <!ENTITY xulrunner-md5sum "06a4c0fe8d3a979aea2fce8d0fdbf328">
12 <!ENTITY xulrunner-size "115 MB">
13 <!ENTITY xulrunner-buildsize "3.9 GB (89 MB installed)">
14 <!ENTITY xulrunner-time "66 SBU">
15]>
16
17<sect1 id="xulrunner" xreflabel="Xulrunner-&xulrunner-version;">
18 <?dbhtml filename="xulrunner.html" ?>
19
20 <sect1info>
21 <othername>$LastChangedBy$</othername>
22 <date>$Date$</date>
23 </sect1info>
24
25 <title>Xulrunner-&xulrunner-version;</title>
26
27 <indexterm zone="xulrunner">
28 <primary sortas="a-Xulrunner">Xulrunner</primary>
29 </indexterm>
30
31 <sect2 role="package">
32 <title>Introduction to Xulrunner</title>
33
34 <para>
35 <application>Xulrunner</application> is a runtime environment for XUL
36 applications, and forms the major part of the
37 <application>Mozilla</application> codebase. In particular, it provides
38 the Gecko engine together with pkgconfig files so that other applications
39 can find and use it.
40 </para>
41
42 &lfs74_checked;
43
44 <bridgehead renderas="sect3">Package Information</bridgehead>
45 <itemizedlist spacing="compact">
46 <listitem>
47 <para>
48 Download (HTTP): <ulink url="&xulrunner-download-http;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download (FTP): <ulink url="&xulrunner-download-ftp;"/>
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download MD5 sum: &xulrunner-md5sum;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Download size: &xulrunner-size;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated disk space required: &xulrunner-buildsize;
69 </para>
70 </listitem>
71 <listitem>
72 <para>
73 Estimated build time: &xulrunner-time;
74 </para>
75 </listitem>
76 </itemizedlist>
77
78 <bridgehead renderas="sect3">Xulrunner Dependencies</bridgehead>
79
80 <bridgehead renderas="sect4">Required</bridgehead>
81 <para role="required">
82 <xref linkend="alsa-lib"/>,
83 <xref linkend="gtk2"/>,
84 <xref linkend="zip"/> and
85 <xref linkend="unzip"/>
86 </para>
87
88 <bridgehead renderas="sect4">Recommended</bridgehead>
89 <para role="recommended">
90 <xref linkend="libevent"/>,
91 <xref linkend="libvpx"/>,
92 <xref linkend="nspr"/>,
93 <xref linkend="nss"/>,
94 <xref linkend="sqlite"/> and
95 <xref linkend="yasm"/>
96 </para>
97
98 <note>
99 <para>
100 If you don't install recommended dependencies,
101 then internal copies of those packages will
102 be used. They might be tested to work, but
103 they can be out of date or contain security
104 holes.
105 </para>
106 </note>
107
108 <bridgehead renderas="sect4">Optional</bridgehead>
109 <para role="optional">
110 <xref linkend="curl"/>,
111 <xref linkend="dbus-glib"/>,
112 <xref linkend="doxygen"/>,
113 <xref linkend="gst-plugins-base"/>,
114 <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>,
115 <xref linkend="libnotify"/>,
116 <xref linkend="startup-notification"/>,
117 <xref linkend="wget"/> and
118 <xref linkend="wireless_tools"/>
119 </para>
120
121 <para condition="html" role="usernotes">
122 User Notes: <ulink url="&blfs-wiki;/xulrunner"/>
123 </para>
124 </sect2>
125
126 <sect2 role="installation">
127 <title>Installation of Xulrunner</title>
128
129 <para>
130 The configuration of <application>Xulrunner</application> is accomplished
131 by creating a <filename>mozconfig</filename> file containing the desired
132 configuration options. A default <filename>mozconfig</filename> is created
133 below. To see the entire list of available configuration options (and an
134 abbreviated description of each one), issue <command>./configure
135 --help</command>. You should review the entire file and comment or
136 uncomment options as necessary.
137 </para>
138
139<screen><userinput>cat &gt; mozconfig &lt;&lt; "EOF"
140# If you have a multicore machine, firefox will now use all the cores by
141# default. Exceptionally, you can reduce the number of cores, e.g. to 1,
142# by uncommenting the next line and setting a valid number of CPU cores.
143#mk_add_options MOZ_MAKE_FLAGS="-j1"
144
145# If you have installed DBus-Glib comment out this line:
146ac_add_options --disable-dbus
147
148# If you have installed wireless-tools comment out this line:
149ac_add_options --disable-necko-wifi
150
151# If you have installed libnotify comment out this line:
152ac_add_options --disable-libnotify
153
154# Uncomment these lines if you have installed optional dependencies:
155# GStreamer is necesary for H.264 video playback in HTML5 Video Player
156#ac_add_options --enable-gstreamer
157#ac_add_options --enable-system-hunspell
158#ac_add_options --enable-startup-notification
159
160# Uncomment this line if you compiled Cairo with --enable-tee switch and want
161# to use it instead of the bundled one:
162#ac_add_options --enable-system-cairo
163
164# If you have not installed Yasm then uncomment this line:
165#ac_add_options --disable-webm
166
167# Comment out following options if you have not installed
168# recommended dependencies:
169ac_add_options --enable-system-sqlite
170ac_add_options --with-system-libevent
171ac_add_options --with-system-libvpx
172ac_add_options --with-system-nspr
173ac_add_options --with-system-nss
174
175# It is recommended not to touch anything below this line
176ac_add_options --prefix=/usr
177ac_add_options --enable-application=xulrunner
178
179ac_add_options --disable-crashreporter
180ac_add_options --disable-installer
181ac_add_options --disable-updater
182ac_add_options --disable-debug
183ac_add_options --disable-tests
184ac_add_options --disable-mochitest
185
186ac_add_options --enable-optimize
187ac_add_options --enable-strip
188ac_add_options --enable-install-strip
189
190ac_add_options --enable-system-ffi
191ac_add_options --enable-system-pixman
192
193ac_add_options --enable-shared-js
194ac_add_options --with-pthreads
195
196ac_add_options --with-system-bz2
197ac_add_options --with-system-jpeg
198ac_add_options --with-system-png
199ac_add_options --with-system-zlib
200
201mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/xulrunner-build-dir
202EOF</userinput></screen>
203
204 <note>
205 <para>
206 <application>Xulrunner</application>'s build uses large amount of
207 memory. On some systems, the RAM/Swap combination needs 6 GB available.
208 </para>
209 </note>
210
211 <para>
212 Build <application>Xulrunner</application> by issuing the following
213 commands:
214 </para>
215
216<screen><userinput>make -f client.mk</userinput></screen>
217
218 <para>
219 This package does not come with a test suite.
220 </para>
221
222 <para>
223 Install, as the <systemitem class="username">root</systemitem> user:
224 </para>
225
226<screen role="root"><userinput>make -C xulrunner-build-dir install &amp;&amp;
227
228mkdir -pv /usr/lib/mozilla/plugins &amp;&amp;
229rm -rf /usr/lib/xulrunner-&xulrunner-version;/plugins &amp;&amp;
230ln -sv ../mozilla/plugins /usr/lib/xulrunner-&xulrunner-version; &amp;&amp;
231
232chmod -v 755 /usr/lib/xulrunner-devel-&xulrunner-version;/sdk/bin/xpcshell &amp;&amp;
233
234for library in libmozalloc.so libmozjs.so libxul.so; do
235 ln -sfv ../../../xulrunner-&xulrunner-version;/$library \
236 /usr/lib/xulrunner-devel-&xulrunner-version;/sdk/lib/$library
237 ln -sfv xulrunner-&xulrunner-version;/$library /usr/lib/$library
238done
239
240ln -sfv ../xulrunner-devel-&xulrunner-version;/sdk/bin/run-mozilla.sh \
241 /usr/lib/xulrunner-&xulrunner-version;
242ln -sfv ../xulrunner-devel-&xulrunner-version;/sdk/bin/xpcshell \
243 /usr/lib/xulrunner-&xulrunner-version;</userinput></screen>
244
245 </sect2>
246
247 <sect2 role="commands">
248 <title>Command Explanations</title>
249
250 <para>
251 <command>make -f client.mk ...</command>: Mozilla products are packaged to
252 allow the use of a configuration file which can be used to pass the
253 configuration settings to the <command>configure</command> command.
254 <command>make</command> uses the <filename>client.mk</filename> file to
255 get initial configuration and setup parameters.
256 </para>
257
258 <para>
259 <command>ln -sfv ../mozilla/plugins ...</command>: Some packages will
260 install browser plugins into
261 <filename class="directory">/usr/lib/mozilla/plugins</filename>.
262 Creating this symlink <application>Xulrunner</application> keeps
263 additional plugins in a common directory.
264 </para>
265
266 <para>
267 <command>for library in libmozalloc.so libmozjs.so libxul.so ...
268 </command>: The libraries shipped with this package are installed into
269 <filename class="directory">/usr/lib/xulrunner-&xulrunner-version;</filename>
270 which means they will not be found at runtime. These commands make
271 relative symbolic links to the shared libraries from
272 <filename class="directory">/usr/lib</filename>. They will also replace duplicate
273 libraries that are installed in
274 <filename class="directory">/usr/lib/xulrunner-devel-&xulrunner-version;/sdk/lib</filename>
275 with symlinks in order to save some space.
276 </para>
277
278 <para>
279 <command>ln -sfv ../xulrunner-devel-&xulrunner-version;/sdk/bin/ ...</command>
280 The <filename>run-mozilla.sh</filename> and <filename>xpcshell</filename> files
281 have been moved in this version, but the code which installs
282 <application>Firefox</application> (when linked to xulrunner) was not updated.
283 These symlinks allow<application>Firefox</application> to install when built against
284 <application>Xulrunner</application>.
285 </para>
286
287 </sect2>
288
289 <sect2 role="content">
290 <title>Contents</title>
291
292 <segmentedlist>
293 <segtitle>Installed Programs</segtitle>
294 <segtitle>Installed Libraries</segtitle>
295 <segtitle>Installed Directories</segtitle>
296
297 <seglistitem>
298 <seg>
299 xulrunner
300 </seg>
301 <seg>
302 Numerous libraries, browser components, plugins, extensions, and
303 helper modules installed in <filename
304 class="directory">/usr/lib/xulrunner-&xulrunner-version;</filename>
305 </seg>
306 <seg>
307 /usr/include/xulrunner-&xulrunner-version;,
308 /usr/lib/xulrunner-&xulrunner-version;,
309 /usr/lib/xulrunner-devel-&xulrunner-version; and
310 /usr/share/idl/xulrunner-&xulrunner-version;
311 </seg>
312 </seglistitem>
313 </segmentedlist>
314
315 <variablelist>
316 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
317 <?dbfo list-presentation="list"?>
318 <?dbhtml list-presentation="table"?>
319
320 <varlistentry id="xulrunner-prog">
321 <term><command>xulrunner</command></term>
322 <listitem>
323 <para>
324 is a shell script used for identifying the installed version
325 and running <application>Xulrunner</application> applications.
326 </para>
327 <indexterm zone="xulrunner xulrunner-prog">
328 <primary sortas="b-xulrunner">xulrunner</primary>
329 </indexterm>
330 </listitem>
331 </varlistentry>
332
333 </variablelist>
334
335 </sect2>
336
337</sect1>
Note: See TracBrowser for help on using the repository browser.