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 glm-download-http "https://github.com/g-truc/glm/archive/&glm-version;/glm-&glm-version;.tar.gz">
|
---|
8 | <!ENTITY glm-download-ftp " ">
|
---|
9 | <!ENTITY glm-md5sum "0e83d4a33c7d4044a2c35c8d6aba4671">
|
---|
10 | <!ENTITY glm-size "4.2 MB">
|
---|
11 | <!ENTITY glm-buildsize "23 MB">
|
---|
12 | <!ENTITY glm-time "less than 0.1 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="glm" xreflabel="GLM-&glm-version;">
|
---|
16 | <?dbhtml filename="glm.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <date>$Date$</date>
|
---|
20 | </sect1info>
|
---|
21 |
|
---|
22 | <title>GLM-&glm-version;</title>
|
---|
23 |
|
---|
24 | <indexterm zone="glm">
|
---|
25 | <primary sortas="a-GLM">GLM</primary>
|
---|
26 | </indexterm>
|
---|
27 |
|
---|
28 | <sect2 role="package">
|
---|
29 | <title>Introduction to GLM</title>
|
---|
30 |
|
---|
31 | <para>
|
---|
32 | OpenGL Mathematics (<application>GLM</application>) is a header-only C++
|
---|
33 | mathematics library for graphics software based on the OpenGL Shading
|
---|
34 | Language (GLSL) specifications. An extension system provides extended
|
---|
35 | capabilities such as matrix transformations and quaternions.
|
---|
36 | </para>
|
---|
37 |
|
---|
38 | &lfs112_checked;
|
---|
39 |
|
---|
40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
41 | <itemizedlist spacing="compact">
|
---|
42 | <listitem>
|
---|
43 | <para>
|
---|
44 | Download (HTTP): <ulink url="&glm-download-http;"/>
|
---|
45 | </para>
|
---|
46 | </listitem>
|
---|
47 | <listitem>
|
---|
48 | <para>
|
---|
49 | Download (FTP): <ulink url="&glm-download-ftp;"/>
|
---|
50 | </para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>
|
---|
54 | Download MD5 sum: &glm-md5sum;
|
---|
55 | </para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>
|
---|
59 | Download size: &glm-size;
|
---|
60 | </para>
|
---|
61 | </listitem>
|
---|
62 | <listitem>
|
---|
63 | <para>
|
---|
64 | Estimated disk space required: &glm-buildsize;
|
---|
65 | </para>
|
---|
66 | </listitem>
|
---|
67 | <listitem>
|
---|
68 | <para>
|
---|
69 | Estimated build time: &glm-time;
|
---|
70 | </para>
|
---|
71 | </listitem>
|
---|
72 | </itemizedlist>
|
---|
73 |
|
---|
74 | <!--
|
---|
75 | <bridgehead renderas="sect3">GLM Dependencies</bridgehead>
|
---|
76 |
|
---|
77 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
78 | <para role="required">
|
---|
79 | <xref linkend="cmake"/>
|
---|
80 | </para>-->
|
---|
81 |
|
---|
82 | <para condition="html" role="usernotes">
|
---|
83 | User Notes: <ulink url="&blfs-wiki;/GLM"/>
|
---|
84 | </para>
|
---|
85 | </sect2>
|
---|
86 |
|
---|
87 | <sect2 role="installation">
|
---|
88 | <title>Installation of GLM</title>
|
---|
89 |
|
---|
90 | <note>
|
---|
91 | <para>
|
---|
92 | This package is unusual as it includes its functionality in
|
---|
93 | header files. We just copy them into position.
|
---|
94 | </para>
|
---|
95 | </note>
|
---|
96 |
|
---|
97 | <para>
|
---|
98 | As the <systemitem class="username">root</systemitem> user:
|
---|
99 | </para>
|
---|
100 |
|
---|
101 | <screen role="root"><userinput>cp -r glm /usr/include/ &&
|
---|
102 | cp -r doc /usr/share/doc/glm-&glm-version;</userinput></screen>
|
---|
103 | </sect2>
|
---|
104 | <!--
|
---|
105 | <sect2 role="commands">
|
---|
106 | <title>Command Explanations</title>
|
---|
107 |
|
---|
108 | <para>
|
---|
109 | <command>-DCMAKE_INSTALL_LIBDIR=lib ..</command>: Although no compiled
|
---|
110 | libraries are installed, this command ensures that the
|
---|
111 | <application>cmake</application> and
|
---|
112 | <application>pkg-config</application> files are installed into
|
---|
113 | <filename class="directory">/usr/lib</filename>.
|
---|
114 | </para>
|
---|
115 |
|
---|
116 | </sect2>
|
---|
117 | -->
|
---|
118 | <sect2 role="content">
|
---|
119 | <title>Contents</title>
|
---|
120 |
|
---|
121 | <segmentedlist>
|
---|
122 | <segtitle>Installed Program</segtitle>
|
---|
123 | <segtitle>Installed Library</segtitle>
|
---|
124 | <segtitle>Installed Directory</segtitle>
|
---|
125 |
|
---|
126 | <seglistitem>
|
---|
127 | <seg>
|
---|
128 | None
|
---|
129 | </seg>
|
---|
130 | <seg>
|
---|
131 | None
|
---|
132 | </seg>
|
---|
133 | <seg>
|
---|
134 | /usr/include/glm
|
---|
135 | </seg>
|
---|
136 | </seglistitem>
|
---|
137 | </segmentedlist>
|
---|
138 |
|
---|
139 | <!-- this package has no programs or libraries to describe -->
|
---|
140 |
|
---|
141 | </sect2>
|
---|
142 |
|
---|
143 | </sect1>
|
---|