source: x/lib/cogl.xml@ ff84517

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since ff84517 was ff84517, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

Fix cogl-1.16.0 for wayland-server (triggered by MesaLib-10.0.1 update). Thanks Armin K. for the patch.

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

  • Property mode set to 100644
File size: 6.3 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.16/cogl-&cogl-version;.tar.xz">
8 <!ENTITY cogl-download-ftp "&gnome-download-ftp;/cogl/1.16/cogl-&cogl-version;.tar.xz">
9 <!ENTITY cogl-md5sum "611a61bed04354cbfffa3dc27feb6d4f">
10 <!ENTITY cogl-size "1.6 MB">
11 <!ENTITY cogl-buildsize "63 MB">
12 <!ENTITY cogl-time "0.5 SBU">
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 &lfs74_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">Additional Downloads</bridgehead>
76 <itemizedlist spacing="compact">
77 <listitem>
78 <para>
79 Required patch:
80 <ulink url="&patch-root;/cogl-&cogl-version;-wayland_server-1.patch"/>
81 </para>
82 </listitem>
83 </itemizedlist>
84
85 <bridgehead renderas="sect3">Cogl Dependencies</bridgehead>
86
87 <bridgehead renderas="sect4">Required</bridgehead>
88 <para role="required">
89 <xref linkend="gdk-pixbuf"/>,
90 <xref linkend="mesalib"/>, and
91 <xref linkend="pango"/>
92 </para>
93
94 <bridgehead renderas="sect4">Recommended</bridgehead>
95 <para role="recommended">
96 <xref linkend="gobject-introspection"/>
97 </para>
98
99 <bridgehead renderas="sect4">Optional</bridgehead>
100 <para role="optional">
101 <xref linkend="gtk-doc"/>,
102 <xref linkend="sdl"/>,
103 <ulink url="http://www.libsdl.org/tmp/release/">SDL2</ulink>, and
104 <ulink url="http://wayland.freedesktop.org/">Wayland</ulink>
105 </para>
106
107 <para condition="html" role="usernotes">User Notes:
108 <ulink url="&blfs-wiki;/cogl"/>
109 </para>
110 </sect2>
111
112 <sect2 role="installation">
113 <title>Installation of Cogl</title>
114
115 <para>
116 Install <application>Cogl</application> by running the following
117 commands:
118 </para>
119
120<screen><userinput>patch -Np1 -i ../cogl-&cogl-version;-wayland_server-1.patch &amp;&amp;
121./configure --prefix=/usr --enable-gles1 --enable-gles2 &amp;&amp;
122make</userinput></screen>
123
124 <para>
125 To test the results, issue: <command>make check</command>. The
126 tests should be run from an X terminal on the hardware accelerated
127 Xorg Server.
128 </para>
129
130 <para>
131 Now, as the <systemitem class="username">root</systemitem> user:
132 </para>
133
134<screen role="root"><userinput>make install</userinput></screen>
135
136 </sect2>
137
138 <sect2 role="commands">
139 <title>Command Explanations</title>
140
141 <para>
142 <parameter>--enable-gles1</parameter>: This switch enables support
143 for OpenGL ES 1.1.
144 </para>
145
146 <para>
147 <parameter>--enable-gles2</parameter>: This switch enables support
148 for OpenGL ES 2.0.
149 </para>
150
151 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
152 href="../../xincludes/gtk-doc-rebuild.xml"/>
153
154 </sect2>
155
156 <sect2 role="content">
157 <title>Contents</title>
158
159 <segmentedlist>
160 <segtitle>Installed Programs</segtitle>
161 <segtitle>Installed Libraries</segtitle>
162 <segtitle>Installed Directories</segtitle>
163
164 <seglistitem>
165 <seg>
166 None
167 </seg>
168 <seg>
169 libcogl-gles2.so,
170 libcogl-pango.so, and
171 libcogl.so
172 </seg>
173 <seg>
174 /usr/include/cogl and
175 /usr/share/cogl
176 </seg>
177 </seglistitem>
178 </segmentedlist>
179
180 <variablelist>
181 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
182 <?dbfo list-presentation="list"?>
183 <?dbhtml list-presentation="table"?>
184
185 <varlistentry id="libcogl-gles2">
186 <term><filename class="libraryfile">libcogl-gles2.so</filename></term>
187 <listitem>
188 <para>
189 is the OpenGL ES 2.0 integration library for
190 <application>Cogl</application>.
191 </para>
192 <indexterm zone="cogl libcogl-gles2">
193 <primary sortas="c-libcogl-gles2">libcogl-gles2.so</primary>
194 </indexterm>
195 </listitem>
196 </varlistentry>
197
198 <varlistentry id="libcogl-pango">
199 <term><filename class="libraryfile">libcogl-pango.so</filename></term>
200 <listitem>
201 <para>
202 is the <application>Pango</application> integration library
203 for <application>Cogl</application>.
204 </para>
205 <indexterm zone="cogl libcogl-pango">
206 <primary sortas="c-libcogl-pango">libcogl-pango.so</primary>
207 </indexterm>
208 </listitem>
209 </varlistentry>
210
211 <varlistentry id="libcogl">
212 <term><filename class="libraryfile">libcogl.so</filename></term>
213 <listitem>
214 <para>
215 is an object oriented GL/GLES Abstraction/Utility Layer library.
216 </para>
217 <indexterm zone="cogl libcogl">
218 <primary sortas="c-libcogl">libcogl.so</primary>
219 </indexterm>
220 </listitem>
221 </varlistentry>
222
223 </variablelist>
224
225 </sect2>
226
227</sect1>
Note: See TracBrowser for help on using the repository browser.