source: x/lib/freeglut.xml@ 7752d7d

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
Last change on this file since 7752d7d was 7752d7d, checked in by Bruce Dubbs <bdubbs@…>, 12 years ago

Add instruction so freeglut can find libraries when needed

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

  • Property mode set to 100644
File size: 4.5 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 freeglut-download-http
8 "&sourceforge-repo;/freeglut/freeglut-&freeglut-version;.tar.gz">
9 <!ENTITY freeglut-download-ftp " ">
10 <!ENTITY freeglut-md5sum "5db8651af306bc403fbfd36934a20e1d">
11 <!ENTITY freeglut-size "960 KB">
12 <!ENTITY freeglut-buildsize "10 MB">
13 <!ENTITY freeglut-time "0.1 SBU">
14]>
15
16<sect1 id="freeglut" xreflabel="freeglut-&freeglut-version;">
17 <?dbhtml filename="freeglut.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>freeglut-&freeglut-version;</title>
25
26 <indexterm zone="freeglut">
27 <primary sortas="a-Freeglut">Freeglut</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to freeglut</title>
32
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>
38
39 &lfs71_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>Download (HTTP): <ulink url="&freeglut-download-http;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download (FTP): <ulink url="&freeglut-download-ftp;"/></para>
48 </listitem>
49 <listitem>
50 <para>Download MD5 sum: &freeglut-md5sum;</para>
51 </listitem>
52 <listitem>
53 <para>Download size: &freeglut-size;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated disk space required: &freeglut-buildsize;</para>
57 </listitem>
58 <listitem>
59 <para>Estimated build time: &freeglut-time;</para>
60 </listitem>
61 </itemizedlist>
62
63 <bridgehead renderas="sect3">freeglut Dependencies</bridgehead>
64
65 <bridgehead renderas="sect4">Required</bridgehead>
66 <para role="required"><xref linkend="mesalib"/></para>
67
68 <para condition="html" role="usernotes">User Notes:
69 <ulink url="&blfs-wiki;/freeglut"/></para>
70 </sect2>
71
72 <sect2 role="installation">
73 <title>Installation of freeglut</title>
74
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>
79
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;
86make</userinput></screen>
87
88 <para>This package does not come with a test suite.</para>
89
90 <para>Now, as the <systemitem class="username">root</systemitem>
91 user:</para>
92
93<screen role="root"><userinput>make install &amp;&amp;
94mkdir -p $XORG_PREFIX/share/doc/freeglut-&freeglut-version; &amp;&amp;
95cp doc/*.{html,png} $XORG_PREFIX/share/doc/freeglut-&freeglut-version;</userinput></screen>
96 </sect2>
97
98 <sect2 role="commands">
99 <title>Command Explanations</title>
100
101 <para><option>--disable-static</option>: This option stops it compiling a
102 static version of the library.</para>
103 </sect2>
104
105 <sect2 role="content">
106 <title>Contents</title>
107
108 <segmentedlist>
109 <segtitle>Installed Libraries</segtitle>
110 <segtitle>Installed Directories</segtitle>
111
112 <seglistitem>
113 <seg>libglut.so</seg>
114 <seg><replaceable>&lt;$XORG_PREFIX&gt;</replaceable>/share/doc/freeglut-&freeglut-version;</seg>
115 </seglistitem>
116 </segmentedlist>
117
118 <variablelist>
119 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
120 <?dbfo list-presentation="list"?>
121 <?dbhtml list-presentation="table"?>
122
123 <varlistentry id="libglut">
124 <term><filename class='libraryfile'>libglut.so</filename></term>
125 <listitem>
126 <para>contains functions that implement the OpenGL Utility
127 Toolkit.</para>
128 <indexterm zone="freeglut libglut">
129 <primary sortas="c-libglut">libglut.so</primary>
130 </indexterm>
131 </listitem>
132 </varlistentry>
133 </variablelist>
134 </sect2>
135</sect1>
Note: See TracBrowser for help on using the repository browser.