[f527eeb] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[5e99854b] | 7 | <!ENTITY glew-download-http "https://downloads.sourceforge.net/glew/glew-&glew-version;.tgz">
|
---|
[f527eeb] | 8 | <!ENTITY glew-download-ftp " ">
|
---|
[5e99854b] | 9 | <!ENTITY glew-md5sum "3579164bccaef09e36c0af7f4fd5c7c7">
|
---|
| 10 | <!ENTITY glew-size "820 KB">
|
---|
[f527eeb] | 11 | <!ENTITY glew-buildsize "16 MB">
|
---|
| 12 | <!ENTITY glew-time "less than 0.1 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="glew" xreflabel="GLEW-&glew-version;">
|
---|
| 16 | <?dbhtml filename="glew.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <date>$Date$</date>
|
---|
| 20 | </sect1info>
|
---|
| 21 |
|
---|
| 22 | <title>GLEW-&glew-version;</title>
|
---|
| 23 |
|
---|
| 24 | <indexterm zone="glew">
|
---|
| 25 | <primary sortas="a-GLEW">GLEW</primary>
|
---|
| 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
| 29 | <title>Introduction to GLEW</title>
|
---|
| 30 |
|
---|
| 31 | <para>
|
---|
| 32 | <application>GLEW</application> is the OpenGL Extension Wrangler Library.
|
---|
| 33 | </para>
|
---|
| 34 |
|
---|
[c93c620c] | 35 | &lfs110a_checked;
|
---|
[f527eeb] | 36 |
|
---|
| 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>
|
---|
| 41 | Download (HTTP): <ulink url="&glew-download-http;"/>
|
---|
| 42 | </para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>
|
---|
| 46 | Download (FTP): <ulink url="&glew-download-ftp;"/>
|
---|
| 47 | </para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>
|
---|
| 51 | Download MD5 sum: &glew-md5sum;
|
---|
| 52 | </para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>
|
---|
| 56 | Download size: &glew-size;
|
---|
| 57 | </para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>
|
---|
| 61 | Estimated disk space required: &glew-buildsize;
|
---|
| 62 | </para>
|
---|
| 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>
|
---|
| 66 | Estimated build time: &glew-time;
|
---|
| 67 | </para>
|
---|
| 68 | </listitem>
|
---|
| 69 | </itemizedlist>
|
---|
| 70 |
|
---|
| 71 | <bridgehead renderas="sect3">glew Dependencies</bridgehead>
|
---|
| 72 |
|
---|
| 73 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 74 | <para role="required">
|
---|
| 75 | <xref linkend="mesa"/>
|
---|
| 76 | </para>
|
---|
| 77 |
|
---|
| 78 | <para condition="html" role="usernotes">
|
---|
| 79 | User Notes: <ulink url="&blfs-wiki;/GLEW"/>
|
---|
| 80 | </para>
|
---|
| 81 | </sect2>
|
---|
| 82 |
|
---|
| 83 | <!--Required section-->
|
---|
| 84 | <sect2 role="installation">
|
---|
| 85 | <title>Installation of GLEW</title>
|
---|
| 86 |
|
---|
| 87 | <para>
|
---|
| 88 | Install <application>GLEW</application> by running the following
|
---|
| 89 | commands:
|
---|
| 90 | </para>
|
---|
| 91 |
|
---|
| 92 | <screen><userinput>sed -i 's%lib64%lib%g' config/Makefile.linux &&
|
---|
| 93 | sed -i -e '/glew.lib.static:/d' \
|
---|
| 94 | -e '/0644 .*STATIC/d' \
|
---|
| 95 | -e 's/glew.lib.static//' Makefile &&
|
---|
| 96 | make</userinput></screen>
|
---|
| 97 |
|
---|
| 98 | <para>
|
---|
| 99 | This package does not come with a test suite.
|
---|
| 100 | </para>
|
---|
| 101 |
|
---|
| 102 | <para>
|
---|
| 103 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 104 | </para>
|
---|
| 105 |
|
---|
| 106 | <screen role="root"><userinput>make install.all</userinput></screen>
|
---|
| 107 | </sect2>
|
---|
| 108 |
|
---|
| 109 | <!--Optional section-->
|
---|
| 110 | <sect2 role="commands">
|
---|
| 111 | <title>Command Explanations</title>
|
---|
| 112 |
|
---|
| 113 | <para>
|
---|
| 114 | <command>sed -i 's%lib64%lib%g' ...</command>: This ensures that the
|
---|
| 115 | library is installed in <filename class="directory">/usr/lib</filename>.
|
---|
| 116 | </para>
|
---|
| 117 |
|
---|
| 118 | <para>
|
---|
[aa41434] | 119 | <command>sed -i -e '/glew.lib.static:/d' ...</command>: This suppresses
|
---|
[f527eeb] | 120 | the static library.
|
---|
| 121 | </para>
|
---|
| 122 |
|
---|
| 123 | <para>
|
---|
| 124 | <command>make install.all</command>: This installs the programs as well as
|
---|
| 125 | the library.
|
---|
| 126 | </para>
|
---|
| 127 | </sect2>
|
---|
| 128 |
|
---|
| 129 |
|
---|
| 130 | <!--Required section-->
|
---|
| 131 | <sect2 role="content">
|
---|
| 132 | <title>Contents</title>
|
---|
| 133 |
|
---|
| 134 | <segmentedlist>
|
---|
| 135 | <segtitle>Installed Programs</segtitle>
|
---|
| 136 | <segtitle>Installed Library</segtitle>
|
---|
| 137 | <segtitle>Installed Directory</segtitle>
|
---|
| 138 |
|
---|
| 139 | <seglistitem>
|
---|
| 140 | <seg>
|
---|
[5e99854b] | 141 | glewinfo and visualinfo
|
---|
[f527eeb] | 142 | </seg>
|
---|
| 143 | <seg>
|
---|
[5e99854b] | 144 | libGLEW.so
|
---|
[f527eeb] | 145 | </seg>
|
---|
| 146 | <seg>
|
---|
[5e99854b] | 147 | /usr/include/GL
|
---|
[f527eeb] | 148 | </seg>
|
---|
| 149 | </seglistitem>
|
---|
| 150 | </segmentedlist>
|
---|
| 151 |
|
---|
| 152 | <variablelist>
|
---|
| 153 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 154 | <?dbfo list-presentation="list"?>
|
---|
| 155 | <?dbhtml list-presentation="table"?>
|
---|
| 156 |
|
---|
| 157 | <!-- If the program or library name conflicts (is the same) as the
|
---|
| 158 | package name, add -prog or -lib to the varlistentry entity id
|
---|
| 159 | and the 2nd entry of the indexterm zone entity -->
|
---|
| 160 |
|
---|
| 161 | <varlistentry id="glewinfo">
|
---|
| 162 | <term><command>glewinfo</command></term>
|
---|
| 163 | <listitem>
|
---|
| 164 | <para>
|
---|
[4c24eb0a] | 165 | provides information about the supported extensions
|
---|
[f527eeb] | 166 | </para>
|
---|
| 167 | <indexterm zone="glew glewinfo">
|
---|
| 168 | <primary sortas="b-glewinfo">glewinfo</primary>
|
---|
| 169 | </indexterm>
|
---|
| 170 | </listitem>
|
---|
| 171 | </varlistentry>
|
---|
| 172 |
|
---|
| 173 | <varlistentry id="visualinfo">
|
---|
| 174 | <term><command>visualinfo</command></term>
|
---|
| 175 | <listitem>
|
---|
| 176 | <para>
|
---|
[4c24eb0a] | 177 | is an extended version of glxinfo
|
---|
[f527eeb] | 178 | </para>
|
---|
| 179 | <indexterm zone="glew visualinfo">
|
---|
| 180 | <primary sortas="b-visualinfo">visualinfo</primary>
|
---|
| 181 | </indexterm>
|
---|
| 182 | </listitem>
|
---|
| 183 | </varlistentry>
|
---|
| 184 |
|
---|
| 185 | <varlistentry id="libGLEW.so">
|
---|
| 186 | <term><filename class="libraryfile">libGLEW.so</filename></term>
|
---|
| 187 | <listitem>
|
---|
| 188 | <para>
|
---|
[4c24eb0a] | 189 | provides functions to access OpenGL extensions
|
---|
[f527eeb] | 190 | </para>
|
---|
| 191 | <indexterm zone="glew libGLEW.so">
|
---|
| 192 | <primary sortas="c-libGLEW.so">libGLEW.so</primary>
|
---|
| 193 | </indexterm>
|
---|
| 194 | </listitem>
|
---|
| 195 | </varlistentry>
|
---|
| 196 | </variablelist>
|
---|
| 197 | </sect2>
|
---|
[4c24eb0a] | 198 |
|
---|
[f527eeb] | 199 | </sect1>
|
---|