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