Changeset 01b4c19a


Ignore:
Timestamp:
07/23/2014 12:27:44 AM (10 years ago)
Author:
Christopher Gregory <cjg@…>
Branches:
systemd-11177
Children:
b9893e6
Parents:
0afc4ddf
Message:

Seems the changes made to mesalib did not make it in transfer

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

File:
1 edited

Legend:

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

    r0afc4ddf r01b4c19a  
    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">
     10<!--  <!ENTITY mesalib-download-ftp
     11  "ftp://ftp.freedesktop.org/pub/mesa/&mesalib-version;/MesaLib-&mesalib-version;.tar.bz2">-->
    1012  <!ENTITY mesalib-md5sum        "11d3542da1b703618634be840a87b0b2">
    1113  <!ENTITY mesalib-size          "6.9 MB">
     
    9597    <bridgehead renderas="sect4">Recommended</bridgehead>
    9698    <para role="recommended">
    97       <xref linkend="elfutils"/> (required for Radeon 3D drivers),
    98       <xref linkend="libvdpau"/> (to build VDPAU drivers for supported hardware),
    99       <xref linkend="llvm"/> (required for Radeon 3D drivers and also for
     99      <xref linkend="elfutils"/> (required for radeon 3d drivers),
     100      <xref linkend="libvdpau"/> (to build VDPAU drivers),
     101      <xref linkend="llvm"/> (required for radeon 3d drivers and also for
    100102      llvmpipe which is intended to be the fastest of the three sw rasterizers,
    101       see <ulink url="http://www.mesa3d.org/faq.html#part3"></ulink>) and
    102       <xref linkend="wayland"/> (required for <filename>libwayland-egl</filename>
    103       library which is used by many packages that use
    104       <application>Wayland</application>)
     103      see <ulink url="http://www.mesa3d.org/faq.html#part3"></ulink> )
    105104    </para>
    106105
    107106    <bridgehead renderas="sect4">Optional</bridgehead>
    108107    <para role="optional">
    109       <ulink url="http://libclc.llvm.org/">libclc</ulink>
    110       (to build Radeon OpenCL library) and
    111       <ulink url="http://omxil.sourceforge.net/">libomxil-bellagio</ulink>
    112       (to build Radeon OpenMAX driver)
     108      <ulink url="ftp://ftp.freedesktop.org/pub/mesa/demos/">mesa-demos</ulink>
     109      provides more than 300 extra demos to test
     110      <application>MesaLib</application>; two of them overwrites the ones
     111      included by
     112      <filename>MesaLib-&mesalib-version;-add_xdemos-1.patch</filename>;
     113      to avoid that, install in a different prefix or add, e.g.
     114      <option>--program-prefix=md</option> to configure, and
     115      <xref linkend="wayland"/>
    113116    </para>
    114117
     
    120123        Please note that <application>elfutils</application> and
    121124        <application>LLVM</application> are <emphasis>required</emphasis>
    122         for Radeon 3D drivers. For an explanation of gallium please see
     125        for Radeon 3D drivers.  For an explanation of gallium please see
    123126        <ulink url="https://en.wikipedia.org/wiki/Gallium3D"></ulink>.
    124127      </para>
     
    164167    </para>
    165168
    166 <screen><userinput>./autogen.sh CFLAGS="-O2" CXXFLAGS="-O2" \
    167             --prefix=/usr                \
    168             --sysconfdir=/etc            \
    169             --enable-texture-float       \
    170             --enable-gles1               \
    171             --enable-gles2               \
    172             --enable-openvg              \
    173             --enable-osmesa              \
    174             --enable-xa                  \
    175             --enable-gbm                 \
    176             --enable-gallium-egl         \
    177             --enable-gallium-gbm         \
    178             --enable-glx-tls             \
    179             --with-egl-platforms="drm,x11,wayland" \
    180             --with-gallium-drivers="nouveau,r300,r600,radeonsi,svga,swrast" &amp;&amp;
     169<screen><userinput>./autogen.sh CFLAGS="-O2" CXXFLAGS="-O2"   \
     170            --prefix=$XORG_PREFIX          \
     171            --sysconfdir=/etc              \
     172            --enable-texture-float         \
     173            --enable-gles1                 \
     174            --enable-gles2                 \
     175            --enable-osmesa                \
     176            --enable-xa                    \
     177            --enable-gbm                   \
     178            --disable-gallium-egl          \
     179            --enable-gallium-gbm           \
     180            --enable-shared-glapi          \
     181            --enable-glx-tls               \
     182            --with-egl-platforms="x11,wayland,drm" \
     183            --with-gallium-drivers="nouveau,r300,r600,radeonsi,swrast" &amp;&amp;
    181184make</userinput></screen>
    182185
     
    186189    </para>
    187190
    188 <screen><userinput>make -C xdemos DEMOS_PREFIX=/usr</userinput></screen>
     191<screen><userinput>make -C xdemos DEMOS_PREFIX=$XORG_PREFIX</userinput></screen>
    189192
    190193    <para>
     
    204207    </para>
    205208
    206 <screen role="root"><userinput>make -C xdemos DEMOS_PREFIX=/usr install</userinput></screen>
     209<screen role="root"><userinput>make -C xdemos DEMOS_PREFIX=$XORG_PREFIX install</userinput></screen>
    207210
    208211    <para>
     
    246249
    247250    <para>
     251      <parameter>--disable-gallium-egl</parameter>: This switch disables
     252      the egl_gallium loader so that on Intel 915 and 965 hardware we
     253      avoid harmless error messages at runtime.  The real Gallium drivers
     254      will be built as DRI drivers, which egl_dri2 loader will load just fine.
     255    </para>
     256
     257    <para>
    248258      <parameter>--enable-openvg</parameter>: This switch enables support for
    249       OpenVG API.
     259      OpenVG API. In order to use this switch you will need to replace
     260      <parameter>--disable-gallium-egl</parameter> with
     261      <parameter>--enable-gallium-egl</parameter>.
    250262    </para>
    251263
     
    281293
    282294    <para>
     295      <parameter>--enable-shared-glapi</parameter>: This switch makes libGL
     296      use the shared libglapi which is required if applications mix
     297      OpenGL and OpenGL ES.
     298    </para>
     299
     300    <para>
    283301      <parameter>--with-egl-platforms="..."</parameter>: This parameter
    284302      controls for which platforms EGL should be built. Available
    285       platforms are drm, x11 and wayland. Remove <option>wayland</option>
    286       from the list if you have not installed
    287       <application>Wayland</application>.
     303      platforms are drm, x11 and wayland.
    288304    </para>
    289305
     
    318334        </seg>
    319335        <seg>
    320           libEGL.so,
    321           libgbm.so,
    322           libglapi.so,
    323           libGLESv1_CM.so,
     336          libGL.so,
     337          libEGL.so,
     338          libGLESv1_CM.so,
    324339          libGLESv2.so,
    325           libGL.so,
    326           libOSMesa.so,
    327           libOpenVG.so,
    328           libwayland-egl.so, and
    329           libxatracker.so
     340          libOSMesa.so,
     341          libgbm.so,
     342          libglapi.so,
     343          libxatracker.so,
     344          libwayland-egl.so,
     345          <!--libXvMCnouveau.so and libXvMCr600.so--> and
     346          several libs under /usr/lib/{dri,egl,gallium-pipe,gbm,vdpau}
    330347        </seg>
    331348        <seg>
    332           /usr/include/EGL,
    333           /usr/include/GL,
    334           /usr/include/GLES,
    335           /usr/include/GLES2,
    336           /usr/include/GLES3,
    337           /usr/include/KHR,
    338           /usr/include/VG,
    339           /usr/lib/dri,
    340           /usr/lib/egl,
    341           /usr/lib/gallium-pipe,
    342           /usr/lib/gbm,
    343           /usr/lib/vdpau, and
     349          $XORG_PREFIX/include/EGL,
     350          $XORG_PREFIX/include/GL,
     351          $XORG_PREFIX/include/GLES,
     352          $XORG_PREFIX/include/GLES2,
     353          $XORG_PREFIX/include/GLES3,
     354          $XORG_PREFIX/include/KHR,
     355          $XORG_PREFIX/include/VG,
     356          $XORG_PREFIX/lib/dri,
     357          $XORG_PREFIX/lib/egl,
     358          $XORG_PREFIX/lib/gallium-pipe,
     359          $XORG_PREFIX/lib/gbm,
     360          $XORG_PREFIX/lib/vdpau, and
    344361          /usr/share/doc/MesaLib-&mesalib-version; (optional)
    345362        </seg>
     
    440457      </varlistentry>
    441458
    442       <varlistentry id="libOpenVG">
    443         <term><filename class="libraryfile">libOpenVG.so</filename></term>
    444         <listitem>
    445           <para>
    446             is the <application>Mesa</application> OpenVG 1.0 library.
    447           </para>
    448           <indexterm zone="mesalib libOpenVG">
    449             <primary sortas="c-libOpenVG">libOpenVG.so</primary>
     459      <varlistentry id="libwayland-egl">
     460        <term><filename class="libraryfile">libwayland-egl.so</filename></term>
     461        <listitem>
     462          <para>
     463            is the <application>Mesa</application> Wayland framebuffer library.
     464          </para>
     465          <indexterm zone="mesalib libwayland-egl">
     466            <primary sortas="c-libwayland-egl">libwayland-egl.so</primary>
    450467          </indexterm>
    451468        </listitem>
Note: See TracChangeset for help on using the changeset viewer.