Changeset c1ae13c


Ignore:
Timestamp:
03/14/2012 02:46:53 PM (12 years ago)
Author:
Andrew Benton <andy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
86e74f2f
Parents:
dfdc10b
Message:

firefox-11.0

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9694 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    rdfdc10b rc1ae13c  
    44-->
    55
    6 <!ENTITY day          "13">                   <!-- Always 2 digits -->
     6<!ENTITY day          "14">                   <!-- Always 2 digits -->
    77<!ENTITY month        "03">                   <!-- Always 2 digits -->
    88<!ENTITY year         "2012">
     
    1010<!ENTITY copyholder   "The BLFS Development Team">
    1111<!ENTITY version      "&year;-&month;-&day;">
    12 <!ENTITY releasedate  "March 13th, &year;">
     12<!ENTITY releasedate  "March 14th, &year;">
    1313<!-- <!ENTITY releasedate  "November &day;st, &year;"> -->
    1414<!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
     
    621621<!ENTITY goffice-version              "0.8.17">
    622622<!ENTITY mesalib-version              "7.9">
    623 <!ENTITY xulrunner-version            "10.0.2">
     623<!ENTITY xulrunner-version            "11.0">
    624624<!ENTITY webkitgtk-version            "1.6.1">
    625625<!ENTITY libsexy-version              "0.1.11">
     
    894894<!ENTITY seamonkey-version            "2.7.2">
    895895<!-- Don't forget xulrunner -->
    896 <!ENTITY firefox-version              "10.0.2">
     896<!ENTITY firefox-version              "11.0">
    897897
    898898<!-- Obsolete
  • introduction/welcome/changelog.xml

    rdfdc10b rc1ae13c  
    4646      <itemizedlist>
    4747        <listitem>
     48          <para>[abenton] - Firefox/Xulrunner 11.0.</para>
     49        </listitem>
     50      </itemizedlist>
     51    </listitem>
     52
     53    <listitem>
     54      <para>March 13th, 2012</para>
     55      <itemizedlist>
     56        <listitem>
    4857          <para>[bdubbs] - Updates to initramfs scripts.</para>
    4958        </listitem>
  • x/lib/xulrunner.xml

    rdfdc10b rc1ae13c  
    1010  "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/&firefox-version;/source/firefox-&firefox-version;.source.tar.bz2">
    1111  <!-- md5sum and size should match firefox, but the buildsize and time will differ -->
    12   <!ENTITY xulrunner-md5sum        "5ce038d591964f72c534fa33b75a62f5">
    13   <!ENTITY xulrunner-size          "72 MB">
     12  <!ENTITY xulrunner-md5sum        "4b07acf47857aff72776d805409cdd1b">
     13  <!ENTITY xulrunner-size          "75 MB">
    1414  <!ENTITY xulrunner-buildsize     "2.6 GB (440 MB installed)">
    1515  <!ENTITY xulrunner-time          "22 SBU">
     
    3333    <title>Introduction to Xulrunner</title>
    3434
    35     <para><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 the
    38     gecko engine together with pkgconfig files so that applications such as
    39     <application>Yelp</application> can find and use it.  However, be aware that
    40     Gnome applications are transitioning to <application>Webkit</application>
    41     instead of gecko.</para>
     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>
    4242
    4343    &lfs71_checked;
     
    4646    <itemizedlist spacing="compact">
    4747      <listitem>
    48         <para>Download (HTTP): <ulink url="&xulrunner-download-http;"/></para>
    49       </listitem>
    50       <listitem>
    51         <para>Download (FTP): <ulink url="&xulrunner-download-ftp;"/></para>
    52       </listitem>
    53       <listitem>
    54         <para>Download MD5 sum: &xulrunner-md5sum;</para>
    55       </listitem>
    56       <listitem>
    57         <para>Download size: &xulrunner-size;</para>
    58       </listitem>
    59       <listitem>
    60         <para>Estimated disk space required: &xulrunner-buildsize;</para>
    61       </listitem>
    62       <listitem>
    63         <para>Estimated build time: &xulrunner-time;</para>
     48        <para>
     49          Download (HTTP): <ulink url="&xulrunner-download-http;"/>
     50        </para>
     51      </listitem>
     52      <listitem>
     53        <para>
     54          Download (FTP): <ulink url="&xulrunner-download-ftp;"/>
     55        </para>
     56      </listitem>
     57      <listitem>
     58        <para>
     59          Download MD5 sum: &xulrunner-md5sum;
     60        </para>
     61      </listitem>
     62      <listitem>
     63        <para>
     64          Download size: &xulrunner-size;
     65        </para>
     66      </listitem>
     67      <listitem>
     68        <para>
     69          Estimated disk space required: &xulrunner-buildsize;
     70        </para>
     71      </listitem>
     72      <listitem>
     73        <para>
     74          Estimated build time: &xulrunner-time;
     75        </para>
    6476      </listitem>
    6577    </itemizedlist>
     
    6880
    6981    <bridgehead renderas="sect4">Required</bridgehead>
    70     <para role="required"><xref linkend="alsa-lib"/>, <xref linkend="gtk2"/>,
    71     <xref linkend="zip"/> and <xref linkend="unzip"/>.</para>
    72 
    73     <para>Note: <application>libjpeg</application> and
    74     <application>libpng</application> (patched for apng support) should have
    75     been installed before <application>gdk-pixbuf</application> and should
    76     exist on your system. If for some strange reason you haven't installed
    77     them, you should remove the <option>--with-system-jpeg</option> and
    78     <option>--with-system-png</option> options from the
    79     <filename>mozconfig</filename> file created below.</para>
     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
     89    <para>
     90      Note: <application>libjpeg</application> and
     91      <application>libpng</application> (patched for apng support) should have
     92      been installed before <application>gdk-pixbuf</application> and should
     93      exist on your system. If for some strange reason you haven't installed
     94      them, you should remove the <option>--with-system-jpeg</option> and
     95      <option>--with-system-png</option> options from the
     96      <filename>mozconfig</filename> file created below.
     97    </para>
    8098
    8199    <bridgehead renderas="sect4">Recommended</bridgehead>
    82     <para role="recommended"><xref linkend="yasm"/> or
    83     <xref linkend="libvpx"/>.</para>
     100    <para role="recommended">
     101      <xref linkend="yasm"/> or <xref linkend="libvpx"/>
     102      (to allow <application>Xulrunner</application> to play webm videos).
     103    </para>
    84104
    85105    <bridgehead renderas="sect4">Optional</bridgehead>
    86     <para role="optional"><xref linkend="dbus-glib"/>,
    87     <xref linkend="startup-notification"/>, <xref linkend="sqlite"/>,
    88     <ulink url="http://www.webmproject.org/code/">libvpx</ulink>,
    89     <ulink url="http://sourceforge.net/projects/hunspell/">Hunspell</ulink>,
    90     <ulink url="http://libevent.org/">Libevent</ulink>,
    91     <xref linkend="doxygen"/>,
    92     <xref linkend="gnome-vfs"/> and <xref linkend="libgnomeui"/> (for gnome
    93     integration), <xref linkend="libnotify"/>, <xref linkend="nspr"/>,
    94     <xref linkend="nss"/>, <xref linkend="unzip"/>,
    95     <xref linkend="wireless_tools"/>,
    96     <ulink url="http://www.valgrind.org/">Valgrind</ulink> (only for testing
    97     the jemalloc code) and <xref linkend="wget"/></para>
    98 
    99     <para condition="html" role="usernotes">User Notes:
    100     <ulink url="&blfs-wiki;/xulrunner"/></para>
     106    <para role="optional">
     107      <xref linkend="dbus-glib"/>,
     108      <xref linkend="startup-notification"/>,
     109      <xref linkend="sqlite"/>,
     110      <ulink url="http://sourceforge.net/projects/hunspell/">Hunspell</ulink>,
     111      <ulink url="http://libevent.org/">Libevent</ulink>,
     112      <xref linkend="doxygen"/>,
     113      <xref linkend="gnome-vfs"/> and <xref linkend="libgnomeui"/> (for
     114      integration with the old version of <application>Gnome</application>),
     115      <xref linkend="libnotify"/>,
     116      <xref linkend="nspr"/>,
     117      <xref linkend="nss"/>,
     118      <xref linkend="wireless_tools"/>,
     119      <ulink url="http://www.valgrind.org/">Valgrind</ulink> (only for testing
     120      the jemalloc code) and
     121      <xref linkend="wget"/>
     122    </para>
     123
     124    <para condition="html" role="usernotes">
     125      User Notes: <ulink url="&blfs-wiki;/xulrunner"/>
     126    </para>
    101127  </sect2>
    102128
     
    104130    <title>Installation of Xulrunner</title>
    105131
    106     <para>The configuration of <application>Xulrunner</application> is
    107     accomplished by creating a <filename>mozconfig</filename> file containing
    108     the desired configuration options. A default <filename>mozconfig</filename>
    109     is created below. To see the entire list of available configuration options
    110     (and an abbreviated description of each one), issue
    111     <command>./configure --help</command>. You should review the entire file
    112     and comment or uncomment options as necessary.</para>
     132    <para>
     133      The configuration of <application>Xulrunner</application> is accomplished
     134      by creating a <filename>mozconfig</filename> file containing the desired
     135      configuration options. A default <filename>mozconfig</filename> is created
     136      below. To see the entire list of available configuration options (and an
     137      abbreviated description of each one), issue <command>./configure
     138      --help</command>. You should review the entire file and comment or
     139      uncomment options as necessary.
     140    </para>
    113141
    114142<screen><userinput>cat &gt; mozconfig &lt;&lt; "EOF"
     
    156184EOF</userinput></screen>
    157185
    158     <para>Install <application>Xulrunner</application> by issuing the
    159     following commands:</para>
     186    <para>
     187      Install <application>Xulrunner</application> by issuing the following
     188      commands:
     189    </para>
    160190
    161191<screen><userinput>sed -i 's#VPX_CODEC_USE_INPUT_PARTITION#VPX_CODEC_USE_INPUT_FRAGMENTS#' configure &amp;&amp;
     
    163193make -f client.mk</userinput></screen>
    164194
    165     <para>This package does not come with a test suite.</para>
    166 
    167     <para>Now, as the <systemitem class="username">root</systemitem>
    168     user:</para>
     195    <para>
     196      This package does not come with a test suite.
     197    </para>
     198
     199    <para>
     200      Now, as the <systemitem class="username">root</systemitem> user:
     201    </para>
    169202
    170203<screen role="root"><userinput>make -C xulrunner-build-dir install &amp;&amp;
     
    174207chown -Rv root:root /usr/{include,lib,share/idl}/xulrunner-*</userinput></screen>
    175208
    176     <para>If you elected to use the included NSPR and NSS (ie, if you have
    177     <emphasis>not</emphasis> installed <xref linkend="nspr"/> and
    178     <xref linkend="nss"/>), while still the
    179     <systemitem class="username">root</systemitem> user, complete the
    180     installation with the following commands:</para>
     209    <para>
     210      If you elected to use the included NSPR and NSS (ie, if you have
     211      <emphasis>not</emphasis> installed <xref linkend="nspr"/> and
     212      <xref linkend="nss"/>), while still the
     213      <systemitem class="username">root</systemitem> user, complete the
     214      installation with the following commands:
     215    </para>
    181216
    182217<screen role="root"><userinput>for DL in libnss3.so libnssutil3.so libsmime3.so \
     
    190225    <title>Command Explanations</title>
    191226
    192     <para><command>sed -i 's#VPX_CODEC_USE ...</command>: This fixes
    193     <application>Xulrunner's</application> <command>configure</command>
    194     script to properly detect libvpx-v1.0.0. It is not needed if you have
    195     libvpx-v0.9.7 or earlier installed or if you've not installed
    196     <xref linkend="libvpx"/>.</para>
    197 
    198     <para><command>sed ... Requires: nspr</command>: If you try to build
    199     <application>Yelp</application> without this, the
    200     prtypes header from NSPR will not be found. It is arguable whose error this
    201     is (the code presumably works on earlier geckos), but this fix is unlikely
    202     to cause any damage in other packages.</para>
    203 
    204     <para><command>make -f client.mk ...</command>: Mozilla products are
    205     packaged to allow the use of a configuration file which can be used to
    206     pass the configuration settings to the <command>configure</command>
    207     command. <command>make</command> uses the <filename>client.mk</filename>
    208     file to get initial configuration and setup parameters.</para>
    209 
    210     <para><command>ln -sv ../mozilla/plugins ...</command>: Some packages will
    211     install browser plugins into
    212     <filename class="directory">/usr/lib/mozilla/plugins</filename>.
    213     Creating this symlink <application>Xulrunner</application> keeps additional
    214     plugins in a common directory.</para>
    215 
    216     <para><command>for DL in ...</command>: The NSPR and NSS libraries shipped
    217     with this package are installed into
    218     <filename
    219     class="directory">/usr/lib/xulrunner-&xulrunner-version;</filename>
    220     which means they will not be found at runtime.  By using symbolic links
    221     from <filename class="directory">/usr/lib</filename> the libraries will be
    222     found and the links can be easily changed to point to a newer version
    223     during an upgrade.</para>
    224 
    225    <note>
    226      <para>When you upgrade Xulrunner, remember to update the symlinks.</para>
    227    </note>
     227    <para>
     228      <command>sed -i 's#VPX_CODEC_USE_INPUT_PARTITION ...</command>: This fixes
     229      <application>Xulrunner's</application> <command>configure</command>
     230      script to properly detect <xref linkend="libvpx"/>. It is not needed if
     231      you have libvpx-v0.9.7 or earlier installed or if you've not installed
     232      <application>Libvpx</application>.
     233        </para>
     234
     235    <para>
     236      <command>sed ... Requires: nspr</command>: If you try to build some other
     237      applications without this, the prtypes header from NSPR will not be found.
     238    </para>
     239
     240    <para>
     241      <command>make -f client.mk ...</command>: Mozilla products are packaged to
     242      allow the use of a configuration file which can be used to pass the
     243      configuration settings to the <command>configure</command> command.
     244      <command>make</command> uses the <filename>client.mk</filename> file to
     245      get initial configuration and setup parameters.
     246    </para>
     247
     248    <para>
     249      <command>ln -sv ../mozilla/plugins ...</command>: Some packages will
     250      install browser plugins into
     251      <filename class="directory">/usr/lib/mozilla/plugins</filename>.
     252      Creating this symlink <application>Xulrunner</application> keeps
     253      additional plugins in a common directory.
     254    </para>
     255
     256    <para>
     257      <command>for DL in ...</command>: The NSPR and NSS libraries shipped
     258      with this package are installed into
     259      <filename class="directory">/usr/lib/xulrunner-&xulrunner-version;</filename>
     260      which means they will not be found at runtime. By using symbolic links
     261      from <filename class="directory">/usr/lib</filename> the libraries will be
     262      found and the links can be easily changed to point to a newer version
     263      during an upgrade.
     264    </para>
     265
     266    <note>
     267      <para>
     268        When you upgrade Xulrunner, remember to update the symlinks.
     269      </para>
     270    </note>
    228271  </sect2>
    229272
     
    256299        <term><command>xulrunner</command></term>
    257300        <listitem>
    258           <para>is a shell script, useful for identifying the version
    259           installed.</para>
     301          <para>
     302            is a shell script, useful for identifying the version installed.
     303          </para>
    260304          <indexterm zone="xulrunner xulrunner-prog">
    261305            <primary sortas="b-xulrunner">xulrunner</primary>
  • xsoft/graphweb/firefox.xml

    rdfdc10b rc1ae13c  
    99  <!ENTITY firefox-download-ftp
    1010  "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/&firefox-version;/source/firefox-&firefox-version;.source.tar.bz2">
    11   <!ENTITY firefox-md5sum        "5ce038d591964f72c534fa33b75a62f5">
    12   <!ENTITY firefox-size          "72 MB">
     11  <!ENTITY firefox-md5sum        "4b07acf47857aff72776d805409cdd1b">
     12  <!ENTITY firefox-size          "75 MB">
    1313  <!ENTITY firefox-buildsize     "3 GB (33 MB installed)">
    1414  <!ENTITY firefox-time          "24 SBU (or 0.3 SBU if you're building against
     
    3333    <title>Introduction to Firefox</title>
    3434
    35     <para><application>Firefox</application> is a stand-alone browser
    36     based on the <application>Mozilla</application> codebase.</para>
     35    <para>
     36      <application>Firefox</application> is a stand-alone browser based on the
     37      <application>Mozilla</application> codebase.
     38    </para>
    3739
    3840    &lfs71_checked;
     
    4143    <itemizedlist spacing="compact">
    4244      <listitem>
    43         <para>Download (HTTP): <ulink url="&firefox-download-http;"/></para>
    44       </listitem>
    45       <listitem>
    46         <para>Download (FTP): <ulink url="&firefox-download-ftp;"/></para>
    47       </listitem>
    48       <listitem>
    49         <para>Download MD5 sum: &firefox-md5sum;</para>
    50       </listitem>
    51       <listitem>
    52         <para>Download size: &firefox-size;</para>
    53       </listitem>
    54       <listitem>
    55         <para>Estimated disk space required: &firefox-buildsize;</para>
    56       </listitem>
    57       <listitem>
    58         <para>Estimated build time: &firefox-time;</para>
     45        <para>
     46          Download (HTTP): <ulink url="&firefox-download-http;"/>
     47        </para>
     48      </listitem>
     49      <listitem>
     50        <para>
     51          Download (FTP): <ulink url="&firefox-download-ftp;"/>
     52        </para>
     53      </listitem>
     54      <listitem>
     55        <para>
     56          Download MD5 sum: &firefox-md5sum;
     57        </para>
     58      </listitem>
     59      <listitem>
     60        <para>
     61          Download size: &firefox-size;
     62        </para>
     63      </listitem>
     64      <listitem>
     65        <para>
     66          Estimated disk space required: &firefox-buildsize;
     67        </para>
     68      </listitem>
     69      <listitem>
     70        <para>
     71          Estimated build time: &firefox-time;
     72        </para>
    5973      </listitem>
    6074    </itemizedlist>
     
    6377
    6478    <bridgehead renderas="sect4">Required</bridgehead>
    65     <para role="required"><xref linkend="alsa-lib"/>, <xref linkend="gtk2"/>,
    66     <xref linkend="zip"/> and <xref linkend="unzip"/>.</para>
    67 
    68     <para>Note: <application>libjpeg</application> and
    69     <application>libpng</application> (patched for apng support) should have
    70     been installed before <application>gdk-pixbuf</application> and should
    71     exist on your system. If for some strange reason you haven't installed
    72     them, you should remove the <option>--with-system-jpeg</option> and
    73     <option>--with-system-png</option> options from the
    74     <filename>mozconfig</filename> file created below.</para>
     79    <para role="required">
     80      <xref linkend="alsa-lib"/>,
     81      <xref linkend="gtk2"/>,
     82      <xref linkend="zip"/> and
     83      <xref linkend="unzip"/>.
     84    </para>
     85
     86    <para>
     87      Note: <application>libjpeg</application> and
     88      <application>libpng</application> (patched for apng support) should have
     89      been installed before <application>gdk-pixbuf</application> and should
     90      exist on your system. If for some strange reason you haven't installed
     91      them, you should remove the <option>--with-system-jpeg</option> and
     92      <option>--with-system-png</option> options from the
     93      <filename>mozconfig</filename> file created below.
     94    </para>
    7595
    7696    <bridgehead renderas="sect4">Recommended</bridgehead>
    77     <para role="recommended"><xref linkend="yasm"/> or
    78     <xref linkend="libvpx"/> (to allow <application>Firefox</application> to
    79     play webm videos).</para>
     97    <para role="recommended">
     98      <xref linkend="yasm"/> or <xref linkend="libvpx"/>
     99      (to allow <application>Firefox</application> to play webm videos).
     100    </para>
    80101
    81102    <bridgehead renderas="sect4">Optional</bridgehead>
    82     <para role="optional"><xref linkend="dbus-glib"/>,
    83     <xref linkend="startup-notification"/>, <xref linkend="sqlite"/>,
    84     <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>,
    85     <ulink url="http://libevent.org/">Libevent</ulink>,
    86     <xref linkend="doxygen"/>, <xref linkend="gnome-vfs"/> and
    87     <xref linkend="libgnomeui"/> (for gnome integration),
    88     <xref linkend="libnotify"/>, <xref linkend="nspr"/>, <xref linkend="nss"/>,
    89     <xref linkend="xulrunner"/> (linking against an installed xulrunner makes
    90     Firefox about 32 MB smaller, which is trivial compared to the size of
    91     xulrunner), <xref linkend="wireless_tools"/>,
    92     <ulink url="http://www.valgrind.org/">Valgrind</ulink> (only for testing
    93     the jemalloc code) and <xref linkend="wget"/></para>
    94 
    95     <para condition="html" role="usernotes">User Notes:
    96     <ulink url="&blfs-wiki;/firefox"/></para>
     103    <para role="optional">
     104      <xref linkend="dbus-glib"/>,
     105      <xref linkend="startup-notification"/>,
     106      <xref linkend="sqlite"/>,
     107      <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>,
     108      <ulink url="http://libevent.org/">Libevent</ulink>,
     109      <xref linkend="doxygen"/>,
     110      <xref linkend="gnome-vfs"/> and
     111      <xref linkend="libgnomeui"/> (for integration with the old version of
     112      <application>Gnome</application>),
     113      <xref linkend="libnotify"/>,
     114      <xref linkend="nspr"/>, <xref linkend="nss"/>,
     115      <xref linkend="xulrunner"/> (linking against an installed xulrunner makes
     116      Firefox about 32 MB smaller, which is trivial compared to the size of
     117      xulrunner),
     118      <xref linkend="wireless_tools"/>,
     119      <ulink url="http://www.valgrind.org/">Valgrind</ulink> (only for testing
     120      the jemalloc code) and
     121      <xref linkend="wget"/>
     122    </para>
     123
     124    <para condition="html" role="usernotes">
     125      User Notes: <ulink url="&blfs-wiki;/firefox"/>
     126    </para>
    97127  </sect2>
    98128
     
    100130    <title>Installation of Firefox</title>
    101131
    102     <para>The configuration of <application>Firefox</application> is
    103     accomplished by creating a <filename>mozconfig</filename> file containing
    104     the desired configuration options. A default <filename>mozconfig</filename>
    105     is created below. To see the entire list of available configuration options
    106     (and an abbreviated description of each one), issue
    107     <command>./configure --help</command>. You may also wish to review the
    108     entire file and uncomment any other desired options. Create the file by
    109     issuing the following command:</para>
     132    <para>
     133      The configuration of <application>Firefox</application> is accomplished by
     134      creating a <filename>mozconfig</filename> file containing the desired
     135      configuration options. A default <filename>mozconfig</filename> is created
     136      below. To see the entire list of available configuration options (and an
     137      abbreviated description of each one), issue <command>./configure
     138      --help</command>. You may also wish to review the entire file and
     139      uncomment any other desired options. Create the file by issuing the
     140      following command:
     141    </para>
    110142
    111143<screen><userinput>cat &gt; mozconfig &lt;&lt; "EOF"
     
    160192EOF</userinput></screen>
    161193
    162     <para>Compile <application>Firefox</application> by issuing the
    163     following commands:</para>
     194    <para>
     195      Compile <application>Firefox</application> by issuing the following
     196      commands:
     197    </para>
    164198
    165199<screen><userinput>sed -i 's#VPX_CODEC_USE_INPUT_PARTITION#VPX_CODEC_USE_INPUT_FRAGMENTS#' configure &amp;&amp;
     
    167201make -f client.mk</userinput></screen>
    168202
    169     <para>If you have <emphasis>not</emphasis> linked
    170     <application>Firefox</application> against an installed
    171     <application>Xulrunner</application>:</para>
     203    <para>
     204      This package does not come with a test suite.
     205    </para>
     206
     207    <para>
     208      If you have <emphasis>not</emphasis> linked
     209      <application>Firefox</application> against an installed
     210      <application>Xulrunner</application>:
     211    </para>
    172212
    173213<screen><userinput>make -C firefox-build-dir/browser/installer</userinput></screen>
    174214
    175     <para>This package does not come with a test suite.</para>
    176 
    177     <para>Now, if you have <emphasis>not</emphasis> linked
    178     <application>Firefox</application> against an installed
    179     <application>Xulrunner</application>, as the
    180     <systemitem class="username">root</systemitem> user, install the
    181     package:</para>
     215    <para>
     216      Now, as the <systemitem class="username">root</systemitem> user, if you
     217      have <emphasis>not</emphasis> linked <application>Firefox</application>
     218      against an installed <application>Xulrunner</application>, install the
     219      package:
     220    </para>
    182221
    183222<screen role="root"><userinput>mkdir /usr/lib/firefox-&firefox-version; &amp;&amp;
     
    188227chown -R -v root:root /usr/lib/firefox-&firefox-version;</userinput></screen>
    189228
    190     <para>If you <emphasis>have</emphasis> linked against an already installed
    191     <application>Xulrunner</application>, as the
    192     <systemitem class="username">root</systemitem> user:</para>
     229    <para>
     230      If you <emphasis>have</emphasis> linked against an already installed
     231      <application>Xulrunner</application>, as the
     232      <systemitem class="username">root</systemitem> user:
     233    </para>
    193234
    194235<screen role="root"><userinput>make -C firefox-build-dir install &amp;&amp;
     
    207248    <title>Command Explanations</title>
    208249
    209     <para><command>sed -i 's#VPX_CODEC_USE ...</command>: This fixes
    210     <application>Firefox's</application> <command>configure</command>
    211     script to properly detect libvpx-v1.0.0. It is not needed if you have
    212     libvpx-v0.9.7 or earlier installed or if you've not installed
    213     <xref linkend="libvpx"/>.</para>
    214 
    215     <para><command>sed -i 's# ""##' browser/base/Makefile.in</command>: This
    216     sed removes an unprintable control character from the title bar.</para>
    217 
    218     <para><command>make -f client.mk ...</command>: Mozilla products are
    219     packaged to allow the use of a configuration file which can be used to
    220     pass the configuration settings to the <command>configure</command>
    221     command. <command>make</command> uses the <filename>client.mk</filename>
    222     file to get initial configuration and setup parameters.</para>
    223 
    224     <para><command>make -C firefox-build-dir/browser/installer</command>:
    225     this creates a <application>Firefox</application> tarball.</para>
    226 
    227     <para><command>tar -xfv firefox-build-dir/dist ...</command>: This untars
    228     <application>Firefox</application> in /usr/lib. The
    229     <option>--strip-components=1</option> option removes the leading
    230     'firefox' directory from the filenames, allowing us to untar it
    231     into a versioned directory. Untaring it (instead of running make install)
    232     prevents it installing /usr/lib/firefox-devel-&firefox-version; which
    233     contains about 430 MB of files. If you need any of those files,
    234     they're in <xref linkend="xulrunner"/></para>
    235 
    236     <para><command>make -C firefox-build-dir install</command>: This runs
    237     <command>make install</command> in firefox-build-dir.</para>
    238 
    239     <para><command>ln -sfv ... /usr/bin/firefox</command>: this puts a symbolic
    240     link to the <command>firefox</command> executable in your ${PATH}.</para>
    241 
    242     <para><command>mkdir -p /usr/lib/mozilla/plugins</command>: this checks
    243     that /usr/lib/mozilla/plugins exists (if you installed
    244     <xref linkend="librsvg"/>, it was probably already there).</para>
    245 
    246     <para><command>ln -sv ... /usr/lib/firefox-&firefox-version;</command>:
    247     this makes a symbolic link to /usr/lib/mozilla/plugins.</para>
     250    <para>
     251      <command>sed -i 's#VPX_CODEC_USE_INPUT_PARTITION ...</command>: This fixes
     252      <application>Firefox's</application> <command>configure</command>
     253      script to properly detect <xref linkend="libvpx"/>. It is not needed if
     254      you have libvpx-v0.9.7 or earlier installed or if you've not installed
     255      <application>Libvpx</application>.
     256    </para>
     257
     258    <para>
     259      <command>sed -i 's# ""##' browser/base/Makefile.in</command>: This sed
     260      removes an unprintable control character from the title bar.
     261    </para>
     262
     263    <para>
     264      <command>make -f client.mk ...</command>: Mozilla products are packaged to
     265      allow the use of a configuration file which can be used to pass the
     266      configuration settings to the <command>configure</command> command.
     267      <command>make</command> uses the <filename>client.mk</filename> file to
     268      get initial configuration and setup parameters.
     269    </para>
     270
     271    <para>
     272      <command>make -C firefox-build-dir/browser/installer</command>: this
     273      creates a <application>Firefox</application> tarball similar to the ones
     274      you can download from Mozilla.
     275    </para>
     276
     277    <para>
     278      <command>tar -xfv firefox-build-dir/dist ...</command>: This untars
     279      <application>Firefox</application> in /usr/lib. The
     280      <option>--strip-components=1</option> option removes the leading
     281      'firefox' directory from the filenames, allowing us to untar it
     282      into a versioned directory. Untaring it (instead of running make install)
     283      prevents it installing
     284      <filename class="directory">/usr/lib/firefox-devel-&firefox-version;</filename>
     285      which contains about 430 MB of files. If you need any of those files,
     286      they're in <xref linkend="xulrunner"/>
     287    </para>
     288
     289    <para>
     290      <command>make -C firefox-build-dir install</command>: This runs
     291      <command>make install</command> in firefox-build-dir.
     292    </para>
     293
     294    <para>
     295      <command>ln -sfv ... /usr/bin/firefox</command>: this puts a symbolic link
     296      to the <command>firefox</command> executable in your ${PATH}.
     297    </para>
     298
     299    <para>
     300      <command>mkdir -p /usr/lib/mozilla/plugins</command>: this checks
     301      that <filename class="directory">/usr/lib/mozilla/plugins</filename>
     302      exists.
     303    </para>
     304
     305    <para>
     306      <command>ln -sv ... /usr/lib/firefox-&firefox-version;</command>: this
     307      makes a symbolic link to
     308      <filename class="directory">/usr/lib/mozilla/plugins</filename>. It's not
     309      really needed, <application>Firefox</application> checks
     310      <filename class="directory">/usr/lib/mozilla/plugins</filename> by
     311      default, we make the symbolic link to keep all the plugins installed in
     312      one folder.
     313    </para>
    248314  </sect2>
    249315
     
    251317    <title>Configuring Firefox</title>
    252318
    253     <para>If you deleted the <option>--disable-webm</option> option from your
    254     <filename>mozconfig</filename>, your <application>Firefox</application>
    255     can play most YouTube videos without the need for the flash plugin. To
    256     enable this, go to <ulink
    257     url="http://www.youtube.com/html5">http://www.youtube.com/html5</ulink>
    258     and click on 'Join the HTML5 Trial' (needs cookies enabled).</para>
    259 
    260     <para>If you use a desktop environment like <application>Gnome</application>
    261     or <application>KDE</application> you may like to create a
    262     <filename>firefox.desktop</filename> file so that
    263     <application>Firefox</application> appears in the panel's menus. If you
    264     didn't enable startup-notification in your mozconfig change the
    265     StartupNotify line to false. As the
    266     <systemitem class="username">root</systemitem> user:</para>
     319    <para>
     320      If you deleted the <option>--disable-webm</option> option from your
     321      <filename>mozconfig</filename>, your <application>Firefox</application>
     322      can play most YouTube videos without the need for the flash plugin. To
     323      enable this, go to <ulink url="http://www.youtube.com/html5"/> and click
     324      on 'Join the HTML5 Trial' (needs cookies enabled).
     325    </para>
     326
     327    <para>
     328      If you use a desktop environment like <application>Gnome</application> or
     329      <application>KDE</application> you may like to create a
     330      <filename>firefox.desktop</filename> file so that
     331      <application>Firefox</application> appears in the panel's menus. If you
     332      didn't enable startup-notification in your mozconfig change the
     333      StartupNotify line to false. As the
     334      <systemitem class="username">root</systemitem> user:
     335    </para>
    267336
    268337<screen role="root"><userinput>cat &gt; /usr/share/applications/firefox.desktop &lt;&lt; "EOF"
     
    291360      <seglistitem>
    292361        <seg>firefox</seg>
    293         <seg>Numerous libraries, browser components, plugins, extensions, and
    294         helper modules installed in <filename
    295         class="directory">/usr/lib/firefox-&firefox-version;</filename>.</seg>
     362        <seg>
     363          Numerous libraries, browser components, plugins, extensions, and
     364          helper modules installed in
     365          <filename class="directory">/usr/lib/firefox-&firefox-version;</filename>.
     366        </seg>
    296367        <seg>/usr/lib/firefox-&firefox-version;</seg>
    297368      </seglistitem>
     
    306377        <term><command>firefox</command></term>
    307378        <listitem>
    308           <para>is a gtk2 internet browser that uses the gecko rendering
    309           engine.</para>
     379          <para>
     380            is a gtk2 internet browser that uses the Gecko rendering engine.
     381          </para>
    310382          <indexterm zone="firefox firefox-prog">
    311383            <primary sortas="b-firefox">firefox</primary>
Note: See TracChangeset for help on using the changeset viewer.