Changeset 1f23aa4f


Ignore:
Timestamp:
11/30/2011 10:23:49 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:
fa3e12e1
Parents:
978865f2
Message:

untar Firefox into a versioned directory

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xsoft/graphweb/firefox.xml

    r978865f2 r1f23aa4f  
    179179    package:</para>
    180180
    181 <screen role="root"><userinput>tar -xfv firefox-build-dir/dist/firefox-*.tar.bz2 -C /usr/lib &amp;&amp;
    182 ln -sfv ../lib/firefox/firefox /usr/bin/firefox &amp;&amp;
     181<screen role="root"><userinput>mkdir /usr/lib/firefox-&firefox-version; &amp;&amp;
     182tar -xfv firefox-build-dir/dist/firefox-*.tar.bz2 -C /usr/lib/firefox-&firefox-version; --strip-components=1 &amp;&amp;
     183ln -sfv ../lib/firefox-&firefox-version;/firefox /usr/bin/firefox &amp;&amp;
    183184mkdir -p /usr/lib/mozilla/plugins &amp;&amp;
    184 ln -sv ../mozilla/plugins /usr/lib/firefox &amp;&amp;
    185 chown -R -v root:root /usr/lib/firefox</userinput></screen>
     185ln -sv ../mozilla/plugins /usr/lib/firefox-&firefox-version; &amp;&amp;
     186chown -R -v root:root /usr/lib/firefox-&firefox-version;</userinput></screen>
    186187
    187188    <para>If you have installed <application>Firefox</application> linked
     
    215216
    216217    <para><command>tar -xfv firefox-build-dir/dist ...</command>: This untars
    217     <application>Firefox</application> in /usr/lib. Untaring it (instead of
    218     running make install) prevents it installing
    219     /usr/lib/firefox-devel-&firefox-version; which contains about 430 MB of
    220     files. If you need any of those files, they're in
     218    <application>Firefox</application> in /usr/lib. The
     219    <option>--strip-components=1</option> option removes the leading
     220    &apos;firefox&apos; directory from the filenames, allowing us to untar it
     221    into a versioned directory. Untaring it (instead of running make install)
     222    prevents it installing /usr/lib/firefox-devel-&firefox-version; which
     223    contains about 430 MB of files. If you need any of those files, they're in
    221224    <xref linkend="xulrunner"/></para>
    222225
     
    248251        <seg>Numerous libraries, browser components, plugins, extensions, and
    249252        helper modules installed in <filename
    250         class='directory'>/usr/lib/firefox</filename> or <filename
    251         class='directory'>/usr/lib/firefox-&firefox-version;</filename>
    252         (depending whether you untared it or ran make install)</seg>
    253         <seg>/usr/lib/firefox</seg>
     253        class='directory'>/usr/lib/firefox-&firefox-version;</filename>.</seg>
     254        <seg>/usr/lib/firefox-&firefox-version;</seg>
    254255      </seglistitem>
    255256    </segmentedlist>
Note: See TracChangeset for help on using the changeset viewer.