source: x/lib/cogl.xml@ bed608b0

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since bed608b0 was bed608b0, checked in by DJ Lucas <dj@…>, 8 years ago

[Systemd merge] - Chapter 25

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17483 af4574ff-66df-0310-9fd7-8a98e5e911e0

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