/usr/share/gtk-doc/html/clutter/building-clutter.html is in libclutter-1.0-doc 1.24.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Part II. Building Clutter: Clutter Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Clutter Reference Manual">
<link rel="up" href="index.html" title="Clutter Reference Manual">
<link rel="prev" href="clutter-overview.html" title="Part I. Overview">
<link rel="next" href="running-clutter.html" title="Part III. Running Clutter">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts"></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><img src="up-insensitive.png" width="16" height="16" border="0"></td>
<td><a accesskey="p" href="clutter-overview.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="running-clutter.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="part">
<div class="titlepage"><div>
<div><h1 class="title">
<a name="building-clutter"></a>Part II. Building Clutter</h1></div>
<div><div class="author">
<h3 class="author">
<span class="firstname">Emmanuele</span> <span class="surname">Bassi</span>
</h3>
<div class="affiliation"><div class="address"><p><br>
<code class="email"><<a class="email" href="mailto:ebassiopenedhand.com">ebassi<em class="parameter"><code>openedhand.com</code></em></a>></code><br>
</p></div></div>
</div></div>
</div></div>
<div class="partintro">
<div></div>
<div class="section">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="dependencies"></a>Clutter Dependencies</h2></div></div></div>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term">GLib</span></p></td>
<td><p>A general-purpose utility library, not specific to
graphical user interfaces. GLib provides many useful data
types, macros, type conversions, string utilities, file
utilities, a main loop abstraction, and so on.</p></td>
</tr>
<tr>
<td><p><span class="term">GObject</span></p></td>
<td><p>The GLib Object System provides the required
implementations of a flexible, extensible and intentionally
easy to map (into other languages) object-oriented framework
for C.</p></td>
</tr>
<tr>
<td><p><span class="term">Pango</span></p></td>
<td><p>Pango is a library for laying out and rendering
text, with an emphasis on internationalization.</p></td>
</tr>
<tr>
<td><p><span class="term">Backend Windowing System Library</span></p></td>
<td><p>GLX, EGL (1.1), Cocoa (OS X) and WGL (Windows)</p></td>
</tr>
<tr>
<td><p><span class="term">Graphics Rendering </span></p></td>
<td><p>Open GL (1.3+ or 1.2 with multitexturing support) or
Open GL ES (1.1 or 2.0)</p></td>
</tr>
</tbody>
</table></div>
</div>
<div class="section">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="building-instructions"></a>Platform-specific instructions</h2></div></div></div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
<a name="building-linux"></a>Linux</h3></div></div></div>
<p>If you are using Debian or Ubuntu, you can install pre-compiled
binary packages the normal Debian way following the instructions at
<a class="ulink" href="http://debian.o-hand.com/" target="_top">
http://debian.o-hand.com/</a>.
</p>
<p>To build Clutter clutter from sources, get the latest source
archives from <a class="ulink" href="http://www.clutter-project.org/sources/" target="_top">
http://www.clutter-project.org/sources/</a>. Once you have extracted
the sources from the archive execute the following commands in the
top-level directory:
</p>
<div class="literallayout"><p><br>
$ ./configure<br>
$ make<br>
# make install<br>
</p></div>
<p>You can configure the build with number of additional arguments
passed to the configure script, the full list of which can be obtained
by running ./configure --help. The following arguments are specific to
Clutter:
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term">--enable-debug=[no/minimum/yes]</span></p></td>
<td><p>Controls the Clutter debugging level. Possible values
are: yes (all GLib asserts, checks and runtime debug
messages); minimum - just GLib cast checks and runtime
debug messages; no (no GLib asserts or checks and no
runtime debug messages). The default is yes for development
cycles, and minimum for stable releases. You should not use
no, unless the only performance critical paths are the
GLib type system checks.</p></td>
</tr>
<tr>
<td><p><span class="term">--enable-cogl-debug=[no/minimum/yes]</span></p></td>
<td><p>Controls the COGL debugging level, similarly to
--enable-debug.</p></td>
</tr>
<tr>
<td><p><span class="term">--enable-maintainer-flags=[no/yes]</span></p></td>
<td><p>Use strict compiler flags; default=no.
</p></td>
</tr>
<tr>
<td><p><span class="term">--enable-gtk-doc</span></p></td>
<td><p>Use gtk-doc to build documentation; default=no.
</p></td>
</tr>
<tr>
<td><p><span class="term">--enable-manual=[no/yes]</span></p></td>
<td><p>Build application developers manual; requires jw and
xmlto binaries; default=no.
</p></td>
</tr>
<tr>
<td><p><span class="term">--with-flavour=[glx/eglx/eglnative/win32/osx/cex100]</span></p></td>
<td><p>Select the Clutter backend; default=glx.
</p></td>
</tr>
<tr>
<td><p><span class="term">--with-imagebackend=[gdk-pixbuf/quartz/internal]</span></p></td>
<td><p>Select the image loading backend; default is
set to gdk-pixbuf on Linux and Windows, and to quartz
on OS X. The internal image loading backend should only
be used when porting to a new platform or for testing
purposes, and its stability or functionality are not
guaranteed.</p></td>
</tr>
<tr>
<td><p><span class="term">--with-gles=[1.1/2.0]</span></p></td>
<td><p>Select the version of GLES to support in COGL;
default is 1.1.</p></td>
</tr>
<tr>
<td><p><span class="term">--with-json=[internal/check]</span></p></td>
<td><p>Select whether to use the internal copy of
JSON-GLib to parse the ClutterScript UI definition
files, or to check for the system installed library;
default is internal.</p></td>
</tr>
<tr>
<td><p><span class="term">--enable-xinput=[no/yes]</span></p></td>
<td><p>Whether to enable XInput 1 support; default is
no.</p></td>
</tr>
<tr>
<td><p><span class="term">--enable-introspection=[no/auto/yes]</span></p></td>
<td><p>Whether to generate GObject Introspection data
at build time; default is auto.</p></td>
</tr>
</tbody>
</table></div>
<p>
</p>
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
<a name="building-windows"></a>Windows</h3></div></div></div>
<p>
The recommended way of building Clutter for Windows is using the
<a class="ulink" href="http://www.mingw.org/" target="_top">mingw</a> tool chain. This
will work either by cross compiling from a Linux
installation or directly on Windows using MSYS. See
the <a class="ulink" href="http://wiki.clutter-project.org/wiki/BuildingClutterOnWindows" target="_top">
wiki</a> for more information.
</p>
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
<a name="building-osx"></a>OSX</h3></div></div></div>
<p>
Before you start you should install XCode either from the OSX
installation disk or by downloading it from the Apple website.
</p>
<p>
Note: These instructions have only been tested on OS X 10.6
(a.k.a Snow Leopard)
</p>
<p>
Currently the only way to install Clutter for developing
applications, or hacking on Clutter itself, is to build it yourself.
The recommended route is to install the dependencies with
the <a class="ulink" href="" target="_top">MacPorts</a>
project, by simply invoking:
</p>
<div class="informalexample"><pre class="programlisting">
$ sudo port install libpixman-devel cairo-devel pango gtk-doc
</pre></div>
<p>
on a terminal, after installing and updating MacPorts.
This should give you all of the required dependencies for building
Clutter.
</p>
<p>
It should be noted that building gtk-doc pulls in a lot of other
MacPorts dependencies and takes some considerable time. You can omit
this dependency so long as you disable documentation when you are
configuring the build with
<code class="literal">--disable-gtk-doc --disable-docs</code>
</p>
<p>
The Clutter Quartz backend is built by passing the
<code class="literal">--with-flavour=osx</code> command line argument
to the configure script. If not passed, the GLX backend will
be built. By default, the Quartz backend depends on CoreGraphics
in order to load images into textures, but it can also depend
on GDK-Pixbuf or an internal, highly experimental PNG and JPEG
loader.
</p>
<p>
GTK introspection is untested on OSX (as there isn't a MacPorts
package) so it is recommended that you disable this with the
<code class="literal">--disable-introspection</code>.
</p>
<p>
If building on top of MacPorts, as recommended, the following
configure command should suffice:
</p>
<div class="informalexample"><pre class="programlisting">
./configure --with-flavour=osx --disable-introspection --prefix=/opt
</pre></div>
</div>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>
|