[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 |
|
---|
[2fc9e1d] | 7 | <!ENTITY clutter-download-http "&gnome-download-http;/clutter/1.18/clutter-&clutter-version;.tar.xz">
|
---|
| 8 | <!ENTITY clutter-download-ftp "&gnome-download-ftp;/clutter/1.18/clutter-&clutter-version;.tar.xz">
|
---|
[7c2cf8ef] | 9 | <!ENTITY clutter-md5sum "471f5ea423e20d4140c7771873daef29">
|
---|
[1b387d2] | 10 | <!ENTITY clutter-size "5.0 MB">
|
---|
[7c2cf8ef] | 11 | <!ENTITY clutter-buildsize "85 MB (additional 7 MB for docs creation and 13 MB for tests)">
|
---|
| 12 | <!ENTITY clutter-time "0.8 SBU (additional 2.1 SBU for docs creation and 0.5 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 |
|
---|
[682f45b2] | 38 | &lfs75_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 |
|
---|
[d8ada13] | 84 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 85 | <itemizedlist spacing="compact">
|
---|
| 86 | <listitem>
|
---|
| 87 | <para>
|
---|
| 88 | Required patch:
|
---|
| 89 | <ulink url="&patch-root;/clutter-&clutter-version;-libinput_fixes-1.patch"/>
|
---|
| 90 | </para>
|
---|
| 91 | </listitem>
|
---|
| 92 | </itemizedlist>
|
---|
| 93 |
|
---|
[cd68ead6] | 94 | <bridgehead renderas="sect3">Clutter Dependencies</bridgehead>
|
---|
[ec889cf3] | 95 |
|
---|
| 96 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[cd68ead6] | 97 | <para role="required">
|
---|
| 98 | <xref linkend="atk"/>,
|
---|
[773db87] | 99 | <xref linkend="cogl"/>, and
|
---|
[cd68ead6] | 100 | <xref linkend="json-glib"/>
|
---|
| 101 | </para>
|
---|
| 102 |
|
---|
| 103 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 104 | <para role="recommended">
|
---|
[d8ada13] | 105 | <xref linkend="gobject-introspection"/>,
|
---|
| 106 | <xref linkend="libinput"/>,
|
---|
| 107 | <xref linkend="libxkbcommon"/>,
|
---|
| 108 | <xref linkend="systemd"/> (for GUdev), and
|
---|
| 109 | <xref linkend="wayland"/>
|
---|
[cd68ead6] | 110 | </para>
|
---|
[ec889cf3] | 111 |
|
---|
| 112 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[cd68ead6] | 113 | <para role="optional">
|
---|
[d8ada13] | 114 | <xref linkend="gtk-doc"/> and
|
---|
| 115 | <ulink url="http://tslib.berlios.de/">Tslib</ulink>
|
---|
[cd68ead6] | 116 | </para>
|
---|
[ec889cf3] | 117 |
|
---|
| 118 | <para condition="html" role="usernotes">User Notes:
|
---|
[694c7a8] | 119 | <ulink url="&blfs-wiki;/clutter"/>
|
---|
| 120 | </para>
|
---|
[ec889cf3] | 121 | </sect2>
|
---|
| 122 |
|
---|
| 123 | <sect2 role="installation">
|
---|
[983fc68] | 124 | <title>Installation of Clutter</title>
|
---|
[ec889cf3] | 125 |
|
---|
[7c2cf8ef] | 126 | <para>
|
---|
| 127 | If you wish to run the tests, the following commands disables two tests
|
---|
| 128 | that fail.
|
---|
| 129 | </para>
|
---|
| 130 |
|
---|
| 131 | <screen><userinput>sed -i '/actor-offscreen-redirect/d' \
|
---|
| 132 | tests/conform/Makefile.am tests/conform/Makefile.in &&
|
---|
| 133 | autoreconf -f -i</userinput></screen>
|
---|
| 134 |
|
---|
[3ee626e] | 135 | <para>
|
---|
[983fc68] | 136 | Install <application>Clutter</application> by running the following
|
---|
[3ee626e] | 137 | commands:
|
---|
| 138 | </para>
|
---|
[ec889cf3] | 139 |
|
---|
[d8ada13] | 140 | <screen><userinput>patch -Np1 -i ../clutter-&clutter-version;-libinput_fixes-1.patch &&
|
---|
| 141 | ./configure --prefix=/usr \
|
---|
| 142 | --sysconfdir=/etc \
|
---|
| 143 | --enable-egl-backend \
|
---|
| 144 | --enable-evdev-input \
|
---|
| 145 | --enable-wayland-backend \
|
---|
| 146 | --enable-wayland-compositor &&
|
---|
[ec889cf3] | 147 | make</userinput></screen>
|
---|
| 148 |
|
---|
[3ee626e] | 149 | <para>
|
---|
[7c2cf8ef] | 150 | To test the results, issue: <command>make check</command> (you must be
|
---|
| 151 | in an xterm or similar to do this, because it launches some windows).
|
---|
[3ee626e] | 152 | </para>
|
---|
[ec889cf3] | 153 |
|
---|
[3ee626e] | 154 | <para>
|
---|
| 155 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 156 | </para>
|
---|
[ec889cf3] | 157 |
|
---|
| 158 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 159 |
|
---|
| 160 | </sect2>
|
---|
| 161 |
|
---|
| 162 | <sect2 role="commands">
|
---|
| 163 | <title>Command Explanations</title>
|
---|
| 164 |
|
---|
[3ee626e] | 165 | <para>
|
---|
[7ea83d7] | 166 | <parameter>--enable-egl-backend</parameter>: This switch enables
|
---|
[d8ada13] | 167 | the experimental EGL windowing backend which is required for
|
---|
| 168 | <application>GNOME</application> Wayland support.
|
---|
| 169 | </para>
|
---|
| 170 |
|
---|
| 171 | <para>
|
---|
| 172 | <parameter>--enable-evdev-input</parameter>: This switch enables
|
---|
| 173 | the experimental Evdev input backend which is required for
|
---|
| 174 | <application>GNOME</application> Wayland support.
|
---|
| 175 | </para>
|
---|
| 176 |
|
---|
| 177 | <para>
|
---|
| 178 | <parameter>--enable-wayland-*</parameter>: These switches enable
|
---|
| 179 | experimental <application>Wayland</application> API in
|
---|
| 180 | <application>Clutter</application> which is required for
|
---|
| 181 | <application>GNOME</application> Wayland support.
|
---|
[3ee626e] | 182 | </para>
|
---|
[ec889cf3] | 183 |
|
---|
[e05cd03f] | 184 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3ee626e] | 185 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
[ec889cf3] | 186 |
|
---|
| 187 | </sect2>
|
---|
| 188 |
|
---|
| 189 | <sect2 role="content">
|
---|
| 190 | <title>Contents</title>
|
---|
| 191 |
|
---|
| 192 | <segmentedlist>
|
---|
[7ea83d7] | 193 | <segtitle>Installed Programs</segtitle>
|
---|
[ec889cf3] | 194 | <segtitle>Installed Library</segtitle>
|
---|
| 195 | <segtitle>Installed Directories</segtitle>
|
---|
| 196 |
|
---|
| 197 | <seglistitem>
|
---|
[7ea83d7] | 198 | <seg>
|
---|
| 199 | None
|
---|
| 200 | </seg>
|
---|
[cd68ead6] | 201 | <seg>
|
---|
[0fed30eb] | 202 | libclutter-1.0.so and libclutter-glx-1.0.so
|
---|
[cd68ead6] | 203 | </seg>
|
---|
| 204 | <seg>
|
---|
[7ea83d7] | 205 | /usr/include/clutter-1.0 and
|
---|
| 206 | /usr/share/gtk-doc/html/{cally,clutter}
|
---|
[cd68ead6] | 207 | </seg>
|
---|
[ec889cf3] | 208 | </seglistitem>
|
---|
| 209 | </segmentedlist>
|
---|
| 210 |
|
---|
| 211 | <variablelist>
|
---|
| 212 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 213 | <?dbfo list-presentation="list"?>
|
---|
| 214 | <?dbhtml list-presentation="table"?>
|
---|
| 215 |
|
---|
[983fc68] | 216 | <varlistentry id="libclutter-1">
|
---|
| 217 | <term><filename class="libraryfile">libclutter-1.0.so</filename></term>
|
---|
[ec889cf3] | 218 | <listitem>
|
---|
[3ee626e] | 219 | <para>
|
---|
| 220 | contains the <application>Clutter</application> API functions.
|
---|
| 221 | </para>
|
---|
[983fc68] | 222 | <indexterm zone="clutter libclutter-1">
|
---|
| 223 | <primary sortas="c-libclutter-1">libclutter-1.0.so</primary>
|
---|
[ec889cf3] | 224 | </indexterm>
|
---|
| 225 | </listitem>
|
---|
| 226 | </varlistentry>
|
---|
| 227 |
|
---|
| 228 | </variablelist>
|
---|
| 229 |
|
---|
| 230 | </sect2>
|
---|
| 231 |
|
---|
| 232 | </sect1>
|
---|