source: x/lib/glew.xml@ dc1a45e

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since dc1a45e was dc1a45e, checked in by Bruce Dubbs <bdubbs@…>, 15 months ago

Lots of tags

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