source: x/lib/xulrunner.xml@ 9ce4c50c

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 9ce4c50c was 9ce4c50c, checked in by Andrew Benton <andy@…>, 12 years ago

add libtirpc as an optional dependency of linux-PAM

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

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