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