[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 |
|
---|
[9d7421f] | 138 | <!-- https://gitlab.gnome.org/GNOME/clutter/-/issues/6 -->
|
---|
[3ee626e] | 139 | <para>
|
---|
[9d7421f] | 140 | It's not recommended to run the test suite because some tests may
|
---|
| 141 | hang forever. If you want to test the results anyway,
|
---|
| 142 | issue: <command>make -j1 -k check</command> (you must be
|
---|
[f3429309] | 143 | in an xterm or similar to do this, because it launches some windows).
|
---|
[3ee626e] | 144 | </para>
|
---|
[ec889cf3] | 145 |
|
---|
[3ee626e] | 146 | <para>
|
---|
| 147 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 148 | </para>
|
---|
[ec889cf3] | 149 |
|
---|
| 150 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 151 |
|
---|
| 152 | </sect2>
|
---|
| 153 |
|
---|
| 154 | <sect2 role="commands">
|
---|
| 155 | <title>Command Explanations</title>
|
---|
| 156 |
|
---|
[3ee626e] | 157 | <para>
|
---|
[7ea83d7] | 158 | <parameter>--enable-egl-backend</parameter>: This switch enables
|
---|
| 159 | the experimental EGL windowing backend.
|
---|
[3ee626e] | 160 | </para>
|
---|
[ec889cf3] | 161 |
|
---|
[bed608b0] | 162 | <para>
|
---|
[51dfb3e] | 163 | <parameter>--enable-evdev-input</parameter>: This switch enables
|
---|
[bed608b0] | 164 | the experimental Evdev input backend which is required for
|
---|
| 165 | <application>GNOME</application> Wayland support.
|
---|
| 166 | </para>
|
---|
| 167 |
|
---|
| 168 | <para>
|
---|
[7085261a] | 169 | <parameter>--enable-wayland-backend</parameter> and
|
---|
[51dfb3e] | 170 | <parameter>--enable-wayland-compositor</parameter>: These
|
---|
| 171 | switches enable the experimental <application>Wayland</application> API
|
---|
| 172 | in <application>Clutter</application> which is required for
|
---|
[bed608b0] | 173 | <application>GNOME</application> Wayland support.
|
---|
| 174 | </para>
|
---|
| 175 |
|
---|
[e05cd03f] | 176 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3ee626e] | 177 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
[ec889cf3] | 178 |
|
---|
| 179 | </sect2>
|
---|
| 180 |
|
---|
| 181 | <sect2 role="content">
|
---|
| 182 | <title>Contents</title>
|
---|
| 183 |
|
---|
| 184 | <segmentedlist>
|
---|
[7ea83d7] | 185 | <segtitle>Installed Programs</segtitle>
|
---|
[ec889cf3] | 186 | <segtitle>Installed Library</segtitle>
|
---|
| 187 | <segtitle>Installed Directories</segtitle>
|
---|
| 188 |
|
---|
| 189 | <seglistitem>
|
---|
[7ea83d7] | 190 | <seg>
|
---|
| 191 | None
|
---|
| 192 | </seg>
|
---|
[cd68ead6] | 193 | <seg>
|
---|
[0fed30eb] | 194 | libclutter-1.0.so and libclutter-glx-1.0.so
|
---|
[cd68ead6] | 195 | </seg>
|
---|
| 196 | <seg>
|
---|
[7ea83d7] | 197 | /usr/include/clutter-1.0 and
|
---|
| 198 | /usr/share/gtk-doc/html/{cally,clutter}
|
---|
[cd68ead6] | 199 | </seg>
|
---|
[ec889cf3] | 200 | </seglistitem>
|
---|
| 201 | </segmentedlist>
|
---|
| 202 |
|
---|
| 203 | <variablelist>
|
---|
| 204 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 205 | <?dbfo list-presentation="list"?>
|
---|
| 206 | <?dbhtml list-presentation="table"?>
|
---|
| 207 |
|
---|
[983fc68] | 208 | <varlistentry id="libclutter-1">
|
---|
| 209 | <term><filename class="libraryfile">libclutter-1.0.so</filename></term>
|
---|
[ec889cf3] | 210 | <listitem>
|
---|
[3ee626e] | 211 | <para>
|
---|
[4c24eb0a] | 212 | contains the <application>Clutter</application> API functions
|
---|
[3ee626e] | 213 | </para>
|
---|
[983fc68] | 214 | <indexterm zone="clutter libclutter-1">
|
---|
| 215 | <primary sortas="c-libclutter-1">libclutter-1.0.so</primary>
|
---|
[ec889cf3] | 216 | </indexterm>
|
---|
| 217 | </listitem>
|
---|
| 218 | </varlistentry>
|
---|
| 219 |
|
---|
| 220 | </variablelist>
|
---|
| 221 |
|
---|
| 222 | </sect2>
|
---|
| 223 |
|
---|
| 224 | </sect1>
|
---|