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