[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">
|
---|
[69d725d4] | 9 | <!ENTITY clutter-md5sum "a03482cbacf735eca8c996f210a21ee5">
|
---|
[6ee68b1] | 10 | <!ENTITY clutter-size "5.1 MB">
|
---|
[69d725d4] | 11 | <!ENTITY clutter-buildsize "85 MB (with tests)">
|
---|
| 12 | <!ENTITY clutter-time "1.2 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 |
|
---|
[747db59e] | 38 | &lfs80_checked;
|
---|
[69d725d4] | 39 | &gcc7_checked;
|
---|
[625d5fe5] | 40 |
|
---|
[3ee626e] | 41 | <note>
|
---|
| 42 | <para>
|
---|
[0d7900a] | 43 | Anything built with this toolkit needs hardware 3D acceleration from
|
---|
| 44 | the graphics driver at runtime. This is provided by
|
---|
[7a395d1] | 45 | <application>Mesa</application> (or by proprietary graphics drivers),
|
---|
[983fc68] | 46 | but is not available for every graphics card nor for all virtual
|
---|
| 47 | machines. You may wish to review <xref linkend="checking-dri"/>.
|
---|
[3ee626e] | 48 | </para>
|
---|
| 49 | </note>
|
---|
[a33e01ac] | 50 |
|
---|
[ec889cf3] | 51 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 52 | <itemizedlist spacing="compact">
|
---|
| 53 | <listitem>
|
---|
[3ee626e] | 54 | <para>
|
---|
| 55 | Download (HTTP): <ulink url="&clutter-download-http;"/>
|
---|
| 56 | </para>
|
---|
[ec889cf3] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[3ee626e] | 59 | <para>
|
---|
| 60 | Download (FTP): <ulink url="&clutter-download-ftp;"/>
|
---|
| 61 | </para>
|
---|
[ec889cf3] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
[3ee626e] | 64 | <para>
|
---|
| 65 | Download MD5 sum: &clutter-md5sum;
|
---|
| 66 | </para>
|
---|
[ec889cf3] | 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
[3ee626e] | 69 | <para>
|
---|
| 70 | Download size: &clutter-size;
|
---|
| 71 | </para>
|
---|
[ec889cf3] | 72 | </listitem>
|
---|
| 73 | <listitem>
|
---|
[3ee626e] | 74 | <para>
|
---|
| 75 | Estimated disk space required: &clutter-buildsize;
|
---|
| 76 | </para>
|
---|
[ec889cf3] | 77 | </listitem>
|
---|
| 78 | <listitem>
|
---|
[3ee626e] | 79 | <para>
|
---|
| 80 | Estimated build time: &clutter-time;
|
---|
| 81 | </para>
|
---|
[ec889cf3] | 82 | </listitem>
|
---|
| 83 | </itemizedlist>
|
---|
| 84 |
|
---|
[cd68ead6] | 85 | <bridgehead renderas="sect3">Clutter Dependencies</bridgehead>
|
---|
[ec889cf3] | 86 |
|
---|
| 87 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[cd68ead6] | 88 | <para role="required">
|
---|
| 89 | <xref linkend="atk"/>,
|
---|
[773db87] | 90 | <xref linkend="cogl"/>, and
|
---|
[cd68ead6] | 91 | <xref linkend="json-glib"/>
|
---|
| 92 | </para>
|
---|
| 93 |
|
---|
| 94 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[69a16457] | 95 | <para role="recommended" revision="sysv">
|
---|
[7ea83d7] | 96 | <xref linkend="gobject-introspection"/> and
|
---|
| 97 | <xref linkend="gtk3"/>
|
---|
[cd68ead6] | 98 | </para>
|
---|
[69a16457] | 99 | <para role="recommended" revision="systemd">
|
---|
| 100 | <xref linkend="gobject-introspection"/>,
|
---|
| 101 | <xref linkend="gtk3"/>,
|
---|
| 102 | <xref linkend="libgudev"/>,
|
---|
| 103 | <xref linkend="libinput"/>,
|
---|
| 104 | <xref linkend="libxkbcommon"/>, and
|
---|
| 105 | <xref linkend="wayland"/>
|
---|
| 106 | </para>
|
---|
[ec889cf3] | 107 |
|
---|
| 108 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[69a16457] | 109 | <para role="optional" revision="sysv">
|
---|
[7ea83d7] | 110 | <xref linkend="gtk-doc"/>,
|
---|
[f175d6f6] | 111 | <xref linkend="libgudev"/>,
|
---|
[46b6e94] | 112 | <xref linkend="libinput"/>,
|
---|
[63c5b080] | 113 | <xref linkend="libxkbcommon"/>,
|
---|
[d6759fc] | 114 | <ulink url="https://github.com/kergoth/tslib">Tslib</ulink>, and
|
---|
[11c9ff3] | 115 | <xref linkend="wayland"/>
|
---|
[cd68ead6] | 116 | </para>
|
---|
[69a16457] | 117 | <para role="optional" revision="systemd">
|
---|
| 118 | <xref linkend="gtk-doc"/> and
|
---|
| 119 | <ulink url="https://github.com/kergoth/tslib">Tslib</ulink>
|
---|
| 120 | </para>
|
---|
[ec889cf3] | 121 |
|
---|
| 122 | <para condition="html" role="usernotes">User Notes:
|
---|
[694c7a8] | 123 | <ulink url="&blfs-wiki;/clutter"/>
|
---|
| 124 | </para>
|
---|
[ec889cf3] | 125 | </sect2>
|
---|
| 126 |
|
---|
| 127 | <sect2 role="installation">
|
---|
[983fc68] | 128 | <title>Installation of Clutter</title>
|
---|
[8e8cfd9b] | 129 | <!--
|
---|
[7c2cf8ef] | 130 | <para>
|
---|
[af21cbe2] | 131 | If you wish to run the tests, the following commands disable two tests
|
---|
[7c2cf8ef] | 132 | that fail.
|
---|
| 133 | </para>
|
---|
| 134 |
|
---|
| 135 | <screen><userinput>sed -i '/actor-offscreen-redirect/d' \
|
---|
| 136 | tests/conform/Makefile.am tests/conform/Makefile.in &&
|
---|
| 137 | autoreconf -f -i</userinput></screen>
|
---|
[8e8cfd9b] | 138 | -->
|
---|
[3ee626e] | 139 | <para>
|
---|
[983fc68] | 140 | Install <application>Clutter</application> by running the following
|
---|
[3ee626e] | 141 | commands:
|
---|
| 142 | </para>
|
---|
[ec889cf3] | 143 |
|
---|
[69a16457] | 144 | <screen revision="sysv"><userinput>./configure --prefix=/usr --sysconfdir=/etc --enable-egl-backend &&
|
---|
| 145 | make</userinput></screen>
|
---|
| 146 |
|
---|
| 147 | <screen revision="systemd"><userinput>./configure --prefix=/usr \
|
---|
| 148 | --sysconfdir=/etc \
|
---|
| 149 | --enable-egl-backend \
|
---|
| 150 | --enable-evdev-input \
|
---|
| 151 | --enable-wayland-backend \
|
---|
| 152 | --enable-wayland-compositor &&
|
---|
[ec889cf3] | 153 | make</userinput></screen>
|
---|
| 154 |
|
---|
[3ee626e] | 155 | <para>
|
---|
[af3d877] | 156 | To test the results, issue: <command>make -k check</command> (you must be
|
---|
[f3429309] | 157 | in an xterm or similar to do this, because it launches some windows).
|
---|
[69d725d4] | 158 | Two tests have been observed to indicate ERROR, but each is flagged twice.
|
---|
[3ee626e] | 159 | </para>
|
---|
[ec889cf3] | 160 |
|
---|
[3ee626e] | 161 | <para>
|
---|
| 162 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 163 | </para>
|
---|
[ec889cf3] | 164 |
|
---|
| 165 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 166 |
|
---|
| 167 | </sect2>
|
---|
| 168 |
|
---|
| 169 | <sect2 role="commands">
|
---|
| 170 | <title>Command Explanations</title>
|
---|
| 171 |
|
---|
[3ee626e] | 172 | <para>
|
---|
[7ea83d7] | 173 | <parameter>--enable-egl-backend</parameter>: This switch enables
|
---|
| 174 | the experimental EGL windowing backend.
|
---|
[3ee626e] | 175 | </para>
|
---|
[ec889cf3] | 176 |
|
---|
[bed608b0] | 177 | <para>
|
---|
[f7841987] | 178 | <parameter revision="systemd">--enable-evdev-input</parameter><option
|
---|
| 179 | revision="sysv">--enable-evdev-input</option>: This switch enables
|
---|
[bed608b0] | 180 | the experimental Evdev input backend which is required for
|
---|
| 181 | <application>GNOME</application> Wayland support.
|
---|
| 182 | </para>
|
---|
| 183 |
|
---|
| 184 | <para>
|
---|
[f7841987] | 185 | <parameter revision="systemd">--enable-wayland</parameter><option
|
---|
| 186 | revision="sysv">--enable-wayland</option> and <parameter
|
---|
| 187 | revision="systemd">--enable-wayland-compositor</parameter><option
|
---|
| 188 | revision="sysv">--enable-wayland-compositor</option>: These switches
|
---|
[bed608b0] | 189 | enable the experimental <application>Wayland</application> API in
|
---|
| 190 | <application>Clutter</application> which is required for
|
---|
| 191 | <application>GNOME</application> Wayland support.
|
---|
| 192 | </para>
|
---|
| 193 |
|
---|
[e05cd03f] | 194 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3ee626e] | 195 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
[ec889cf3] | 196 |
|
---|
| 197 | </sect2>
|
---|
| 198 |
|
---|
| 199 | <sect2 role="content">
|
---|
| 200 | <title>Contents</title>
|
---|
| 201 |
|
---|
| 202 | <segmentedlist>
|
---|
[7ea83d7] | 203 | <segtitle>Installed Programs</segtitle>
|
---|
[ec889cf3] | 204 | <segtitle>Installed Library</segtitle>
|
---|
| 205 | <segtitle>Installed Directories</segtitle>
|
---|
| 206 |
|
---|
| 207 | <seglistitem>
|
---|
[7ea83d7] | 208 | <seg>
|
---|
| 209 | None
|
---|
| 210 | </seg>
|
---|
[cd68ead6] | 211 | <seg>
|
---|
[0fed30eb] | 212 | libclutter-1.0.so and libclutter-glx-1.0.so
|
---|
[cd68ead6] | 213 | </seg>
|
---|
| 214 | <seg>
|
---|
[7ea83d7] | 215 | /usr/include/clutter-1.0 and
|
---|
| 216 | /usr/share/gtk-doc/html/{cally,clutter}
|
---|
[cd68ead6] | 217 | </seg>
|
---|
[ec889cf3] | 218 | </seglistitem>
|
---|
| 219 | </segmentedlist>
|
---|
| 220 |
|
---|
| 221 | <variablelist>
|
---|
| 222 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 223 | <?dbfo list-presentation="list"?>
|
---|
| 224 | <?dbhtml list-presentation="table"?>
|
---|
| 225 |
|
---|
[983fc68] | 226 | <varlistentry id="libclutter-1">
|
---|
| 227 | <term><filename class="libraryfile">libclutter-1.0.so</filename></term>
|
---|
[ec889cf3] | 228 | <listitem>
|
---|
[3ee626e] | 229 | <para>
|
---|
| 230 | contains the <application>Clutter</application> API functions.
|
---|
| 231 | </para>
|
---|
[983fc68] | 232 | <indexterm zone="clutter libclutter-1">
|
---|
| 233 | <primary sortas="c-libclutter-1">libclutter-1.0.so</primary>
|
---|
[ec889cf3] | 234 | </indexterm>
|
---|
| 235 | </listitem>
|
---|
| 236 | </varlistentry>
|
---|
| 237 |
|
---|
| 238 | </variablelist>
|
---|
| 239 |
|
---|
| 240 | </sect2>
|
---|
| 241 |
|
---|
| 242 | </sect1>
|
---|