[aea89388] | 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 |
|
---|
[c24e4de] | 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">
|
---|
[7ea83d7] | 10 | <!ENTITY cogl-size "1.6 MB">
|
---|
[c24e4de] | 11 | <!ENTITY cogl-buildsize "60 MB">
|
---|
| 12 | <!ENTITY cogl-time "1.2 SBU">
|
---|
[aea89388] | 13 | ]>
|
---|
| 14 |
|
---|
[ff5df153] | 15 | <sect1 id="cogl" xreflabel="Cogl-&cogl-version;">
|
---|
[aea89388] | 16 | <?dbhtml filename="cogl.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
[742b99e] | 23 | <title>Cogl-&cogl-version;</title>
|
---|
[aea89388] | 24 |
|
---|
| 25 | <indexterm zone="cogl">
|
---|
[983fc68] | 26 | <primary sortas="a-Cogl">Cogl</primary>
|
---|
[aea89388] | 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
[742b99e] | 30 | <title>Introduction to Cogl</title>
|
---|
[aea89388] | 31 |
|
---|
[a2912ff] | 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>
|
---|
[aea89388] | 38 |
|
---|
[3d9f5fc] | 39 | &lfs77_checked; &gcc5_checked;
|
---|
[aea89388] | 40 |
|
---|
| 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
[a2912ff] | 44 | <para>
|
---|
| 45 | Download (HTTP): <ulink url="&cogl-download-http;"/>
|
---|
| 46 | </para>
|
---|
[aea89388] | 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
[a2912ff] | 49 | <para>
|
---|
| 50 | Download (FTP): <ulink url="&cogl-download-ftp;"/>
|
---|
| 51 | </para>
|
---|
[aea89388] | 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
[a2912ff] | 54 | <para>
|
---|
| 55 | Download MD5 sum: &cogl-md5sum;
|
---|
| 56 | </para>
|
---|
[aea89388] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[a2912ff] | 59 | <para>
|
---|
| 60 | Download size: &cogl-size;
|
---|
| 61 | </para>
|
---|
[aea89388] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
[a2912ff] | 64 | <para>
|
---|
| 65 | Estimated disk space required: &cogl-buildsize;
|
---|
| 66 | </para>
|
---|
[aea89388] | 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
[a2912ff] | 69 | <para>
|
---|
| 70 | Estimated build time: &cogl-time;
|
---|
| 71 | </para>
|
---|
[aea89388] | 72 | </listitem>
|
---|
| 73 | </itemizedlist>
|
---|
| 74 |
|
---|
[742b99e] | 75 | <bridgehead renderas="sect3">Cogl Dependencies</bridgehead>
|
---|
[aea89388] | 76 |
|
---|
| 77 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[742b99e] | 78 | <para role="required">
|
---|
| 79 | <xref linkend="gdk-pixbuf"/>,
|
---|
[773db87] | 80 | <xref linkend="mesalib"/>, and
|
---|
[742b99e] | 81 | <xref linkend="pango"/>
|
---|
| 82 | </para>
|
---|
[aea89388] | 83 |
|
---|
| 84 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[742b99e] | 85 | <para role="recommended">
|
---|
| 86 | <xref linkend="gobject-introspection"/>
|
---|
| 87 | </para>
|
---|
[b9a819c8] | 88 |
|
---|
| 89 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[742b99e] | 90 | <para role="optional">
|
---|
[a27a478] | 91 | <xref linkend="gst10-plugins-base"/>,
|
---|
[7ea83d7] | 92 | <xref linkend="gtk-doc"/>,
|
---|
| 93 | <xref linkend="sdl"/>,
|
---|
[c24e4de] | 94 | <ulink url="http://www.libsdl.org/download-2.0.php">SDL2</ulink>, and
|
---|
[7ea83d7] | 95 | <ulink url="http://wayland.freedesktop.org/">Wayland</ulink>
|
---|
[742b99e] | 96 | </para>
|
---|
[aea89388] | 97 |
|
---|
| 98 | <para condition="html" role="usernotes">User Notes:
|
---|
[a2912ff] | 99 | <ulink url="&blfs-wiki;/cogl"/>
|
---|
| 100 | </para>
|
---|
[aea89388] | 101 | </sect2>
|
---|
| 102 |
|
---|
| 103 | <sect2 role="installation">
|
---|
[742b99e] | 104 | <title>Installation of Cogl</title>
|
---|
[ea20da9] | 105 | <!--
|
---|
[83d7e276] | 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>
|
---|
[ea20da9] | 113 | -->
|
---|
[a2912ff] | 114 | <para>
|
---|
| 115 | Install <application>Cogl</application> by running the following
|
---|
| 116 | commands:
|
---|
| 117 | </para>
|
---|
[aea89388] | 118 |
|
---|
[ea20da9] | 119 | ¶llel_issues;
|
---|
| 120 |
|
---|
[a27a478] | 121 | <screen><userinput>./configure --prefix=/usr --enable-gles1 --enable-gles2 &&
|
---|
[aea89388] | 122 | make</userinput></screen>
|
---|
| 123 |
|
---|
[a2912ff] | 124 | <para>
|
---|
[7ea83d7] | 125 | To test the results, issue: <command>make check</command>. The
|
---|
[ff84517] | 126 | tests should be run from an X terminal on the hardware accelerated
|
---|
| 127 | Xorg Server.
|
---|
[a2912ff] | 128 | </para>
|
---|
[aea89388] | 129 |
|
---|
[a2912ff] | 130 | <para>
|
---|
| 131 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 132 | </para>
|
---|
[aea89388] | 133 |
|
---|
| 134 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 135 |
|
---|
| 136 | </sect2>
|
---|
| 137 |
|
---|
[b9a819c8] | 138 | <sect2 role="commands">
|
---|
| 139 | <title>Command Explanations</title>
|
---|
| 140 |
|
---|
[7ea83d7] | 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 |
|
---|
[a27a478] | 151 | <para>
|
---|
| 152 | <option>--enable-cogl-gst</option>: This switch enables gstreamer support.
|
---|
| 153 | </para>
|
---|
| 154 |
|
---|
[b9a819c8] | 155 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[a2912ff] | 156 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
[b9a819c8] | 157 |
|
---|
| 158 | </sect2>
|
---|
| 159 |
|
---|
[aea89388] | 160 | <sect2 role="content">
|
---|
| 161 | <title>Contents</title>
|
---|
| 162 |
|
---|
| 163 | <segmentedlist>
|
---|
[7ea83d7] | 164 | <segtitle>Installed Programs</segtitle>
|
---|
[aea89388] | 165 | <segtitle>Installed Libraries</segtitle>
|
---|
[742b99e] | 166 | <segtitle>Installed Directories</segtitle>
|
---|
[aea89388] | 167 |
|
---|
| 168 | <seglistitem>
|
---|
[0913f48] | 169 | <seg>
|
---|
[7ea83d7] | 170 | None
|
---|
| 171 | </seg>
|
---|
| 172 | <seg>
|
---|
[773db87] | 173 | libcogl-gles2.so,
|
---|
[b9edd3d5] | 174 | libcogl-pango.so,
|
---|
| 175 | libcogl-path.so, and
|
---|
[a27a478] | 176 | libcogl.so, and optional libraries
|
---|
| 177 | libcogl-gst.so and /usr/lib/gstreamer-1.0/libgstcogl.so
|
---|
[0913f48] | 178 | </seg>
|
---|
| 179 | <seg>
|
---|
[983fc68] | 180 | /usr/include/cogl and
|
---|
| 181 | /usr/share/cogl
|
---|
[0913f48] | 182 | </seg>
|
---|
[aea89388] | 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 |
|
---|
[7ea83d7] | 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 |
|
---|
[aea89388] | 204 | <varlistentry id="libcogl-pango">
|
---|
[948dc10] | 205 | <term><filename class="libraryfile">libcogl-pango.so</filename></term>
|
---|
[aea89388] | 206 | <listitem>
|
---|
[a2912ff] | 207 | <para>
|
---|
| 208 | is the <application>Pango</application> integration library
|
---|
| 209 | for <application>Cogl</application>.
|
---|
| 210 | </para>
|
---|
[aea89388] | 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">
|
---|
[948dc10] | 218 | <term><filename class="libraryfile">libcogl.so</filename></term>
|
---|
[aea89388] | 219 | <listitem>
|
---|
[a2912ff] | 220 | <para>
|
---|
| 221 | is an object oriented GL/GLES Abstraction/Utility Layer library.
|
---|
| 222 | </para>
|
---|
[aea89388] | 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>
|
---|