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 | <!ENTITY xulrunner-download-ftp
|
---|
9 | "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/&firefox-version;/source/firefox-&firefox-version;.source.tar.bz2">
|
---|
10 | <!-- md5sum and size should match firefox, but the buildsize and time will differ -->
|
---|
11 | <!ENTITY xulrunner-md5sum "743ba71fbce7b32023405db02d44143f">
|
---|
12 | <!ENTITY xulrunner-size "80 MB">
|
---|
13 | <!ENTITY xulrunner-buildsize "908 MB (87 MB installed)">
|
---|
14 | <!ENTITY xulrunner-time "26 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 | &lfs72_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="yasm"/> or <xref linkend="libvpx"/>
|
---|
91 | (to allow <application>Xulrunner</application> to play webm videos).
|
---|
92 | </para>
|
---|
93 |
|
---|
94 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
95 | <para role="optional">
|
---|
96 | <xref linkend="dbus-glib"/>,
|
---|
97 | <xref linkend="startup-notification"/>,
|
---|
98 | <xref linkend="sqlite"/>,
|
---|
99 | <ulink url="http://sourceforge.net/projects/hunspell/">Hunspell</ulink>,
|
---|
100 | <xref linkend="libevent"/>,
|
---|
101 | <xref linkend="doxygen"/>,
|
---|
102 | <xref linkend="gnome-vfs"/> and <xref linkend="libgnomeui"/> (for
|
---|
103 | integration with the old version of <application>Gnome</application>),
|
---|
104 | <xref linkend="libnotify"/>,
|
---|
105 | <xref linkend="nspr"/>,
|
---|
106 | <xref linkend="nss"/>,
|
---|
107 | <xref linkend="wireless_tools"/>,
|
---|
108 | <ulink url="http://www.valgrind.org/">Valgrind</ulink> (only for testing
|
---|
109 | the jemalloc code) and
|
---|
110 | <xref linkend="wget"/>
|
---|
111 | </para>
|
---|
112 |
|
---|
113 | <para condition="html" role="usernotes">
|
---|
114 | User Notes: <ulink url="&blfs-wiki;/xulrunner"/>
|
---|
115 | </para>
|
---|
116 | </sect2>
|
---|
117 |
|
---|
118 | <sect2 role="installation">
|
---|
119 | <title>Installation of Xulrunner</title>
|
---|
120 |
|
---|
121 | <para>
|
---|
122 | The configuration of <application>Xulrunner</application> is accomplished
|
---|
123 | by creating a <filename>mozconfig</filename> file containing the desired
|
---|
124 | configuration options. A default <filename>mozconfig</filename> is created
|
---|
125 | below. To see the entire list of available configuration options (and an
|
---|
126 | abbreviated description of each one), issue <command>./configure
|
---|
127 | --help</command>. You should review the entire file and comment or
|
---|
128 | uncomment options as necessary.
|
---|
129 | </para>
|
---|
130 |
|
---|
131 | <screen><userinput>cat > mozconfig << "EOF"
|
---|
132 | # If you have a multicore machine you can speed up the build by running
|
---|
133 | # several jobs at once, but if you have a single core, delete this line:
|
---|
134 | mk_add_options MOZ_MAKE_FLAGS="-j4"
|
---|
135 |
|
---|
136 | # If you have not installed Yasm, uncomment this option:
|
---|
137 | # ac_add_options --disable-webm
|
---|
138 |
|
---|
139 | # If you have installed DBus-Glib delete this option:
|
---|
140 | ac_add_options --disable-dbus
|
---|
141 |
|
---|
142 | # If you have installed wireless-tools delete this option:
|
---|
143 | ac_add_options --disable-necko-wifi
|
---|
144 |
|
---|
145 | # If you have installed libnotify delete this option:
|
---|
146 | ac_add_options --disable-libnotify
|
---|
147 |
|
---|
148 | # Uncomment these if you have installed them:
|
---|
149 | # ac_add_options --enable-startup-notification
|
---|
150 | # ac_add_options --enable-system-hunspell
|
---|
151 | # ac_add_options --enable-system-sqlite
|
---|
152 | # ac_add_options --with-system-libevent
|
---|
153 | # ac_add_options --with-system-libvpx
|
---|
154 | # ac_add_options --with-system-nspr
|
---|
155 | # ac_add_options --with-system-nss
|
---|
156 |
|
---|
157 | mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/xulrunner-build-dir
|
---|
158 | ac_add_options --disable-crashreporter
|
---|
159 | ac_add_options --disable-debug
|
---|
160 | ac_add_options --disable-debug-symbols
|
---|
161 | ac_add_options --disable-installer
|
---|
162 | ac_add_options --disable-static
|
---|
163 | ac_add_options --disable-tests
|
---|
164 | ac_add_options --disable-updater
|
---|
165 | ac_add_options --enable-application=xulrunner
|
---|
166 | ac_add_options --enable-shared
|
---|
167 | ac_add_options --enable-system-cairo
|
---|
168 | ac_add_options --enable-system-ffi
|
---|
169 | ac_add_options --prefix=/usr
|
---|
170 | ac_add_options --with-pthreads
|
---|
171 | ac_add_options --with-system-jpeg
|
---|
172 | ac_add_options --with-system-png
|
---|
173 | ac_add_options --with-system-zlib
|
---|
174 | EOF</userinput></screen>
|
---|
175 |
|
---|
176 | <para>
|
---|
177 | Install <application>Xulrunner</application> by issuing the following
|
---|
178 | commands:
|
---|
179 | </para>
|
---|
180 |
|
---|
181 | <screen><userinput>make -f client.mk</userinput></screen>
|
---|
182 |
|
---|
183 | <para>
|
---|
184 | This package does not come with a test suite.
|
---|
185 | </para>
|
---|
186 |
|
---|
187 | <para>
|
---|
188 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
189 | </para>
|
---|
190 |
|
---|
191 | <!-- the end two symlinks for run-mozilla.sh and xpcshell might not be needed
|
---|
192 | in xulrunner-15 -->
|
---|
193 | <screen role="root"><userinput>make -C xulrunner-build-dir install &&
|
---|
194 | mkdir -p /usr/lib/mozilla/plugins &&
|
---|
195 | rm -rf /usr/lib/xulrunner-&xulrunner-version;/plugins &&
|
---|
196 | ln -sv ../mozilla/plugins /usr/lib/xulrunner-&xulrunner-version; &&
|
---|
197 |
|
---|
198 | for library in /usr/lib/xulrunner-&xulrunner-version;/*.so; do
|
---|
199 | ln -sfv $library /usr/lib
|
---|
200 | done
|
---|
201 |
|
---|
202 | ln -sv -f ../xulrunner-devel-&xulrunner-version;/sdk/bin/run-mozilla.sh \
|
---|
203 | /usr/lib/xulrunner-&xulrunner-version;
|
---|
204 | ln -sv -f ../xulrunner-devel-&xulrunner-version;/sdk/bin/xpcshell \
|
---|
205 | /usr/lib/xulrunner-&xulrunner-version;</userinput></screen>
|
---|
206 | </sect2>
|
---|
207 |
|
---|
208 | <sect2 role="commands">
|
---|
209 | <title>Command Explanations</title>
|
---|
210 |
|
---|
211 | <para>
|
---|
212 | <command>make -f client.mk ...</command>: Mozilla products are packaged to
|
---|
213 | allow the use of a configuration file which can be used to pass the
|
---|
214 | configuration settings to the <command>configure</command> command.
|
---|
215 | <command>make</command> uses the <filename>client.mk</filename> file to
|
---|
216 | get initial configuration and setup parameters.
|
---|
217 | </para>
|
---|
218 |
|
---|
219 | <para>
|
---|
220 | <command>ln -sv ../mozilla/plugins ...</command>: Some packages will
|
---|
221 | install browser plugins into
|
---|
222 | <filename class="directory">/usr/lib/mozilla/plugins</filename>.
|
---|
223 | Creating this symlink <application>Xulrunner</application> keeps
|
---|
224 | additional plugins in a common directory.
|
---|
225 | </para>
|
---|
226 |
|
---|
227 | <para>
|
---|
228 | <command>for library in
|
---|
229 | /usr/lib/xulrunner-&xulrunner-version;/*.so; do ln -sfv $library /usr/lib;
|
---|
230 | done</command>: The libraries shipped with this package are installed into
|
---|
231 | <filename class="directory">/usr/lib/xulrunner-&xulrunner-version;</filename>
|
---|
232 | which means they will not be found at runtime. These commands make
|
---|
233 | relative symbolic links to the shared libraries from
|
---|
234 | <filename class="directory">/usr/lib</filename>. Debug versions of some,
|
---|
235 | but not all, of these libraries can also be found in
|
---|
236 | <filename class="directory">/usr/lib/xulrunner-devel-&xulrunner-version;/sdk/lib</filename>.
|
---|
237 | </para>
|
---|
238 |
|
---|
239 | <para>
|
---|
240 | <command>ln -sv -f ../xulrunner-devel-&xulrunner-version;/sdk/bin/run-mozilla.sh</command>
|
---|
241 | The <filename>run-mozilla.sh</filename> and <filename>xpcshell</filename> files
|
---|
242 | have been moved in this version, but the code which installs <command>firefox</command>
|
---|
243 | (when linked to xulrunner) was not updated. These symlinks allow firefox to install.
|
---|
244 | </para>
|
---|
245 |
|
---|
246 | </sect2>
|
---|
247 |
|
---|
248 | <sect2 role="content">
|
---|
249 | <title>Contents</title>
|
---|
250 |
|
---|
251 | <segmentedlist>
|
---|
252 | <segtitle>Installed Programs</segtitle>
|
---|
253 | <segtitle>Installed Libraries</segtitle>
|
---|
254 | <segtitle>Installed Directories</segtitle>
|
---|
255 |
|
---|
256 | <seglistitem>
|
---|
257 | <seg>xulrunner</seg>
|
---|
258 | <seg>Numerous libraries, browser components, plugins, extensions, and
|
---|
259 | helper modules installed in <filename
|
---|
260 | class="directory">/usr/lib/xulrunner-&xulrunner-version;</filename></seg>
|
---|
261 | <seg>/etc/gre.d, /usr/include/xulrunner-&xulrunner-version;,
|
---|
262 | /usr/lib/xulrunner-&xulrunner-version;,
|
---|
263 | /usr/lib/xulrunner-devel-&xulrunner-version;, and
|
---|
264 | /usr/share/idl/xulrunner-&xulrunner-version;</seg>
|
---|
265 | </seglistitem>
|
---|
266 | </segmentedlist>
|
---|
267 |
|
---|
268 | <variablelist>
|
---|
269 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
270 | <?dbfo list-presentation="list"?>
|
---|
271 | <?dbhtml list-presentation="table"?>
|
---|
272 |
|
---|
273 | <varlistentry id="xulrunner-prog">
|
---|
274 | <term><command>xulrunner</command></term>
|
---|
275 | <listitem>
|
---|
276 | <para>
|
---|
277 | is a shell script, useful for identifying the version installed.
|
---|
278 | </para>
|
---|
279 | <indexterm zone="xulrunner xulrunner-prog">
|
---|
280 | <primary sortas="b-xulrunner">xulrunner</primary>
|
---|
281 | </indexterm>
|
---|
282 | </listitem>
|
---|
283 | </varlistentry>
|
---|
284 | </variablelist>
|
---|
285 | </sect2>
|
---|
286 | </sect1>
|
---|