source: x/lib/cogl.xml@ b4c475d

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 9.0 9.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt 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 b4c475d was b4c475d, checked in by Bruce Dubbs <bdubbs@…>, 5 years ago

Update to subversion-1.12.0.
Update to qca-2.2.1.
Update to mesa-19.0.3.
Update to cogl-1.22.4.
Update to qemu-4.0.0.
Update to cmake-3.14.3.

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

  • Property mode set to 100644
File size: 8.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 <!-- 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 "31755015a865c4af51ac84f6e53af8ab">
13 <!ENTITY cogl-size "1.6 MB">
14 <!ENTITY cogl-buildsize "55 MB">
15 <!ENTITY cogl-time "0.3 SBU (Using parallelism=4; add 0.5 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 &lfs84_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="glu"/>,
85 <xref linkend="mesa"/>,<phrase revision="sysv"> and</phrase>
86 <xref linkend="pango"/><phrase revision="systemd">, and
87 <xref linkend="wayland"/></phrase>
88 </para>
89
90 <bridgehead renderas="sect4">Recommended</bridgehead>
91 <para role="recommended">
92 <xref linkend="gobject-introspection"/>
93 </para>
94
95 <bridgehead renderas="sect4">Optional</bridgehead>
96 <para role="optional">
97 <xref linkend="gst10-plugins-base"/>,
98 <xref linkend="gtk-doc"/>,
99 <xref linkend="sdl"/>,<phrase revision="systemd"> and</phrase>
100 <xref linkend="sdl2"/><phrase revision="sysv">, and
101 <xref linkend="wayland"/></phrase>
102 </para>
103
104 <para condition="html" role="usernotes">User Notes:
105 <ulink url="&blfs-wiki;/cogl"/>
106 </para>
107 </sect2>
108
109 <sect2 role="installation">
110 <title>Installation of Cogl</title>
111<!--
112 <note>
113 <para>
114 This package may occasionally fail when building with multiple
115 processors. See <xref linkend="parallel-builds"/> for more
116 information.
117 </para>
118 </note>
119-->
120 <para>
121 Install <application>Cogl</application> by running the following
122 commands:
123 </para>
124
125 &parallel_issues;
126
127<screen revision="sysv"><userinput>sed -i 's/^#if COGL/#ifdef COGL/' cogl/winsys/cogl-winsys-egl.c &amp;&amp;
128
129./configure --prefix=/usr --enable-gles1 --enable-gles2 &amp;&amp;
130make</userinput></screen>
131
132<screen revision="systemd"><userinput>sed -i 's/^#if COGL/#ifdef COGL/' cogl/winsys/cogl-winsys-egl.c &amp;&amp;
133
134./configure --prefix=/usr --enable-gles1 --enable-gles2 \
135 --enable-{kms,wayland,xlib}-egl-platform \
136 --enable-wayland-egl-server &amp;&amp;
137make</userinput></screen>
138
139 <para>
140 To test the results, issue: <command>make check</command>. The
141 tests should be run from an X terminal on the hardware accelerated
142 Xorg Server. A few tests will use all CPUs in parallel, regardless of
143 parallellism settings.
144 </para>
145
146 <para>
147 Now, as the <systemitem class="username">root</systemitem> user:
148 </para>
149
150<screen role="root"><userinput>make install</userinput></screen>
151
152 </sect2>
153
154 <sect2 role="commands">
155 <title>Command Explanations</title>
156
157 <para>
158 <parameter>--enable-gles1</parameter>: This switch enables support
159 for OpenGL ES 1.1.
160 </para>
161
162 <para>
163 <parameter>--enable-gles2</parameter>: This switch enables support
164 for OpenGL ES 2.0.
165 </para>
166
167 <para>
168 <phrase revision="sysv">
169 <option>--enable-{kms,wayland,xlib}-egl-platform</option>:</phrase>
170 <phrase revision="systemd">
171 <parameter>--enable-{kms,wayland,xlib}-egl-platform</parameter>:</phrase>
172 These switches enable support for KMS, Wayland and Xlib EGL platforms.
173 They are required for <application>GNOME</application> Wayland support.
174 </para>
175
176 <para>
177 <phrase revision="sysv">
178 <option>--enable-wayland-egl-server</option>:</phrase>
179 <phrase revision="systemd">
180 <parameter>--enable-wayland-egl-server</parameter>:</phrase> This switch
181 enables <application>Cogl</application>'s Wayland Server API which is
182 required for <application>GNOME</application> Wayland support.
183 </para>
184
185 <para>
186 <option>--enable-cogl-gst</option>: This switch enables gstreamer support.
187 </para>
188
189 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
190 href="../../xincludes/gtk-doc-rebuild.xml"/>
191
192 </sect2>
193
194 <sect2 role="content">
195 <title>Contents</title>
196
197 <segmentedlist>
198 <segtitle>Installed Programs</segtitle>
199 <segtitle>Installed Libraries</segtitle>
200 <segtitle>Installed Directories</segtitle>
201
202 <seglistitem>
203 <seg>
204 None
205 </seg>
206 <seg>
207 libcogl-gles2.so,
208 libcogl-pango.so,
209 libcogl-path.so, and
210 libcogl.so, and optional libraries
211 libcogl-gst.so and /usr/lib/gstreamer-1.0/libgstcogl.so
212 </seg>
213 <seg>
214 /usr/include/cogl and
215 /usr/share/cogl
216 </seg>
217 </seglistitem>
218 </segmentedlist>
219
220 <variablelist>
221 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
222 <?dbfo list-presentation="list"?>
223 <?dbhtml list-presentation="table"?>
224
225 <varlistentry id="libcogl-gles2">
226 <term><filename class="libraryfile">libcogl-gles2.so</filename></term>
227 <listitem>
228 <para>
229 is the OpenGL ES 2.0 integration library for
230 <application>Cogl</application>.
231 </para>
232 <indexterm zone="cogl libcogl-gles2">
233 <primary sortas="c-libcogl-gles2">libcogl-gles2.so</primary>
234 </indexterm>
235 </listitem>
236 </varlistentry>
237
238 <varlistentry id="libcogl-pango">
239 <term><filename class="libraryfile">libcogl-pango.so</filename></term>
240 <listitem>
241 <para>
242 is the <application>Pango</application> integration library
243 for <application>Cogl</application>.
244 </para>
245 <indexterm zone="cogl libcogl-pango">
246 <primary sortas="c-libcogl-pango">libcogl-pango.so</primary>
247 </indexterm>
248 </listitem>
249 </varlistentry>
250
251 <varlistentry id="libcogl">
252 <term><filename class="libraryfile">libcogl.so</filename></term>
253 <listitem>
254 <para>
255 is an object oriented GL/GLES Abstraction/Utility Layer library.
256 </para>
257 <indexterm zone="cogl libcogl">
258 <primary sortas="c-libcogl">libcogl.so</primary>
259 </indexterm>
260 </listitem>
261 </varlistentry>
262
263 </variablelist>
264
265 </sect2>
266
267</sect1>
Note: See TracBrowser for help on using the repository browser.