source: x/lib/xulrunner.xml@ ab7b9fc

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 ab7b9fc was ab7b9fc, checked in by DJ Lucas <dj@…>, 14 years ago

Updated to Berkeley DB 5.1.19.

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

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