glfs/x/lib/cogl.xml
Douglas R. Reno 69a16457da (systemd/gnome merge staging) Update to libpeas-1.18.0
(systemd/gnome merge staging) Update to libgweather-3.20.1
(systemd/gnome merge staging) Update to libgtop-2.34.0
(systemd/gnome merge staging) Update to libgdata-0.17.5
(systemd/gnome merge staging) Update to libchamplain-0.12.13
(systemd/gnome merge staging) Update to gtkhtml-4.10.0
(systemd/gnome merge staging) Update to grilo-0.3.1
(systemd/gnome merge) Greenlighted libgtop and libpeas
(systemd/gnome merge) Moved grilo, gtkhtml, libchamplain, libgdata, libgee, libgweather, and libwacom over to trunk
Added libwacom as an optional dependency to libinput on systemd systems
Merged switches and dependencies for Clutter from systemd branch (for systemd systems)
Tags
Added DJ's name in the changelog for his recent commit

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17564 af4574ff-66df-0310-9fd7-8a98e5e911e0
2016-07-07 03:54:52 +00:00

251 lines
7.1 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!-- Editors, update this for new releass as needed -->
<!ENTITY cogl-minor "1.22">
<!ENTITY cogl-download-http "&gnome-download-http;/cogl/&cogl-minor;/cogl-&cogl-version;.tar.xz">
<!ENTITY cogl-download-ftp "&gnome-download-ftp;/cogl/&cogl-minor;/cogl-&cogl-version;.tar.xz">
<!ENTITY cogl-md5sum "ab684ec96848d79d22757fb3064820c8">
<!ENTITY cogl-size "1.6 MB">
<!ENTITY cogl-buildsize "59 MB">
<!ENTITY cogl-time "0.5 SBU (additional 0.8 SBU for tests)">
]>
<sect1 id="cogl" xreflabel="Cogl-&cogl-version;">
<?dbhtml filename="cogl.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>Cogl-&cogl-version;</title>
<indexterm zone="cogl">
<primary sortas="a-Cogl">Cogl</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Cogl</title>
<para>
<application>Cogl</application> is a modern 3D graphics API with associated
utility APIs designed to expose the features of 3D graphics hardware using
a direct state access API design, as opposed to the state-machine style
of OpenGL.
</para>
&lfs79_checked;&gcc6_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&cogl-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&cogl-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &cogl-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &cogl-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &cogl-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &cogl-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Cogl Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="cairo"/>,
<xref linkend="gdk-pixbuf"/>,
<xref linkend="mesa"/>, and
<xref linkend="pango"/>
</para>
<bridgehead renderas="sect4">Recommended</bridgehead>
<para role="recommended">
<xref linkend="gobject-introspection"/>
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="gst10-plugins-base"/>,
<xref linkend="gtk-doc"/>,
<xref linkend="sdl"/>,
<ulink url="http://www.libsdl.org/download-2.0.php">SDL2</ulink>, and
<xref linkend="wayland"/>
</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/cogl"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of Cogl</title>
<!--
<note>
<para>
This package may occasionally fail when building with multiple
processors. See <xref linkend="parallel-builds"/> for more
information.
</para>
</note>
-->
<para>
Install <application>Cogl</application> by running the following
commands:
</para>
&parallel_issues;
<screen><userinput>./configure --prefix=/usr --enable-gles1 --enable-gles2 &amp;&amp;
make</userinput></screen>
<para>
To test the results, issue: <command>make check</command>. The
tests should be run from an X terminal on the hardware accelerated
Xorg Server.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para>
<parameter>--enable-gles1</parameter>: This switch enables support
for OpenGL ES 1.1.
</para>
<para>
<parameter>--enable-gles2</parameter>: This switch enables support
for OpenGL ES 2.0.
</para>
<para>
<option>--enable-cogl-gst</option>: This switch enables gstreamer support.
</para>
<para>
<parameter>--enable-{kms,wayland,xlib}-egl-platform</parameter>: These
switches enable support for KMS, Wayland and Xlib EGL platforms. They
are required for <application>GNOME</application> Wayland support.
</para>
<para>
<parameter>--enable-wayland-egl-server</parameter>: This switch
enables <application>Cogl</application>'s Wayland Server API
which is required for <application>GNOME</application> Wayland
support.
</para>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/gtk-doc-rebuild.xml"/>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
None
</seg>
<seg>
libcogl-gles2.so,
libcogl-pango.so,
libcogl-path.so, and
libcogl.so, and optional libraries
libcogl-gst.so and /usr/lib/gstreamer-1.0/libgstcogl.so
</seg>
<seg>
/usr/include/cogl and
/usr/share/cogl
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="libcogl-gles2">
<term><filename class="libraryfile">libcogl-gles2.so</filename></term>
<listitem>
<para>
is the OpenGL ES 2.0 integration library for
<application>Cogl</application>.
</para>
<indexterm zone="cogl libcogl-gles2">
<primary sortas="c-libcogl-gles2">libcogl-gles2.so</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libcogl-pango">
<term><filename class="libraryfile">libcogl-pango.so</filename></term>
<listitem>
<para>
is the <application>Pango</application> integration library
for <application>Cogl</application>.
</para>
<indexterm zone="cogl libcogl-pango">
<primary sortas="c-libcogl-pango">libcogl-pango.so</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libcogl">
<term><filename class="libraryfile">libcogl.so</filename></term>
<listitem>
<para>
is an object oriented GL/GLES Abstraction/Utility Layer library.
</para>
<indexterm zone="cogl libcogl">
<primary sortas="c-libcogl">libcogl.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>