[aed37975] | 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 |
|
---|
[a38269c] | 7 | <!ENTITY xulrunner-download-http " ">
|
---|
[9ce4c50c] | 8 | <!ENTITY xulrunner-download-ftp
|
---|
| 9 | "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/&firefox-version;/source/firefox-&firefox-version;.source.tar.bz2">
|
---|
[dc8a9549] | 10 | <!-- md5sum and size should match firefox, but the buildsize and time will differ -->
|
---|
[74f73ede] | 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">
|
---|
[aed37975] | 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 |
|
---|
[c1ae13c] | 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>
|
---|
[89c9c781] | 41 |
|
---|
[bf85b79] | 42 | &lfs72_checked;
|
---|
[76ae9a2] | 43 |
|
---|
[aed37975] | 44 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 45 | <itemizedlist spacing="compact">
|
---|
| 46 | <listitem>
|
---|
[c1ae13c] | 47 | <para>
|
---|
| 48 | Download (HTTP): <ulink url="&xulrunner-download-http;"/>
|
---|
| 49 | </para>
|
---|
[aed37975] | 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
[c1ae13c] | 52 | <para>
|
---|
| 53 | Download (FTP): <ulink url="&xulrunner-download-ftp;"/>
|
---|
| 54 | </para>
|
---|
[aed37975] | 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
[c1ae13c] | 57 | <para>
|
---|
| 58 | Download MD5 sum: &xulrunner-md5sum;
|
---|
| 59 | </para>
|
---|
[aed37975] | 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
[c1ae13c] | 62 | <para>
|
---|
| 63 | Download size: &xulrunner-size;
|
---|
| 64 | </para>
|
---|
[aed37975] | 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
[c1ae13c] | 67 | <para>
|
---|
| 68 | Estimated disk space required: &xulrunner-buildsize;
|
---|
| 69 | </para>
|
---|
[aed37975] | 70 | </listitem>
|
---|
| 71 | <listitem>
|
---|
[c1ae13c] | 72 | <para>
|
---|
| 73 | Estimated build time: &xulrunner-time;
|
---|
| 74 | </para>
|
---|
[aed37975] | 75 | </listitem>
|
---|
| 76 | </itemizedlist>
|
---|
| 77 |
|
---|
| 78 | <bridgehead renderas="sect3">Xulrunner Dependencies</bridgehead>
|
---|
| 79 |
|
---|
| 80 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[c1ae13c] | 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 |
|
---|
[1555d3d] | 88 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[c1ae13c] | 89 | <para role="recommended">
|
---|
| 90 | <xref linkend="yasm"/> or <xref linkend="libvpx"/>
|
---|
| 91 | (to allow <application>Xulrunner</application> to play webm videos).
|
---|
| 92 | </para>
|
---|
[1555d3d] | 93 |
|
---|
[aed37975] | 94 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[c1ae13c] | 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>,
|
---|
[06eb274] | 100 | <xref linkend="libevent"/>,
|
---|
[c1ae13c] | 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>
|
---|
[aed37975] | 116 | </sect2>
|
---|
| 117 |
|
---|
| 118 | <sect2 role="installation">
|
---|
| 119 | <title>Installation of Xulrunner</title>
|
---|
| 120 |
|
---|
[c1ae13c] | 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>
|
---|
[aed37975] | 130 |
|
---|
[f0dcb37d] | 131 | <screen><userinput>cat > mozconfig << "EOF"
|
---|
[38216f2] | 132 | # If you have a multicore machine you can speed up the build by running
|
---|
[89c9c781] | 133 | # several jobs at once, but if you have a single core, delete this line:
|
---|
| 134 | mk_add_options MOZ_MAKE_FLAGS="-j4"
|
---|
[aed37975] | 135 |
|
---|
[b9b7146] | 136 | # If you have not installed Yasm, uncomment this option:
|
---|
| 137 | # ac_add_options --disable-webm
|
---|
[1555d3d] | 138 |
|
---|
[7b34d49] | 139 | # If you have installed DBus-Glib delete this option:
|
---|
[89c9c781] | 140 | ac_add_options --disable-dbus
|
---|
[e49ffb5] | 141 |
|
---|
[7b34d49] | 142 | # If you have installed wireless-tools delete this option:
|
---|
[89c9c781] | 143 | ac_add_options --disable-necko-wifi
|
---|
[aed37975] | 144 |
|
---|
[7b34d49] | 145 | # If you have installed libnotify delete this option:
|
---|
| 146 | ac_add_options --disable-libnotify
|
---|
| 147 |
|
---|
[89c9c781] | 148 | # Uncomment these if you have installed them:
|
---|
| 149 | # ac_add_options --enable-startup-notification
|
---|
[7133ec2] | 150 | # ac_add_options --enable-system-hunspell
|
---|
[5f5dcc2] | 151 | # ac_add_options --enable-system-sqlite
|
---|
[7133ec2] | 152 | # ac_add_options --with-system-libevent
|
---|
[5f5dcc2] | 153 | # ac_add_options --with-system-libvpx
|
---|
| 154 | # ac_add_options --with-system-nspr
|
---|
| 155 | # ac_add_options --with-system-nss
|
---|
[aed37975] | 156 |
|
---|
[a818e3c] | 157 | mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/xulrunner-build-dir
|
---|
[5f5dcc2] | 158 | ac_add_options --disable-crashreporter
|
---|
| 159 | ac_add_options --disable-debug
|
---|
[495ebe07] | 160 | ac_add_options --disable-debug-symbols
|
---|
[5f5dcc2] | 161 | ac_add_options --disable-installer
|
---|
| 162 | ac_add_options --disable-static
|
---|
| 163 | ac_add_options --disable-tests
|
---|
| 164 | ac_add_options --disable-updater
|
---|
[89c9c781] | 165 | ac_add_options --enable-application=xulrunner
|
---|
[5f5dcc2] | 166 | ac_add_options --enable-shared
|
---|
| 167 | ac_add_options --enable-system-cairo
|
---|
[89c9c781] | 168 | ac_add_options --enable-system-ffi
|
---|
[5f5dcc2] | 169 | ac_add_options --prefix=/usr
|
---|
| 170 | ac_add_options --with-pthreads
|
---|
[7133ec2] | 171 | ac_add_options --with-system-jpeg
|
---|
| 172 | ac_add_options --with-system-png
|
---|
| 173 | ac_add_options --with-system-zlib
|
---|
[aed37975] | 174 | EOF</userinput></screen>
|
---|
| 175 |
|
---|
[c1ae13c] | 176 | <para>
|
---|
| 177 | Install <application>Xulrunner</application> by issuing the following
|
---|
| 178 | commands:
|
---|
| 179 | </para>
|
---|
[aed37975] | 180 |
|
---|
[a38269c] | 181 | <screen><userinput>make -f client.mk</userinput></screen>
|
---|
[a949fa4] | 182 |
|
---|
[c1ae13c] | 183 | <para>
|
---|
| 184 | This package does not come with a test suite.
|
---|
| 185 | </para>
|
---|
[aed37975] | 186 |
|
---|
[c1ae13c] | 187 | <para>
|
---|
| 188 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 189 | </para>
|
---|
[dc8a9549] | 190 |
|
---|
[9ade4e9d] | 191 | <!-- the end two symlinks for run-mozilla.sh and xpcshell might not be needed
|
---|
| 192 | in xulrunner-15 -->
|
---|
[74f73ede] | 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; &&
|
---|
[a4857b3] | 197 |
|
---|
[74f73ede] | 198 | for library in /usr/lib/xulrunner-&xulrunner-version;/*.so; do
|
---|
| 199 | ln -sfv $library /usr/lib
|
---|
[9ade4e9d] | 200 | done
|
---|
| 201 |
|
---|
| 202 | ln -sv -f ../xulrunner-devel-&xulrunner-version;/sdk/bin/run-mozilla.sh \
|
---|
| 203 | /usr/lib/xulrunner-&xulrunner-version;
|
---|
[a2220ae] | 204 | ln -sv -f ../xulrunner-devel-&xulrunner-version;/sdk/bin/xpcshell \
|
---|
[74f73ede] | 205 | /usr/lib/xulrunner-&xulrunner-version;</userinput></screen>
|
---|
[aed37975] | 206 | </sect2>
|
---|
| 207 |
|
---|
| 208 | <sect2 role="commands">
|
---|
| 209 | <title>Command Explanations</title>
|
---|
| 210 |
|
---|
[c1ae13c] | 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>
|
---|
[1265b05] | 228 | <command>for library in
|
---|
[b9b7146] | 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>
|
---|
[1265b05] | 232 | which means they will not be found at runtime. These commands make
|
---|
[16efe57] | 233 | relative symbolic links to the shared libraries from
|
---|
[b9b7146] | 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>.
|
---|
[c1ae13c] | 237 | </para>
|
---|
[9ade4e9d] | 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 |
|
---|
[aed37975] | 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>
|
---|
[a949fa4] | 257 | <seg>xulrunner</seg>
|
---|
[aed37975] | 258 | <seg>Numerous libraries, browser components, plugins, extensions, and
|
---|
| 259 | helper modules installed in <filename
|
---|
[eb148eb] | 260 | class="directory">/usr/lib/xulrunner-&xulrunner-version;</filename></seg>
|
---|
[aed37975] | 261 | <seg>/etc/gre.d, /usr/include/xulrunner-&xulrunner-version;,
|
---|
[dc8a9549] | 262 | /usr/lib/xulrunner-&xulrunner-version;,
|
---|
| 263 | /usr/lib/xulrunner-devel-&xulrunner-version;, and
|
---|
| 264 | /usr/share/idl/xulrunner-&xulrunner-version;</seg>
|
---|
[aed37975] | 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>
|
---|
[c1ae13c] | 276 | <para>
|
---|
| 277 | is a shell script, useful for identifying the version installed.
|
---|
| 278 | </para>
|
---|
[aed37975] | 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>
|
---|