Ignore:
Timestamp:
05/31/2007 07:26:12 AM (17 years ago)
Author:
Dan Nichilson <dnicholson@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 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:
048bc8cc
Parents:
9ae86120
Message:

Streamlined the commands in the Xorg sections

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • x/installing/x7lib.xml

    r9ae86120 r8d237953  
    1111  <!ENTITY x7libs-buildsize     "186 MB">
    1212  <!ENTITY x7libs-time          "6.6 SBU">
     13
     14  <!-- Versions for patches -->
     15  <!ENTITY libX11-version       "1.1.1">
     16  <!ENTITY libXfont-version     "1.2.7">
    1317
    1418]>
     
    6266      <listitem>
    6367        <para>Required patch: <ulink
    64         url="&patch-root;/libX11-1.1.1-xinitimage-1.patch"/></para>
     68        url="&patch-root;/libX11-&libX11-version;-xinitimage-1.patch"/></para>
    6569      </listitem>
    6670      <listitem>
    6771        <para>Required patch: <ulink
    68         url="&patch-root;/libXfont-1.2.7-bdf_fontsdir-1.patch"/></para>
     72        url="&patch-root;/libXfont-&libXfont-version;-bdf_fontsdir-1.patch"/></para>
    6973      </listitem>
    7074    </itemizedlist>
     
    104108    <title>Installation of Xorg Libraries</title>
    105109
    106     <para><ulink url='http://wiki.x.org/wiki/Development/Security'>Security
    107     vulnerabilities</ulink> have been identified in the
    108     <application>libX11</application> and <application>libXfont</application>
    109     packages. Before building these packages with the commands shown below,
    110     be sure to apply the supplied patches. For <application>libX11</application>,
    111     this can be done by issuing the following command:</para>
    112 
    113 <screen><userinput>patch -Np1 -i ../libX11-1.1.1-xinitimage-1.patch</userinput></screen>
    114 
    115     <para>For <application>libXfont</application>, the patch can be applied
    116     with the following command:</para>
    117 
    118 <screen><userinput>patch -Np1 -i ../libXfont-1.2.7-bdf_fontsdir-1.patch</userinput></screen>
    119 
    120110    <para>Install the libraries by running the following commands for each
    121     of the chosen packages:</para>
    122 
    123 <screen><userinput>./configure $XORG_CONFIG --without-xcb &amp;&amp;
     111    package:</para>
     112
     113<screen><userinput>case $(basename "$PWD") in
     114libX11-&libX11-version; )
     115    patch -Np1 -i ../libX11-&libX11-version;-xinitimage-1.patch
     116    ;;
     117libXfont-&libXfont-version; )
     118    patch -Np1 -i ../libXfont-&libXfont-version;-bdf_fontsdir-1.patch
     119    ;;
     120esac &amp;&amp;
     121./configure $XORG_CONFIG &amp;&amp;
    124122make</userinput></screen>
    125123
     
    141139    for it's transport layer unless this parameter is supplied. This parameter
    142140    will be ignored for other packages.</para>
     141
     142    <para><command>patch -Np1 -i ...</command>: These commands apply patches
     143    to fix <ulink url='http://wiki.x.org/wiki/Development/Security'>security
     144    vulnerabilities</ulink> identified in the
     145    <application>libX11</application> and <application>libXfont</application>
     146    packages.</para>
    143147
    144148  </sect2>
Note: See TracChangeset for help on using the changeset viewer.