[a8599ff] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[a8599ff] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[fce275e] | 7 | <!ENTITY freeglut-download-http "&sourceforge-repo;/freeglut/freeglut-&freeglut-version;.tar.gz">
|
---|
[60fbfe6] | 8 | <!ENTITY freeglut-download-ftp " ">
|
---|
| 9 | <!ENTITY freeglut-md5sum "6d16873bd876fbf4980a927cfbc496a1">
|
---|
| 10 | <!ENTITY freeglut-size "459 KB">
|
---|
| 11 | <!ENTITY freeglut-buildsize "7.6 MB">
|
---|
| 12 | <!ENTITY freeglut-time "0.2 SBU">
|
---|
[a8599ff] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="freeglut" xreflabel="freeglut-&freeglut-version;">
|
---|
[79d1ffbe] | 16 | <?dbhtml filename="freeglut.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>freeglut-&freeglut-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="freeglut">
|
---|
| 26 | <primary sortas="a-Freeglut">Freeglut</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to freeglut</title>
|
---|
| 31 |
|
---|
| 32 | <para><application>freeglut</application> is intended to be a 100% compatible,
|
---|
| 33 | completely opensourced clone of the GLUT library. GLUT is a window system
|
---|
| 34 | independent toolkit for writing OpenGL programs, implementing a simple
|
---|
| 35 | windowing API, which makes learning about and exploring OpenGL programming
|
---|
| 36 | very easy.</para>
|
---|
| 37 |
|
---|
[01cdc7fb] | 38 | <para>If you built the GLUT library during an installation of
|
---|
| 39 | <xref linkend="mesalib"/>, you do not need to install this package.</para>
|
---|
| 40 |
|
---|
[79d1ffbe] | 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 |
|
---|
[7162bb0] | 63 | <bridgehead renderas="sect3">freeglut Dependencies</bridgehead>
|
---|
[79d1ffbe] | 64 |
|
---|
| 65 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[7335854e] | 66 | <para role="required"><xref linkend="mesalib"/></para>
|
---|
[79d1ffbe] | 67 |
|
---|
[c5c2654] | 68 | <para condition="html" role="usernotes">User Notes:
|
---|
| 69 | <ulink url="&blfs-wiki;/freeglut"/></para>
|
---|
| 70 |
|
---|
[79d1ffbe] | 71 | </sect2>
|
---|
| 72 |
|
---|
| 73 | <sect2 role="installation">
|
---|
| 74 | <title>Installation of freeglut</title>
|
---|
| 75 |
|
---|
| 76 | <para>Install <application>freeglut</application> by running the
|
---|
| 77 | following commands:</para>
|
---|
| 78 |
|
---|
[9f253167] | 79 | <screen><userinput>sed 's@-Werror@@g' -i configure &&
|
---|
| 80 | ./configure --prefix=/usr &&
|
---|
[79d1ffbe] | 81 | make</userinput></screen>
|
---|
| 82 |
|
---|
| 83 | <para>This package does not come with a test suite.</para>
|
---|
| 84 |
|
---|
| 85 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 86 |
|
---|
| 87 | <screen role="root"><userinput>make install &&
|
---|
[54664502] | 88 | install -v -d -m755 /usr/share/doc/freeglut-&freeglut-version; &&
|
---|
| 89 | install -v -m644 doc/freeglut_user_interface.html \
|
---|
[79d1ffbe] | 90 | /usr/share/doc/freeglut-&freeglut-version;</userinput></screen>
|
---|
| 91 |
|
---|
| 92 | </sect2>
|
---|
[9f253167] | 93 |
|
---|
| 94 | <sect2 role="commands">
|
---|
| 95 | <title>Command Explanations</title>
|
---|
| 96 |
|
---|
| 97 | <para><command>sed 's@-Werror@@g' -i configure</command>: This command
|
---|
| 98 | removes the <parameter>-Werror</parameter> flag from the
|
---|
| 99 | <parameter>CFLAGS</parameter> and <parameter>CXXFLAGS</parameter>
|
---|
| 100 | environment variables to avoid compilation failures due to old
|
---|
| 101 | coding standards.</para>
|
---|
| 102 |
|
---|
| 103 | </sect2>
|
---|
[79d1ffbe] | 104 |
|
---|
| 105 | <sect2 role="content">
|
---|
| 106 | <title>Contents</title>
|
---|
| 107 |
|
---|
| 108 | <segmentedlist>
|
---|
| 109 | <segtitle>Installed Programs</segtitle>
|
---|
| 110 | <segtitle>Installed Libraries</segtitle>
|
---|
| 111 | <segtitle>Installed Directories</segtitle>
|
---|
| 112 |
|
---|
| 113 | <seglistitem>
|
---|
| 114 | <seg>None</seg>
|
---|
| 115 | <seg>libglut.{so,a}</seg>
|
---|
| 116 | <seg>/usr/share/doc/freeglut-&freeglut-version;</seg>
|
---|
| 117 | </seglistitem>
|
---|
| 118 | </segmentedlist>
|
---|
| 119 |
|
---|
| 120 | <variablelist>
|
---|
| 121 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 122 | <?dbfo list-presentation="list"?>
|
---|
| 123 | <?dbhtml list-presentation="table"?>
|
---|
| 124 |
|
---|
| 125 | <varlistentry id="libglut">
|
---|
[c5c2654] | 126 | <term><filename class='libraryfile'>libglut.{so,a}</filename></term>
|
---|
[79d1ffbe] | 127 | <listitem>
|
---|
| 128 | <para>contains functions that implement the OpenGL Utility
|
---|
| 129 | Toolkit.</para>
|
---|
| 130 | <indexterm zone="freeglut libglut">
|
---|
[c5c2654] | 131 | <primary sortas="c-libglut">libglut.{so,a}</primary>
|
---|
[79d1ffbe] | 132 | </indexterm>
|
---|
| 133 | </listitem>
|
---|
| 134 | </varlistentry>
|
---|
| 135 |
|
---|
| 136 | </variablelist>
|
---|
| 137 |
|
---|
| 138 | </sect2>
|
---|
| 139 |
|
---|
[a8599ff] | 140 | </sect1>
|
---|