source: x/lib/xulrunner.xml@ c1dcd1e

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 c1dcd1e was c1dcd1e, checked in by Ken Moffat <ken@…>, 15 years ago

fix typo

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

  • Property mode set to 100644
File size: 16.0 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 "http://releases.mozilla.org/pub/mozilla.org/firefox/releases/&firefox-version;/source/firefox-&firefox-version;-source.tar.bz2">
8 <!ENTITY xulrunner-download-ftp "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/&firefox-version;/source/firefox-&firefox-version;-source.tar.bz2">
9 <!-- md5sum and size should match firefox, but the buildize and time will differ -->
10 <!ENTITY xulrunner-md5sum "9875c9237b532009df8e91c3785539a3">
11 <!ENTITY xulrunner-size "35.3 MB">
12 <!ENTITY xulrunner-buildsize "663 MB">
13 <!ENTITY xulrunner-time "13.2 SBU">
14]>
15
16<sect1 id="xulrunner" xreflabel="Xulrunner-&xulrunner-version;">
17 <?dbhtml filename="xulrunner.html" ?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>Xulrunner-&xulrunner-version;</title>
25
26 <indexterm zone="xulrunner">
27 <primary sortas="a-Xulrunner">Xulrunner</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to Xulrunner</title>
32
33 <para><application>Xulrunner</application> is a runtime environment for XUL
34 applications, and forms the major part of the <application>Mozilla</application>
35 codebase. In particular, it provides the gecko engine together with pkgconfig
36 files so that applications such as <application>Epiphany</application> and
37 <application>Yelp</application> can use it.</para>
38
39 <note>
40 <para>If you later build a newer version of <application>xulrunner</application>
41 to pick up the latest security fixes, you <emphasis>must</emphasis> update the
42 symlinks (including for nss, nspr if you are using the versions in
43 <application>xulrunner</application>) and rebuild every application which uses
44 gecko, including upgrading <application>firefox</application> if you have installed
45 that.</para>
46 </note>
47
48 <bridgehead renderas="sect3">Package Information</bridgehead>
49 <itemizedlist spacing="compact">
50 <listitem>
51 <para>Download (HTTP): <ulink url="&xulrunner-download-http;"/></para>
52 </listitem>
53 <listitem>
54 <para>Download (FTP): <ulink url="&xulrunner-download-ftp;"/></para>
55 <tip><para>When a new version of <application>firefox</application> is
56 released, sometimes a corresponding new version of
57 <application>xulrunner</application> appears at the same time. At other
58 times it appears several days later or not at all. So far in the
59 <application>firefox-3.0</application> series, every new release has
60 created xulrunner libraries with a corresponding new version. Whenever
61 a separate xulrunner tarball has been released, it has been bitwise
62 identical to the corresponding firefox tarball. So, we will use the
63 <application>firefox</application> tarball to save downloading this
64 large package twice.</para></tip>
65 </listitem>
66 <listitem>
67 <para>Download MD5 sum: &xulrunner-md5sum;</para>
68 </listitem>
69 <listitem>
70 <para>Download size: &xulrunner-size;</para>
71 </listitem>
72 <listitem>
73 <para>Estimated disk space required: &xulrunner-buildsize;</para>
74 </listitem>
75 <listitem>
76 <para>Estimated build time: &xulrunner-time;</para>
77 </listitem>
78 </itemizedlist>
79
80 <bridgehead renderas="sect3">Xulrunner Dependencies</bridgehead>
81
82 <bridgehead renderas="sect4">Required</bridgehead>
83 <para role="required"><xref linkend="gtk2"/>,
84 <xref linkend="libidl"/>
85 <xref linkend="pango"/>
86 <xref linkend="python"/>, and
87 <xref linkend="zip"/></para>
88
89 <para>Note: <application>libjpeg</application> should have been installed
90 before <application>GTK+</application> and should exist on your system. If
91 for some reason you haven't installed <application>libjpeg</application>,
92 you should remove the <option>--with-system-jpeg</option> option from the
93 <filename>.mozconfig</filename> file created below.</para>
94
95 <bridgehead renderas="sect4">Optional</bridgehead>
96 <para role="optional"><xref linkend="dbus-glib"/>,
97 <xref linkend="doxygen"/>,
98 <xref linkend="curl"/> (only for crash-reporter),
99 <xref linkend="gnome-vfs"/> and <xref linkend="libgnomeui"/>
100 (for gnome integration),
101 <xref linkend="lcms"/>,
102 <xref linkend="libpng"/> (patched for apng support),
103 <ulink url="http://sqlite.org/">SQLite</ulink>,
104 <xref linkend="startup-notification"/>.
105 <xref linkend="unzip"/>,
106 <ulink url="http://www.valgrind.org/">Valgrind</ulink> (only for testing the
107 jemalloc code), and
108 <xref linkend="wget"/></para>
109
110 <para condition="html" role="usernotes">User Notes:
111 <ulink url="&blfs-wiki;/xulrunner"/></para>
112
113 </sect2>
114
115 <sect2 role="installation">
116 <title>Installation of Xulrunner</title>
117
118 <!-- FIXME : I assume current OOo can't use xulrunner ?
119 lines near the bottom of the file. If you are going to build the
120 <application>OpenOffice</application> package and you want to use this
121 <application>Xulrunner</application> installation as the default
122 <application>Mozilla</application> source, ensure you uncomment the
123 + substitutions to stop the comment breaking the syntax
124 <option>++enable-ldap+/option+ option in the file created below. -->
125 <para>The configuration of <application>Xulrunner</application> is
126 accomplished by creating a <filename>.mozconfig</filename> file containing
127 the desired configuration options. A default <filename>.mozconfig</filename>
128 is created below. To see the entire list of available configuration options
129 (and an abbreviated description of each one), issue
130 <command>./configure --help</command>. If you are going to use
131 system-installed versions of the <application>NSS</application> and
132 <application>NSPR</application> libraries, ensure you uncomment the two
133 lines near the bottom of the file.
134 You should review the entire file and comment or uncomment options as
135 necessary. If you would prefer to download the file instead of creating
136 it by typing or cut-and-pasting, you can find it at <ulink
137 url="&files-anduin;/xulrunner-&xulrunner-version;-mozconfig"/>
138 (the file must be installed in the root of the source tree
139 <filename class='directory'>mozilla</filename> directory, and named
140 <filename>.mozconfig</filename>).</para>
141
142<screen><?dbfo keep-together="auto"?><userinput>cat &gt; .mozconfig &lt;&lt; "EOF"
143<literal># This file contains the options used in the Xulrunner build. You may
144# need to specify additional options for your specific build needs.
145# Use the information provided by running './configure --help' to
146# help you determine if you need to add any additional options.
147# Some additional options can be added by uncommenting the examples
148# in this file or adding options by inserting a line containing
149# 'ac_add_options --some-option-you-need'. Be aware that some accepted
150# options, such as '--with-system-bz2', do not affect the build.
151
152# specify that we want to build xulrunner
153ac_add_options --enable-application=xulrunner
154
155# Create an object directory and specify to build the package in that
156# directory. If desired, modify the location of the object directory
157# to a directory inside the source tree by removing '../' from the
158# line below.
159mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../xulrunner-build
160
161# Specify the installation prefix. If you would prefer Xulrunner
162# installed in a different prefix, modify the line below to fit
163# your needs (the config will always be written to /etc/gre.d)
164ac_add_options --prefix=/usr
165
166# apply a minimal level of optimization (-O)
167ac_add_options --enable-optimize
168
169# These options are used so that the Xulrunner binaries are linked to
170# the system-installed copies of the specified libraries instead of
171# the source tree code which may not be the most recent versions (or,
172# for cairo, may contain additional patches) : with the exception of
173# libsqlite3, the libraries are statically linked - using the shipped
174# version of libsqlite3 has been reported to cause problems with other
175# applications which were using sqlite3.
176
177# (the --enable-system options)
178# comment this if you want to use whatever patched version of cairo
179# is in the shipped mozilla tree, together with the system headers.
180ac_add_options --enable-system-cairo
181
182# comment this if you have not installed lcms
183ac_add_options --enable-system-lcms
184
185# comment this if you have not installed sqlite
186ac_add_options --enable-system-sqlite
187
188# (the --with-system options)
189# comment this if you did not build libjpeg before gtk+-2
190ac_add_options --with-system-jpeg
191
192# These two options enable support for building Xulrunner with
193# system-installed versions of the Network Security Services (NSS)
194# and Netscape Portable Runtime (NSPR) libraries. Uncomment both
195# lines to enable support for system-installed NSS/NSPR instead of
196# building the versions shipped with xulrunner.
197#ac_add_options --with-system-nspr
198#ac_add_options --with-system-nss
199
200# comment this if you have not built png with the apng patch
201ac_add_options --with-system-png
202
203# The pthreads option is only used when building nspr
204# so you can comment this if you enable --with-system-nspr
205ac_add_options --with-pthreads
206
207# zlib is in LFS
208ac_add_options --with-system-zlib
209
210# (options to disable parts of the package)
211# This option is used to disable the a11y support in the Xulrunner
212# binaries. Comment out this option if you require a11y support.
213ac_add_options --disable-accessibility
214
215# uncomment this if you did not build curl
216#ac_add_options --disable-crashreporter
217
218# comment this if you have built dbus-glib
219ac_add_options --disable-dbus
220
221# comment this if you have gnome-vfs and libgnomeui, and wish to
222# integrate xulrunner into your gnome desktop
223ac_add_options --disable-gnomevfs
224
225# This option is added so that the Mozilla Installer program is not
226# built or installed. The program is not required for a BLFS
227# installation of Xulrunner.
228ac_add_options --disable-installer
229
230# If you enable javaxpcom, you must have a java compiler installed.
231ac_add_options --disable-javaxpcom
232
233# mochitest often causes problems
234ac_add_options --disable-mochitest
235
236# This option is added so that test libraries and programs are not
237# built. These would only be required for debugging purposes.
238ac_add_options --disable-tests
239
240# Disable the updater, which is not appropriate if you build from source
241ac_add_options --disable-updater
242
243# (options to add extra parts of the package)
244# This option is used to enable source tree included LDAP support in
245# the Xulrunner binaries.
246###################################################################
247#
248# NOTE: You must uncomment this option if there is any chance of
249# compiling the OpenOffice package from source code using this copy
250# of Xulrunner for your Mozilla support.
251# This has NOT been tested, current versions of OpenOffice are
252# assumed not to compile against this version of xulrunner!
253#
254###################################################################
255#ac_add_options --enable-ldap
256
257# Use the anti-phishing measures (a blacklist of sites)
258ac_add_options --enable-safe-browsing
259
260# This option is used so that the debugging symbols are removed from
261# the installed binaries during the installation process. Comment out
262# this option if you may have a need to retain the debugging symbols
263# in the installed binaries (the resulting binaries will be about 7MB
264# bigger).
265ac_add_options --enable-strip
266
267# Uncomment this option if you desire support for dual-monitor
268# display using the X-Window Xinerama libraries.
269#ac_add_options --enable-xinerama
270
271# ('with' options)
272# This option identifies the default binary directory of the Xulrunner
273# installation and is used to locate Xulrunner's installed files. This
274# option is not required for end-user browsing, and is only used for
275# development purposes.
276#ac_add_options --with-default-mozilla-five-home=/usr/lib/xulrunner-&xulrunner-version;</literal>
277
278EOF</userinput></screen>
279
280 <para>Compile <application>Xulrunner</application> by issuing the
281 following commands:</para>
282
283<screen><userinput>echo "Requires: nspr" >>xulrunner/installer/libxul-embedding.pc.in &amp;&amp;
284make -f client.mk build</userinput></screen>
285
286 <para>This package does not come with a test suite.</para>
287
288 <para>Now, as the <systemitem class="username">root</systemitem> user,
289 install the package:</para>
290
291<screen role="root"><userinput>make -f client.mk install &amp;&amp;
292for DL in \
293 libnss3.so libnssutil3.so libsmime3.so libssl3.so libsoftokn3.so \
294 libplds4.so libplc4.so libnspr4.so ; do
295 ln -sv xulrunner-&xulrunner-version;/$DL /usr/lib/$DL
296done &amp;&amp;
297ln -sv mozilla-nspr.pc /usr/lib/pkgconfig/nspr.pc &amp;&amp;
298mkdir /usr/lib/mozilla &amp;&amp;
299ln -sv /usr/lib/xulrunner-&xulrunner-version;/plugins /usr/lib/mozilla/plugins</userinput></screen>
300
301 </sect2>
302
303 <sect2 role="commands">
304 <title>Command Explanations</title>
305
306 <para><command>echo "Requires: nspr" >>xulrunner/installer/libxul-embedding.pc.in</command>
307 : If you try to build <application>Yelp</application> without this, the
308 prtypes header from nspr will not be found. It is arguable whose error this
309 is (the code presumably works on earlier geckos), but this fix is unlikely
310 to cause any damage in other packages.</para>
311
312 <para><command>make -f client.mk ...</command>: Mozilla products are
313 packaged to allow the use of a configuration file which can be used to
314 pass the configuration settings to the <command>configure</command>
315 command. <command>make</command> uses the <filename>client.mk</filename>
316 file to get initial configuration and setup parameters, then depending on
317 the target parameter (<parameter>build</parameter> or
318 <parameter>install</parameter>), either runs the
319 <command>configure</command> script and compiles the package or installs
320 the package.</para>
321
322 <para><command>for DL in ...</command>: The nspr and nss libraries shipped
323 with this package are installed into /usr/lib/xulrunner-&xulrunner-version;
324 which means they will not be found at runtime. By using symbolic links from
325 <filename class="directory">/usr/lib</filename> they will be found and we can
326 easily change the links to point to a newer version when we upgrade.</para>
327
328 <para><command>ln -sv /usr/lib/xulrunner-&xulrunner-version;/plugins
329 /usr/lib/mozilla/plugins</command>: Some packages will install browser plugins
330 into /usr/lib/mozilla/plugins. By creating this as a symlink to the basic
331 plugins we keep them all together.</para>
332
333 <tip>
334 <para>When you upgrade xulrunner, remember to update the symlinks and to
335 copy any additional plugins compiled agaisnt this series of xulrunner to the
336 new plugin directory.</para>
337 </tip>
338
339 </sect2>
340
341 <sect2 role="content">
342 <title>Contents</title>
343
344 <segmentedlist>
345 <segtitle>Installed Programs</segtitle>
346 <segtitle>Installed Libraries</segtitle>
347 <segtitle>Installed Directories</segtitle>
348
349 <seglistitem>
350 <seg>xulrunner</seg>
351 <seg>Numerous libraries, browser components, plugins, extensions, and
352 helper modules installed in <filename
353 class='directory'>/usr/lib/xulrunner-&xulrunner-version;</filename></seg>
354 <seg>/etc/gre.d, /usr/include/xulrunner-&xulrunner-version;,
355 /usr/lib/xulrunner-&xulrunner-version;, and
356 /usr/lib/xulrunner-devel-&xulrunner-version;</seg>
357 </seglistitem>
358 </segmentedlist>
359
360 <variablelist>
361 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
362 <?dbfo list-presentation="list"?>
363 <?dbhtml list-presentation="table"?>
364
365 <varlistentry id="xulrunner-prog">
366 <term><command>xulrunner</command></term>
367 <listitem>
368 <para>is a shell script, useful for identifying the version
369 installed.</para>
370 <indexterm zone="xulrunner xulrunner-prog">
371 <primary sortas="b-xulrunner">xulrunner</primary>
372 </indexterm>
373 </listitem>
374 </varlistentry>
375
376 </variablelist>
377
378 </sect2>
379
380</sect1>
Note: See TracBrowser for help on using the repository browser.