Changeset 2082307d


Ignore:
Timestamp:
09/06/2009 06:18:18 AM (15 years ago)
Author:
DJ Lucas <dj@…>
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:
1b46c878
Parents:
2d007c58
Message:

Updated to Xulrunner-1.9.1.2 and Firefox-3.5.2.

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

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r2d007c58 r2082307d  
    44-->
    55
    6 <!ENTITY day          "05">                   <!-- Always 2 digits -->
     6<!ENTITY day          "06">                   <!-- Always 2 digits -->
    77<!ENTITY month        "09">                   <!-- Always 2 digits -->
    88<!ENTITY year         "2009">
     
    483483<!ENTITY goffice-version              "0.6.1">
    484484<!-- The xulrunner version also appears in the firefox mozconfig as a literal -->
    485 <!ENTITY xulrunner-version            "1.9.0.7">
     485<!ENTITY xulrunner-version            "1.9.1.2">
    486486
    487487<!-- Chapter 27 -->
     
    643643<!-- Chapter 36 -->
    644644<!ENTITY seamonkey-version            "1.1.9">
    645 <!ENTITY firefox-version              "3.0.7">
     645<!ENTITY firefox-version              "3.5.2">
    646646<!ENTITY galeon-version               "2.0.1">
    647647
  • introduction/welcome/changelog.xml

    r2d007c58 r2082307d  
    4242-->
    4343    <listitem>
     44      <para>September 6th, 2009</para>
     45      <itemizedlist>
     46        <listitem>
     47          <para>[dj] - Updated to Xulrunner-1.9.1.2 and Firefox-3.5.2.</para>
     48        </listitem>
     49      </itemizedlist>
     50    </listitem>
     51
     52    <listitem>
    4453      <para>September 5th, 2009</para>
    4554      <itemizedlist>
  • x/lib/xulrunner.xml

    r2d007c58 r2082307d  
    88  <!ENTITY xulrunner-download-ftp  "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/&firefox-version;/source/firefox-&firefox-version;-source.tar.bz2">
    99  <!-- md5sum and size should match firefox, but the buildize and time will differ -->
    10   <!ENTITY xulrunner-md5sum        "9875c9237b532009df8e91c3785539a3">
    11   <!ENTITY xulrunner-size          "35.3 MB">
    12   <!ENTITY xulrunner-buildsize     "663 MB">
    13   <!ENTITY xulrunner-time          "13.2 SBU">
     10  <!ENTITY xulrunner-md5sum        "136867f95c86f3988b7f825e874b85de">
     11  <!ENTITY xulrunner-size          "45 MB">
     12  <!ENTITY xulrunner-buildsize     "318 MB">
     13  <!ENTITY xulrunner-time          "11 SBU">
    1414]>
    1515
     
    3737    <application>Yelp</application> can use it.</para>
    3838
    39    <note>
    40     <para>If you later build a newer version of <application>xulrunner</application>
    41     to pick up the latest security fixes, you <emphasis>must</emphasis> update the
    42     symlinks (including for nss, nspr if you are using the versions in
    43     <application>xulrunner</application>) and rebuild every application which uses
    44     gecko, including upgrading <application>firefox</application> if you have installed
    45     that.</para>
    46    </note>
    47 
    4839    <bridgehead renderas="sect3">Package Information</bridgehead>
    4940    <itemizedlist spacing="compact">
     
    5748        <application>xulrunner</application> appears at the same time. At other
    5849        times it appears several days later or not at all. So far in the
    59         <application>firefox-3.0</application> series, every new release has
     50        <application>firefox-3.x</application> series, every new release has
    6051        created xulrunner libraries with a corresponding new version. Whenever
    6152        a separate xulrunner tarball has been released, it has been bitwise
     
    7162      </listitem>
    7263      <listitem>
    73         <para>Estimated disk space required: &xulrunner-buildsize;</para>
    74       </listitem>
    75       <listitem>
    76         <para>Estimated build time: &xulrunner-time;</para>
     64        <para>Estimated disk space required: &xulrunner-buildsize; (using
     65        recommended dependencies)</para>
     66      </listitem>
     67      <listitem>
     68        <para>Estimated build time: &xulrunner-time; (using recommended
     69        dependencies)</para>
    7770      </listitem>
    7871    </itemizedlist>
    7972
     73    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     74    <itemizedlist spacing="compact">
     75      <listitem>
     76        <para>Optional patch: <ulink
     77        url="&patch-root;/firefox-&firefox-version;-provide_system_nspr_nss-1.patch"/>
     78        (Required if using the included NSPR and NSS libs as system versions for
     79        other packages)</para>
     80      </listitem>
     81    </itemizedlist>
     82
    8083    <bridgehead renderas="sect3">Xulrunner Dependencies</bridgehead>
    8184
    8285    <bridgehead renderas="sect4">Required</bridgehead>
    83     <para role="required"><xref linkend="gtk2"/>,
    84     <xref linkend="libidl"/>
    85     <xref linkend="pango"/>
     86    <para role="required"><xref linkend="alsa-lib"/>
     87    <xref linkend="gtk2"/>,
     88    <xref linkend="libidl"/>,
     89    <xref linkend="pango"/>,
    8690    <xref linkend="python"/>, and
    8791    <xref linkend="zip"/></para>
     
    9296    you should remove the <option>--with-system-jpeg</option> option from the
    9397    <filename>.mozconfig</filename> file created below.</para>
     98
     99    <bridgehead renderas="sect4">Recommended</bridgehead>
     100    <para role="recommended"><xref linkend="sqlite"/> (internal sqlite is
     101    incompatable with existing or future installations)</para>
    94102
    95103    <bridgehead renderas="sect4">Optional</bridgehead>
     
    101109    <xref linkend="lcms"/>,
    102110    <xref linkend="libpng"/> (patched for apng support),
    103     <xref linkend="sqlite"/>,
     111    <xref linkend="nspr"/> (recommended if you build any other Mozilla.org
     112    packages),
     113    <xref linkend="nss"/> (recommended if you build any other Mozilla.org
     114    packages),
    104115    <xref linkend="startup-notification"/>.
    105116    <xref linkend="unzip"/>,
     
    116127    <title>Installation of Xulrunner</title>
    117128
    118   <!-- FIXME : I assume current OOo can't use xulrunner ?
    119     lines near the bottom of the file. If you are going to build the
    120     <application>OpenOffice</application> package and you want to use this
    121     <application>Xulrunner</application> installation as the default
    122     <application>Mozilla</application> source, ensure you uncomment the
    123         + substitutions to stop the comment breaking the syntax
    124     <option>++enable-ldap+/option+ option in the file created below. -->
    125129    <para>The configuration of <application>Xulrunner</application> is
    126130    accomplished by creating a <filename>.mozconfig</filename> file containing
     
    128132    is created below. To see the entire list of available configuration options
    129133    (and an abbreviated description of each one), issue
    130     <command>./configure --help</command>.  If you are going to use
    131     system-installed versions of the <application>NSS</application> and
    132     <application>NSPR</application> libraries, ensure you uncomment the two
    133     lines near the bottom of the file.
    134     You should review the entire file and comment or uncomment options as
    135     necessary. If you would prefer to download the file instead of creating
    136     it by typing or cut-and-pasting, you can find it at <ulink
    137     url="&files-anduin;/xulrunner-&xulrunner-version;-mozconfig"/>
     134    <command>./configure --help</command>. You should review the entire file
     135    and comment or uncomment options as necessary. If you would prefer to
     136    download the file instead of creating it by typing or cut-and-pasting, you
     137    can find it at
     138    <ulink url="&files-anduin;/xulrunner-&xulrunner-version;-mozconfig"/>
    138139    (the file must be installed in the root of the source tree
    139140    <filename class='directory'>mozilla</filename> directory, and named
     
    169170# These options are used so that the Xulrunner binaries are linked to
    170171# the system-installed copies of the specified libraries instead of
    171 # the source tree code which may not be the most recent versions (or,
    172 # for cairo, may contain additional patches) : with the exception of
    173 # libsqlite3, the libraries are statically linked - using the shipped
    174 # version of libsqlite3 has been reported to cause problems with other
    175 # applications which were using sqlite3.
    176 
    177 # (the --enable-system options)
    178 # comment this if you want to use whatever patched version of cairo
     172# the source tree code which may not be the most recent versions.
     173# With the exception of libsqlite3, the libraries are statically linked.
     174
     175# (Options to use system installed libraries)
     176# Using the shipped version of libsqlite3 has been reported to cause
     177# problems with other applications which were using sqlite3.
     178# Only comment this line if you know excatly what you are doing!
     179ac_add_options --enable-system-sqlite
     180
     181# Comment this only if you want to use whatever patched version of cairo
    179182# is in the shipped mozilla tree, together with the system headers.
    180183ac_add_options --enable-system-cairo
    181184
    182 # comment this if you have not installed lcms
     185# Comment this if you have not installed lcms.
    183186ac_add_options --enable-system-lcms
    184187
    185 # comment this if you have not installed sqlite
    186 ac_add_options --enable-system-sqlite
    187 
    188 # (the --with-system options)
    189 # comment this if you did not build libjpeg before gtk+-2
     188# Comment this if you did not build libjpeg before GTK+-2.
    190189ac_add_options --with-system-jpeg
    191190
    192191# These two options enable support for building Xulrunner with
    193192# system-installed versions of the Network Security Services (NSS)
    194 # and Netscape Portable Runtime (NSPR) libraries. Uncomment both
    195 # lines to enable support for system-installed NSS/NSPR instead of
    196 # building the versions shipped with xulrunner.
    197 #ac_add_options --with-system-nspr
    198 #ac_add_options --with-system-nss
    199 
    200 # comment this if you have not built png with the apng patch
     193# and Netscape Portable Runtime (NSPR) libraries. Comment them if
     194# you wish to use the included copies (not recommended).
     195ac_add_options --with-system-nspr
     196ac_add_options --with-system-nss
     197
     198# Comment this if you have not built png with the apng patch.
    201199ac_add_options --with-system-png
    202200
    203201# The pthreads option is only used when building nspr
    204 # so you can comment this if you enable --with-system-nspr
    205 ac_add_options --with-pthreads
    206 
    207 # zlib is in LFS
     202# Uncomment this if you build the included nspr.
     203#ac_add_options --with-pthreads
     204
     205# zlib is included in LFS. Do not comment this line.
    208206ac_add_options --with-system-zlib
    209207
    210 # (options to disable parts of the package)
     208# (Options to disable parts of the package)
    211209# This option is used to disable the a11y support in the Xulrunner
    212210# binaries. Comment out this option if you require a11y support.
    213211ac_add_options --disable-accessibility
    214212
    215 # uncomment this if you did not build curl
    216 #ac_add_options --disable-crashreporter
    217 
    218 # comment this if you have built dbus-glib
    219 ac_add_options --disable-dbus
    220 
    221 # comment this if you have gnome-vfs and libgnomeui, and wish to
     213# Uncomment this if you did not build curl.
     214ac_add_options --disable-crashreporter
     215
     216# Comment this if you have built dbus-glib.
     217#ac_add_options --disable-dbus
     218
     219# Comment this if you have gnome-vfs and libgnomeui, and wish to
    222220# integrate xulrunner into your gnome desktop
    223221ac_add_options --disable-gnomevfs
     
    249247# compiling the OpenOffice package from source code using this copy
    250248# of Xulrunner for your Mozilla support.
    251 # This has NOT been tested, current versions of OpenOffice are
    252 # assumed not to compile against this version of xulrunner!
     249#
     250# This has NOT been tested, the current status of OpenOffice
     251# and xulrunner is unknown! (Remove this comment before release)
    253252#
    254253###################################################################
    255254#ac_add_options --enable-ldap
    256255
    257 # Use the anti-phishing measures (a blacklist of sites)
     256# Use the anti-phishing measures (a blacklist of sites).
    258257ac_add_options --enable-safe-browsing
    259258
     
    269268#ac_add_options --enable-xinerama
    270269
    271 # ('with' options)
    272270# This option identifies the default binary directory of the Xulrunner
    273271# installation and is used to locate Xulrunner's installed files. This
    274 # option is not required for end-user browsing, and is only used for
    275 # development purposes.
     272# option is is only used for development purposes.
    276273#ac_add_options --with-default-mozilla-five-home=/usr/lib/xulrunner-&xulrunner-version;</literal>
    277274
    278275EOF</userinput></screen>
     276
     277    <para>If you did not install <xref linkend="nspr"/> and
     278    <xref linkend="nss"/>, then apply the patch with the following
     279    command:</para>
     280
     281<screen><userinput>patch -Np1 -i ../firefox-&firefox-version;-provide_system_nss_nspr-1.patch</userinput></screen>
    279282
    280283    <para>Compile <application>Xulrunner</application> by issuing the
     
    290293
    291294<screen role="root"><userinput>make -f client.mk install &amp;&amp;
    292 for DL in \
     295mkdir /usr/lib/mozilla &amp;&amp;
     296ln -sv /usr/lib/xulrunner-&xulrunner-version;/plugins \
     297    /usr/lib/mozilla/plugins</userinput></screen>
     298
     299    <para>If you've elected to use the included NSPR and NSS, while still the
     300    <systemitem class="username">root</systemitem> user, complete the
     301    installation with the following commands:</para>
     302
     303<screen role="root"><userinput>for DL in \
    293304    libnss3.so libnssutil3.so libsmime3.so libssl3.so libsoftokn3.so \
    294     libplds4.so libplc4.so libnspr4.so ; do
    295         ln -sv xulrunner-&xulrunner-version;/$DL /usr/lib/$DL
    296 done &amp;&amp;
    297 ln -sv mozilla-nspr.pc /usr/lib/pkgconfig/nspr.pc &amp;&amp;
    298 mkdir /usr/lib/mozilla &amp;&amp;
    299 ln -sv /usr/lib/xulrunner-&xulrunner-version;/plugins /usr/lib/mozilla/plugins</userinput></screen>
     305    libplds4.so libplc4.so libnspr4.so
     306do
     307    ln -sv xulrunner-&xulrunner-version;/$DL /usr/lib/$DL
     308done</userinput></screen>
    300309
    301310  </sect2>
  • xsoft/graphweb/firefox.xml

    r2d007c58 r2082307d  
    77  <!ENTITY firefox-download-http "http://releases.mozilla.org/pub/mozilla.org/firefox/releases/&firefox-version;/source/firefox-&firefox-version;-source.tar.bz2">
    88  <!ENTITY firefox-download-ftp  "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/&firefox-version;/source/firefox-&firefox-version;-source.tar.bz2">
    9   <!ENTITY firefox-md5sum        "9875c9237b532009df8e91c3785539a3">
    10   <!ENTITY firefox-size          "35.3 MB">
    11   <!ENTITY firefox-buildsize     "674 MB (stand-alone) or 408MB (on xulrunner)">
    12   <!ENTITY firefox-time          "13.4 SBU (stand-alone) or 0.3 SBU (on xulrunner)">
     9  <!ENTITY firefox-md5sum        "136867f95c86f3988b7f825e874b85de">
     10  <!ENTITY firefox-size          " MB">
     11  <!ENTITY firefox-buildsize     "322 MB (stand-alone) or 291 MB (on xulrunner)">
     12  <!ENTITY firefox-time          "11 SBU (stand-alone) or 0.2 SBU (on xulrunner)">
    1313]>
    1414
     
    3333    based on the <application>Mozilla</application> codebase.</para>
    3434
    35     <para>With the introduction of firefox-3, the <application>pkgconfig</application>
    36     files for the Gecko engine (and for <application>nss</application> and
    37     <application>nspr</application>) are not installed.  This means that applications
    38     such as <application>Epiphany</application> can no longer be built against firefox,
    39     and must instead be built against xulrunner (which is actually the same code, but
    40     built in a different way).  If you wish to build other packages which use Gecko (for
    41     the moment, probably only gnome-2.24 or later versions will recognize xulrunner),
    42     build <xref linkend="xulrunner"/> first.</para>
     35    <para>With the introduction of firefox-3.x, the
     36    <application>pkgconfig</application> files for the Gecko engine (and for
     37    <application>nss</application> and <application>nspr</application>) are not
     38    installed.  This means that applications such as
     39    <application>Epiphany</application> can no longer be built against firefox,
     40    and must instead be built against xulrunner (which is actually the same
     41    code, but built in a different way).  If you wish to build other packages
     42    which use Gecko (for the moment, probably only gnome-2.24 or later versions
     43    will recognize xulrunner), build <xref linkend="xulrunner"/> first.</para>
    4344
    4445   <tip>
    45     <para>Firefox is updated frequently as new vulnerabilities are found.  Consult
     46    <para>Firefox is updated frequently as new vulnerabilities are found.
     47    Consult
    4648    <ulink url="http://www.mozilla.org/security/known-vulnerabilities/">mozilla security</ulink>
    47     for details of what is fixed in newer releases.  The editors cannot guess what
    48     will differ in newer versions: it should be straightforward to upgrade within the
    49     same series (3.0), but it is always possible that newer versions will have increased
    50     dependencies, or that something using the nss or gecko libraries will break.  If you
    51     update, begin by updating <application>xulrunner</application> if you use that, then
    52     update firefox (ensuring the libxul-sdk option points to the new version).</para>
     49    for details of what is fixed in newer releases.  The editors cannot guess
     50    what will differ in newer versions: it should be straightforward to upgrade
     51    within the same series (3.5), but it is always possible that newer versions
     52    will have increased dependencies, or that something using the nss or gecko
     53    libraries will break.  If you update, begin by updating
     54    <application>xulrunner</application> if you use that, then update firefox
     55   (ensuring the libxul-sdk option points to the new version).</para>
    5356   </tip>
    5457
     
    7578    </itemizedlist>
    7679
     80    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     81    <itemizedlist spacing="compact">
     82      <listitem>
     83        <para>Optional patch: <ulink
     84        url="&patch-root;/firefox-&firefox-version;-provide_system_nspr_nss-1.patch"/>
     85        (Required if using the included NSPR and NSS libs as system versions for
     86        other packages)</para>
     87      </listitem>
     88    </itemizedlist>
     89
    7790    <bridgehead renderas="sect3">Firefox Dependencies</bridgehead>
    7891
    7992    <bridgehead renderas="sect4">Recommended</bridgehead>
    80     <para role="optional"><xref linkend="xulrunner"/> which shares all these
     93    <para role="recommended"><xref linkend="xulrunner"/> which shares all these
    8194    dependencies, or for a standalone firefox the following Required and
    8295    Optional dependencies:</para>
    8396
    8497    <bridgehead renderas="sect4">Required</bridgehead>
    85     <para role="required"><xref linkend="gtk2"/>,
     98    <para role="required"><xref linkend="alsa-lib"/>,
     99    <xref linkend="gtk2"/>,
    86100    <xref linkend="libidl"/>
    87101    <xref linkend="pango"/>
     
    103117    <xref linkend="lcms"/>,
    104118    <xref linkend="libpng"/> (patched for apng support),
     119    <xref linkend="nspr"/>,
     120    <xref linkend="nss"/>,
     121    <xref linkend="startup-notification"/>.
    105122    <xref linkend="sqlite"/>,
    106     <xref linkend="startup-notification"/>.
    107123    <xref linkend="unzip"/>,
    108124    <ulink url="http://www.valgrind.org/">Valgrind</ulink> (only for testing the
     
    123139    is created below. To see the entire list of available configuration options
    124140    (and an abbreviated description of each one), issue
    125     <command>./configure --help</command>.  If you are going to use
    126     system-installed versions of the <application>NSS</application> and
    127     <application>NSPR</application> libraries, ensure you uncomment the two
    128     lines near the bottom of the file. If you are going to build the
    129     <application>OpenOffice</application> package and you want to use this
    130     <application>Firefox</application> installation as the default
    131     <application>Mozilla</application> source, ensure you uncomment the
    132     <option>--enable-ldap</option> option in the file created below.
    133     If you are building against <application>Xulrunner</application> you
    134     must uncomment the 'xulrunner' item.
     141    <command>./configure --help</command>. If you are not building against
     142    <application>Xulrunner</application> you must comment the 'xulrunner' items.
    135143    You may also wish to review the entire file and uncomment any other desired
    136144    options. If you would prefer to download the file instead of creating it by
     
    143151
    144152<screen><?dbfo keep-together="auto"?><userinput>cat &gt; .mozconfig &lt;&lt; "EOF"
    145 <literal># This file contains the options used to build firefox on top
    146 # of xulrunner. If you do not wish to build xulrunner, make the changes
    147 # noted for a 'standalone browser'. You may need to specify additional
    148 # options for your specific build needs (if you are building 'standalone')
     153<literal># This file contains the options used in the Firefox build. You may
     154# need to specify additional options for your specific build needs.
    149155# Use the information provided by running './configure --help' to
    150156# help you determine if you need to add any additional options.
    151157# Some additional options can be added by uncommenting the examples
    152158# in this file or adding options by inserting a line containing
    153 # 'ac_add_options --some-option-you-need'.
    154 
    155 # build the browser
     159# 'ac_add_options --some-option-you-need'.  Be aware that some accepted
     160# options, such as '--with-system-bz2', do not affect the build.
     161
     162# specify that we want to build firefox
    156163ac_add_options --enable-application=browser
    157164
     
    165172mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../firefox-build
    166173
    167 # Specify the installation prefix. If you would prefer Firefox
     174# Specify the installation prefix. If you would prefer Xulrunner
    168175# installed in a different prefix, modify the line below to fit
    169 # your needs. You may also need to modify some of the instructions in
    170 # the BLFS book to point to your desired prefix.
     176# your needs (the config will always be written to /etc/gre.d)
    171177ac_add_options --prefix=/usr
    172178
    173 # Compile with a minimal level of optimization
     179# apply a minimal level of optimization (-O)
    174180ac_add_options --enable-optimize
    175181
    176 # (the --enable-system options)
    177 # comment this if you want to use whatever patched version of cairo
    178 # is in the shipped mozilla tree, together with the system headers
     182# These options are used so that the Xulrunner binaries are linked to
     183# the system-installed copies of the specified libraries instead of
     184# the source tree code which may not be the most recent versions.
     185# With the exception of libsqlite3, the libraries are statically linked.
     186
     187# (Options to use system installed libraries)
     188# Using the shipped version of libsqlite3 has been reported to cause
     189# problems with other applications which were using sqlite3.
     190# Only comment this line if you know excatly what you are doing!
     191ac_add_options --enable-system-sqlite
     192
     193# Comment this only if you want to use whatever patched version of cairo
     194# is in the shipped mozilla tree, together with the system headers.
    179195ac_add_options --enable-system-cairo
    180196
    181 # comment this if you have not installed lcms - firefox will use
    182 # its own copy
     197# Comment this if you have not installed lcms.
    183198ac_add_options --enable-system-lcms
    184199
    185 # comment this if you have not installed sqlite, firefox will use
    186 # its own old copy
    187 ac_add_options --enable-system-sqlite
    188 
    189 # (the --with-system options)
    190 # comment this if you did not build libjpeg before gtk+-2
     200# Comment this if you did not build libjpeg before GTK+-2.
    191201ac_add_options --with-system-jpeg
    192202
    193 # These two options enable support for building Firefox with
     203# These two options enable support for building Xulrunner with
    194204# system-installed versions of the Network Security Services (NSS)
    195 # and Netscape Portable Runtime (NSPR) libraries. We build these
    196 # as part of xulrunner, so we can use them here.  For a standalone
    197 # firefox you might want to comment these.
     205# and Netscape Portable Runtime (NSPR) libraries. Comment them if
     206# you wish to use the included copies (not recommended).
    198207ac_add_options --with-system-nspr
    199208ac_add_options --with-system-nss
    200209
    201 # comment this if you have not installed png with the apng patch
     210# Comment this if you have not built png with the apng patch.
    202211ac_add_options --with-system-png
    203212
    204 # uncomment this if you are building nspr as part of firefox
     213# The pthreads option is only used when building nspr
     214# Uncomment this if you build the included nspr.
    205215#ac_add_options --with-pthreads
    206216
    207 # zlib is in LFS
     217# zlib is included in LFS. Do not comment this line.
    208218ac_add_options --with-system-zlib
    209219
    210 # (options to disable parts of the package)
    211 # This option is used to disable the a11y support in the Firefox
     220# (Options to disable parts of the package)
     221# This option is used to disable the a11y support in the Xulrunner
    212222# binaries. Comment out this option if you require a11y support.
    213223ac_add_options --disable-accessibility
    214224
    215 # uncomment this if you did not build curl
    216 #ac_add_options --disable-crashreporter
    217 
    218 # comment this if you have built dbus-glib
    219 ac_add_options --disable-dbus
    220 
    221 # comment this if you have gnome-vfs and libgnomeui, and wish to
    222 # integrate firefox into your gnome desktop
     225# Uncomment this if you did not build curl.
     226ac_add_options --disable-crashreporter
     227
     228# Comment this if you have built dbus-glib.
     229#ac_add_options --disable-dbus
     230
     231# Comment this if you have gnome-vfs and libgnomeui, and wish to
     232# integrate xulrunner into your gnome desktop
    223233ac_add_options --disable-gnomevfs
    224234
    225235# This option is added so that the Mozilla Installer program is not
    226236# built or installed. The program is not required for a BLFS
    227 # installation of Firefox.
     237# installation of Xulrunner.
    228238ac_add_options --disable-installer
    229239
    230 # The mochitest is a separate test feature and has caused problems
    231 # in the past.
     240# If you enable javaxpcom, you must have a java compiler installed.
     241ac_add_options --disable-javaxpcom
     242
     243# mochitest often causes problems
    232244ac_add_options --disable-mochitest
    233245
     
    236248ac_add_options --disable-tests
    237249
    238 # The updater is not useful if you build from source.
     250# Disable the updater, which is not appropriate if you build from source
    239251ac_add_options --disable-updater
    240252
    241253# (options to add extra parts of the package)
    242254# This option is used to enable source tree included LDAP support in
    243 # the Firefox binaries.
     255# the Xulrunner binaries.
    244256###################################################################
    245257#
    246258# NOTE: You must uncomment this option if there is any chance of
    247259# compiling the OpenOffice package from source code using this copy
    248 # of Firefox for your Mozilla support.
    249 # This has NOT been tested, current versions of OpenOffice are
    250 # assumed not to compile against this version of xulrunner!
     260# of Xulrunner for your Mozilla support.
     261#
     262# This has NOT been tested, the current status of OpenOffice
     263# and xulrunner is unknown! (Remove this comment before release)
    251264#
    252265###################################################################
    253266#ac_add_options --enable-ldap
    254267
    255 # This option causes the installed binaries to have the official
    256 # Firefox name embedded in them. Due to license restrictions, you
    257 # may not distribute binaries created using this option.  It also
    258 # means you get a popup EULA when you first run firefox.
    259 # If you disable this, the browser will call itself Minefield.
    260 ac_add_options --enable-official-branding
    261 
    262 # use the anti-phishing blacklist
     268# Use the anti-phishing measures (a blacklist of sites).
    263269ac_add_options --enable-safe-browsing
    264270
     
    271277
    272278# Uncomment this option if you desire support for dual-monitor
    273 # display of Firefox using the X-Window Xinerama libraries.
     279# display using the X-Window Xinerama libraries.
    274280#ac_add_options --enable-xinerama
    275281
    276 # ('with' options)
    277 # This option identifies the default binary directory of the Firefox
    278 # installation and is used to locate Firefox's installed files. This
    279 # option is not required for end-user browsing, and is only used for
    280 # development purposes.
    281 #ac_add_options --with-default-mozilla-five-home=/usr/lib/firefox-&firefox-version;</literal>
    282 
    283 # Point to the xulrunner libraries - comment this for a standalone browser
    284 ac_add_options --with-libxul-sdk=/usr/lib/xulrunner-devel-&xulrunner-version;
    285 
     282# This option identifies the default binary directory of the Xulrunner
     283# installation and is used to locate Xulrunner's installed files. This
     284# option is is only used for development purposes.
     285#ac_add_options --with-default-mozilla-five-home=/usr/lib/firefox-&firefox-version;
     286
     287# Point to the xulrunner libraries - comment these for a standalone browser
     288ac_add_options --with-system-libxul
     289ac_add_options --with-libxul-sdk=/usr/lib/xulrunner-devel-&xulrunner-version;</literal>
    286290EOF</userinput></screen>
     291
     292    <para>If you did not install <xref linkend="xulrunner"/> or
     293    <xref linkend="nspr"/> and <xref linkend="nss"/>, then apply the patch
     294    with the following command:</para>
     295
     296<screen><userinput>patch -Np1 -i ../firefox-&firefox-version;-provide_system_nss_nspr-1.patch</userinput></screen>
    287297
    288298    <para>Compile <application>Firefox</application> by issuing the
     
    303313
    304314<screen role="root"><userinput>ln -sv /usr/lib/xulrunner-&xulrunner-version;/plugins \
    305  /usr/lib/firefox-&firefox-version;/plugins</userinput></screen>
     315    /usr/lib/firefox-&firefox-version;/plugins</userinput></screen>
     316
     317    <para>If you've elected to use the included NSPR and NSS, while still the
     318    <systemitem class="username">root</systemitem> user, complete the
     319    installation with the following commands:</para>
     320
     321<screen role="root"><userinput>for DL in \
     322    libnss3.so libnssutil3.so libsmime3.so libssl3.so libsoftokn3.so \
     323    libplds4.so libplc4.so libnspr4.so
     324do
     325    ln -sv xulrunner-&xulrunner-version;/$DL /usr/lib/$DL
     326done</userinput></screen>
    306327
    307328  </sect2>
     
    320341    the package.</para>
    321342
    322     <!--<para><command>install -v -m755 -d .../chrome/icons/default</command> and
    323     <command>ln -v -s ../../../icons/default.xpm ...</command>: These two
    324     commands are used to create a symlink in the required directory so that
    325     the proper icon is displayed in the taskbar and when
    326     <application>Firefox</application> windows are minimized.</para> -->
    327 
    328343    <para><command>ln -sv /usr/lib/xulrunner-&xulrunner-version;/plugins
    329344    /usr/lib/firefox-&firefox-version;/plugins</command>:
     
    333348
    334349   <tip>
    335     <para>If you upgrade firefox, ensure that any additional plugins are moved to
    336     the plugin directory of the new version.</para>
     350    <para>If you upgrade firefox, ensure that any additional plugins are moved
     351    to the plugin directory of the new version.</para>
    337352   </tip>
    338353
Note: See TracChangeset for help on using the changeset viewer.