glfs/x/lib/cogl.xml
Krejzi a2912ff635 XML Polishing, Part 2. Set libpng (again) as required for Cairo, since it requires too many switches if it is not present, thus making it realy required.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10464 af4574ff-66df-0310-9fd7-8a98e5e911e0
2012-07-24 16:17:44 +00:00

184 lines
4.9 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;
<!ENTITY cogl-download-http "&gnome-download-http;/cogl/1.10/cogl-&cogl-version;.tar.xz">
<!ENTITY cogl-download-ftp "&gnome-download-ftp;/cogl/1.10/cogl-&cogl-version;.tar.xz">
<!ENTITY cogl-md5sum "c5414188a64a6e68ed6f7c07e4e105c4">
<!ENTITY cogl-size "1.2 MB">
<!ENTITY cogl-buildsize "50 MB">
<!ENTITY cogl-time "0.5 SBU">
]>
<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>
&lfs70_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="gdk-pixbuf"/>,
<xref linkend="mesalib"/> 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="gtk-doc"/>
</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/cogl"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of Cogl</title>
<para>
Install <application>Cogl</application> by running the following
commands:
</para>
<screen><userinput>./configure --prefix=/usr &amp;&amp;
make</userinput></screen>
<para>
To test the results, issue: <command>make check</command>.
</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>
<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 Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
libcogl-pango.so and libcogl.so
</seg>
<seg>
/usr/include/cogl,
/usr/share/cogl and
/usr/share/gtk-doc/html/{cogl,cogl-2.0-experimental}
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<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>