Changeset 89c9c781 for xsoft


Ignore:
Timestamp:
11/29/2011 02:51:04 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:
01ce75f8
Parents:
875b4070
Message:

Updated to xulrunner to 8.0.1
Changed the Firefox page to not do make install, it shrinks what
firefox installs in /usr/lib from about 450 MB to about 34MB

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xsoft/graphweb/firefox.xml

    r875b4070 r89c9c781  
    8080    <xref linkend="doxygen"/>,
    8181    <xref linkend="gnome-vfs"/> and <xref linkend="libgnomeui"/> (for gnome
    82     integration), <xref linkend="libnotify"/>, <xref linkend="nss"/>,
    83     <xref linkend="unzip"/>, <xref linkend="wireless_tools"/>,
     82    integration), <xref linkend="libnotify"/>, <xref linkend="nspr"/>,
     83    <xref linkend="nss"/>, <xref linkend="xulrunner"/> (linking against an
     84    installed xulrunner makes Firefox about 2 MB smaller, which is trivial
     85    compared to the size of xulrunner), <xref linkend="unzip"/>,
     86    <xref linkend="wireless_tools"/>,
    8487    <ulink url="http://www.valgrind.org/">Valgrind</ulink> (only for testing
    8588    the jemalloc code) and <xref linkend="wget"/></para>
     
    98101    is created below. To see the entire list of available configuration options
    99102    (and an abbreviated description of each one), issue
    100     <command>./configure --help</command>. <!--If you are not building against
    101     <application>Xulrunner</application> you must comment the 'Xulrunner'
    102     items. --> You may also wish to review the entire file and uncomment any
    103     other desired options. Create the file by issuing the following
    104     command:</para>
     103    <command>./configure --help</command>. You may also wish to review the
     104    entire file and uncomment any other desired options. Create the file by
     105    issuing the following command:</para>
    105106
    106107<screen><?dbfo keep-together="auto"?><userinput>cat &gt; mozconfig &lt;&lt; "EOF"
    107 <literal># If you have a multicore machine you can speed up the build by running
     108# If you have a multicore machine you can speed up the build by running
    108109# several jobs at once, but if you have a single core, delete this line:
    109110mk_add_options MOZ_MAKE_FLAGS="-j4"
     
    114115# If you have installed wireless-tools you can delete this option:
    115116ac_add_options --disable-necko-wifi
     117
     118# If you have installed nss uncomment these two lines:
     119# ac_add_options --with-system-nspr
     120# ac_add_options --with-system-nss
     121
     122# If you have installed xulrunner uncomment these two lines:
     123# ac_add_options --with-system-libxul
     124# ac_add_options --with-libxul-sdk=/usr/lib/xulrunner-devel-&xulrunner-version;
    116125
    117126# Uncomment these if you have installed them:
     
    122131
    123132mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/firefox-build-dir
    124 ac_add_options --enable-official-branding
    125 ac_add_options --prefix=/usr
     133ac_add_options --enable-official-branding<!-- ac_add_options -
     134-prefix=/usr -->
    126135ac_add_options --enable-application=browser
    127136ac_add_options --enable-pthreads
     
    137146ac_add_options --disable-installer
    138147ac_add_options --disable-updater
    139 ac_add_options --disable-tests</literal>
     148ac_add_options --disable-tests
    140149EOF</userinput></screen>
    141 
    142 <!--
    143 # Point to the Xulrunner libraries - comment these for a standalone browser.
    144 ac_add_options - -with-system-libxul
    145 ac_add_options - -with-libxul-sdk=/usr/lib/xulrunner-devel-&xulrunner-version;
    146 -->
    147150
    148151    <para>Compile <application>Firefox</application> by issuing the
     
    156159    install the package:</para>
    157160
    158 <screen role="root"><userinput>make -C firefox-build-dir install &amp;&amp;
     161<screen role="root"><userinput>make -C firefox-build-dir/browser/installer &amp;&amp;
     162tar -xfv firefox-build-dir/dist/firefox-*.tar.bz2 -C /usr/lib &amp;&amp;
     163ln -sfv ../lib/firefox/firefox /usr/bin/firefox &amp;&amp;
    159164mkdir -p /usr/lib/mozilla/plugins &amp;&amp;
    160 ln -sv ../mozilla/plugins /usr/lib/firefox-&firefox-version; &amp;&amp;
    161 chown -R -v root:root /usr/{include,lib,share/idl}/firefox-&firefox-version; &amp;&amp;
    162 chown -R -v root:root /usr/lib/firefox-devel-&firefox-version;</userinput></screen>
     165ln -sv ../mozilla/plugins /usr/lib/firefox &amp;&amp;
     166chown -R -v root:root /usr/{include,lib,share/idl}/firefox-*</userinput></screen>
    163167
    164168  </sect2>
     
    173177    file to get initial configuration and setup parameters.</para>
    174178
    175     <para><command>make -C firefox-build-dir install</command>: this runs
    176     <command>make install</command> inside the firefox-build-dir folder.</para>
     179    <para><command>make -C firefox-build-dir/browser/installer</command>:
     180    this creates a <application>Firefox</application> tarball.</para>
     181
     182    <para><command>tar -xfv firefox-build-dir/dist ...</command>: This untars
     183    <application>Firefox</application> in /usr/lib.</para>
     184
     185    <para><command>ln -sfv ... /usr/bin/firefox</command>: this puts a symbolic
     186    link to the <command>firefox</command> executable in your ${PATH}.</para>
    177187
    178188    <para><command>mkdir -p /usr/lib/mozilla/plugins</command>: this checks
     
    197207        <seg>Numerous libraries, browser components, plugins, extensions, and
    198208        helper modules installed in <filename
    199         class='directory'>/usr/lib/firefox-&firefox-version;</filename></seg>
    200         <seg>/usr/include/firefox-&firefox-version;,
    201         /usr/lib/firefox-&firefox-version;,
    202         /usr/lib/firefox-devel-&firefox-version;, and
    203         /usr/share/idl/firefox-&firefox-version;</seg>
     209        class='directory'>/usr/lib/firefox</filename></seg>
     210        <seg>/usr/lib/firefox</seg>
    204211      </seglistitem>
    205212    </segmentedlist>
Note: See TracChangeset for help on using the changeset viewer.