[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 | <date>$Date$</date>
|
---|
| 20 | </sect1info>
|
---|
| 21 |
|
---|
[cd68ead6] | 22 | <title>Clutter-&clutter-version;</title>
|
---|
[ec889cf3] | 23 |
|
---|
| 24 | <indexterm zone="clutter">
|
---|
[983fc68] | 25 | <primary sortas="a-Clutter">Clutter</primary>
|
---|
[ec889cf3] | 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
[cd68ead6] | 29 | <title>Introduction to Clutter</title>
|
---|
[ec889cf3] | 30 |
|
---|
[3ee626e] | 31 | <para>
|
---|
[983fc68] | 32 | The <application>Clutter</application> package contains an open
|
---|
| 33 | source software library used for creating fast, visually rich
|
---|
| 34 | and animated graphical user interfaces.
|
---|
[2001b3e] | 35 | </para>
|
---|
| 36 |
|
---|
[c93c620c] | 37 | &lfs110a_checked;
|
---|
[625d5fe5] | 38 |
|
---|
[3ee626e] | 39 | <note>
|
---|
| 40 | <para>
|
---|
[0d7900a] | 41 | Anything built with this toolkit needs hardware 3D acceleration from
|
---|
| 42 | the graphics driver at runtime. This is provided by
|
---|
[7a395d1] | 43 | <application>Mesa</application> (or by proprietary graphics drivers),
|
---|
[983fc68] | 44 | but is not available for every graphics card nor for all virtual
|
---|
| 45 | machines. You may wish to review <xref linkend="checking-dri"/>.
|
---|
[3ee626e] | 46 | </para>
|
---|
| 47 | </note>
|
---|
[a33e01ac] | 48 |
|
---|
[ec889cf3] | 49 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 50 | <itemizedlist spacing="compact">
|
---|
| 51 | <listitem>
|
---|
[3ee626e] | 52 | <para>
|
---|
| 53 | Download (HTTP): <ulink url="&clutter-download-http;"/>
|
---|
| 54 | </para>
|
---|
[ec889cf3] | 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
[3ee626e] | 57 | <para>
|
---|
| 58 | Download (FTP): <ulink url="&clutter-download-ftp;"/>
|
---|
| 59 | </para>
|
---|
[ec889cf3] | 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
[3ee626e] | 62 | <para>
|
---|
| 63 | Download MD5 sum: &clutter-md5sum;
|
---|
| 64 | </para>
|
---|
[ec889cf3] | 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
[3ee626e] | 67 | <para>
|
---|
| 68 | Download size: &clutter-size;
|
---|
| 69 | </para>
|
---|
[ec889cf3] | 70 | </listitem>
|
---|
| 71 | <listitem>
|
---|
[3ee626e] | 72 | <para>
|
---|
| 73 | Estimated disk space required: &clutter-buildsize;
|
---|
| 74 | </para>
|
---|
[ec889cf3] | 75 | </listitem>
|
---|
| 76 | <listitem>
|
---|
[3ee626e] | 77 | <para>
|
---|
| 78 | Estimated build time: &clutter-time;
|
---|
| 79 | </para>
|
---|
[ec889cf3] | 80 | </listitem>
|
---|
| 81 | </itemizedlist>
|
---|
| 82 |
|
---|
[cd68ead6] | 83 | <bridgehead renderas="sect3">Clutter Dependencies</bridgehead>
|
---|
[ec889cf3] | 84 |
|
---|
| 85 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[cd68ead6] | 86 | <para role="required">
|
---|
| 87 | <xref linkend="atk"/>,
|
---|
[773db87] | 88 | <xref linkend="cogl"/>, and
|
---|
[cd68ead6] | 89 | <xref linkend="json-glib"/>
|
---|
| 90 | </para>
|
---|
| 91 |
|
---|
| 92 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[51dfb3e] | 93 | <para role="recommended">
|
---|
[69a16457] | 94 | <xref linkend="gobject-introspection"/>,
|
---|
| 95 | <xref linkend="gtk3"/>,
|
---|
| 96 | <xref linkend="libgudev"/>,
|
---|
| 97 | <xref linkend="libinput"/>,
|
---|
| 98 | <xref linkend="libxkbcommon"/>, and
|
---|
| 99 | <xref linkend="wayland"/>
|
---|
| 100 | </para>
|
---|
[ec889cf3] | 101 |
|
---|
| 102 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[51dfb3e] | 103 | <para role="optional">
|
---|
[69a16457] | 104 | <xref linkend="gtk-doc"/> and
|
---|
| 105 | <ulink url="https://github.com/kergoth/tslib">Tslib</ulink>
|
---|
| 106 | </para>
|
---|
[ec889cf3] | 107 |
|
---|
| 108 | <para condition="html" role="usernotes">User Notes:
|
---|
[694c7a8] | 109 | <ulink url="&blfs-wiki;/clutter"/>
|
---|
| 110 | </para>
|
---|
[ec889cf3] | 111 | </sect2>
|
---|
| 112 |
|
---|
| 113 | <sect2 role="installation">
|
---|
[983fc68] | 114 | <title>Installation of Clutter</title>
|
---|
[8e8cfd9b] | 115 | <!--
|
---|
[7c2cf8ef] | 116 | <para>
|
---|
[af21cbe2] | 117 | If you wish to run the tests, the following commands disable two tests
|
---|
[7c2cf8ef] | 118 | that fail.
|
---|
| 119 | </para>
|
---|
| 120 |
|
---|
| 121 | <screen><userinput>sed -i '/actor-offscreen-redirect/d' \
|
---|
| 122 | tests/conform/Makefile.am tests/conform/Makefile.in &&
|
---|
| 123 | autoreconf -f -i</userinput></screen>
|
---|
[8e8cfd9b] | 124 | -->
|
---|
[3ee626e] | 125 | <para>
|
---|
[983fc68] | 126 | Install <application>Clutter</application> by running the following
|
---|
[3ee626e] | 127 | commands:
|
---|
| 128 | </para>
|
---|
[ec889cf3] | 129 |
|
---|
[51dfb3e] | 130 | <screen><userinput>./configure --prefix=/usr \
|
---|
[69a16457] | 131 | --sysconfdir=/etc \
|
---|
| 132 | --enable-egl-backend \
|
---|
| 133 | --enable-evdev-input \
|
---|
| 134 | --enable-wayland-backend \
|
---|
| 135 | --enable-wayland-compositor &&
|
---|
[ec889cf3] | 136 | make</userinput></screen>
|
---|
| 137 |
|
---|
[3ee626e] | 138 | <para>
|
---|
[57721d3] | 139 | To test the results, issue: <command>make -j1 -k check</command> (you must be
|
---|
[f3429309] | 140 | in an xterm or similar to do this, because it launches some windows).
|
---|
[57721d3] | 141 | <!-- The tests will hang if run at more than -j1.-->
|
---|
[716a45fb] | 142 | <!-- The test named actor-offscreen-redirect may hang.-->
|
---|
[8558044] | 143 | <!-- Two tests have been observed to indicate ERROR, but each is flagged twice.
|
---|
[716a45fb] | 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>
|
---|
[7085261a] | 170 | <parameter>--enable-wayland-backend</parameter> and
|
---|
[51dfb3e] | 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>
|
---|