source: x/lib/xulrunner.xml@ 38c6448

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 38c6448 was 38c6448, checked in by Bruce Dubbs <bdubbs@…>, 11 years ago

Update to Firefox/Xulrunner-16.0.1

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10765 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-cairo
168ac_add_options --enable-system-ffi
169ac_add_options --prefix=/usr
170ac_add_options --with-pthreads
171ac_add_options --with-system-jpeg
172ac_add_options --with-system-png
173ac_add_options --with-system-zlib
174EOF</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 &amp;&amp;
194mkdir -p /usr/lib/mozilla/plugins &amp;&amp;
195rm -rf /usr/lib/xulrunner-&xulrunner-version;/plugins &amp;&amp;
196ln -sv ../mozilla/plugins /usr/lib/xulrunner-&xulrunner-version; &amp;&amp;
197
198for library in /usr/lib/xulrunner-&xulrunner-version;/*.so; do
199 ln -sfv $library /usr/lib
200done
201
202ln -sv -f ../xulrunner-devel-&xulrunner-version;/sdk/bin/run-mozilla.sh \
203 /usr/lib/xulrunner-&xulrunner-version;
204ln -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>
Note: See TracBrowser for help on using the repository browser.