Ignore:
Timestamp:
10/26/2014 11:23:17 PM (10 years ago)
Author:
Krejzi <krejzi@…>
Branches:
krejzi/svn
Children:
d72fae5a
Parents:
44ae5736
Message:

Convert xorg installing section.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/krejzi@14759 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 moved

Legend:

Unmodified
Added
Removed
  • x/installing/mesalib-systemd.xml

    r44ae5736 r5b5c0e9  
    77  <!ENTITY mesalib-download-http " ">
    88  <!ENTITY mesalib-download-ftp
    9   "ftp://ftp.freedesktop.org/pub/mesa/&mesalib-version;/MesaLib-&mesalib-version;.tar.bz2">
     9           "ftp://ftp.freedesktop.org/pub/mesa/&mesalib-version;/MesaLib-&mesalib-version;.tar.bz2">
    1010  <!ENTITY mesalib-md5sum        "c0a2a975899c4e7485124b388c16cd2f">
    1111  <!ENTITY mesalib-size          "7.0 MB">
    12   <!ENTITY mesalib-buildsize     "253 MB (additional 2 MB for the docs)">
     12  <!ENTITY mesalib-buildsize     "255 MB">
    1313  <!ENTITY mesalib-time          "5.2 SBU">
    14 
    1514]>
    1615
     
    8786    <bridgehead renderas="sect4">Required</bridgehead>
    8887    <para role="required">
    89       <xref linkend="xorg7-lib"/>,
    90       <xref linkend="libdrm"/>, and
    91       <xref linkend="python2"/>
     88      <xref linkend="libdrm"/>,
     89      <xref linkend="python2"/> and
     90      <xref linkend="xorg7-lib"/>
    9291    </para>
    9392
    9493    <bridgehead renderas="sect4">Recommended</bridgehead>
    9594    <para role="recommended">
    96       <xref linkend="elfutils"/> (required for radeon 3d drivers),
    97       <xref linkend="libvdpau"/> (to build VDPAU drivers),
    98       <xref linkend="llvm"/> (required for radeon 3d drivers and also for
     95      <xref linkend="elfutils"/> (required for Radeon 3D drivers),
     96      <xref linkend="libvdpau"/> (to build VDPAU drivers for supported hardware),
     97      <xref linkend="llvm"/> (required for Radeon 3D drivers and also for
    9998      llvmpipe which is intended to be the fastest of the three sw rasterizers,
    100       see <ulink url="http://www.mesa3d.org/faq.html#part3"></ulink> )
     99      see <ulink url="http://www.mesa3d.org/faq.html#part3"></ulink>) and
     100      <xref linkend="wayland"/> (required for <filename>libwayland-egl</filename>
     101      library which is used by many packages that use
     102      <application>Wayland</application>)
    101103    </para>
    102104
    103105    <bridgehead renderas="sect4">Optional</bridgehead>
    104106    <para role="optional">
    105       <ulink url="ftp://ftp.freedesktop.org/pub/mesa/demos/">mesa-demos</ulink>
    106       provides more than 300 extra demos to test
    107       <application>MesaLib</application>; two of them overwrites the ones
    108       included by
    109       <filename>MesaLib-&mesalib-version;-add_xdemos-1.patch</filename>;
    110       to avoid that, install in a different prefix or add, e.g.
    111       <option>--program-prefix=md</option> to configure, and
    112       <ulink url="http://wayland.freedesktop.org/">Wayland</ulink>
     107      <ulink url="http://libclc.llvm.org/">libclc</ulink>
     108      (to build Radeon OpenCL library) and
     109      <ulink url="http://omxil.sourceforge.net/">libomxil-bellagio</ulink>
     110      (to build Radeon OpenMAX driver)
    113111    </para>
    114112
     
    120118        Please note that <application>elfutils</application> and
    121119        <application>LLVM</application> are <emphasis>required</emphasis>
    122         for Radeon 3D drivers.  For an explanation of gallium please see
     120        for Radeon 3D drivers. For an explanation of Gallium please see
    123121        <ulink url="https://en.wikipedia.org/wiki/Gallium3D"></ulink>.
    124122      </para>
     
    156154    </para>
    157155
    158 <screen><userinput>./autogen.sh CFLAGS="-O2" CXXFLAGS="-O2"   \
    159             --prefix=$XORG_PREFIX          \
    160             --sysconfdir=/etc              \
    161             --enable-texture-float         \
    162             --enable-gles1                 \
    163             --enable-gles2                 \
    164             --enable-openvg                \
    165             --enable-osmesa                \
    166             --enable-xa                    \
    167             --enable-gbm                   \
    168             --enable-gallium-egl           \
    169             --enable-gallium-gbm           \
    170             --enable-glx-tls               \
    171             --with-egl-platforms="drm,x11" \
     156<screen><userinput>./autogen.sh CFLAGS="-O2" CXXFLAGS="-O2" \
     157            --prefix=/usr                \
     158            --sysconfdir=/etc            \
     159            --disable-gallium-egl        \
     160            --enable-texture-float       \
     161            --enable-gles1               \
     162            --enable-gles2               \
     163            --enable-osmesa              \
     164            --enable-xa                  \
     165            --enable-gbm                 \
     166            --enable-glx-tls             \
     167            --with-egl-platforms="drm,x11,wayland" \
    172168            --with-gallium-drivers="nouveau,r300,r600,radeonsi,svga,swrast" &amp;&amp;
    173169make</userinput></screen>
     
    178174    </para>
    179175
    180 <screen><userinput>make -C xdemos DEMOS_PREFIX=$XORG_PREFIX</userinput></screen>
     176<screen><userinput>make -C xdemos DEMOS_PREFIX=/usr</userinput></screen>
    181177
    182178    <para>
     
    196192    </para>
    197193
    198 <screen role="root"><userinput>make -C xdemos DEMOS_PREFIX=$XORG_PREFIX install</userinput></screen>
     194<screen role="root"><userinput>make -C xdemos DEMOS_PREFIX=/usr install</userinput></screen>
    199195
    200196    <para>
     
    211207  <sect2 role="commands">
    212208    <title>Command Explanations</title>
    213 
    214     <para>
    215       <command>patch -Np1...</command>: Fix various problems
    216       introduced with LLVM-3.5.0.
    217     </para>
    218209
    219210    <para>
     
    226217
    227218    <para>
     219      <parameter>--disable-gallium-egl</parameter>: This switch disables
     220      the egl_gallium loader in favor of egl_dri2 loader which supports
     221      both DRI and Gallium drivers.
     222    </para>
     223
     224    <para>
    228225      <parameter>--enable-texture-float</parameter>: This switch enables
    229226      floating-point textures and render buffers. Please consult
     
    243240
    244241    <para>
    245       <parameter>--enable-openvg</parameter>: This switch enables support for
    246       OpenVG API.
    247     </para>
    248 
    249     <para>
    250242      <parameter>--enable-osmesa</parameter>: This switch enables building of
    251243      the <filename class="libraryfile">libOSMesa</filename> library.
     
    263255
    264256    <para>
    265       <parameter>--enable-gallium-egl</parameter>: This switch enables optional
    266       EGL state tracker for Gallium.
    267     </para>
    268 
    269     <para>
    270257      <parameter>--enable-gallium-gbm</parameter>: This switch enables optional
    271258      GBM state tracker for Gallium.
     
    280267      <parameter>--with-egl-platforms="..."</parameter>: This parameter
    281268      controls for which platforms EGL should be built. Available
    282       platforms are drm, x11 and wayland.
     269      platforms are drm, x11 and wayland. Remove <option>wayland</option>
     270      from the list if you have not installed
     271      <application>Wayland</application>.
    283272    </para>
    284273
     
    296285      enable experimental R600 <application>LLVM</application> backend
    297286      for graphics shaders which claims to speed up the driver.
    298     </para>
    299 
    300     <para>
    301       <option>--enable-sysfs</option>: Use this switch to enable simple PCI
    302       identification method, required for building DRI on systems without udev.
    303287    </para>
    304288
     
    324308          libGLESv2.so,
    325309          libGL.so,
    326           libOpenVG.so,
    327           libOSMesa.so, and
     310          libOSMesa.so,
     311          libwayland-egl.so, and
    328312          libxatracker.so
    329           <!--libXvMCnouveau.so and libXvMCr600.so-->
    330313        </seg>
    331314        <seg>
    332           $XORG_PREFIX/include/EGL,
    333           $XORG_PREFIX/include/GL,
    334           $XORG_PREFIX/include/GLES,
    335           $XORG_PREFIX/include/GLES2,
    336           $XORG_PREFIX/include/GLES3,
    337           $XORG_PREFIX/include/KHR,
    338           $XORG_PREFIX/include/VG,
    339           $XORG_PREFIX/lib/dri,
    340           $XORG_PREFIX/lib/egl,
    341           $XORG_PREFIX/lib/gbm,
    342           $XORG_PREFIX/lib/vdpau, and
     315          /usr/include/EGL,
     316          /usr/include/GL,
     317          /usr/include/GLES,
     318          /usr/include/GLES2,
     319          /usr/include/GLES3,
     320          /usr/include/KHR,
     321          /usr/include/VG,
     322          /usr/lib/dri,
     323          /usr/lib/egl,
     324          /usr/lib/gallium-pipe,
     325          /usr/lib/gbm,
     326          /usr/lib/vdpau, and
    343327          /usr/share/doc/MesaLib-&mesalib-version; (optional)
    344328        </seg>
     
    439423      </varlistentry>
    440424
    441       <varlistentry id="libOpenVG">
    442         <term><filename class="libraryfile">libOpenVG.so</filename></term>
    443         <listitem>
    444           <para>
    445             is the <application>Mesa</application> OpenVG 1.0 library.
    446           </para>
    447           <indexterm zone="mesalib libOpenVG">
    448             <primary sortas="c-libOpenVG">libOpenVG.so</primary>
    449           </indexterm>
    450         </listitem>
    451       </varlistentry>
    452 
    453425      <varlistentry id="libOSMesa">
    454426        <term><filename class="libraryfile">libOSMesa.so</filename></term>
     
    463435      </varlistentry>
    464436
     437      <varlistentry id="libwayland-egl">
     438        <term><filename class="libraryfile">libwayland-egl.so</filename></term>
     439        <listitem>
     440          <para>
     441            is the <application>Wayland</application> specific EGL library.
     442          </para>
     443          <indexterm zone="mesalib libwayland-egl">
     444            <primary sortas="c-libwayland-egl">libwayland-egl.so</primary>
     445          </indexterm>
     446        </listitem>
     447      </varlistentry>
     448
    465449      <varlistentry id="libxatracker">
    466450        <term><filename class="libraryfile">libxatracker.so</filename></term>
Note: See TracChangeset for help on using the changeset viewer.