source: x/lib/xulrunner.xml@ 435a74c

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 435a74c was a4448ba1, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

Xulrunner-26.0: better statistics.

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

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