[ec889cf3] | 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 |
|
---|
[6d5310f] | 7 | <!ENTITY clutter-download-http "&gnome-download-http;/clutter/1.20/clutter-&clutter-version;.tar.xz">
|
---|
| 8 | <!ENTITY clutter-download-ftp "&gnome-download-ftp;/clutter/1.20/clutter-&clutter-version;.tar.xz">
|
---|
| 9 | <!ENTITY clutter-md5sum "a8a33a57a944c6d7c7c013ce9aa3222b">
|
---|
[1b387d2] | 10 | <!ENTITY clutter-size "5.0 MB">
|
---|
[6d5310f] | 11 | <!ENTITY clutter-buildsize "83 MB (additional 8 MB for docs creation and 11 MB for tests)">
|
---|
| 12 | <!ENTITY clutter-time "0.7 SBU (additional 2.2 SBU for docs creation and 0.6 SBU for tests)">
|
---|
[ec889cf3] | 13 | ]>
|
---|
| 14 |
|
---|
[cd68ead6] | 15 | <sect1 id="clutter" xreflabel="Clutter-&clutter-version;">
|
---|
[ec889cf3] | 16 | <?dbhtml filename="clutter.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
[cd68ead6] | 23 | <title>Clutter-&clutter-version;</title>
|
---|
[ec889cf3] | 24 |
|
---|
| 25 | <indexterm zone="clutter">
|
---|
[983fc68] | 26 | <primary sortas="a-Clutter">Clutter</primary>
|
---|
[ec889cf3] | 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
[cd68ead6] | 30 | <title>Introduction to Clutter</title>
|
---|
[ec889cf3] | 31 |
|
---|
[3ee626e] | 32 | <para>
|
---|
[983fc68] | 33 | The <application>Clutter</application> package contains an open
|
---|
| 34 | source software library used for creating fast, visually rich
|
---|
| 35 | and animated graphical user interfaces.
|
---|
[2001b3e] | 36 | </para>
|
---|
| 37 |
|
---|
[e750716] | 38 | &lfs76_checked;
|
---|
[625d5fe5] | 39 |
|
---|
[3ee626e] | 40 | <note>
|
---|
| 41 | <para>
|
---|
[0d7900a] | 42 | Anything built with this toolkit needs hardware 3D acceleration from
|
---|
| 43 | the graphics driver at runtime. This is provided by
|
---|
| 44 | <application>MesaLib</application> (or by proprietary graphics drivers),
|
---|
[983fc68] | 45 | but is not available for every graphics card nor for all virtual
|
---|
| 46 | machines. You may wish to review <xref linkend="checking-dri"/>.
|
---|
[3ee626e] | 47 | </para>
|
---|
| 48 | </note>
|
---|
[a33e01ac] | 49 |
|
---|
[ec889cf3] | 50 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 51 | <itemizedlist spacing="compact">
|
---|
| 52 | <listitem>
|
---|
[3ee626e] | 53 | <para>
|
---|
| 54 | Download (HTTP): <ulink url="&clutter-download-http;"/>
|
---|
| 55 | </para>
|
---|
[ec889cf3] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[3ee626e] | 58 | <para>
|
---|
| 59 | Download (FTP): <ulink url="&clutter-download-ftp;"/>
|
---|
| 60 | </para>
|
---|
[ec889cf3] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[3ee626e] | 63 | <para>
|
---|
| 64 | Download MD5 sum: &clutter-md5sum;
|
---|
| 65 | </para>
|
---|
[ec889cf3] | 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
[3ee626e] | 68 | <para>
|
---|
| 69 | Download size: &clutter-size;
|
---|
| 70 | </para>
|
---|
[ec889cf3] | 71 | </listitem>
|
---|
| 72 | <listitem>
|
---|
[3ee626e] | 73 | <para>
|
---|
| 74 | Estimated disk space required: &clutter-buildsize;
|
---|
| 75 | </para>
|
---|
[ec889cf3] | 76 | </listitem>
|
---|
| 77 | <listitem>
|
---|
[3ee626e] | 78 | <para>
|
---|
| 79 | Estimated build time: &clutter-time;
|
---|
| 80 | </para>
|
---|
[ec889cf3] | 81 | </listitem>
|
---|
| 82 | </itemizedlist>
|
---|
| 83 |
|
---|
[cd68ead6] | 84 | <bridgehead renderas="sect3">Clutter Dependencies</bridgehead>
|
---|
[ec889cf3] | 85 |
|
---|
| 86 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[cd68ead6] | 87 | <para role="required">
|
---|
| 88 | <xref linkend="atk"/>,
|
---|
[773db87] | 89 | <xref linkend="cogl"/>, and
|
---|
[cd68ead6] | 90 | <xref linkend="json-glib"/>
|
---|
| 91 | </para>
|
---|
| 92 |
|
---|
| 93 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 94 | <para role="recommended">
|
---|
[7ea83d7] | 95 | <xref linkend="gobject-introspection"/> and
|
---|
| 96 | <xref linkend="gtk3"/>
|
---|
[cd68ead6] | 97 | </para>
|
---|
[ec889cf3] | 98 |
|
---|
| 99 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[cd68ead6] | 100 | <para role="optional">
|
---|
[7ea83d7] | 101 | <xref linkend="gtk-doc"/>,
|
---|
[af21cbe2] | 102 | <xref linkend="udev-extras"/> (for GUdev),
|
---|
[f82ac3f] | 103 | <ulink url="http://www.freedesktop.org/wiki/Software/libevdev/">
|
---|
| 104 | libevdev</ulink>,
|
---|
[7ea83d7] | 105 | <ulink url="http://xkbcommon.org/">libxkbcommon</ulink>,
|
---|
[af21cbe2] | 106 | <ulink url="http://tslib.berlios.de/">Tslib</ulink>, and
|
---|
[7ea83d7] | 107 | <ulink url="http://wayland.freedesktop.org/">Wayland</ulink>
|
---|
[cd68ead6] | 108 | </para>
|
---|
[ec889cf3] | 109 |
|
---|
| 110 | <para condition="html" role="usernotes">User Notes:
|
---|
[694c7a8] | 111 | <ulink url="&blfs-wiki;/clutter"/>
|
---|
| 112 | </para>
|
---|
[ec889cf3] | 113 | </sect2>
|
---|
| 114 |
|
---|
| 115 | <sect2 role="installation">
|
---|
[983fc68] | 116 | <title>Installation of Clutter</title>
|
---|
[8e8cfd9b] | 117 | <!--
|
---|
[7c2cf8ef] | 118 | <para>
|
---|
[af21cbe2] | 119 | If you wish to run the tests, the following commands disable two tests
|
---|
[7c2cf8ef] | 120 | that fail.
|
---|
| 121 | </para>
|
---|
| 122 |
|
---|
| 123 | <screen><userinput>sed -i '/actor-offscreen-redirect/d' \
|
---|
| 124 | tests/conform/Makefile.am tests/conform/Makefile.in &&
|
---|
| 125 | autoreconf -f -i</userinput></screen>
|
---|
[8e8cfd9b] | 126 | -->
|
---|
[3ee626e] | 127 | <para>
|
---|
[983fc68] | 128 | Install <application>Clutter</application> by running the following
|
---|
[3ee626e] | 129 | commands:
|
---|
| 130 | </para>
|
---|
[ec889cf3] | 131 |
|
---|
[7ea83d7] | 132 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc --enable-egl-backend &&
|
---|
[ec889cf3] | 133 | make</userinput></screen>
|
---|
| 134 |
|
---|
[3ee626e] | 135 | <para>
|
---|
[7c2cf8ef] | 136 | To test the results, issue: <command>make check</command> (you must be
|
---|
[8e8cfd9b] | 137 | in an xterm or similar to do this, because it launches some windows).
|
---|
| 138 | Two tests have been observed to fail.
|
---|
[3ee626e] | 139 | </para>
|
---|
[ec889cf3] | 140 |
|
---|
[3ee626e] | 141 | <para>
|
---|
| 142 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 143 | </para>
|
---|
[ec889cf3] | 144 |
|
---|
| 145 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 146 |
|
---|
| 147 | </sect2>
|
---|
| 148 |
|
---|
| 149 | <sect2 role="commands">
|
---|
| 150 | <title>Command Explanations</title>
|
---|
| 151 |
|
---|
[3ee626e] | 152 | <para>
|
---|
[7ea83d7] | 153 | <parameter>--enable-egl-backend</parameter>: This switch enables
|
---|
| 154 | the experimental EGL windowing backend.
|
---|
[3ee626e] | 155 | </para>
|
---|
[ec889cf3] | 156 |
|
---|
[e05cd03f] | 157 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3ee626e] | 158 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
[ec889cf3] | 159 |
|
---|
| 160 | </sect2>
|
---|
| 161 |
|
---|
| 162 | <sect2 role="content">
|
---|
| 163 | <title>Contents</title>
|
---|
| 164 |
|
---|
| 165 | <segmentedlist>
|
---|
[7ea83d7] | 166 | <segtitle>Installed Programs</segtitle>
|
---|
[ec889cf3] | 167 | <segtitle>Installed Library</segtitle>
|
---|
| 168 | <segtitle>Installed Directories</segtitle>
|
---|
| 169 |
|
---|
| 170 | <seglistitem>
|
---|
[7ea83d7] | 171 | <seg>
|
---|
| 172 | None
|
---|
| 173 | </seg>
|
---|
[cd68ead6] | 174 | <seg>
|
---|
[0fed30eb] | 175 | libclutter-1.0.so and libclutter-glx-1.0.so
|
---|
[cd68ead6] | 176 | </seg>
|
---|
| 177 | <seg>
|
---|
[7ea83d7] | 178 | /usr/include/clutter-1.0 and
|
---|
| 179 | /usr/share/gtk-doc/html/{cally,clutter}
|
---|
[cd68ead6] | 180 | </seg>
|
---|
[ec889cf3] | 181 | </seglistitem>
|
---|
| 182 | </segmentedlist>
|
---|
| 183 |
|
---|
| 184 | <variablelist>
|
---|
| 185 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 186 | <?dbfo list-presentation="list"?>
|
---|
| 187 | <?dbhtml list-presentation="table"?>
|
---|
| 188 |
|
---|
[983fc68] | 189 | <varlistentry id="libclutter-1">
|
---|
| 190 | <term><filename class="libraryfile">libclutter-1.0.so</filename></term>
|
---|
[ec889cf3] | 191 | <listitem>
|
---|
[3ee626e] | 192 | <para>
|
---|
| 193 | contains the <application>Clutter</application> API functions.
|
---|
| 194 | </para>
|
---|
[983fc68] | 195 | <indexterm zone="clutter libclutter-1">
|
---|
| 196 | <primary sortas="c-libclutter-1">libclutter-1.0.so</primary>
|
---|
[ec889cf3] | 197 | </indexterm>
|
---|
| 198 | </listitem>
|
---|
| 199 | </varlistentry>
|
---|
| 200 |
|
---|
| 201 | </variablelist>
|
---|
| 202 |
|
---|
| 203 | </sect2>
|
---|
| 204 |
|
---|
| 205 | </sect1>
|
---|