1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
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 "f824ac50e16310a95279032f82cbd341">
|
---|
10 | <!ENTITY glm-size "4.4 MB">
|
---|
11 | <!ENTITY glm-buildsize "44 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 |
|
---|
19 | <title>GLM-&glm-version;</title>
|
---|
20 |
|
---|
21 | <indexterm zone="glm">
|
---|
22 | <primary sortas="a-GLM">GLM</primary>
|
---|
23 | </indexterm>
|
---|
24 |
|
---|
25 | <sect2 role="package">
|
---|
26 | <title>Introduction to GLM</title>
|
---|
27 |
|
---|
28 | <para>
|
---|
29 | OpenGL Mathematics (<application>GLM</application>) is a header-only C++
|
---|
30 | mathematics library for graphics software based on the OpenGL Shading
|
---|
31 | Language (GLSL) specifications. An extension system provides extended
|
---|
32 | capabilities such as matrix transformations and quaternions.
|
---|
33 | </para>
|
---|
34 |
|
---|
35 | &lfs122_checked;
|
---|
36 |
|
---|
37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
38 | <itemizedlist spacing="compact">
|
---|
39 | <listitem>
|
---|
40 | <para>
|
---|
41 | Download (HTTP): <ulink url="&glm-download-http;"/>
|
---|
42 | </para>
|
---|
43 | </listitem>
|
---|
44 | <listitem>
|
---|
45 | <para>
|
---|
46 | Download (FTP): <ulink url="&glm-download-ftp;"/>
|
---|
47 | </para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>
|
---|
51 | Download MD5 sum: &glm-md5sum;
|
---|
52 | </para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>
|
---|
56 | Download size: &glm-size;
|
---|
57 | </para>
|
---|
58 | </listitem>
|
---|
59 | <listitem>
|
---|
60 | <para>
|
---|
61 | Estimated disk space required: &glm-buildsize;
|
---|
62 | </para>
|
---|
63 | </listitem>
|
---|
64 | <listitem>
|
---|
65 | <para>
|
---|
66 | Estimated build time: &glm-time;
|
---|
67 | </para>
|
---|
68 | </listitem>
|
---|
69 | </itemizedlist>
|
---|
70 |
|
---|
71 | <!--
|
---|
72 | <bridgehead renderas="sect3">GLM Dependencies</bridgehead>
|
---|
73 |
|
---|
74 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
75 | <para role="required">
|
---|
76 | <xref linkend="cmake"/>
|
---|
77 | </para>-->
|
---|
78 |
|
---|
79 | </sect2>
|
---|
80 |
|
---|
81 | <sect2 role="installation">
|
---|
82 | <title>Installation of GLM</title>
|
---|
83 |
|
---|
84 | <note>
|
---|
85 | <para>
|
---|
86 | This package is unusual as it includes its functionality in
|
---|
87 | header files. We just copy them into position.
|
---|
88 | </para>
|
---|
89 | </note>
|
---|
90 |
|
---|
91 | <para>
|
---|
92 | As the <systemitem class="username">root</systemitem> user:
|
---|
93 | </para>
|
---|
94 |
|
---|
95 | <screen role="root"><userinput>cp -r glm /usr/include/ &&
|
---|
96 | cp -r doc /usr/share/doc/glm-&glm-version;</userinput></screen>
|
---|
97 | </sect2>
|
---|
98 |
|
---|
99 | <sect2 role="content">
|
---|
100 | <title>Contents</title>
|
---|
101 |
|
---|
102 | <segmentedlist>
|
---|
103 | <segtitle>Installed Program</segtitle>
|
---|
104 | <segtitle>Installed Library</segtitle>
|
---|
105 | <segtitle>Installed Directory</segtitle>
|
---|
106 |
|
---|
107 | <seglistitem>
|
---|
108 | <seg>
|
---|
109 | None
|
---|
110 | </seg>
|
---|
111 | <seg>
|
---|
112 | None
|
---|
113 | </seg>
|
---|
114 | <seg>
|
---|
115 | /usr/include/glm and
|
---|
116 | /usr/share/doc/glm-&glm-version;
|
---|
117 | </seg>
|
---|
118 | </seglistitem>
|
---|
119 | </segmentedlist>
|
---|
120 |
|
---|
121 | <!-- this package has no programs or libraries to describe -->
|
---|
122 |
|
---|
123 | </sect2>
|
---|
124 |
|
---|
125 | </sect1>
|
---|