glfs/general/graphlib/glm.xml
2024-03-02 15:24:50 -06:00

139 lines
3.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!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;
<!ENTITY glm-download-http "https://github.com/g-truc/glm/archive/&glm-version;/glm-&glm-version;.tar.gz">
<!ENTITY glm-download-ftp " ">
<!ENTITY glm-md5sum "f824ac50e16310a95279032f82cbd341">
<!ENTITY glm-size "4.4 MB">
<!ENTITY glm-buildsize "44 MB">
<!ENTITY glm-time "less than 0.1 SBU">
]>
<sect1 id="glm" xreflabel="GLM-&glm-version;">
<?dbhtml filename="glm.html"?>
<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>
&lfs121_checked;
<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>
<!--
<bridgehead renderas="sect3">GLM Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="cmake"/>
</para>-->
</sect2>
<sect2 role="installation">
<title>Installation of GLM</title>
<note>
<para>
This package is unusual as it includes its functionality in
header files. We just copy them into position.
</para>
</note>
<para>
As the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>cp -r glm /usr/include/ &amp;&amp;
cp -r doc /usr/share/doc/glm-&glm-version;</userinput></screen>
</sect2>
<!--
<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>
-->
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Program</segtitle>
<segtitle>Installed Library</segtitle>
<segtitle>Installed Directory</segtitle>
<seglistitem>
<seg>
None
</seg>
<seg>
None
</seg>
<seg>
/usr/include/glm and
/usr/share/doc/glm-&glm-version;
</seg>
</seglistitem>
</segmentedlist>
<!-- this package has no programs or libraries to describe -->
</sect2>
</sect1>