source: x/lib/cogl-systemd.xml@ 13832d9

7.6-blfs 7.6-systemd kde5-14269 kde5-14686 systemd-13485
Last change on this file since 13832d9 was 8692448, checked in by Krejzi <krejzi@…>, 10 years ago

Enable wayland support in cogl, clutter and gtk+3.

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

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