Changeset 606dfd4 for x/lib


Ignore:
Timestamp:
10/10/2012 04:11:12 PM (12 years ago)
Author:
Krejzi <krejzi@…>
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:
68a5e1d0
Parents:
a7aa5be
Message:

Updated Xorg Drivers, Fixed Freeglut build with newer MesaLib and modified instructions to install it into /usr where MesaLib resides by default now. Explained how to disable llvm dependency in MesaLib.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • x/lib/freeglut.xml

    ra7aa5be r606dfd4  
    66
    77  <!ENTITY freeglut-download-http
    8   "&sourceforge-repo;/freeglut/freeglut-&freeglut-version;.tar.gz">
     8           "&sourceforge-repo;/freeglut/freeglut-&freeglut-version;.tar.gz">
    99  <!ENTITY freeglut-download-ftp " ">
    1010  <!ENTITY freeglut-md5sum        "5db8651af306bc403fbfd36934a20e1d">
     
    1414]>
    1515
    16 <sect1 id="freeglut" xreflabel="freeglut-&freeglut-version;">
     16<sect1 id="freeglut" xreflabel="Freeglut-&freeglut-version;">
    1717  <?dbhtml filename="freeglut.html"?>
    1818
     
    2222  </sect1info>
    2323
    24   <title>freeglut-&freeglut-version;</title>
     24  <title>Freeglut-&freeglut-version;</title>
    2525
    2626  <indexterm zone="freeglut">
     
    2929
    3030  <sect2 role="package">
    31     <title>Introduction to freeglut</title>
     31    <title>Introduction to Freeglut</title>
    3232
    33     <para><application>freeglut</application> is intended to be a 100%
    34     compatible, completely opensourced clone of the GLUT library. GLUT is a
    35     window system independent toolkit for writing OpenGL programs, implementing
    36     a simple windowing API, which makes learning about and exploring OpenGL
    37     programming very easy.</para>
     33    <para>
     34      <application>Freeglut</application> is intended to be a 100%
     35      compatible, completely opensourced clone of the GLUT library.
     36      GLUT is a window system independent toolkit for writing OpenGL
     37      programs, implementing a simple windowing API, which makes
     38      learning about and exploring OpenGL programming very easy.
     39    </para>
    3840
    39     &lfs71_checked;
     41    &lfs72_checked;
    4042
    4143    <bridgehead renderas="sect3">Package Information</bridgehead>
    4244    <itemizedlist spacing="compact">
    4345      <listitem>
    44         <para>Download (HTTP): <ulink url="&freeglut-download-http;"/></para>
     46        <para>
     47          Download (HTTP): <ulink url="&freeglut-download-http;"/>
     48        </para>
    4549      </listitem>
    4650      <listitem>
    47         <para>Download (FTP): <ulink url="&freeglut-download-ftp;"/></para>
     51        <para>
     52          Download (FTP): <ulink url="&freeglut-download-ftp;"/>
     53        </para>
    4854      </listitem>
    4955      <listitem>
    50         <para>Download MD5 sum: &freeglut-md5sum;</para>
     56        <para>
     57          Download MD5 sum: &freeglut-md5sum;
     58        </para>
    5159      </listitem>
    5260      <listitem>
    53         <para>Download size: &freeglut-size;</para>
     61        <para>
     62          Download size: &freeglut-size;
     63        </para>
    5464      </listitem>
    5565      <listitem>
    56         <para>Estimated disk space required: &freeglut-buildsize;</para>
     66        <para>
     67          Estimated disk space required: &freeglut-buildsize;
     68        </para>
    5769      </listitem>
    5870      <listitem>
    59         <para>Estimated build time: &freeglut-time;</para>
     71        <para>
     72          Estimated build time: &freeglut-time;
     73        </para>
    6074      </listitem>
    6175    </itemizedlist>
    6276
    63     <bridgehead renderas="sect3">freeglut Dependencies</bridgehead>
     77    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     78    <itemizedlist spacing="compact">
     79      <listitem>
     80        <para>
     81          Required patch:
     82          <ulink url="&patch-root;/freeglut-&freeglut-version;-remove_smooth_opengl3_demo-1.patch"/>
     83        </para>
     84      </listitem>
     85    </itemizedlist>
     86
     87    <bridgehead renderas="sect3">Freeglut Dependencies</bridgehead>
    6488
    6589    <bridgehead renderas="sect4">Required</bridgehead>
    66     <para role="required"><xref linkend="mesalib"/></para>
     90    <para role="required">
     91      <xref linkend="mesalib"/>
     92    </para>
    6793
    6894    <para condition="html" role="usernotes">User Notes:
    69     <ulink url="&blfs-wiki;/freeglut"/></para>
     95      <ulink url="&blfs-wiki;/freeglut"/>
     96    </para>
    7097  </sect2>
    7198
    7299  <sect2 role="installation">
    73     <title>Installation of freeglut</title>
     100    <title>Installation of Freeglut</title>
    74101
    75     <para>Some of the demo programs in <application>freeglut</application> are
    76     quite old and do not follow current practice when looking for libraries.
    77     If your $XORG_PREFIX is not <filename class='directory'>/usr</filename>, add
    78     the following command:</para>
     102    <para>
     103      Install <application>Freeglut</application> by running the
     104      following commands:
     105    </para>
    79106
    80 <screen><userinput>export LIBRARY_PATH=$XORG_PREFIX/lib</userinput></screen>
    81 
    82     <para>Install <application>freeglut</application> by running the
    83     following commands:</para>
    84 
    85 <screen><userinput>./configure --prefix=$XORG_PREFIX --disable-static &amp;&amp;
     107<screen><userinput>patch -Np1 -i ../freeglut-&freeglut-version;-remove_smooth_opengl3_demo-1.patch &amp;&amp;
     108./configure --prefix=/usr --disable-static &amp;&amp;
    86109make</userinput></screen>
    87110
    88     <para>This package does not come with a test suite.</para>
     111    <para>
     112      This package does not come with a test suite.
     113    </para>
    89114
    90     <para>Now, as the <systemitem class="username">root</systemitem>
    91     user:</para>
     115    <para>
     116      Now, as the <systemitem class="username">root</systemitem>
     117      user:
     118    </para>
    92119
    93 <screen role="root"><userinput>make install &amp;&amp;
    94 mkdir -p $XORG_PREFIX/share/doc/freeglut-&freeglut-version; &amp;&amp;
    95 cp doc/*.{html,png} $XORG_PREFIX/share/doc/freeglut-&freeglut-version;</userinput></screen>
     120<screen role="root"><userinput>make install</userinput></screen>
     121
    96122  </sect2>
    97123
     
    99125    <title>Command Explanations</title>
    100126
    101     <para><option>--disable-static</option>: This option stops it compiling a
    102     static version of the library.</para>
     127    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     128      href="../../xincludes/static-libraries.xml"/>
     129
    103130  </sect2>
    104131
     
    107134
    108135    <segmentedlist>
    109       <segtitle>Installed Libraries</segtitle>
    110       <segtitle>Installed Directories</segtitle>
     136      <segtitle>Installed Library</segtitle>
    111137
    112138      <seglistitem>
    113         <seg>libglut.so</seg>
    114         <seg><replaceable>&lt;$XORG_PREFIX&gt;</replaceable>/share/doc/freeglut-&freeglut-version;</seg>
     139        <seg>
     140          libglut.so
     141        </seg>
    115142      </seglistitem>
    116143    </segmentedlist>
     
    122149
    123150      <varlistentry id="libglut">
    124         <term><filename class='libraryfile'>libglut.so</filename></term>
     151        <term><filename class="libraryfile">libglut.so</filename></term>
    125152        <listitem>
    126           <para>contains functions that implement the OpenGL Utility
    127           Toolkit.</para>
     153          <para>
     154            contains functions that implement the OpenGL Utility
     155            Toolkit.
     156          </para>
    128157          <indexterm zone="freeglut libglut">
    129158            <primary sortas="c-libglut">libglut.so</primary>
     
    131160        </listitem>
    132161      </varlistentry>
     162
    133163    </variablelist>
     164
    134165  </sect2>
     166
    135167</sect1>
Note: See TracChangeset for help on using the changeset viewer.