[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 " ">
|
---|
| 8 | <!-- "http://releases.mozilla.org/pub/mozilla.org/firefox/releases/&firefox-version;/source/firefox-&firefox-version;.source.tar.bz2"> -->
|
---|
[9ce4c50c] | 9 | <!ENTITY xulrunner-download-ftp
|
---|
| 10 | "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/&firefox-version;/source/firefox-&firefox-version;.source.tar.bz2">
|
---|
[dc8a9549] | 11 | <!-- md5sum and size should match firefox, but the buildsize and time will differ -->
|
---|
[a38269c] | 12 | <!ENTITY xulrunner-md5sum "f50ca7656eec47030b396f39075fa980">
|
---|
| 13 | <!ENTITY xulrunner-size "76 MB">
|
---|
[f0afab3f] | 14 | <!ENTITY xulrunner-buildsize "1 GB (95 MB installed)">
|
---|
| 15 | <!ENTITY xulrunner-time "25 SBU">
|
---|
[aed37975] | 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 |
|
---|
[c1ae13c] | 35 | <para>
|
---|
| 36 | <application>Xulrunner</application> is a runtime environment for XUL
|
---|
| 37 | applications, and forms the major part of the
|
---|
| 38 | <application>Mozilla</application> codebase. In particular, it provides
|
---|
| 39 | the Gecko engine together with pkgconfig files so that other applications
|
---|
| 40 | can find and use it.
|
---|
| 41 | </para>
|
---|
[89c9c781] | 42 |
|
---|
[4c77a949] | 43 | &lfs71_checked;
|
---|
[76ae9a2] | 44 |
|
---|
[aed37975] | 45 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 46 | <itemizedlist spacing="compact">
|
---|
| 47 | <listitem>
|
---|
[c1ae13c] | 48 | <para>
|
---|
| 49 | Download (HTTP): <ulink url="&xulrunner-download-http;"/>
|
---|
| 50 | </para>
|
---|
[aed37975] | 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
[c1ae13c] | 53 | <para>
|
---|
| 54 | Download (FTP): <ulink url="&xulrunner-download-ftp;"/>
|
---|
| 55 | </para>
|
---|
[aed37975] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[c1ae13c] | 58 | <para>
|
---|
| 59 | Download MD5 sum: &xulrunner-md5sum;
|
---|
| 60 | </para>
|
---|
[aed37975] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[c1ae13c] | 63 | <para>
|
---|
| 64 | Download size: &xulrunner-size;
|
---|
| 65 | </para>
|
---|
[aed37975] | 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
[c1ae13c] | 68 | <para>
|
---|
| 69 | Estimated disk space required: &xulrunner-buildsize;
|
---|
| 70 | </para>
|
---|
[aed37975] | 71 | </listitem>
|
---|
| 72 | <listitem>
|
---|
[c1ae13c] | 73 | <para>
|
---|
| 74 | Estimated build time: &xulrunner-time;
|
---|
| 75 | </para>
|
---|
[aed37975] | 76 | </listitem>
|
---|
| 77 | </itemizedlist>
|
---|
| 78 |
|
---|
| 79 | <bridgehead renderas="sect3">Xulrunner Dependencies</bridgehead>
|
---|
| 80 |
|
---|
| 81 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[c1ae13c] | 82 | <para role="required">
|
---|
| 83 | <xref linkend="alsa-lib"/>,
|
---|
| 84 | <xref linkend="gtk2"/>,
|
---|
| 85 | <xref linkend="zip"/> and
|
---|
| 86 | <xref linkend="unzip"/>.
|
---|
| 87 | </para>
|
---|
| 88 |
|
---|
[1555d3d] | 89 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[c1ae13c] | 90 | <para role="recommended">
|
---|
| 91 | <xref linkend="yasm"/> or <xref linkend="libvpx"/>
|
---|
| 92 | (to allow <application>Xulrunner</application> to play webm videos).
|
---|
| 93 | </para>
|
---|
[1555d3d] | 94 |
|
---|
[aed37975] | 95 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[c1ae13c] | 96 | <para role="optional">
|
---|
| 97 | <xref linkend="dbus-glib"/>,
|
---|
| 98 | <xref linkend="startup-notification"/>,
|
---|
| 99 | <xref linkend="sqlite"/>,
|
---|
| 100 | <ulink url="http://sourceforge.net/projects/hunspell/">Hunspell</ulink>,
|
---|
| 101 | <ulink url="http://libevent.org/">Libevent</ulink>,
|
---|
| 102 | <xref linkend="doxygen"/>,
|
---|
| 103 | <xref linkend="gnome-vfs"/> and <xref linkend="libgnomeui"/> (for
|
---|
| 104 | integration with the old version of <application>Gnome</application>),
|
---|
| 105 | <xref linkend="libnotify"/>,
|
---|
| 106 | <xref linkend="nspr"/>,
|
---|
| 107 | <xref linkend="nss"/>,
|
---|
| 108 | <xref linkend="wireless_tools"/>,
|
---|
| 109 | <ulink url="http://www.valgrind.org/">Valgrind</ulink> (only for testing
|
---|
| 110 | the jemalloc code) and
|
---|
| 111 | <xref linkend="wget"/>
|
---|
| 112 | </para>
|
---|
| 113 |
|
---|
| 114 | <para condition="html" role="usernotes">
|
---|
| 115 | User Notes: <ulink url="&blfs-wiki;/xulrunner"/>
|
---|
| 116 | </para>
|
---|
[aed37975] | 117 | </sect2>
|
---|
| 118 |
|
---|
| 119 | <sect2 role="installation">
|
---|
| 120 | <title>Installation of Xulrunner</title>
|
---|
| 121 |
|
---|
[c1ae13c] | 122 | <para>
|
---|
| 123 | The configuration of <application>Xulrunner</application> is accomplished
|
---|
| 124 | by creating a <filename>mozconfig</filename> file containing the desired
|
---|
| 125 | configuration options. A default <filename>mozconfig</filename> is created
|
---|
| 126 | below. To see the entire list of available configuration options (and an
|
---|
| 127 | abbreviated description of each one), issue <command>./configure
|
---|
| 128 | --help</command>. You should review the entire file and comment or
|
---|
| 129 | uncomment options as necessary.
|
---|
| 130 | </para>
|
---|
[aed37975] | 131 |
|
---|
[f0dcb37d] | 132 | <screen><userinput>cat > mozconfig << "EOF"
|
---|
[38216f2] | 133 | # If you have a multicore machine you can speed up the build by running
|
---|
[89c9c781] | 134 | # several jobs at once, but if you have a single core, delete this line:
|
---|
| 135 | mk_add_options MOZ_MAKE_FLAGS="-j4"
|
---|
[aed37975] | 136 |
|
---|
[1555d3d] | 137 | # If you have installed Yasm delete this option:
|
---|
| 138 | ac_add_options --disable-webm
|
---|
| 139 |
|
---|
[7b34d49] | 140 | # If you have installed DBus-Glib delete this option:
|
---|
[89c9c781] | 141 | ac_add_options --disable-dbus
|
---|
[e49ffb5] | 142 |
|
---|
[7b34d49] | 143 | # If you have installed wireless-tools delete this option:
|
---|
[89c9c781] | 144 | ac_add_options --disable-necko-wifi
|
---|
[aed37975] | 145 |
|
---|
[7b34d49] | 146 | # If you have installed libnotify delete this option:
|
---|
| 147 | ac_add_options --disable-libnotify
|
---|
| 148 |
|
---|
[89c9c781] | 149 | # Uncomment these if you have installed them:
|
---|
| 150 | # ac_add_options --enable-startup-notification
|
---|
[7133ec2] | 151 | # ac_add_options --enable-system-hunspell
|
---|
[5f5dcc2] | 152 | # ac_add_options --enable-system-sqlite
|
---|
[7133ec2] | 153 | # ac_add_options --with-system-libevent
|
---|
[5f5dcc2] | 154 | # ac_add_options --with-system-libvpx
|
---|
| 155 | # ac_add_options --with-system-nspr
|
---|
| 156 | # ac_add_options --with-system-nss
|
---|
[aed37975] | 157 |
|
---|
[a818e3c] | 158 | mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/xulrunner-build-dir
|
---|
[5f5dcc2] | 159 | ac_add_options --disable-crashreporter
|
---|
| 160 | ac_add_options --disable-debug
|
---|
[495ebe07] | 161 | ac_add_options --disable-debug-symbols
|
---|
[5f5dcc2] | 162 | ac_add_options --disable-installer
|
---|
| 163 | ac_add_options --disable-static
|
---|
| 164 | ac_add_options --disable-tests
|
---|
| 165 | ac_add_options --disable-updater
|
---|
[89c9c781] | 166 | ac_add_options --enable-application=xulrunner
|
---|
[5f5dcc2] | 167 | ac_add_options --enable-shared
|
---|
| 168 | ac_add_options --enable-system-cairo
|
---|
[89c9c781] | 169 | ac_add_options --enable-system-ffi
|
---|
[5f5dcc2] | 170 | ac_add_options --prefix=/usr
|
---|
| 171 | ac_add_options --with-pthreads
|
---|
[7133ec2] | 172 | ac_add_options --with-system-jpeg
|
---|
| 173 | ac_add_options --with-system-png
|
---|
| 174 | ac_add_options --with-system-zlib
|
---|
[aed37975] | 175 | EOF</userinput></screen>
|
---|
| 176 |
|
---|
[c1ae13c] | 177 | <para>
|
---|
| 178 | Install <application>Xulrunner</application> by issuing the following
|
---|
| 179 | commands:
|
---|
| 180 | </para>
|
---|
[aed37975] | 181 |
|
---|
[a38269c] | 182 | <screen><userinput>make -f client.mk</userinput></screen>
|
---|
[a949fa4] | 183 |
|
---|
[c1ae13c] | 184 | <para>
|
---|
| 185 | This package does not come with a test suite.
|
---|
| 186 | </para>
|
---|
[aed37975] | 187 |
|
---|
[c1ae13c] | 188 | <para>
|
---|
| 189 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 190 | </para>
|
---|
[dc8a9549] | 191 |
|
---|
[c099902d] | 192 | <screen role="root"><userinput>make -C xulrunner-build-dir install &&
|
---|
| 193 | mkdir -p /usr/lib/mozilla/plugins &&
|
---|
| 194 | rm -rf /usr/lib/xulrunner-&xulrunner-version;/plugins &&
|
---|
| 195 | ln -sv ../mozilla/plugins /usr/lib/xulrunner-&xulrunner-version; &&
|
---|
[a4857b3] | 196 |
|
---|
[a38269c] | 197 | for library in /usr/lib/xulrunner-devel-&xulrunner-version;/sdk/lib/*.so
|
---|
| 198 | do ln -sfv ${library#/usr/lib/} /usr${library#*sdk}
|
---|
[1265b05] | 199 | done</userinput></screen>
|
---|
[aed37975] | 200 | </sect2>
|
---|
| 201 |
|
---|
| 202 | <sect2 role="commands">
|
---|
| 203 | <title>Command Explanations</title>
|
---|
| 204 |
|
---|
[c1ae13c] | 205 | <para>
|
---|
| 206 | <command>make -f client.mk ...</command>: Mozilla products are packaged to
|
---|
| 207 | allow the use of a configuration file which can be used to pass the
|
---|
| 208 | configuration settings to the <command>configure</command> command.
|
---|
| 209 | <command>make</command> uses the <filename>client.mk</filename> file to
|
---|
| 210 | get initial configuration and setup parameters.
|
---|
| 211 | </para>
|
---|
| 212 |
|
---|
| 213 | <para>
|
---|
| 214 | <command>ln -sv ../mozilla/plugins ...</command>: Some packages will
|
---|
| 215 | install browser plugins into
|
---|
| 216 | <filename class="directory">/usr/lib/mozilla/plugins</filename>.
|
---|
| 217 | Creating this symlink <application>Xulrunner</application> keeps
|
---|
| 218 | additional plugins in a common directory.
|
---|
| 219 | </para>
|
---|
| 220 |
|
---|
| 221 | <para>
|
---|
[1265b05] | 222 | <command>for library in
|
---|
[16efe57] | 223 | /usr/lib/xulrunner-devel-&xulrunner-version;/sdk/lib/*.so; do ln -sfv
|
---|
[1265b05] | 224 | ${library#/usr/lib/} /usr${library#*sdk}; done</command>: The libraries
|
---|
| 225 | shipped with this package are installed into
|
---|
| 226 | <filename class="directory">/usr/lib/xulrunner-devel-&xulrunner-version;</filename>
|
---|
| 227 | which means they will not be found at runtime. These commands make
|
---|
[16efe57] | 228 | relative symbolic links to the shared libraries from
|
---|
[1265b05] | 229 | <filename class="directory">/usr/lib</filename>.
|
---|
[c1ae13c] | 230 | </para>
|
---|
[aed37975] | 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>
|
---|
[a949fa4] | 242 | <seg>xulrunner</seg>
|
---|
[aed37975] | 243 | <seg>Numerous libraries, browser components, plugins, extensions, and
|
---|
| 244 | helper modules installed in <filename
|
---|
[eb148eb] | 245 | class="directory">/usr/lib/xulrunner-&xulrunner-version;</filename></seg>
|
---|
[aed37975] | 246 | <seg>/etc/gre.d, /usr/include/xulrunner-&xulrunner-version;,
|
---|
[dc8a9549] | 247 | /usr/lib/xulrunner-&xulrunner-version;,
|
---|
| 248 | /usr/lib/xulrunner-devel-&xulrunner-version;, and
|
---|
| 249 | /usr/share/idl/xulrunner-&xulrunner-version;</seg>
|
---|
[aed37975] | 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>
|
---|
[c1ae13c] | 261 | <para>
|
---|
| 262 | is a shell script, useful for identifying the version installed.
|
---|
| 263 | </para>
|
---|
[aed37975] | 264 | <indexterm zone="xulrunner xulrunner-prog">
|
---|
| 265 | <primary sortas="b-xulrunner">xulrunner</primary>
|
---|
| 266 | </indexterm>
|
---|
| 267 | </listitem>
|
---|
| 268 | </varlistentry>
|
---|
| 269 | </variablelist>
|
---|
| 270 | </sect2>
|
---|
| 271 | </sect1>
|
---|