[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 |
|
---|
[0bcaa9a6] | 7 | <!ENTITY firefox-download-http "&mozilla-http;/firefox/releases/&firefox-version;/source/firefox-&firefox-version;.source.tar.xz">
|
---|
[59a6b63] | 8 | <!ENTITY firefox-download-ftp " ">
|
---|
[111038b] | 9 | <!ENTITY firefox-md5sum "bd6410592a8c608c0f771c056351493c">
|
---|
[14de4227] | 10 | <!ENTITY firefox-size "180 MB">
|
---|
[dc9a18a] | 11 | <!ENTITY firefox-buildsize "5.3 GB (84 MB installed)">
|
---|
| 12 | <!ENTITY firefox-time "12 SBU (with parallelism=4 on a recent intel i7, much longer on lesser CPUs)">
|
---|
[f939f05] | 13 | ]>
|
---|
| 14 |
|
---|
[ffe47ca2] | 15 | <sect1 id="firefox" xreflabel="Firefox-&firefox-version;">
|
---|
[b81991e1] | 16 | <?dbhtml filename="firefox.html" ?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>Firefox-&firefox-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="firefox">
|
---|
| 26 | <primary sortas="a-Firefox">Firefox</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Firefox</title>
|
---|
| 31 |
|
---|
[c1ae13c] | 32 | <para>
|
---|
| 33 | <application>Firefox</application> is a stand-alone browser based on the
|
---|
| 34 | <application>Mozilla</application> codebase.
|
---|
| 35 | </para>
|
---|
[b81991e1] | 36 |
|
---|
[568427f] | 37 | &lfs7a_checked;
|
---|
[76ae9a2] | 38 |
|
---|
[b81991e1] | 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
[c1ae13c] | 42 | <para>
|
---|
| 43 | Download (HTTP): <ulink url="&firefox-download-http;"/>
|
---|
| 44 | </para>
|
---|
[b81991e1] | 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
[c1ae13c] | 47 | <para>
|
---|
| 48 | Download (FTP): <ulink url="&firefox-download-ftp;"/>
|
---|
| 49 | </para>
|
---|
[b81991e1] | 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
[c1ae13c] | 52 | <para>
|
---|
| 53 | Download MD5 sum: &firefox-md5sum;
|
---|
| 54 | </para>
|
---|
[b81991e1] | 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
[c1ae13c] | 57 | <para>
|
---|
| 58 | Download size: &firefox-size;
|
---|
| 59 | </para>
|
---|
[b81991e1] | 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
[c1ae13c] | 62 | <para>
|
---|
| 63 | Estimated disk space required: &firefox-buildsize;
|
---|
| 64 | </para>
|
---|
[b81991e1] | 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
[c1ae13c] | 67 | <para>
|
---|
| 68 | Estimated build time: &firefox-time;
|
---|
| 69 | </para>
|
---|
[b81991e1] | 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
| 72 |
|
---|
[14de4227] | 73 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 74 | <itemizedlist spacing="compact">
|
---|
| 75 | <listitem>
|
---|
| 76 | <para>
|
---|
| 77 | Required patch if using gtk+-3.20 or later (do not use with earlier versions)
|
---|
| 78 | <ulink url="&patch-root;/firefox-&firefox-version;-gtk320-1.patch"/>
|
---|
| 79 | </para>
|
---|
| 80 | </listitem>
|
---|
| 81 | <listitem>
|
---|
| 82 | <para>
|
---|
| 83 | Optional patch to allow system versions of <xref linkend="graphite2"/>
|
---|
| 84 | and <xref linkend="harfbuzz"/> - this should be regarded as experimental
|
---|
[dc9a18a] | 85 | <ulink url="&patch-root;/firefox-&firefox-version;-system_graphite2_harfbuzz-2.patch"/>
|
---|
[14de4227] | 86 | </para>
|
---|
| 87 | </listitem>
|
---|
| 88 | </itemizedlist>
|
---|
| 89 |
|
---|
[f06c692] | 90 | <note>
|
---|
| 91 | <para>
|
---|
| 92 | The tarball <emphasis>firefox-&firefox-version;.source.tar.xz</emphasis>
|
---|
| 93 | will untar to <emphasis>firefox-&firefox-version;</emphasis> directory.
|
---|
[dc9a18a] | 94 | However, if you do this in a directory where the sticky bit is set, such
|
---|
| 95 | as <filename class="directory">/tmp</filename> it will end with error
|
---|
| 96 | messages:
|
---|
| 97 | </para>
|
---|
| 98 |
|
---|
| 99 | <literallayout>tar: .: Cannot utime: Operation not permitted
|
---|
| 100 | tar: .: Cannot change mode to rwxr-xr-t: Operation not permitted
|
---|
| 101 | tar: Exiting with failure status due to previous errors
|
---|
| 102 | </literallayout>
|
---|
| 103 |
|
---|
| 104 | <para>
|
---|
| 105 | This does finish with non-zero status, but it does
|
---|
| 106 | <emphasis>NOT</emphasis> mean there is a real problem.
|
---|
| 107 | Do not untar as the <systemitem class="username">root</systemitem> user
|
---|
| 108 | in a directory where the sticky bit is set - that will unset it.
|
---|
[f06c692] | 109 | </para>
|
---|
| 110 | </note>
|
---|
| 111 |
|
---|
[b81991e1] | 112 | <bridgehead renderas="sect3">Firefox Dependencies</bridgehead>
|
---|
| 113 |
|
---|
| 114 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[c1ae13c] | 115 | <para role="required">
|
---|
| 116 | <xref linkend="alsa-lib"/>,
|
---|
[14de4227] | 117 | <xref linkend="autoconf213"/>,
|
---|
| 118 | <xref linkend="gtk3"/>
|
---|
| 119 | (or <xref linkend="gtk2"/> if you change the mozconfig where indicated),
|
---|
[59a6b63] | 120 | <xref linkend="nss"/>,
|
---|
| 121 | <xref linkend="unzip"/>,
|
---|
[479e03a] | 122 | <xref linkend="yasm"/>, and
|
---|
| 123 | <xref linkend="zip"/>
|
---|
[c1ae13c] | 124 | </para>
|
---|
| 125 |
|
---|
[1555d3d] | 126 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[c1ae13c] | 127 | <para role="recommended">
|
---|
[7bf10b1] | 128 | <xref linkend="icu"/>,
|
---|
[0e37869] | 129 | <xref linkend="libevent"/>,
|
---|
[479e03a] | 130 | <xref linkend="libvpx"/>, and
|
---|
[a30a874] | 131 | <xref linkend="sqlite"/>
|
---|
[c1ae13c] | 132 | </para>
|
---|
[1555d3d] | 133 |
|
---|
[0e37869] | 134 | <note>
|
---|
| 135 | <para>
|
---|
[b9f61df] | 136 | If you don't install recommended dependencies, then internal copies of
|
---|
| 137 | those packages will be used. They might be tested to work, but they can
|
---|
| 138 | be out of date or contain security holes.
|
---|
[0e37869] | 139 | </para>
|
---|
| 140 | </note>
|
---|
| 141 |
|
---|
[5be3a74] | 142 | <note>
|
---|
| 143 | <para>
|
---|
[204c71d5] | 144 | With <application>Firefox-31.0</application> and later versions, you
|
---|
| 145 | must have installed <application>Openssl</application> before
|
---|
[b9f61df] | 146 | <application>Python 2</application> or the build system will quickly
|
---|
[5be3a74] | 147 | fail with output including "ImportError: cannot import name
|
---|
[0c3e9be8] | 148 | HTTPSHandler". If you are in any doubt about this (e.g. upgrading from
|
---|
| 149 | an older version of Firefox), check if
|
---|
| 150 | <filename>/usr/lib/python&python2-majorver;/lib-dynload/_ssl.so</filename>
|
---|
| 151 | exists. If it does not, reinstall <xref linkend="python2"/> (after
|
---|
[44204a0] | 152 | installing <xref linkend="openssl"/>). The latest version of any
|
---|
[0c3e9be8] | 153 | <emphasis>currently maintained</emphasis> version of Openssl should be
|
---|
[59a6b63] | 154 | satisfactory if already installed.
|
---|
[5be3a74] | 155 | </para>
|
---|
| 156 | </note>
|
---|
| 157 |
|
---|
[b81991e1] | 158 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[c1ae13c] | 159 | <para role="optional">
|
---|
[6c64623f] | 160 | <xref linkend="curl"/>,
|
---|
[c1ae13c] | 161 | <xref linkend="dbus-glib"/>,
|
---|
| 162 | <xref linkend="doxygen"/>,
|
---|
[d525da9c] | 163 | <xref linkend="GConf"/>,
|
---|
[dc9a18a] | 164 | <xref linkend="ffmpeg"/> (runtime),
|
---|
[9d2268bb] | 165 | <xref linkend="libwebp"/>,
|
---|
[26fa7d2] | 166 | <xref linkend="openjdk"/>,
|
---|
| 167 | <xref linkend="pulseaudio"/>,
|
---|
[0e37869] | 168 | <xref linkend="startup-notification"/>,
|
---|
[566fcae] | 169 | <xref linkend="valgrind"/>,
|
---|
[6000a3e] | 170 | <xref linkend="wget"/>,
|
---|
[73b06df] | 171 | <xref linkend="wireless_tools"/>,
|
---|
[b09ed46a] | 172 | <ulink url="https://hunspell.github.io/">Hunspell</ulink>,
|
---|
[59a6b63] | 173 | <ulink url="http://sourceforge.net/projects/liboauth/files/">liboauth</ulink>, and
|
---|
[14de4227] | 174 | <ulink url="https://github.com/libproxy/libproxy">libproxy</ulink>,
|
---|
| 175 | <ulink url="https://www.rust-lang.org/">Rust</ulink>,
|
---|
| 176 | and (with the patch)
|
---|
| 177 | <xref linkend="graphite2"/> and
|
---|
| 178 | <xref linkend="harfbuzz"/>
|
---|
[c1ae13c] | 179 | </para>
|
---|
| 180 |
|
---|
| 181 | <para condition="html" role="usernotes">
|
---|
| 182 | User Notes: <ulink url="&blfs-wiki;/firefox"/>
|
---|
| 183 | </para>
|
---|
[b81991e1] | 184 | </sect2>
|
---|
| 185 |
|
---|
| 186 | <sect2 role="installation">
|
---|
| 187 | <title>Installation of Firefox</title>
|
---|
| 188 |
|
---|
[f72a04a] | 189 | <para>
|
---|
[b9f61df] | 190 | The configuration of <application>Firefox</application> is accomplished
|
---|
| 191 | by creating a <filename>mozconfig</filename> file containing the desired
|
---|
| 192 | configuration options. A default <filename>mozconfig</filename> is
|
---|
| 193 | created below. To see the entire list of available configuration options
|
---|
| 194 | (and an abbreviated description of each one), issue <command>./configure
|
---|
[c1ae13c] | 195 | --help</command>. You may also wish to review the entire file and
|
---|
[b9f61df] | 196 | uncomment any other desired options. Create the file by issuing the
|
---|
| 197 | following command:
|
---|
[c1ae13c] | 198 | </para>
|
---|
[5a13c45] | 199 |
|
---|
[0e37869] | 200 | <screen><userinput>cat > mozconfig << "EOF"
|
---|
[dcb0fe6] | 201 | <literal># If you have a multicore machine, all cores will be used by default.
|
---|
| 202 | # If desired, you can reduce the number of cores used, e.g. to 1, by
|
---|
| 203 | # uncommenting the next line and setting a valid number of CPU cores.
|
---|
| 204 | #mk_add_options MOZ_MAKE_FLAGS="-j1"
|
---|
| 205 |
|
---|
| 206 | # If you have installed DBus-Glib comment out this line:
|
---|
[74eaf91] | 207 | ac_add_options --disable-dbus
|
---|
[aed37975] | 208 |
|
---|
[32cca2cd] | 209 | # If you have installed dbus-glib, and you have installed (or will install)
|
---|
| 210 | # wireless-tools, and you wish to use geolocation web services, comment out
|
---|
| 211 | # this line
|
---|
[6d1bf0e] | 212 | ac_add_options --disable-necko-wifi
|
---|
| 213 |
|
---|
[14de4227] | 214 | # Uncomment this option if you wish to build with gtk+-2
|
---|
| 215 | #ac_add_options --enable-default-toolkit=cairo-gtk2
|
---|
[4b0eaf01] | 216 |
|
---|
[48ae92a] | 217 | # Uncomment these lines if you have installed optional dependencies:
|
---|
[0e37869] | 218 | #ac_add_options --enable-system-hunspell
|
---|
| 219 | #ac_add_options --enable-startup-notification
|
---|
[495ebe07] | 220 |
|
---|
[27fd492b] | 221 | # Comment out following option if you have PulseAudio installed
|
---|
| 222 | ac_add_options --disable-pulseaudio
|
---|
[89cdb63d] | 223 |
|
---|
| 224 | # If you have installed GConf, comment out this line
|
---|
| 225 | ac_add_options --disable-gconf
|
---|
| 226 |
|
---|
[0e37869] | 227 | # Comment out following options if you have not installed
|
---|
| 228 | # recommended dependencies:
|
---|
| 229 | ac_add_options --enable-system-sqlite
|
---|
| 230 | ac_add_options --with-system-libevent
|
---|
| 231 | ac_add_options --with-system-libvpx
|
---|
| 232 | ac_add_options --with-system-nspr
|
---|
| 233 | ac_add_options --with-system-nss
|
---|
[7bf10b1] | 234 | ac_add_options --with-system-icu
|
---|
[0e37869] | 235 |
|
---|
[14de4227] | 236 | # If you are going to apply the patch for system graphite
|
---|
| 237 | # and system harfbuzz, uncomment these lines:
|
---|
| 238 | #ac_add_options --with-system-graphite2
|
---|
| 239 | #ac_add_options --with-system-harfbuzz
|
---|
| 240 |
|
---|
| 241 | # Stripping is now enabled by default.
|
---|
| 242 | # Uncomment these lines if you need to run a debugger:
|
---|
| 243 | #ac_add_options --disable-strip
|
---|
| 244 | #ac_add_options --disable-install-strip
|
---|
| 245 |
|
---|
[7251b1d] | 246 | # The BLFS editors recommend not changing anything below this line:
|
---|
[495ebe07] | 247 | ac_add_options --prefix=/usr
|
---|
[0e37869] | 248 | ac_add_options --enable-application=browser
|
---|
[495ebe07] | 249 |
|
---|
[5f5dcc2] | 250 | ac_add_options --disable-crashreporter
|
---|
| 251 | ac_add_options --disable-updater
|
---|
[0e37869] | 252 | ac_add_options --disable-tests
|
---|
| 253 |
|
---|
| 254 | ac_add_options --enable-optimize
|
---|
| 255 |
|
---|
| 256 | ac_add_options --enable-gio
|
---|
| 257 | ac_add_options --enable-official-branding
|
---|
| 258 | ac_add_options --enable-safe-browsing
|
---|
| 259 | ac_add_options --enable-url-classifier
|
---|
| 260 |
|
---|
[0bcaa9a6] | 261 | # From firefox-40, using system cairo causes firefox to crash
|
---|
| 262 | # frequently when it is doing background rendering in a tab.
|
---|
[d8ddab5] | 263 | #ac_add_options --enable-system-cairo
|
---|
[41f2e90] | 264 | ac_add_options --enable-system-ffi
|
---|
[0e37869] | 265 | ac_add_options --enable-system-pixman
|
---|
| 266 |
|
---|
[5f5dcc2] | 267 | ac_add_options --with-pthreads
|
---|
[0e37869] | 268 |
|
---|
| 269 | ac_add_options --with-system-bz2
|
---|
[a0ace670] | 270 | ac_add_options --with-system-jpeg
|
---|
| 271 | ac_add_options --with-system-png
|
---|
| 272 | ac_add_options --with-system-zlib
|
---|
[aed37975] | 273 |
|
---|
[4def8b6] | 274 | mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/firefox-build-dir</literal>
|
---|
[0e37869] | 275 | EOF</userinput></screen>
|
---|
[b9b7146] | 276 |
|
---|
[c1ae13c] | 277 | <para>
|
---|
| 278 | Compile <application>Firefox</application> by issuing the following
|
---|
| 279 | commands:
|
---|
| 280 | </para>
|
---|
[9572e88] | 281 |
|
---|
[14de4227] | 282 | <para>
|
---|
| 283 | If you are using gtk+-3.20 or later, apply a patch to restore the
|
---|
| 284 | slider on scrollbars:
|
---|
| 285 | </para>
|
---|
| 286 |
|
---|
| 287 | <screen><userinput>patch -Np1 -i ../firefox-&firefox-version;-gtk320-1.patch</userinput></screen>
|
---|
| 288 |
|
---|
| 289 | <para>
|
---|
| 290 | If you have installed system versions of graphite2 and harfbuzz and wish
|
---|
| 291 | firefox to use those instead of its shipped versions, apply the patch and
|
---|
| 292 | uncomment the appropriate entries in the <filename>mozconfig</filename>
|
---|
| 293 | file:
|
---|
| 294 | </para>
|
---|
| 295 |
|
---|
| 296 | <screen><userinput>patch -Np1 -i ../firefox-&firefox-version;-system_graphite2_harfbuzz-1.patch</userinput></screen>
|
---|
| 297 |
|
---|
[8b3a8979] | 298 | <note><para>
|
---|
[9572e88] | 299 | If you are compiling <application>Firefox</application> in chroot, make
|
---|
| 300 | sure you have <envar>$SHELL</envar> environment variable set or prepend
|
---|
[566fcae] | 301 | <envar>SHELL=/bin/sh</envar>.
|
---|
[8b3a8979] | 302 | </para></note>
|
---|
[566fcae] | 303 |
|
---|
[6c4bb8f] | 304 | <screen><userinput>export CFLAGS_HOLD=$CFLAGS &&
|
---|
| 305 | export CXXFLAGS_HOLD=$CXXFLAGS &&
|
---|
| 306 | export CFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2" &&
|
---|
| 307 | export CXXFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2" &&
|
---|
[2e15af7] | 308 |
|
---|
| 309 | make -f client.mk</userinput></screen>
|
---|
[bccbdaea] | 310 |
|
---|
[0e37869] | 311 | <para>
|
---|
| 312 | This package does not come with a test suite.
|
---|
| 313 | </para>
|
---|
[01ce75f8] | 314 |
|
---|
[495ebe07] | 315 | <para>
|
---|
[b9f61df] | 316 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
[c1ae13c] | 317 | </para>
|
---|
[5a13c45] | 318 |
|
---|
[da67029] | 319 | <screen role="root"><userinput>make -f client.mk install INSTALL_SDK= &&
|
---|
[89cdb63d] | 320 | chown -R 0:0 /usr/lib/firefox-&firefox-version; &&
|
---|
[5ee1266] | 321 |
|
---|
| 322 | mkdir -pv /usr/lib/mozilla/plugins &&
|
---|
[6c4bb8f] | 323 | ln -sfv ../../mozilla/plugins /usr/lib/firefox-&firefox-version;/browser &&
|
---|
| 324 |
|
---|
| 325 | export CFLAGS=$CFLAGS_HOLD &&
|
---|
| 326 | export CXXFLAGS=$CXXFLAGS_HOLD &&
|
---|
| 327 | unset CFLAGS_HOLD CXXFLAGS_HOLD</userinput></screen>
|
---|
[01ce75f8] | 328 |
|
---|
[b81991e1] | 329 | </sect2>
|
---|
| 330 |
|
---|
[361df3e] | 331 | <sect2 role="commands">
|
---|
| 332 | <title>Command Explanations</title>
|
---|
[566fcae] | 333 |
|
---|
[14de4227] | 334 | <para>
|
---|
| 335 | <command>CFLAGS= ... CXXFLAGS= ...</command>: These settings work around
|
---|
| 336 | code which gcc6 would otherwise regard as out-of-specification and allow
|
---|
| 337 | it to produce a working program.
|
---|
[0e78dee] | 338 | </para>
|
---|
| 339 |
|
---|
[c1ae13c] | 340 | <para>
|
---|
| 341 | <command>make -f client.mk ...</command>: Mozilla products are packaged to
|
---|
| 342 | allow the use of a configuration file which can be used to pass the
|
---|
| 343 | configuration settings to the <command>configure</command> command.
|
---|
| 344 | <command>make</command> uses the <filename>client.mk</filename> file to
|
---|
| 345 | get initial configuration and setup parameters.
|
---|
| 346 | </para>
|
---|
| 347 |
|
---|
| 348 | <para>
|
---|
[ec64d28] | 349 | <command>mkdir -p /usr/lib/mozilla/plugins</command>: This checks
|
---|
[c1ae13c] | 350 | that <filename class="directory">/usr/lib/mozilla/plugins</filename>
|
---|
| 351 | exists.
|
---|
| 352 | </para>
|
---|
| 353 |
|
---|
| 354 | <para>
|
---|
[24da103] | 355 | <command>ln -sv ... /usr/lib/firefox-&firefox-version;/browser</command>:
|
---|
| 356 | This command creates a symbolic link to <filename
|
---|
| 357 | class="directory">/usr/lib/mozilla/plugins</filename>. It's not really
|
---|
| 358 | needed, as <application>Firefox</application> checks <filename
|
---|
| 359 | class="directory">/usr/lib/mozilla/plugins</filename> by default, but the
|
---|
| 360 | symbolic link is made to keep all the plugins installed in one folder.
|
---|
[c1ae13c] | 361 | </para>
|
---|
[fa1bc3e] | 362 |
|
---|
[b81991e1] | 363 | </sect2>
|
---|
| 364 |
|
---|
[88cec02] | 365 | <sect2 role="configuration">
|
---|
| 366 | <title>Configuring Firefox</title>
|
---|
| 367 |
|
---|
[c1ae13c] | 368 | <para>
|
---|
| 369 | If you use a desktop environment like <application>Gnome</application> or
|
---|
| 370 | <application>KDE</application> you may like to create a
|
---|
| 371 | <filename>firefox.desktop</filename> file so that
|
---|
| 372 | <application>Firefox</application> appears in the panel's menus. If you
|
---|
| 373 | didn't enable startup-notification in your mozconfig change the
|
---|
| 374 | StartupNotify line to false. As the
|
---|
| 375 | <systemitem class="username">root</systemitem> user:
|
---|
| 376 | </para>
|
---|
[31de6e7] | 377 |
|
---|
[eb5f847a] | 378 | <screen role="root"><userinput>mkdir -pv /usr/share/applications &&
|
---|
[0e37869] | 379 | mkdir -pv /usr/share/pixmaps &&
|
---|
[74f73ede] | 380 |
|
---|
[c099902d] | 381 | cat > /usr/share/applications/firefox.desktop << "EOF" &&
|
---|
[fcd66369] | 382 | <literal>[Desktop Entry]
|
---|
[31de6e7] | 383 | Encoding=UTF-8
|
---|
[0e37869] | 384 | Name=Firefox Web Browser
|
---|
| 385 | Comment=Browse the World Wide Web
|
---|
| 386 | GenericName=Web Browser
|
---|
| 387 | Exec=firefox %u
|
---|
| 388 | Terminal=false
|
---|
[31de6e7] | 389 | Type=Application
|
---|
| 390 | Icon=firefox
|
---|
[0e37869] | 391 | Categories=GNOME;GTK;Network;WebBrowser;
|
---|
| 392 | MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
|
---|
[fcd66369] | 393 | StartupNotify=true</literal>
|
---|
[31de6e7] | 394 | EOF
|
---|
[74f73ede] | 395 |
|
---|
[376c8c0] | 396 | ln -sfv /usr/lib/firefox-&firefox-version;/browser/icons/mozicon128.png \
|
---|
[0e37869] | 397 | /usr/share/pixmaps/firefox.png</userinput></screen>
|
---|
| 398 |
|
---|
[88cec02] | 399 | </sect2>
|
---|
| 400 |
|
---|
[b81991e1] | 401 | <sect2 role="content">
|
---|
| 402 | <title>Contents</title>
|
---|
| 403 |
|
---|
| 404 | <segmentedlist>
|
---|
| 405 | <segtitle>Installed Programs</segtitle>
|
---|
| 406 | <segtitle>Installed Libraries</segtitle>
|
---|
[c5f005b] | 407 | <segtitle>Installed Directory</segtitle>
|
---|
[b81991e1] | 408 |
|
---|
| 409 | <seglistitem>
|
---|
[0e37869] | 410 | <seg>
|
---|
| 411 | firefox
|
---|
| 412 | </seg>
|
---|
[c1ae13c] | 413 | <seg>
|
---|
| 414 | Numerous libraries, browser components, plugins, extensions, and
|
---|
[dbc7eaed] | 415 | helper modules installed in /usr/lib/firefox-&firefox-version;
|
---|
[c1ae13c] | 416 | </seg>
|
---|
[7498751] | 417 | <seg>
|
---|
[0e37869] | 418 | /usr/lib/firefox-&firefox-version;
|
---|
[7498751] | 419 | </seg>
|
---|
[b81991e1] | 420 | </seglistitem>
|
---|
| 421 | </segmentedlist>
|
---|
| 422 |
|
---|
| 423 | <variablelist>
|
---|
| 424 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 425 | <?dbfo list-presentation="list"?>
|
---|
| 426 | <?dbhtml list-presentation="table"?>
|
---|
| 427 |
|
---|
| 428 | <varlistentry id="firefox-prog">
|
---|
| 429 | <term><command>firefox</command></term>
|
---|
| 430 | <listitem>
|
---|
[c1ae13c] | 431 | <para>
|
---|
[dc9a18a] | 432 | is a <application>GTK+ 3</application> internet browser that uses the
|
---|
[a38269c] | 433 | Mozilla Gecko rendering engine.
|
---|
[c1ae13c] | 434 | </para>
|
---|
[b81991e1] | 435 | <indexterm zone="firefox firefox-prog">
|
---|
| 436 | <primary sortas="b-firefox">firefox</primary>
|
---|
| 437 | </indexterm>
|
---|
| 438 | </listitem>
|
---|
| 439 | </varlistentry>
|
---|
[0e37869] | 440 |
|
---|
[b81991e1] | 441 | </variablelist>
|
---|
[0e37869] | 442 |
|
---|
[b81991e1] | 443 | </sect2>
|
---|
[0e37869] | 444 |
|
---|
[4d37129] | 445 | </sect1>
|
---|