Changeset dc8a9549 for x/lib


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
  • x/lib/xulrunner.xml

    r8c60de56 rdc8a9549  
    77  <!ENTITY xulrunner-download-http "http://releases.mozilla.org/pub/mozilla.org/firefox/releases/&firefox-version;/source/firefox-&firefox-version;.source.tar.bz2">
    88  <!ENTITY xulrunner-download-ftp  "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/&firefox-version;/source/firefox-&firefox-version;.source.tar.bz2">
    9   <!-- md5sum and size should match firefox, but the buildize and time will differ -->
    10   <!ENTITY xulrunner-md5sum        "80f4d83f23a7c45fc3f1904964ea2a5a">
    11   <!ENTITY xulrunner-size          "50 MB">
    12   <!ENTITY xulrunner-buildsize     "895 MB">
    13   <!ENTITY xulrunner-time          "12 SBU">
     9  <!-- md5sum and size should match firefox, but the buildsize and time will differ -->
     10  <!ENTITY xulrunner-md5sum        "d7c90aed8209beefa74badf02e8eeae1">
     11  <!ENTITY xulrunner-size          "51 MB">
     12  <!ENTITY xulrunner-buildsize     "820 MB">
     13  <!ENTITY xulrunner-time          "20 SBU">
    1414]>
    1515
     
    3939
    4040    &lfs67_checked;
     41    <para>&lfssvn_checked;20101029&lfssvn_checked2;</para>
    4142
    4243    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    6667      <listitem>
    6768        <para>Estimated disk space required: &xulrunner-buildsize; (using
    68         recommended dependencies)</para>
    69       </listitem>
    70       <listitem>
    71         <para>Estimated build time: &xulrunner-time; (using recommended
     69        all dependencies)</para>
     70      </listitem>
     71      <listitem>
     72        <para>Estimated build time: &xulrunner-time; (using all
    7273        dependencies)</para>
    7374      </listitem>
     
    7980        <para>Optional patch: <ulink
    8081        url="&patch-root;/firefox-&firefox-version;-provide_system_nspr_nss-1.patch"/>
    81         (Required if using the included NSPR and NSS libs as system versions for
     82        (Required if using the included NSPR and NSS libraries as system versions for
    8283        other packages)</para>
    8384      </listitem>
     
    9899    for some reason you haven't installed <application>libjpeg</application>,
    99100    you should remove the <option>--with-system-jpeg</option> option from the
    100     <filename>.mozconfig</filename> file created below.</para>
     101    <filename>mozconfig</filename> file created below.</para>
    101102
    102103    <bridgehead renderas="sect4">Recommended</bridgehead>
     
    112113    <xref linkend="libnotify"/>,
    113114    <xref linkend="libpng"/> (patched for apng support),
    114     <!-- Redundant as NSS requires this
    115     <xref linkend="nspr"/> (recommended if you build any other Mozilla.org
    116     packages), -->
    117115    <xref linkend="nss"/> (recommended if you build any other Mozilla.org
    118116    packages),
    119117    <xref linkend="startup-notification"/>,
    120118    <xref linkend="unzip"/>,
     119    <ulink url="http://sourceforge.net/projects/hunspell/">Hunspell</ulink>,
    121120    <ulink url="http://www.valgrind.org/">Valgrind</ulink> (only for testing the
    122121    jemalloc code), and
     
    132131
    133132    <para>The configuration of <application>Xulrunner</application> is
    134     accomplished by creating a <filename>.mozconfig</filename> file containing
    135     the desired configuration options. A default <filename>.mozconfig</filename>
     133    accomplished by creating a <filename>mozconfig</filename> file containing
     134    the desired configuration options. A default <filename>mozconfig</filename>
    136135    is created below. To see the entire list of available configuration options
    137136    (and an abbreviated description of each one), issue
     
    141140    can find it at
    142141    <ulink url="&files-anduin;/xulrunner-&xulrunner-version;-mozconfig"/>
    143     (the file must be installed in the root of the source tree,
    144     <!-- directory name changes depending on version of Xulrunner
    145     <filename class='directory'>mozilla</filename> directory,--> and named
    146     <filename>.mozconfig</filename> or <filename>mozconfig</filename>).</para>
    147 
    148 <screen><?dbfo keep-together="auto"?><userinput>cat &gt; .mozconfig &lt;&lt; "EOF"
     142    (the file must be installed in the root of the source tree, and named
     143    <filename>mozconfig</filename> or <filename>.mozconfig</filename>).</para>
     144
     145<screen><?dbfo keep-together="auto"?><userinput>cat &gt; mozconfig &lt;&lt; "EOF"
    149146<literal># This file contains the options used in the Xulrunner build. You may
    150147# need to specify additional options for your specific build needs.
     
    156153# options, such as '--with-system-bz2', do not affect the build.
    157154
    158 # specify that we want to build xulrunner
    159 ac_add_options --enable-application=xulrunner
     155# Specify that Xulrunner should be built. Note that this line is commented out
     156# because it is redundant with the next setting.
     157#ac_add_options --enable-application=xulrunner
     158
     159# Use the default settings specified in the source tree. The
     160# --enable-application=xulrunner is set in this file.
     161. $topsrcdir/xulrunner/config/mozconfig
    160162
    161163# Create an object directory and specify to build the package in that
     
    165167mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../xulrunner-build
    166168
    167 # Specify the installation prefix. If you would prefer Xulrunner
    168 # installed in a different prefix, modify the line below to fit
    169 # your needs (the config will always be written to /etc/gre.d)
     169# Specify the installation prefix. If you would prefer Xulrunner installed in a
     170# different prefix, modify the line below to fit your needs (the system.conf
     171# configuration file will always be installed to /etc/gre.d).
    170172ac_add_options --prefix=/usr
    171173
    172 # apply a minimal level of optimization (-O)
     174# Apply a minimal level of optimization (-O).
    173175ac_add_options --enable-optimize
    174176
     
    187189# is in the shipped mozilla tree, together with the system headers.
    188190ac_add_options --enable-system-cairo
     191
     192# Comment this if you have not installed lcms.
     193ac_add_options --enable-system-lcms
    189194
    190195# Comment this if you did not build libjpeg before GTK+-2.
     
    205210#ac_add_options --with-pthreads
    206211
    207 # zlib is included in LFS. Do not comment this line.
     212# Zlib is included in LFS. Do not comment this line.
    208213ac_add_options --with-system-zlib
    209214
     
    213218ac_add_options --disable-accessibility
    214219
    215 # Uncomment this if you did not build curl.
     220# Uncomment this if you did not build cURL.
    216221#ac_add_options --disable-crashreporter
    217222
    218 # Comment this if you have built dbus-glib.
     223# Comment this if you have built DBus-Glib.
    219224ac_add_options --disable-dbus
    220225
    221 # Comment this if you have gnome-vfs and libgnomeui, and wish to
    222 # integrate xulrunner into your gnome desktop
     226# Comment this if you have Gnome-VFS and libgnomeui, and wish to
     227# integrate Xulrunner into your Gnome desktop.
    223228ac_add_options --disable-gnomevfs
    224229
     
    242247ac_add_options --disable-tests
    243248
    244 # Disable the updater, which is not appropriate if you build from source
     249# Disable the updater, which is not appropriate if you build from source.
    245250ac_add_options --disable-updater
    246251
    247252# (options to add extra parts of the package)
     253# This option causes the installed Firefox binaries to have the official
     254# Firefox name embedded in them. Due to license restrictions, you
     255# may not distribute binaries created using this option.  It also
     256# means you get a popup EULA when you first run firefox.
     257ac_add_options --enable-official-branding
     258
    248259# Use the anti-phishing measures (a blacklist of sites).
    249260ac_add_options --enable-safe-browsing
     
    265276#ac_add_options --with-default-mozilla-five-home=/usr/lib/xulrunner-&xulrunner-version;</literal>
    266277
    267 
    268278EOF</userinput></screen>
    269279
     
    284294    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
    285295
     296<!-- I really don't think we need the last command to installl symlinks to the
     297     Xul libraries. Any package using Xul is going to use the pkgconfig file to
     298     find the things it needs -->
    286299<screen role="root"><userinput>make -f client.mk install &amp;&amp;
     300
    287301install -v -m755 -d /usr/lib/mozilla &amp;&amp;
    288302ln -sv              /usr/lib/xulrunner-&xulrunner-version;/plugins \
    289303                    /usr/lib/mozilla &amp;&amp;
     304
    290305chown -Rv root:root /usr/lib/xulrunner-* \
    291                     /usr/bin/xulrunner &amp;&amp;
     306                    /usr/share/idl/xulrunner-&xulrunner-version; \
     307                    /usr/include/xulrunner-&xulrunner-version; &amp;&amp;
     308                   
    292309ln -sfv             xulrunner-devel-&xulrunner-version;/lib/lib{xul,xpcom,mozjs}.so \
    293310                    /usr/lib</userinput></screen>
    294311
    295     <para>If you've elected to use the included NSPR and NSS, while still the
     312    <para>If you elected to use the included NSPR and NSS, while still the
    296313    <systemitem class="username">root</systemitem> user, complete the
    297314    installation with the following commands:</para>
     
    302319do
    303320    ln -sv xulrunner-&xulrunner-version;/$DL /usr/lib
    304 done</userinput></screen>
     321done &amp;&amp;
     322unset DL</userinput></screen>
    305323
    306324  </sect2>
     
    362380        class='directory'>/usr/lib/xulrunner-&xulrunner-version;</filename></seg>
    363381        <seg>/etc/gre.d, /usr/include/xulrunner-&xulrunner-version;,
    364         /usr/lib/xulrunner-&xulrunner-version;, and
    365         /usr/lib/xulrunner-devel-&xulrunner-version;</seg>
     382        /usr/lib/xulrunner-&xulrunner-version;,
     383        /usr/lib/xulrunner-devel-&xulrunner-version;, and
     384        /usr/share/idl/xulrunner-&xulrunner-version;</seg>
    366385      </seglistitem>
    367386    </segmentedlist>
Note: See TracChangeset for help on using the changeset viewer.