source: x/lib/cogl.xml@ 585a5ea6

systemd-13485
Last change on this file since 585a5ea6 was 585a5ea6, checked in by DJ Lucas <dj@…>, 8 years ago

minor fixes

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@17025 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 7.0 KB
Line 
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 cogl-download-http "&gnome-download-http;/cogl/1.22/cogl-&cogl-version;.tar.xz">
8 <!ENTITY cogl-download-ftp "&gnome-download-ftp;/cogl/1.22/cogl-&cogl-version;.tar.xz">
9 <!ENTITY cogl-md5sum "ab684ec96848d79d22757fb3064820c8">
10 <!ENTITY cogl-size "1.6 MB">
11 <!ENTITY cogl-buildsize "59 MB">
12 <!ENTITY cogl-time "0.5 SBU (additional 0.8 SBU for tests)">
13]>
14
15<sect1 id="cogl" xreflabel="Cogl-&cogl-version;">
16 <?dbhtml filename="cogl.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>Cogl-&cogl-version;</title>
24
25 <indexterm zone="cogl">
26 <primary sortas="a-Cogl">Cogl</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to Cogl</title>
31
32 <para>
33 <application>Cogl</application> is a modern 3D graphics API with associated
34 utility APIs designed to expose the features of 3D graphics hardware using
35 a direct state access API design, as opposed to the state-machine style
36 of OpenGL.
37 </para>
38
39 &lfs77_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>
45 Download (HTTP): <ulink url="&cogl-download-http;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download (FTP): <ulink url="&cogl-download-ftp;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download MD5 sum: &cogl-md5sum;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download size: &cogl-size;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated disk space required: &cogl-buildsize;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated build time: &cogl-time;
71 </para>
72 </listitem>
73 </itemizedlist>
74
75 <bridgehead renderas="sect3">Cogl Dependencies</bridgehead>
76
77 <bridgehead renderas="sect4">Required</bridgehead>
78 <para role="required">
79 <xref linkend="cairo"/>,
80 <xref linkend="gdk-pixbuf"/>,
81 <xref linkend="mesa"/>, and
82 <xref linkend="pango"/>
83 </para>
84
85 <bridgehead renderas="sect4">Recommended</bridgehead>
86 <para role="recommended">
87 <xref linkend="gobject-introspection"/> and
88 <xref linkend="wayland"/>
89 </para>
90
91 <bridgehead renderas="sect4">Optional</bridgehead>
92 <para role="optional">
93 <xref linkend="gst10-plugins-base"/>,
94 <xref linkend="gtk-doc"/>,
95 <xref linkend="sdl"/>, and
96 <ulink url="http://www.libsdl.org/tmp/release/">SDL2</ulink>
97 </para>
98
99 <para condition="html" role="usernotes">User Notes:
100 <ulink url="&blfs-wiki;/cogl"/>
101 </para>
102 </sect2>
103
104 <sect2 role="installation">
105 <title>Installation of Cogl</title>
106
107 <para>
108 Install <application>Cogl</application> by running the following
109 commands:
110 </para>
111
112<screen><userinput>./configure --prefix=/usr \
113 --enable-gles1 \
114 --enable-gles2 \
115 --enable-kms-egl-platform \
116 --enable-wayland-egl-platform \
117 --enable-xlib-egl-platform \
118 --enable-wayland-egl-server &amp;&amp;
119make</userinput></screen>
120
121 <para>
122 To test the results, issue: <command>make check</command>. The
123 tests should be run from an X terminal on the hardware accelerated
124 Xorg Server.
125 </para>
126
127 <para>
128 Now, as the <systemitem class="username">root</systemitem> user:
129 </para>
130
131<screen role="root"><userinput>make install</userinput></screen>
132
133 </sect2>
134
135 <sect2 role="commands">
136 <title>Command Explanations</title>
137
138 <para>
139 <parameter>--enable-gles1</parameter>: This switch enables support
140 for OpenGL ES 1.1.
141 </para>
142
143 <para>
144 <parameter>--enable-gles2</parameter>: This switch enables support
145 for OpenGL ES 2.0.
146 </para>
147
148 <para>
149 <parameter>--enable-*-egl-platform</parameter>: This switch enables
150 support for KMS, Wayland and Xlib EGL platforms. They are required
151 for <application>GNOME</application> Wayland support.
152 </para>
153
154 <para>
155 <parameter>--enable-wayland-egl-server</parameter>: This switch
156 enables <application>Cogl</application>'s Wayland Server API
157 which is required for <application>GNOME</application> Wayland
158 support.
159 </para>
160
161 <para>
162 <option>--enable-cogl-gst</option>: This switch enables gstreamer support.
163 </para>
164
165 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
166 href="../../xincludes/gtk-doc-rebuild.xml"/>
167
168 </sect2>
169
170 <sect2 role="content">
171 <title>Contents</title>
172
173 <segmentedlist>
174 <segtitle>Installed Programs</segtitle>
175 <segtitle>Installed Libraries</segtitle>
176 <segtitle>Installed Directories</segtitle>
177
178 <seglistitem>
179 <seg>
180 None
181 </seg>
182 <seg>
183 libcogl-gles2.so,
184 libcogl-pango.so,
185 libcogl-path.so, and
186 libcogl.so, and optional libraries
187 libcogl-gst.so and /usr/lib/gstreamer-1.0/libgstcogl.so
188 </seg>
189 <seg>
190 /usr/include/cogl and
191 /usr/share/cogl
192 </seg>
193 </seglistitem>
194 </segmentedlist>
195
196 <variablelist>
197 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
198 <?dbfo list-presentation="list"?>
199 <?dbhtml list-presentation="table"?>
200
201 <varlistentry id="libcogl-gles2">
202 <term><filename class="libraryfile">libcogl-gles2.so</filename></term>
203 <listitem>
204 <para>
205 is the OpenGL ES 2.0 integration library for
206 <application>Cogl</application>.
207 </para>
208 <indexterm zone="cogl libcogl-gles2">
209 <primary sortas="c-libcogl-gles2">libcogl-gles2.so</primary>
210 </indexterm>
211 </listitem>
212 </varlistentry>
213
214 <varlistentry id="libcogl-pango">
215 <term><filename class="libraryfile">libcogl-pango.so</filename></term>
216 <listitem>
217 <para>
218 is the <application>Pango</application> integration library
219 for <application>Cogl</application>.
220 </para>
221 <indexterm zone="cogl libcogl-pango">
222 <primary sortas="c-libcogl-pango">libcogl-pango.so</primary>
223 </indexterm>
224 </listitem>
225 </varlistentry>
226
227 <varlistentry id="libcogl">
228 <term><filename class="libraryfile">libcogl.so</filename></term>
229 <listitem>
230 <para>
231 is an object oriented GL/GLES Abstraction/Utility Layer library.
232 </para>
233 <indexterm zone="cogl libcogl">
234 <primary sortas="c-libcogl">libcogl.so</primary>
235 </indexterm>
236 </listitem>
237 </varlistentry>
238
239 </variablelist>
240
241 </sect2>
242
243</sect1>
Note: See TracBrowser for help on using the repository browser.