[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 |
|
---|
[7b638fea] | 7 | <!ENTITY clutter-download-http "&gnome-download-http;/clutter/1.26/clutter-&clutter-version;.tar.xz">
|
---|
[2bb4625] | 8 | <!ENTITY clutter-download-ftp "&gnome-download-ftp;/clutter/1.26/clutter-&clutter-version;.tar.xz">
|
---|
[7b638fea] | 9 | <!ENTITY clutter-md5sum "b065e9ca53d1f6bc1ec26aeb27338bb7">
|
---|
[6ee68b1] | 10 | <!ENTITY clutter-size "5.1 MB">
|
---|
[7b638fea] | 11 | <!ENTITY clutter-buildsize "88 MB (with tests)">
|
---|
| 12 | <!ENTITY clutter-time "1.7 SBU (with 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 |
|
---|
[ca4f834] | 38 | &lfs7a_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
|
---|
[7a395d1] | 44 | <application>Mesa</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>
|
---|
[69a16457] | 94 | <para role="recommended" revision="sysv">
|
---|
[7ea83d7] | 95 | <xref linkend="gobject-introspection"/> and
|
---|
| 96 | <xref linkend="gtk3"/>
|
---|
[cd68ead6] | 97 | </para>
|
---|
[69a16457] | 98 | <para role="recommended" revision="systemd">
|
---|
| 99 | <xref linkend="gobject-introspection"/>,
|
---|
| 100 | <xref linkend="gtk3"/>,
|
---|
| 101 | <xref linkend="libgudev"/>,
|
---|
| 102 | <xref linkend="libinput"/>,
|
---|
| 103 | <xref linkend="libxkbcommon"/>, and
|
---|
| 104 | <xref linkend="wayland"/>
|
---|
| 105 | </para>
|
---|
[ec889cf3] | 106 |
|
---|
| 107 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[69a16457] | 108 | <para role="optional" revision="sysv">
|
---|
[7ea83d7] | 109 | <xref linkend="gtk-doc"/>,
|
---|
[f175d6f6] | 110 | <xref linkend="libgudev"/>,
|
---|
[46b6e94] | 111 | <xref linkend="libinput"/>,
|
---|
[63c5b080] | 112 | <xref linkend="libxkbcommon"/>,
|
---|
[d6759fc] | 113 | <ulink url="https://github.com/kergoth/tslib">Tslib</ulink>, and
|
---|
[11c9ff3] | 114 | <xref linkend="wayland"/>
|
---|
[cd68ead6] | 115 | </para>
|
---|
[69a16457] | 116 | <para role="optional" revision="systemd">
|
---|
| 117 | <xref linkend="gtk-doc"/> and
|
---|
| 118 | <ulink url="https://github.com/kergoth/tslib">Tslib</ulink>
|
---|
| 119 | </para>
|
---|
[ec889cf3] | 120 |
|
---|
| 121 | <para condition="html" role="usernotes">User Notes:
|
---|
[694c7a8] | 122 | <ulink url="&blfs-wiki;/clutter"/>
|
---|
| 123 | </para>
|
---|
[ec889cf3] | 124 | </sect2>
|
---|
| 125 |
|
---|
| 126 | <sect2 role="installation">
|
---|
[983fc68] | 127 | <title>Installation of Clutter</title>
|
---|
[8e8cfd9b] | 128 | <!--
|
---|
[7c2cf8ef] | 129 | <para>
|
---|
[af21cbe2] | 130 | If you wish to run the tests, the following commands disable two tests
|
---|
[7c2cf8ef] | 131 | that fail.
|
---|
| 132 | </para>
|
---|
| 133 |
|
---|
| 134 | <screen><userinput>sed -i '/actor-offscreen-redirect/d' \
|
---|
| 135 | tests/conform/Makefile.am tests/conform/Makefile.in &&
|
---|
| 136 | autoreconf -f -i</userinput></screen>
|
---|
[8e8cfd9b] | 137 | -->
|
---|
[3ee626e] | 138 | <para>
|
---|
[983fc68] | 139 | Install <application>Clutter</application> by running the following
|
---|
[3ee626e] | 140 | commands:
|
---|
| 141 | </para>
|
---|
[ec889cf3] | 142 |
|
---|
[69a16457] | 143 | <screen revision="sysv"><userinput>./configure --prefix=/usr --sysconfdir=/etc --enable-egl-backend &&
|
---|
| 144 | make</userinput></screen>
|
---|
| 145 |
|
---|
| 146 | <screen revision="systemd"><userinput>./configure --prefix=/usr \
|
---|
| 147 | --sysconfdir=/etc \
|
---|
| 148 | --enable-egl-backend \
|
---|
| 149 | --enable-evdev-input \
|
---|
| 150 | --enable-wayland-backend \
|
---|
| 151 | --enable-wayland-compositor &&
|
---|
[ec889cf3] | 152 | make</userinput></screen>
|
---|
| 153 |
|
---|
[3ee626e] | 154 | <para>
|
---|
[af3d877] | 155 | To test the results, issue: <command>make -k check</command> (you must be
|
---|
[f3429309] | 156 | in an xterm or similar to do this, because it launches some windows).
|
---|
[d233fd23] | 157 | <!-- Two tests have been observed to fail. -->
|
---|
[3ee626e] | 158 | </para>
|
---|
[ec889cf3] | 159 |
|
---|
[3ee626e] | 160 | <para>
|
---|
| 161 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 162 | </para>
|
---|
[ec889cf3] | 163 |
|
---|
| 164 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 165 |
|
---|
| 166 | </sect2>
|
---|
| 167 |
|
---|
| 168 | <sect2 role="commands">
|
---|
| 169 | <title>Command Explanations</title>
|
---|
| 170 |
|
---|
[3ee626e] | 171 | <para>
|
---|
[7ea83d7] | 172 | <parameter>--enable-egl-backend</parameter>: This switch enables
|
---|
| 173 | the experimental EGL windowing backend.
|
---|
[3ee626e] | 174 | </para>
|
---|
[ec889cf3] | 175 |
|
---|
[bed608b0] | 176 | <para>
|
---|
[f7841987] | 177 | <parameter revision="systemd">--enable-evdev-input</parameter><option
|
---|
| 178 | revision="sysv">--enable-evdev-input</option>: This switch enables
|
---|
[bed608b0] | 179 | the experimental Evdev input backend which is required for
|
---|
| 180 | <application>GNOME</application> Wayland support.
|
---|
| 181 | </para>
|
---|
| 182 |
|
---|
| 183 | <para>
|
---|
[f7841987] | 184 | <parameter revision="systemd">--enable-wayland</parameter><option
|
---|
| 185 | revision="sysv">--enable-wayland</option> and <parameter
|
---|
| 186 | revision="systemd">--enable-wayland-compositor</parameter><option
|
---|
| 187 | revision="sysv">--enable-wayland-compositor</option>: These switches
|
---|
[bed608b0] | 188 | enable the experimental <application>Wayland</application> API in
|
---|
| 189 | <application>Clutter</application> which is required for
|
---|
| 190 | <application>GNOME</application> Wayland support.
|
---|
| 191 | </para>
|
---|
| 192 |
|
---|
[e05cd03f] | 193 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3ee626e] | 194 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
[ec889cf3] | 195 |
|
---|
| 196 | </sect2>
|
---|
| 197 |
|
---|
| 198 | <sect2 role="content">
|
---|
| 199 | <title>Contents</title>
|
---|
| 200 |
|
---|
| 201 | <segmentedlist>
|
---|
[7ea83d7] | 202 | <segtitle>Installed Programs</segtitle>
|
---|
[ec889cf3] | 203 | <segtitle>Installed Library</segtitle>
|
---|
| 204 | <segtitle>Installed Directories</segtitle>
|
---|
| 205 |
|
---|
| 206 | <seglistitem>
|
---|
[7ea83d7] | 207 | <seg>
|
---|
| 208 | None
|
---|
| 209 | </seg>
|
---|
[cd68ead6] | 210 | <seg>
|
---|
[0fed30eb] | 211 | libclutter-1.0.so and libclutter-glx-1.0.so
|
---|
[cd68ead6] | 212 | </seg>
|
---|
| 213 | <seg>
|
---|
[7ea83d7] | 214 | /usr/include/clutter-1.0 and
|
---|
| 215 | /usr/share/gtk-doc/html/{cally,clutter}
|
---|
[cd68ead6] | 216 | </seg>
|
---|
[ec889cf3] | 217 | </seglistitem>
|
---|
| 218 | </segmentedlist>
|
---|
| 219 |
|
---|
| 220 | <variablelist>
|
---|
| 221 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 222 | <?dbfo list-presentation="list"?>
|
---|
| 223 | <?dbhtml list-presentation="table"?>
|
---|
| 224 |
|
---|
[983fc68] | 225 | <varlistentry id="libclutter-1">
|
---|
| 226 | <term><filename class="libraryfile">libclutter-1.0.so</filename></term>
|
---|
[ec889cf3] | 227 | <listitem>
|
---|
[3ee626e] | 228 | <para>
|
---|
| 229 | contains the <application>Clutter</application> API functions.
|
---|
| 230 | </para>
|
---|
[983fc68] | 231 | <indexterm zone="clutter libclutter-1">
|
---|
| 232 | <primary sortas="c-libclutter-1">libclutter-1.0.so</primary>
|
---|
[ec889cf3] | 233 | </indexterm>
|
---|
| 234 | </listitem>
|
---|
| 235 | </varlistentry>
|
---|
| 236 |
|
---|
| 237 | </variablelist>
|
---|
| 238 |
|
---|
| 239 | </sect2>
|
---|
| 240 |
|
---|
| 241 | </sect1>
|
---|