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 glad-download-http "https://github.com/Dav1dde/glad/archive/v&glad-version;/glad-&glad-version;.tar.gz">
|
---|
8 | <!ENTITY glad-download-ftp " ">
|
---|
9 | <!ENTITY glad-md5sum "028c39d581e6b53e53871f1dc21cf442">
|
---|
10 | <!ENTITY glad-size "632 KB">
|
---|
11 | <!ENTITY glad-buildsize "14 MB">
|
---|
12 | <!ENTITY glad-time "less than 0.1 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="glad" xreflabel="Glad-&glad-version;">
|
---|
16 | <?dbhtml filename="glad.html"?>
|
---|
17 |
|
---|
18 | <title>Glad-&glad-version;</title>
|
---|
19 |
|
---|
20 | <indexterm zone="glad">
|
---|
21 | <primary sortas="a-glad">Glad</primary>
|
---|
22 | </indexterm>
|
---|
23 |
|
---|
24 | <sect2 role="package">
|
---|
25 | <title>Introduction to Glad</title>
|
---|
26 |
|
---|
27 | <para>
|
---|
28 | The <application>Glad</application> package contains a generator for
|
---|
29 | loading Vulkan, OpenGL, EGL, GLES, and GLX contexts.
|
---|
30 | </para>
|
---|
31 |
|
---|
32 | &lfs122_checked;
|
---|
33 |
|
---|
34 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
35 | <itemizedlist spacing="compact">
|
---|
36 | <listitem>
|
---|
37 | <para>
|
---|
38 | Download (HTTP): <ulink url="&glad-download-http;"/>
|
---|
39 | </para>
|
---|
40 | </listitem>
|
---|
41 | <listitem>
|
---|
42 | <para>
|
---|
43 | Download (FTP): <ulink url="&glad-download-ftp;"/>
|
---|
44 | </para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>
|
---|
48 | Download MD5 sum: &glad-md5sum;
|
---|
49 | </para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>
|
---|
53 | Download size: &glad-size;
|
---|
54 | </para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>
|
---|
58 | Estimated disk space required: &glad-buildsize;
|
---|
59 | </para>
|
---|
60 | </listitem>
|
---|
61 | <listitem>
|
---|
62 | <para>
|
---|
63 | Estimated build time: &glad-time;
|
---|
64 | </para>
|
---|
65 | </listitem>
|
---|
66 | </itemizedlist>
|
---|
67 |
|
---|
68 | <bridgehead renderas="sect3">Glad Dependencies</bridgehead>
|
---|
69 |
|
---|
70 | <!-- Nothing required other than Jinja2, which is in LFS -->
|
---|
71 |
|
---|
72 | <!-- Tests cannot be run without these dependencies -->
|
---|
73 | <bridgehead renderas="sect4">Optional (required to run the tests)</bridgehead>
|
---|
74 | <para role="optional">
|
---|
75 | <xref linkend="pytest"/>,
|
---|
76 | <xref linkend="rust"/>,
|
---|
77 | <xref linkend="xorg7-lib"/>,
|
---|
78 | <ulink url="https://www.glfw.org/">glfw</ulink>, and
|
---|
79 | <ulink url="http://winehq.org/">WINE</ulink>
|
---|
80 | </para>
|
---|
81 |
|
---|
82 | </sect2>
|
---|
83 |
|
---|
84 | <sect2 role="installation">
|
---|
85 | <title>Installation of Glad</title>
|
---|
86 |
|
---|
87 | <para>
|
---|
88 | Install <application>Glad</application> by running the following
|
---|
89 | commands:
|
---|
90 | </para>
|
---|
91 |
|
---|
92 | &build-wheel;
|
---|
93 |
|
---|
94 | <para>
|
---|
95 | This package comes with a test suite, but it cannot be run without
|
---|
96 | installing the external dependencies listed above.
|
---|
97 | </para>
|
---|
98 |
|
---|
99 | <para>
|
---|
100 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
101 | </para>
|
---|
102 |
|
---|
103 | <screen role="root"><userinput>&install-wheel; glad2</userinput></screen>
|
---|
104 |
|
---|
105 | </sect2>
|
---|
106 |
|
---|
107 | <sect2 role="content">
|
---|
108 | <title>Contents</title>
|
---|
109 |
|
---|
110 | <segmentedlist>
|
---|
111 | <segtitle>Installed Programs</segtitle>
|
---|
112 | <segtitle>Installed Libraries</segtitle>
|
---|
113 | <segtitle>Installed Directories</segtitle>
|
---|
114 |
|
---|
115 | <seglistitem>
|
---|
116 | <seg>
|
---|
117 | glad
|
---|
118 | </seg>
|
---|
119 | <seg>
|
---|
120 | None
|
---|
121 | </seg>
|
---|
122 | <seg>
|
---|
123 | /usr/lib/python&python3-majorver;/site-packages/glad and
|
---|
124 | /usr/lib/python&python3-majorver;/site-packages/glad2-&glad-version;.dist-info
|
---|
125 | </seg>
|
---|
126 | </seglistitem>
|
---|
127 | </segmentedlist>
|
---|
128 |
|
---|
129 | <variablelist>
|
---|
130 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
131 | <?dbfo list-presentation="list"?>
|
---|
132 | <?dbhtml list-presentation="table"?>
|
---|
133 |
|
---|
134 | <varlistentry id="glad-prog">
|
---|
135 | <term><command>glad</command></term>
|
---|
136 | <listitem>
|
---|
137 | <para>
|
---|
138 | generates loaders for Vulkan, OpenGL, EGL, GLES, and GLX contexts
|
---|
139 | </para>
|
---|
140 | <indexterm zone="glad glad-prog">
|
---|
141 | <primary sortas="b-glad">glad</primary>
|
---|
142 | </indexterm>
|
---|
143 | </listitem>
|
---|
144 | </varlistentry>
|
---|
145 | </variablelist>
|
---|
146 | </sect2>
|
---|
147 | </sect1>
|
---|