Changeset dc8a9549 for xsoft/graphweb


Ignore:
Timestamp:
01/07/2011 09:25:26 PM (13 years ago)
Author:
Randy McMurchy <randy@…>
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:
6257285c
Parents:
8c60de56
Message:

Updated to Xulrunner-1.9.2.13/Firefox-3.6.13

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xsoft/graphweb/firefox.xml

    r8c60de56 rdc8a9549  
    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        "80f4d83f23a7c45fc3f1904964ea2a5a">
    10   <!ENTITY firefox-size          "50 MB">
    11   <!ENTITY firefox-buildsize     "880 MB (stand-alone) or 425 MB (on xulrunner)">
    12   <!ENTITY firefox-time          "11 SBU (stand-alone) or 0.3 SBU (on xulrunner)">
     9  <!ENTITY firefox-md5sum        "d7c90aed8209beefa74badf02e8eeae1">
     10  <!ENTITY firefox-size          "51 MB">
     11  <!ENTITY firefox-buildsize     "780 MB (stand-alone) or 440 MB (on Xulrunner)">
     12  <!ENTITY firefox-time          "19 SBU (stand-alone) or 0.3 SBU (on Xulrunner)">
    1313]>
    1414
     
    3333    based on the <application>Mozilla</application> codebase.</para>
    3434
    35     <para>With the introduction of firefox-3.x, the
     35    <para>With the introduction of Firefox-3.x, the
    3636    <application>pkgconfig</application> files for the Gecko engine (and for
    37     <application>nss</application> and <application>nspr</application>) are not
     37    <application>NSS</application> and <application>NSPR</application>) are not
    3838    installed.  This means that applications such as <application>Yelp
    3939    </application> can no longer be built against firefox, and must instead be
    40     built against xulrunner (which is actually the same code, but built in a
     40    built against Xulrunner (which is actually the same code, but built in a
    4141    different way).  If you wish to build other packages which use Gecko (of the
    4242    applications in this book, probably only the gnome applications
    43     will recognize this version of xulrunner), build <xref linkend="xulrunner"/>
     43    will recognize this version of Xulrunner), build <xref linkend="xulrunner"/>
    4444    first.</para>
    4545
     
    5353    will have increased dependencies, or that something using the nss or gecko
    5454    libraries will break.  If you update, begin by updating
    55     <application>xulrunner</application> if you use that, then update firefox
     55    <application>Xulrunner</application> if you use that, then update Firefox
    5656   (ensuring the libxul-sdk option points to the new version).</para>
    5757   </tip>
    5858
    5959    &lfs67_checked;
     60    <para>&lfssvn_checked;20101029&lfssvn_checked2;</para>
    6061
    6162    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    9596    <bridgehead renderas="sect4">Recommended</bridgehead>
    9697    <para role="recommended"><xref linkend="xulrunner"/> which shares all these
    97     dependencies, or for a standalone firefox the following Required and
    98     Optional dependencies:</para>
     98    dependencies, or for a standalone <application>Firefox</application> the
     99    following Required and Optional dependencies:</para>
    99100
    100101    <bridgehead renderas="sect4">Required</bridgehead>
     
    110111    for some reason you haven't installed <application>libjpeg</application>,
    111112    you should remove the <option>--with-system-jpeg</option> option from the
    112     <filename>.mozconfig</filename> file created below.</para>
     113    <filename>mozconfig</filename> file created below.</para>
    113114
    114115    <bridgehead renderas="sect4">Optional</bridgehead>
     
    125126    <xref linkend="sqlite"/>,
    126127    <xref linkend="unzip"/>,
     128    <ulink url="http://sourceforge.net/projects/hunspell/">Hunspell</ulink>,
    127129    <ulink url="http://www.valgrind.org/">Valgrind</ulink> (only for testing the
    128130    jemalloc code), and
     
    138140
    139141    <para>The configuration of <application>Firefox</application> is
    140     accomplished by creating a <filename>.mozconfig</filename> file containing
    141     the desired configuration options. A default <filename>.mozconfig</filename>
     142    accomplished by creating a <filename>mozconfig</filename> file containing
     143    the desired configuration options. A default <filename>mozconfig</filename>
    142144    is created below. To see the entire list of available configuration options
    143145    (and an abbreviated description of each one), issue
    144146    <command>./configure --help</command>. If you are not building against
    145     <application>Xulrunner</application> you must comment the 'xulrunner' items.
     147    <application>Xulrunner</application> you must comment the 'Xulrunner' items.
    146148    You may also wish to review the entire file and uncomment any other desired
    147149    options. If you would prefer to download the file instead of creating it by
     
    150152    (the file must be installed in the root of the source tree
    151153    <filename class='directory'>mozilla</filename> directory, and named
    152     <filename>.mozconfig</filename>). Create the file by issuing the following
    153     command:</para>
    154 
    155 <screen><?dbfo keep-together="auto"?><userinput>cat &gt; .mozconfig &lt;&lt; "EOF"
     154    <filename>mozconfig</filename> or <filename>.mozconfig</filename>). Create
     155    the file by issuing the following command:</para>
     156
     157<screen><?dbfo keep-together="auto"?><userinput>cat &gt; mozconfig &lt;&lt; "EOF"
    156158<literal># This file contains the options used in the Firefox build. You may
    157159# need to specify additional options for your specific build needs.
     
    163165# options, such as '--with-system-bz2', do not affect the build.
    164166
    165 # specify that we want to build firefox
    166 ac_add_options --enable-application=browser
    167 
    168 # Use the default settings specified in the source tree
     167# Specify that Firefox should be built. Note that this line is commented out
     168# because it is redundant with the next setting.
     169#ac_add_options --enable-application=browser
     170
     171# Use the default settings specified in the source tree. The
     172# --enable-application=browser is set in this file.
    169173. $topsrcdir/browser/config/mozconfig
    170174
     
    175179mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../firefox-build
    176180
    177 # Specify the installation prefix. If you would prefer Xulrunner
    178 # installed in a different prefix, modify the line below to fit
    179 # your needs (the config will always be written to /etc/gre.d)
     181# Specify the installation prefix. If you would prefer Firefox installed in a
     182# different prefix, modify the line below to fit your needs.
    180183ac_add_options --prefix=/usr
    181184
    182 # apply a minimal level of optimization (-O)
     185# Apply a minimal level of optimization (-O).
    183186ac_add_options --enable-optimize
    184187
    185 # These options are used so that the Xulrunner binaries are linked to
     188# These options are used so that the Firefox binaries are linked to
    186189# the system-installed copies of the specified libraries instead of
    187190# the source tree code which may not be the most recent versions.
     
    218221#ac_add_options --with-pthreads
    219222
    220 # zlib is included in LFS. Do not comment this line.
     223# Zlib is included in LFS. Do not comment this line.
    221224ac_add_options --with-system-zlib
    222225
     
    226229ac_add_options --disable-accessibility
    227230
    228 # Uncomment this if you did not build curl.
     231# Uncomment this if you did not build cURL.
    229232#ac_add_options --disable-crashreporter
    230233
    231 # Comment this if you have built dbus-glib.
     234# Comment this if you have built DBus-Glib.
    232235ac_add_options --disable-dbus
    233236
    234 # Comment this if you have gnome-vfs and libgnomeui, and wish to
    235 # integrate firefox into your gnome desktop
     237# Comment this if you have Gnome-VFS and libgnomeui, and wish to
     238# integrate Firefox into your gnome desktop
    236239ac_add_options --disable-gnomevfs
    237240
     
    239242# Necko WiFi scanning.
    240243ac_add_options --disable-necko-wifi
     244
     245# Comment this if you have installed libnotify.
     246ac_add_options --disable-libnotify
    241247
    242248# This option is added so that the Mozilla Installer program is not
     
    252258ac_add_options --disable-tests
    253259
    254 # Disable the updater, which is not appropriate if you build from source
     260# Disable the updater, which is not appropriate if you build from source.
    255261ac_add_options --disable-updater
    256262
    257263# (options to add extra parts of the package)
    258 # This option causes the installed binaries to have the official
     264# This option causes the installed Firefox binaries to have the official
    259265# Firefox name embedded in them. Due to license restrictions, you
    260266# may not distribute binaries created using this option.  It also
     
    281287#ac_add_options --with-default-mozilla-five-home=/usr/lib/firefox-&firefox-version;
    282288
    283 # Point to the xulrunner libraries - comment these for a standalone browser
     289# Point to the Xulrunner libraries - comment these for a standalone browser.
    284290ac_add_options --with-system-libxul
    285291ac_add_options --with-libxul-sdk=/usr/lib/xulrunner-devel-&xulrunner-version;</literal>
     
    296302    install the package:</para>
    297303
    298 <screen role="root"><userinput>make -f client.mk install</userinput></screen>
    299 
    300     <para>If you are building firefox on xulrunner, as the
     304<screen role="root"><userinput>make -f client.mk install &amp;&amp;
     305
     306chown -R -v root:root /usr/share/idl/firefox-&firefox-version; \
     307                      /usr/include/firefox-&firefox-version;   \
     308                      destdir/usr/lib/firefox-devel-3.6.13/sdk/lib</userinput></screen>
     309
     310    <para>If you are building Firefox on Xulrunner, as the
    301311    <systemitem class="username">root</systemitem> user enter the following
    302312    symbolic link:</para>
    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;</userinput></screen>
    306316
    307317  </sect2>
     
    323333    /usr/lib/firefox-&firefox-version;/plugins</command>:
    324334    <application>Firefox</application> looks for plugins in its own directory,
    325     but when building on <application>xulrunner</application> the plugins were
     335    but when building on <application>Xulrunner</application> the plugins were
    326336    installed by that package.  Note that any plugins in
    327337    <filename class="directory">/usr/lib/mozilla/plugins</filename> will also be
     
    395405    <application>Java</application> plugin: </para>
    396406
    397 <screen role="root"><userinput>ln -v -s $JAVA_HOME/jre/plugin/i386/ns7/libjavaplugin_oji.so \
     407<screen role="root"><userinput>ln -v -s $JAVA_HOME/jre/lib/i386/libnpjp2.so \
    398408    /usr/lib/firefox-&firefox-version;/plugins</userinput></screen>
    399409
     
    433443
    434444      <seglistitem>
    435         <seg>firefox and firefox-config</seg>
     445        <seg>firefox</seg>
    436446        <seg>Numerous libraries, browser components, plugins, extensions, and
    437447        helper modules installed in <filename
    438448        class='directory'>/usr/lib/firefox-&firefox-version;</filename></seg>
    439449        <seg>/usr/include/firefox-&firefox-version;,
    440         /usr/lib/firefox-&firefox-version;, and
     450        /usr/lib/firefox-&firefox-version;,
     451        /usr/lib/firefox-devel-&firefox-version;, and
    441452        /usr/share/idl/firefox-&firefox-version;</seg>
    442453      </seglistitem>
     
    451462        <term><command>firefox</command></term>
    452463        <listitem>
    453           <para>is a shell script that sets up the environment and
    454           calls the <filename>firefox-bin</filename> binary.</para>
     464          <para>in a stand-alone build is a symbolic link to shell script in
     465          <filename class="directory">/usr/lib/firefox-&firefox-version;</filename>
     466          that sets up the environment and calls the <filename>firefox-bin</filename>
     467          binary. When built on <application>Xulrunner</application>,
     468          <command>firefox</command> is a symbolic link to a
     469          <command>firefox</command> binary in
     470          <filename class="directory">/usr/lib/firefox-&firefox-version;</filename>.
     471          </para>
    455472          <indexterm zone="firefox firefox-prog">
    456473            <primary sortas="b-firefox">firefox</primary>
     
    459476      </varlistentry>
    460477
    461       <varlistentry id="firefox-config">
    462         <term><command>firefox-config</command></term>
    463         <listitem>
    464           <para>determines the compile and linker flags that should be
    465           used to compile and link programs that use
    466           <application>Firefox</application> libraries and browser
    467           components.</para>
    468           <indexterm zone="firefox firefox-config">
    469             <primary sortas="b-firefox-config">firefox-config</primary>
    470           </indexterm>
    471         </listitem>
    472       </varlistentry>
    473 
    474478    </variablelist>
    475479
Note: See TracChangeset for help on using the changeset viewer.