[f939f05] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[f939f05] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[0e37869] | 7 | <!ENTITY firefox-download-http
|
---|
[c94758a] | 8 | "http://releases.mozilla.org/pub/mozilla.org/firefox/releases/&firefox-version;/source/firefox-&firefox-version;.source.tar.bz2">
|
---|
[44a8f24e] | 9 | <!ENTITY firefox-download-ftp
|
---|
[0e37869] | 10 | "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/&firefox-version;/source/firefox-&firefox-version;.source.tar.bz2">
|
---|
[1f78606] | 11 | <!ENTITY firefox-md5sum "06a4c0fe8d3a979aea2fce8d0fdbf328">
|
---|
| 12 | <!ENTITY firefox-size "115 MB">
|
---|
| 13 | <!ENTITY firefox-buildsize "4.9 GB (48 MB installed) (or 814 MB and 4.6 MB if using Xulrunner)">
|
---|
| 14 | <!ENTITY firefox-time "58 SBU (0.47 SBU if using Xulrunner)">
|
---|
[f939f05] | 15 | ]>
|
---|
| 16 |
|
---|
[ffe47ca2] | 17 | <sect1 id="firefox" xreflabel="Firefox-&firefox-version;">
|
---|
[b81991e1] | 18 | <?dbhtml filename="firefox.html" ?>
|
---|
| 19 |
|
---|
| 20 | <sect1info>
|
---|
| 21 | <othername>$LastChangedBy$</othername>
|
---|
| 22 | <date>$Date$</date>
|
---|
| 23 | </sect1info>
|
---|
| 24 |
|
---|
| 25 | <title>Firefox-&firefox-version;</title>
|
---|
| 26 |
|
---|
| 27 | <indexterm zone="firefox">
|
---|
| 28 | <primary sortas="a-Firefox">Firefox</primary>
|
---|
| 29 | </indexterm>
|
---|
| 30 |
|
---|
| 31 | <sect2 role="package">
|
---|
| 32 | <title>Introduction to Firefox</title>
|
---|
| 33 |
|
---|
[c1ae13c] | 34 | <para>
|
---|
| 35 | <application>Firefox</application> is a stand-alone browser based on the
|
---|
| 36 | <application>Mozilla</application> codebase.
|
---|
| 37 | </para>
|
---|
[b81991e1] | 38 |
|
---|
[01cecdc2] | 39 | &lfs74_checked;
|
---|
[76ae9a2] | 40 |
|
---|
[b81991e1] | 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
[c1ae13c] | 44 | <para>
|
---|
| 45 | Download (HTTP): <ulink url="&firefox-download-http;"/>
|
---|
| 46 | </para>
|
---|
[b81991e1] | 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
[c1ae13c] | 49 | <para>
|
---|
| 50 | Download (FTP): <ulink url="&firefox-download-ftp;"/>
|
---|
| 51 | </para>
|
---|
[b81991e1] | 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
[c1ae13c] | 54 | <para>
|
---|
| 55 | Download MD5 sum: &firefox-md5sum;
|
---|
| 56 | </para>
|
---|
[b81991e1] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[c1ae13c] | 59 | <para>
|
---|
| 60 | Download size: &firefox-size;
|
---|
| 61 | </para>
|
---|
[b81991e1] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
[c1ae13c] | 64 | <para>
|
---|
| 65 | Estimated disk space required: &firefox-buildsize;
|
---|
| 66 | </para>
|
---|
[b81991e1] | 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
[c1ae13c] | 69 | <para>
|
---|
| 70 | Estimated build time: &firefox-time;
|
---|
| 71 | </para>
|
---|
[b81991e1] | 72 | </listitem>
|
---|
| 73 | </itemizedlist>
|
---|
| 74 |
|
---|
[fcd66369] | 75 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
[4c2bf3d6] | 76 | <itemizedlist spacing='compact'>
|
---|
| 77 | <listitem>
|
---|
[54f740f] | 78 | <para>Recommended patch: <ulink
|
---|
[4c2bf3d6] | 79 | url="&patch-root;/firefox-&firefox-version;-search_box_fix-1.patch"/></para>
|
---|
| 80 | </listitem>
|
---|
| 81 | </itemizedlist>
|
---|
| 82 |
|
---|
[b81991e1] | 83 | <bridgehead renderas="sect3">Firefox Dependencies</bridgehead>
|
---|
| 84 |
|
---|
| 85 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[c1ae13c] | 86 | <para role="required">
|
---|
| 87 | <xref linkend="alsa-lib"/>,
|
---|
| 88 | <xref linkend="gtk2"/>,
|
---|
[f72a04a] | 89 | <xref linkend="zip"/>, and
|
---|
[0e37869] | 90 | <xref linkend="unzip"/>
|
---|
[c1ae13c] | 91 | </para>
|
---|
| 92 |
|
---|
[1555d3d] | 93 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[c1ae13c] | 94 | <para role="recommended">
|
---|
[0e37869] | 95 | <xref linkend="libevent"/>,
|
---|
| 96 | <xref linkend="libvpx"/>,
|
---|
| 97 | <xref linkend="nspr"/>,
|
---|
| 98 | <xref linkend="nss"/>,
|
---|
| 99 | <xref linkend="sqlite"/> and
|
---|
| 100 | <xref linkend="yasm"/>
|
---|
[c1ae13c] | 101 | </para>
|
---|
[1555d3d] | 102 |
|
---|
[0e37869] | 103 | <note>
|
---|
| 104 | <para>
|
---|
| 105 | If you don't install recommended dependencies,
|
---|
| 106 | then internal copies of those packages will
|
---|
| 107 | be used. They might be tested to work, but
|
---|
| 108 | they can be out of date or contain security
|
---|
| 109 | holes.
|
---|
| 110 | </para>
|
---|
| 111 | </note>
|
---|
| 112 |
|
---|
[b81991e1] | 113 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[c1ae13c] | 114 | <para role="optional">
|
---|
[6c64623f] | 115 | <xref linkend="curl"/>,
|
---|
[c1ae13c] | 116 | <xref linkend="dbus-glib"/>,
|
---|
| 117 | <xref linkend="doxygen"/>,
|
---|
[f7e0baa] | 118 | <xref linkend="gst-plugins-base"/>,
|
---|
[0e37869] | 119 | <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>,
|
---|
[c1ae13c] | 120 | <xref linkend="libnotify"/>,
|
---|
[0e37869] | 121 | <xref linkend="startup-notification"/>,
|
---|
| 122 | <xref linkend="wget"/>,
|
---|
| 123 | <xref linkend="wireless_tools"/> and
|
---|
[495ebe07] | 124 | <xref linkend="xulrunner"/>
|
---|
[c1ae13c] | 125 | </para>
|
---|
| 126 |
|
---|
| 127 | <para condition="html" role="usernotes">
|
---|
| 128 | User Notes: <ulink url="&blfs-wiki;/firefox"/>
|
---|
| 129 | </para>
|
---|
[b81991e1] | 130 | </sect2>
|
---|
| 131 |
|
---|
| 132 | <sect2 role="installation">
|
---|
| 133 | <title>Installation of Firefox</title>
|
---|
| 134 |
|
---|
[f72a04a] | 135 | <para>
|
---|
[a38269c] | 136 | There are two major methods for building
|
---|
| 137 | <application>Firefox</application>. In the standard case, the entire suite
|
---|
| 138 | of libraries is built and installed. In the other, most of the system is
|
---|
| 139 | built using the procedures found in <xref linkend="xulrunner"/>. This is
|
---|
| 140 | advantageous if you are planning to build other related packages such as
|
---|
| 141 | <xref linkend="icedtea-web"/>. With either build method, you need to run
|
---|
| 142 | the main build procedure below with the appropriate options in the
|
---|
| 143 | <filename>mozconfig</filename> file. Then use the appropriate install
|
---|
| 144 | instructions depending on the chosen build method.
|
---|
[f72a04a] | 145 | </para>
|
---|
| 146 |
|
---|
[c1ae13c] | 147 | <para>
|
---|
| 148 | The configuration of <application>Firefox</application> is accomplished by
|
---|
| 149 | creating a <filename>mozconfig</filename> file containing the desired
|
---|
| 150 | configuration options. A default <filename>mozconfig</filename> is created
|
---|
| 151 | below. To see the entire list of available configuration options (and an
|
---|
| 152 | abbreviated description of each one), issue <command>./configure
|
---|
| 153 | --help</command>. You may also wish to review the entire file and
|
---|
[d2a469d2] | 154 | uncomment any other desired options.
|
---|
| 155 | Create the file by issuing the following command:
|
---|
[c1ae13c] | 156 | </para>
|
---|
[5a13c45] | 157 |
|
---|
[0e37869] | 158 | <screen><userinput>cat > mozconfig << "EOF"
|
---|
[d2a469d2] | 159 | # If you have a multicore machine, firefox will now use all the cores by
|
---|
| 160 | # default. Exceptionally, you can reduce the number of cores, e.g. to 1,
|
---|
| 161 | # by uncommenting the next line and setting a valid number of CPU cores.
|
---|
| 162 | #mk_add_options MOZ_MAKE_FLAGS="-j1"
|
---|
[1555d3d] | 163 |
|
---|
[0e37869] | 164 | # If you have installed DBus-Glib comment out this line:
|
---|
[74eaf91] | 165 | ac_add_options --disable-dbus
|
---|
[aed37975] | 166 |
|
---|
[0e37869] | 167 | # If you have installed wireless-tools comment out this line:
|
---|
[6d1bf0e] | 168 | ac_add_options --disable-necko-wifi
|
---|
| 169 |
|
---|
[0e37869] | 170 | # If you have installed libnotify comment out this line:
|
---|
[e144d87] | 171 | ac_add_options --disable-libnotify
|
---|
| 172 |
|
---|
[686a89a3] | 173 | # GStreamer is necessary for H.264 video playback in HTML5 Video Player;
|
---|
| 174 | # to be enabled, also remember to set "media.gstreamer.enabled" to "true"
|
---|
[48ae92a] | 175 | # in about:config. If you have installed GStreamer comment out this line:
|
---|
| 176 | ac_add_options --disable-gstreamer
|
---|
| 177 |
|
---|
| 178 | # Uncomment these lines if you have installed optional dependencies:
|
---|
[0e37869] | 179 | #ac_add_options --enable-system-hunspell
|
---|
| 180 | #ac_add_options --enable-startup-notification
|
---|
[495ebe07] | 181 |
|
---|
[fcd66369] | 182 | # Uncomment this line if you compiled Cairo with --enable-tee switch and want
|
---|
| 183 | # to use it instead of the bundled one:
|
---|
| 184 | #ac_add_options --enable-system-cairo
|
---|
| 185 |
|
---|
[0e37869] | 186 | # If you have not installed Yasm then uncomment this line:
|
---|
| 187 | #ac_add_options --disable-webm
|
---|
[38c6448] | 188 |
|
---|
[d2a469d2] | 189 | # If you have installed xulrunner uncomment the next two ac_add_options lines
|
---|
| 190 | # and check that the sdk will be set by running pkg-config in a subshell
|
---|
| 191 | # and has not become hardcoded or empty when you created this file
|
---|
[0e37869] | 192 | #ac_add_options --with-system-libxul
|
---|
[d2a469d2] | 193 | #ac_add_options --with-libxul-sdk=$(pkg-config --variable=sdkdir libxul)
|
---|
[dc8a9549] | 194 |
|
---|
[0e37869] | 195 | # Comment out following options if you have not installed
|
---|
| 196 | # recommended dependencies:
|
---|
| 197 | ac_add_options --enable-system-sqlite
|
---|
| 198 | ac_add_options --with-system-libevent
|
---|
| 199 | ac_add_options --with-system-libvpx
|
---|
| 200 | ac_add_options --with-system-nspr
|
---|
| 201 | ac_add_options --with-system-nss
|
---|
| 202 |
|
---|
| 203 | # It is recommended not to touch anything below this line
|
---|
[495ebe07] | 204 | ac_add_options --prefix=/usr
|
---|
[0e37869] | 205 | ac_add_options --enable-application=browser
|
---|
[495ebe07] | 206 |
|
---|
[5f5dcc2] | 207 | ac_add_options --disable-crashreporter
|
---|
| 208 | ac_add_options --disable-installer
|
---|
| 209 | ac_add_options --disable-updater
|
---|
[0e37869] | 210 | ac_add_options --disable-debug
|
---|
| 211 | ac_add_options --disable-tests
|
---|
| 212 |
|
---|
| 213 | ac_add_options --enable-optimize
|
---|
| 214 | ac_add_options --enable-strip
|
---|
| 215 | ac_add_options --enable-install-strip
|
---|
| 216 |
|
---|
| 217 | ac_add_options --enable-gio
|
---|
| 218 | ac_add_options --enable-official-branding
|
---|
| 219 | ac_add_options --enable-safe-browsing
|
---|
| 220 | ac_add_options --enable-url-classifier
|
---|
| 221 |
|
---|
[41f2e90] | 222 | ac_add_options --enable-system-ffi
|
---|
[0e37869] | 223 | ac_add_options --enable-system-pixman
|
---|
| 224 |
|
---|
[5f5dcc2] | 225 | ac_add_options --with-pthreads
|
---|
[0e37869] | 226 |
|
---|
| 227 | ac_add_options --with-system-bz2
|
---|
[a0ace670] | 228 | ac_add_options --with-system-jpeg
|
---|
| 229 | ac_add_options --with-system-png
|
---|
| 230 | ac_add_options --with-system-zlib
|
---|
[aed37975] | 231 |
|
---|
[0e37869] | 232 | mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/firefox-build-dir
|
---|
| 233 | EOF</userinput></screen>
|
---|
[b9b7146] | 234 |
|
---|
[4c2bf3d6] | 235 | <para>
|
---|
[ea074c34] | 236 | If you are building against an already installed <application>Xulrunner</application>
|
---|
[4c2bf3d6] | 237 | apply the patch:
|
---|
| 238 | </para>
|
---|
| 239 |
|
---|
[40452959] | 240 | <screen><userinput>patch -Np1 -i ../firefox-&firefox-version;-search_box_fix-1.patch</userinput></screen>
|
---|
[fcd66369] | 241 |
|
---|
[c1ae13c] | 242 | <para>
|
---|
| 243 | Compile <application>Firefox</application> by issuing the following
|
---|
| 244 | commands:
|
---|
| 245 | </para>
|
---|
[5a13c45] | 246 |
|
---|
[23d3543c] | 247 | <screen><userinput>sed -i 's@ ""@@' browser/base/Makefile.in &&
|
---|
[495ebe07] | 248 | make -f client.mk</userinput></screen>
|
---|
[bccbdaea] | 249 |
|
---|
[0e37869] | 250 | <para>
|
---|
| 251 | This package does not come with a test suite.
|
---|
| 252 | </para>
|
---|
[01ce75f8] | 253 |
|
---|
[c1ae13c] | 254 | <para>
|
---|
[495ebe07] | 255 | If you have <emphasis>not</emphasis> linked
|
---|
| 256 | <application>Firefox</application> against an installed
|
---|
| 257 | <application>Xulrunner</application>:
|
---|
| 258 | </para>
|
---|
| 259 |
|
---|
| 260 | <screen><userinput>make -C firefox-build-dir/browser/installer</userinput></screen>
|
---|
| 261 |
|
---|
| 262 | <para>
|
---|
| 263 | Now, as the <systemitem class="username">root</systemitem> user, if you
|
---|
| 264 | have <emphasis>not</emphasis> linked <application>Firefox</application>
|
---|
| 265 | against an installed <application>Xulrunner</application>, install the
|
---|
| 266 | package:
|
---|
[c1ae13c] | 267 | </para>
|
---|
[5a13c45] | 268 |
|
---|
[ae00b764] | 269 | <screen role="root"><userinput>rm -rf /usr/lib/firefox-&firefox-version; &&
|
---|
[74f73ede] | 270 | mkdir /usr/lib/firefox-&firefox-version; &&
|
---|
| 271 |
|
---|
[2d7d257e] | 272 | tar -xvf firefox-build-dir/dist/firefox-&firefox-version;.en-US.linux-$(uname -m).tar.bz2 \
|
---|
[0e37869] | 273 | -C /usr/lib/firefox-&firefox-version; --strip-components=1 &&
|
---|
| 274 | chown -R -v root:root /usr/lib/firefox-&firefox-version; &&
|
---|
| 275 |
|
---|
| 276 | ln -sfv ../lib/firefox-&firefox-version;/firefox /usr/bin &&
|
---|
[74f73ede] | 277 |
|
---|
[0e37869] | 278 | mkdir -pv /usr/lib/mozilla/plugins &&
|
---|
| 279 | ln -sfv ../mozilla/plugins /usr/lib/firefox-&firefox-version;</userinput></screen>
|
---|
[495ebe07] | 280 |
|
---|
| 281 | <para>
|
---|
| 282 | If you <emphasis>have</emphasis> linked against an already installed
|
---|
| 283 | <application>Xulrunner</application>, as the
|
---|
| 284 | <systemitem class="username">root</systemitem> user:
|
---|
| 285 | </para>
|
---|
| 286 |
|
---|
| 287 | <screen role="root"><userinput>make -C firefox-build-dir install &&
|
---|
[31ab0f7] | 288 | ln -sfv ../lib/firefox-&firefox-version;/firefox /usr/bin &&
|
---|
| 289 | ln -sfv ../xulrunner-&firefox-version; /usr/lib/firefox-&firefox-version;/xulrunner &&
|
---|
[74f73ede] | 290 |
|
---|
[eb5f847a] | 291 | mkdir -pv /usr/lib/mozilla/plugins &&
|
---|
[0e37869] | 292 | ln -sfv ../mozilla/plugins /usr/lib/firefox-&firefox-version;</userinput></screen>
|
---|
[01ce75f8] | 293 |
|
---|
[2b89e0a] | 294 | <bridgehead renderas="sect3" id="npapi-firefox" xreflabel="Firefox">
|
---|
| 295 | NPAPI Headers
|
---|
| 296 | </bridgehead>
|
---|
[0e37869] | 297 |
|
---|
[c1ae13c] | 298 | <para>
|
---|
[de930747] | 299 | The above instructions just install the parts you need to run
|
---|
[7498751] | 300 | <application>Firefox</application>. If you want to compile
|
---|
| 301 | <xref linkend="gnash"/>, the open source version of Flash, copy some
|
---|
| 302 | headers that Gnash needs into /usr/include, as the
|
---|
| 303 | <systemitem class="username">root</systemitem> user:
|
---|
| 304 | </para>
|
---|
| 305 |
|
---|
[0e37869] | 306 | <screen role="root"><userinput>rm -rf /usr/include/npapi &&
|
---|
[eb5f847a] | 307 | mkdir -v /usr/include/npapi &&
|
---|
| 308 | cp -v dom/plugins/base/*.h /usr/include/npapi</userinput></screen>
|
---|
[0e37869] | 309 |
|
---|
| 310 | <note>
|
---|
| 311 | <para>
|
---|
| 312 | You don't need to install the headers if you have built
|
---|
| 313 | <application>Firefox</application> against
|
---|
| 314 | <application>Xulrunner</application>.
|
---|
| 315 | </para>
|
---|
| 316 | </note>
|
---|
| 317 |
|
---|
[b81991e1] | 318 | </sect2>
|
---|
| 319 |
|
---|
[361df3e] | 320 | <sect2 role="commands">
|
---|
| 321 | <title>Command Explanations</title>
|
---|
| 322 |
|
---|
[c1ae13c] | 323 | <para>
|
---|
[23d3543c] | 324 | <command>sed -i 's@ ""@@' browser/base/Makefile.in</command>: This sed
|
---|
[c1ae13c] | 325 | removes an unprintable control character from the title bar.
|
---|
| 326 | </para>
|
---|
| 327 |
|
---|
| 328 | <para>
|
---|
| 329 | <command>make -f client.mk ...</command>: Mozilla products are packaged to
|
---|
| 330 | allow the use of a configuration file which can be used to pass the
|
---|
| 331 | configuration settings to the <command>configure</command> command.
|
---|
| 332 | <command>make</command> uses the <filename>client.mk</filename> file to
|
---|
| 333 | get initial configuration and setup parameters.
|
---|
| 334 | </para>
|
---|
| 335 |
|
---|
| 336 | <para>
|
---|
| 337 | <command>make -C firefox-build-dir/browser/installer</command>: this
|
---|
| 338 | creates a <application>Firefox</application> tarball similar to the ones
|
---|
| 339 | you can download from Mozilla.
|
---|
| 340 | </para>
|
---|
| 341 |
|
---|
| 342 | <para>
|
---|
| 343 | <command>tar -xfv firefox-build-dir/dist ...</command>: This untars
|
---|
| 344 | <application>Firefox</application> in /usr/lib. The
|
---|
| 345 | <option>--strip-components=1</option> option removes the leading
|
---|
| 346 | 'firefox' directory from the filenames, allowing us to untar it
|
---|
[de930747] | 347 | into a versioned directory.
|
---|
[c1ae13c] | 348 | </para>
|
---|
| 349 |
|
---|
[495ebe07] | 350 | <para>
|
---|
| 351 | <command>make -C firefox-build-dir install</command>: This runs
|
---|
| 352 | <command>make install</command> in firefox-build-dir.
|
---|
| 353 | </para>
|
---|
| 354 |
|
---|
[c1ae13c] | 355 | <para>
|
---|
[ec64d28] | 356 | <command>ln -sfv ... /usr/bin/firefox</command>: This puts a symbolic link
|
---|
| 357 | to the <command>firefox</command> executable in your <envar>PATH</envar>
|
---|
| 358 | variable.
|
---|
[c1ae13c] | 359 | </para>
|
---|
| 360 |
|
---|
| 361 | <para>
|
---|
[ec64d28] | 362 | <command>mkdir -p /usr/lib/mozilla/plugins</command>: This checks
|
---|
[c1ae13c] | 363 | that <filename class="directory">/usr/lib/mozilla/plugins</filename>
|
---|
| 364 | exists.
|
---|
| 365 | </para>
|
---|
| 366 |
|
---|
| 367 | <para>
|
---|
[ec64d28] | 368 | <command>ln -sv ... /usr/lib/firefox-&firefox-version;</command>: This
|
---|
[0e37869] | 369 | command creates a symbolic link to
|
---|
[c1ae13c] | 370 | <filename class="directory">/usr/lib/mozilla/plugins</filename>. It's not
|
---|
[ec64d28] | 371 | really needed, as <application>Firefox</application> checks
|
---|
[c1ae13c] | 372 | <filename class="directory">/usr/lib/mozilla/plugins</filename> by
|
---|
[ec64d28] | 373 | default, but the symbolic link is made to keep all the plugins installed in
|
---|
[c1ae13c] | 374 | one folder.
|
---|
| 375 | </para>
|
---|
[fa1bc3e] | 376 |
|
---|
[b81991e1] | 377 | </sect2>
|
---|
| 378 |
|
---|
[88cec02] | 379 | <sect2 role="configuration">
|
---|
| 380 | <title>Configuring Firefox</title>
|
---|
| 381 |
|
---|
[c1ae13c] | 382 | <para>
|
---|
| 383 | If you deleted the <option>--disable-webm</option> option from your
|
---|
| 384 | <filename>mozconfig</filename>, your <application>Firefox</application>
|
---|
| 385 | can play most YouTube videos without the need for the flash plugin. To
|
---|
| 386 | enable this, go to <ulink url="http://www.youtube.com/html5"/> and click
|
---|
| 387 | on 'Join the HTML5 Trial' (needs cookies enabled).
|
---|
| 388 | </para>
|
---|
| 389 |
|
---|
| 390 | <para>
|
---|
| 391 | If you use a desktop environment like <application>Gnome</application> or
|
---|
| 392 | <application>KDE</application> you may like to create a
|
---|
| 393 | <filename>firefox.desktop</filename> file so that
|
---|
| 394 | <application>Firefox</application> appears in the panel's menus. If you
|
---|
| 395 | didn't enable startup-notification in your mozconfig change the
|
---|
| 396 | StartupNotify line to false. As the
|
---|
| 397 | <systemitem class="username">root</systemitem> user:
|
---|
| 398 | </para>
|
---|
[31de6e7] | 399 |
|
---|
[eb5f847a] | 400 | <screen role="root"><userinput>mkdir -pv /usr/share/applications &&
|
---|
[0e37869] | 401 | mkdir -pv /usr/share/pixmaps &&
|
---|
[74f73ede] | 402 |
|
---|
[c099902d] | 403 | cat > /usr/share/applications/firefox.desktop << "EOF" &&
|
---|
[fcd66369] | 404 | <literal>[Desktop Entry]
|
---|
[31de6e7] | 405 | Encoding=UTF-8
|
---|
[0e37869] | 406 | Name=Firefox Web Browser
|
---|
| 407 | Comment=Browse the World Wide Web
|
---|
| 408 | GenericName=Web Browser
|
---|
| 409 | Exec=firefox %u
|
---|
| 410 | Terminal=false
|
---|
[31de6e7] | 411 | Type=Application
|
---|
| 412 | Icon=firefox
|
---|
[0e37869] | 413 | Categories=GNOME;GTK;Network;WebBrowser;
|
---|
| 414 | MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
|
---|
[fcd66369] | 415 | StartupNotify=true</literal>
|
---|
[31de6e7] | 416 | EOF
|
---|
[74f73ede] | 417 |
|
---|
[376c8c0] | 418 | ln -sfv /usr/lib/firefox-&firefox-version;/browser/icons/mozicon128.png \
|
---|
[0e37869] | 419 | /usr/share/pixmaps/firefox.png</userinput></screen>
|
---|
| 420 |
|
---|
[88cec02] | 421 | </sect2>
|
---|
| 422 |
|
---|
[b81991e1] | 423 | <sect2 role="content">
|
---|
| 424 | <title>Contents</title>
|
---|
| 425 |
|
---|
| 426 | <segmentedlist>
|
---|
| 427 | <segtitle>Installed Programs</segtitle>
|
---|
| 428 | <segtitle>Installed Libraries</segtitle>
|
---|
| 429 | <segtitle>Installed Directories</segtitle>
|
---|
| 430 |
|
---|
| 431 | <seglistitem>
|
---|
[0e37869] | 432 | <seg>
|
---|
| 433 | firefox
|
---|
| 434 | </seg>
|
---|
[c1ae13c] | 435 | <seg>
|
---|
| 436 | Numerous libraries, browser components, plugins, extensions, and
|
---|
| 437 | helper modules installed in
|
---|
[0e37869] | 438 | <filename class="directory">/usr/lib/firefox-&firefox-version;</filename>
|
---|
[c1ae13c] | 439 | </seg>
|
---|
[7498751] | 440 | <seg>
|
---|
| 441 | /usr/include/npapi and
|
---|
[0e37869] | 442 | /usr/lib/firefox-&firefox-version;
|
---|
[7498751] | 443 | </seg>
|
---|
[b81991e1] | 444 | </seglistitem>
|
---|
| 445 | </segmentedlist>
|
---|
| 446 |
|
---|
| 447 | <variablelist>
|
---|
| 448 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 449 | <?dbfo list-presentation="list"?>
|
---|
| 450 | <?dbhtml list-presentation="table"?>
|
---|
| 451 |
|
---|
| 452 | <varlistentry id="firefox-prog">
|
---|
| 453 | <term><command>firefox</command></term>
|
---|
| 454 | <listitem>
|
---|
[c1ae13c] | 455 | <para>
|
---|
[0e37869] | 456 | is a <application>GTK+ 2</application> internet browser that uses the
|
---|
[a38269c] | 457 | Mozilla Gecko rendering engine.
|
---|
[c1ae13c] | 458 | </para>
|
---|
[b81991e1] | 459 | <indexterm zone="firefox firefox-prog">
|
---|
| 460 | <primary sortas="b-firefox">firefox</primary>
|
---|
| 461 | </indexterm>
|
---|
| 462 | </listitem>
|
---|
| 463 | </varlistentry>
|
---|
[0e37869] | 464 |
|
---|
[b81991e1] | 465 | </variablelist>
|
---|
[0e37869] | 466 |
|
---|
[b81991e1] | 467 | </sect2>
|
---|
[0e37869] | 468 |
|
---|
[4d37129] | 469 | </sect1>
|
---|