source: x/lib/cogl.xml@ 40cf782

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.8 7.9 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 40cf782 was 40cf782, checked in by Bruce Dubbs <bdubbs@…>, 9 years ago

Tags -- Finish Part III. General Libraries and Utilities
Finish Chapter 25. X Libraries

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

  • Property mode set to 100644
File size: 6.5 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.20/cogl-&cogl-version;.tar.xz">
8 <!ENTITY cogl-download-ftp "&gnome-download-ftp;/cogl/1.20/cogl-&cogl-version;.tar.xz">
9 <!ENTITY cogl-md5sum "5b28897194d9ff76a574a9493d1f7ee0">
10 <!ENTITY cogl-size "1.6 MB">
11 <!ENTITY cogl-buildsize "60 MB">
12 <!ENTITY cogl-time "1.2 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 &lfs78_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"/>
87 </para>
88
89 <bridgehead renderas="sect4">Optional</bridgehead>
90 <para role="optional">
91 <xref linkend="gst10-plugins-base"/>,
92 <xref linkend="gtk-doc"/>,
93 <xref linkend="sdl"/>,
94 <ulink url="http://www.libsdl.org/download-2.0.php">SDL2</ulink>, and
95 <ulink url="http://wayland.freedesktop.org/">Wayland</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 <note>
107 <para>
108 This package may occasionally fail when building with multiple
109 processors. See <xref linkend="parallel-builds"/> for more
110 information.
111 </para>
112 </note>
113-->
114 <para>
115 Install <application>Cogl</application> by running the following
116 commands:
117 </para>
118
119 &parallel_issues;
120
121<screen><userinput>./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 <para>
152 <option>--enable-cogl-gst</option>: This switch enables gstreamer support.
153 </para>
154
155 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
156 href="../../xincludes/gtk-doc-rebuild.xml"/>
157
158 </sect2>
159
160 <sect2 role="content">
161 <title>Contents</title>
162
163 <segmentedlist>
164 <segtitle>Installed Programs</segtitle>
165 <segtitle>Installed Libraries</segtitle>
166 <segtitle>Installed Directories</segtitle>
167
168 <seglistitem>
169 <seg>
170 None
171 </seg>
172 <seg>
173 libcogl-gles2.so,
174 libcogl-pango.so,
175 libcogl-path.so, and
176 libcogl.so, and optional libraries
177 libcogl-gst.so and /usr/lib/gstreamer-1.0/libgstcogl.so
178 </seg>
179 <seg>
180 /usr/include/cogl and
181 /usr/share/cogl
182 </seg>
183 </seglistitem>
184 </segmentedlist>
185
186 <variablelist>
187 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
188 <?dbfo list-presentation="list"?>
189 <?dbhtml list-presentation="table"?>
190
191 <varlistentry id="libcogl-gles2">
192 <term><filename class="libraryfile">libcogl-gles2.so</filename></term>
193 <listitem>
194 <para>
195 is the OpenGL ES 2.0 integration library for
196 <application>Cogl</application>.
197 </para>
198 <indexterm zone="cogl libcogl-gles2">
199 <primary sortas="c-libcogl-gles2">libcogl-gles2.so</primary>
200 </indexterm>
201 </listitem>
202 </varlistentry>
203
204 <varlistentry id="libcogl-pango">
205 <term><filename class="libraryfile">libcogl-pango.so</filename></term>
206 <listitem>
207 <para>
208 is the <application>Pango</application> integration library
209 for <application>Cogl</application>.
210 </para>
211 <indexterm zone="cogl libcogl-pango">
212 <primary sortas="c-libcogl-pango">libcogl-pango.so</primary>
213 </indexterm>
214 </listitem>
215 </varlistentry>
216
217 <varlistentry id="libcogl">
218 <term><filename class="libraryfile">libcogl.so</filename></term>
219 <listitem>
220 <para>
221 is an object oriented GL/GLES Abstraction/Utility Layer library.
222 </para>
223 <indexterm zone="cogl libcogl">
224 <primary sortas="c-libcogl">libcogl.so</primary>
225 </indexterm>
226 </listitem>
227 </varlistentry>
228
229 </variablelist>
230
231 </sect2>
232
233</sect1>
Note: See TracBrowser for help on using the repository browser.