source: x/lib/xulrunner.xml@ d5595930

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 d5595930 was d5595930, checked in by Krejzi <krejzi@…>, 11 years ago

Remove Cairo expose_snapshot patch and remove --enable-system-cairo switches from Mozilla products.

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

  • Property mode set to 100644
File size: 10.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 " ">
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 "78e641c67dc4a40cb3f48fce3e782d41">
12 <!ENTITY xulrunner-size "85 MB">
13 <!ENTITY xulrunner-buildsize "961 MB (59 MB installed)">
14 <!ENTITY xulrunner-time "27 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 &gt; mozconfig &lt;&lt; "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:
134mk_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:
140ac_add_options --disable-dbus
141
142# If you have installed wireless-tools delete this option:
143ac_add_options --disable-necko-wifi
144
145# If you have installed libnotify delete this option:
146ac_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
157mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/xulrunner-build-dir
158ac_add_options --disable-crashreporter
159ac_add_options --disable-debug
160ac_add_options --disable-debug-symbols
161ac_add_options --disable-installer
162ac_add_options --disable-static
163ac_add_options --disable-tests
164ac_add_options --disable-updater
165ac_add_options --enable-application=xulrunner
166ac_add_options --enable-shared
167ac_add_options --enable-system-ffi
168ac_add_options --prefix=/usr
169ac_add_options --with-pthreads
170ac_add_options --with-system-jpeg
171ac_add_options --with-system-png
172ac_add_options --with-system-zlib
173EOF</userinput></screen>
174
175 <para>
176 Install <application>Xulrunner</application> by issuing the following
177 commands:
178 </para>
179
180<screen><userinput>make -f client.mk</userinput></screen>
181
182 <para>
183 This package does not come with a test suite.
184 </para>
185
186 <para>
187 Now, as the <systemitem class="username">root</systemitem> user:
188 </para>
189
190<!-- the end two symlinks for run-mozilla.sh and xpcshell might not be needed
191 in xulrunner-15 -->
192<screen role="root"><userinput>make -C xulrunner-build-dir install &amp;&amp;
193mkdir -p /usr/lib/mozilla/plugins &amp;&amp;
194rm -rf /usr/lib/xulrunner-&xulrunner-version;/plugins &amp;&amp;
195ln -sv ../mozilla/plugins /usr/lib/xulrunner-&xulrunner-version; &amp;&amp;
196
197for library in /usr/lib/xulrunner-&xulrunner-version;/*.so; do
198 ln -sfv $library /usr/lib
199done
200
201ln -sv -f ../xulrunner-devel-&xulrunner-version;/sdk/bin/run-mozilla.sh \
202 /usr/lib/xulrunner-&xulrunner-version;
203ln -sv -f ../xulrunner-devel-&xulrunner-version;/sdk/bin/xpcshell \
204 /usr/lib/xulrunner-&xulrunner-version;</userinput></screen>
205 </sect2>
206
207 <sect2 role="commands">
208 <title>Command Explanations</title>
209
210 <para>
211 <command>make -f client.mk ...</command>: Mozilla products are packaged to
212 allow the use of a configuration file which can be used to pass the
213 configuration settings to the <command>configure</command> command.
214 <command>make</command> uses the <filename>client.mk</filename> file to
215 get initial configuration and setup parameters.
216 </para>
217
218 <para>
219 <command>ln -sv ../mozilla/plugins ...</command>: Some packages will
220 install browser plugins into
221 <filename class="directory">/usr/lib/mozilla/plugins</filename>.
222 Creating this symlink <application>Xulrunner</application> keeps
223 additional plugins in a common directory.
224 </para>
225
226 <para>
227 <command>for library in
228 /usr/lib/xulrunner-&xulrunner-version;/*.so; do ln -sfv $library /usr/lib;
229 done</command>: The libraries shipped with this package are installed into
230 <filename class="directory">/usr/lib/xulrunner-&xulrunner-version;</filename>
231 which means they will not be found at runtime. These commands make
232 relative symbolic links to the shared libraries from
233 <filename class="directory">/usr/lib</filename>. Debug versions of some,
234 but not all, of these libraries can also be found in
235 <filename class="directory">/usr/lib/xulrunner-devel-&xulrunner-version;/sdk/lib</filename>.
236 </para>
237
238 <para>
239 <command>ln -sv -f ../xulrunner-devel-&xulrunner-version;/sdk/bin/run-mozilla.sh</command>
240 The <filename>run-mozilla.sh</filename> and <filename>xpcshell</filename> files
241 have been moved in this version, but the code which installs <command>firefox</command>
242 (when linked to xulrunner) was not updated. These symlinks allow firefox to install.
243 </para>
244
245 </sect2>
246
247 <sect2 role="content">
248 <title>Contents</title>
249
250 <segmentedlist>
251 <segtitle>Installed Programs</segtitle>
252 <segtitle>Installed Libraries</segtitle>
253 <segtitle>Installed Directories</segtitle>
254
255 <seglistitem>
256 <seg>xulrunner</seg>
257 <seg>Numerous libraries, browser components, plugins, extensions, and
258 helper modules installed in <filename
259 class="directory">/usr/lib/xulrunner-&xulrunner-version;</filename></seg>
260 <seg>/etc/gre.d, /usr/include/xulrunner-&xulrunner-version;,
261 /usr/lib/xulrunner-&xulrunner-version;,
262 /usr/lib/xulrunner-devel-&xulrunner-version;, and
263 /usr/share/idl/xulrunner-&xulrunner-version;</seg>
264 </seglistitem>
265 </segmentedlist>
266
267 <variablelist>
268 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
269 <?dbfo list-presentation="list"?>
270 <?dbhtml list-presentation="table"?>
271
272 <varlistentry id="xulrunner-prog">
273 <term><command>xulrunner</command></term>
274 <listitem>
275 <para>
276 is a shell script, useful for identifying the version installed.
277 </para>
278 <indexterm zone="xulrunner xulrunner-prog">
279 <primary sortas="b-xulrunner">xulrunner</primary>
280 </indexterm>
281 </listitem>
282 </varlistentry>
283 </variablelist>
284 </sect2>
285</sect1>
Note: See TracBrowser for help on using the repository browser.