2019-04-10 06:36:36 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2019-04-11 04:23:42 +08:00
|
|
|
<!ENTITY glm-download-http "https://github.com/g-truc/glm/archive/&glm-version;/glm-&glm-version;.tar.gz">
|
2019-04-10 06:36:36 +08:00
|
|
|
<!ENTITY glm-download-ftp " ">
|
2020-04-15 02:15:25 +08:00
|
|
|
<!ENTITY glm-md5sum "0e83d4a33c7d4044a2c35c8d6aba4671">
|
2019-09-14 06:23:21 +08:00
|
|
|
<!ENTITY glm-size "4.2 MB">
|
2020-04-15 02:15:25 +08:00
|
|
|
<!ENTITY glm-buildsize "23 MB">
|
2019-09-14 06:23:21 +08:00
|
|
|
<!ENTITY glm-time "less than 0.1 SBU">
|
2019-04-10 06:36:36 +08:00
|
|
|
]>
|
|
|
|
|
|
|
|
<sect1 id="glm" xreflabel="GLM-&glm-version;">
|
|
|
|
<?dbhtml filename="glm.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
|
|
|
<title>GLM-&glm-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="glm">
|
|
|
|
<primary sortas="a-GLM">GLM</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to GLM</title>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
OpenGL Mathematics (<application>GLM</application>) is a header-only C++
|
|
|
|
mathematics library for graphics software based on the OpenGL Shading
|
|
|
|
Language (GLSL) specifications. An extension system provides extended
|
|
|
|
capabilities such as matrix transformations and quaternions.
|
|
|
|
</para>
|
|
|
|
|
2022-02-20 11:19:30 +08:00
|
|
|
&lfs111_checked;
|
2019-04-10 06:36:36 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&glm-download-http;"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&glm-download-ftp;"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download MD5 sum: &glm-md5sum;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download size: &glm-size;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Estimated disk space required: &glm-buildsize;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Estimated build time: &glm-time;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
2019-09-14 06:23:21 +08:00
|
|
|
|
2019-09-21 04:31:38 +08:00
|
|
|
<!--
|
2019-04-10 06:36:36 +08:00
|
|
|
<bridgehead renderas="sect3">GLM Dependencies</bridgehead>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
|
|
<para role="required">
|
|
|
|
<xref linkend="cmake"/>
|
2019-09-21 04:31:38 +08:00
|
|
|
</para>-->
|
2019-04-10 06:36:36 +08:00
|
|
|
|
|
|
|
<para condition="html" role="usernotes">
|
|
|
|
User Notes: <ulink url="&blfs-wiki;/GLM"/>
|
|
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of GLM</title>
|
|
|
|
|
2019-09-14 06:23:21 +08:00
|
|
|
<note>
|
|
|
|
<para>
|
2021-09-07 01:42:49 +08:00
|
|
|
This package is unusual as it includes its functionality in
|
2019-09-14 06:23:21 +08:00
|
|
|
header files. We just copy them into position.
|
|
|
|
</para>
|
|
|
|
</note>
|
2019-04-10 06:36:36 +08:00
|
|
|
|
|
|
|
<para>
|
2019-09-14 06:23:21 +08:00
|
|
|
As the <systemitem class="username">root</systemitem> user:
|
2019-04-10 06:36:36 +08:00
|
|
|
</para>
|
|
|
|
|
2019-09-14 06:23:21 +08:00
|
|
|
<screen role="root"><userinput>cp -r glm /usr/include/ &&
|
|
|
|
cp -r doc /usr/share/doc/glm-&glm-version;</userinput></screen>
|
2019-04-10 06:36:36 +08:00
|
|
|
</sect2>
|
2019-09-14 06:23:21 +08:00
|
|
|
<!--
|
2019-04-10 06:36:36 +08:00
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
<command>-DCMAKE_INSTALL_LIBDIR=lib ..</command>: Although no compiled
|
|
|
|
libraries are installed, this command ensures that the
|
|
|
|
<application>cmake</application> and
|
|
|
|
<application>pkg-config</application> files are installed into
|
|
|
|
<filename class="directory">/usr/lib</filename>.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
</sect2>
|
2019-09-14 06:23:21 +08:00
|
|
|
-->
|
2019-04-10 06:36:36 +08:00
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Program</segtitle>
|
|
|
|
<segtitle>Installed Library</segtitle>
|
|
|
|
<segtitle>Installed Directory</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
<seg>
|
2020-02-28 05:05:33 +08:00
|
|
|
None
|
2019-04-10 06:36:36 +08:00
|
|
|
</seg>
|
|
|
|
<seg>
|
2020-02-28 05:05:33 +08:00
|
|
|
None
|
2019-04-10 06:36:36 +08:00
|
|
|
</seg>
|
|
|
|
<seg>
|
2020-02-28 05:05:33 +08:00
|
|
|
/usr/include/glm
|
2019-04-10 06:36:36 +08:00
|
|
|
</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<!-- this package has no programs or libraries to describe -->
|
|
|
|
|
|
|
|
</sect2>
|
2021-02-19 23:20:16 +08:00
|
|
|
|
2019-04-10 06:36:36 +08:00
|
|
|
</sect1>
|