239
239
<section id='building-osx'>
240
240
<title>OSX</title>
241
<para>For developing an application with Clutter, the recommended
242
way of installing it using the <ulink href="http://www.macports.org/">MacPorts</ulink>
241
<para>Currently the only way to install Clutter for developing
242
applications, or hacking on Clutter itself, is to build it yourself.
243
The recommended route is to install the dependencies with
244
the <ulink href="http://www.macports.org/">MacPorts</ulink>
243
245
project, by simply invoking:</para>
245
247
<informalexample><programlisting>
246
$ sudo port install clutter
248
$ sudo port install pango libpixman-devel cairo-devel
247
249
</programlisting></informalexample>
249
<para>on a terminal, after installing and updating MacPorts.</para>
251
<para>For developing Clutter itself, the recommended way of building
252
it OSX is to use <ulink href="http://live.gnome.org/Jhbuild">Jhbuild</ulink>,
253
following the documentation for building the GTK+ stack as shown
254
<ulink href="http://developer.imendio.com/projects/gtk-macosx/build-instructions">here</ulink>.</para>
257
Jhbuild depends on SVN, which can be installed on OSX by using
258
the <ulink href="http://www.macports.org/">MacPorts</ulink>
251
<para>on a terminal, after installing and updating MacPorts.
252
This should give you all of the required dependencies for building
263
256
XCode should also be installed, either from the OSX installation
264
disk or downloading it from the Apple website. It is recommended
265
to also install the X11 development files, even though Clutter
266
does not strictly depend on them.
257
disk or downloading it from the Apple website.
284
275
to the configure script.
279
GTK introspection and shave support are untested on OSX so it is
280
also recommended that you disable these with the
281
<literal>--disable-shave</literal> and
282
<literal>--disable-introspection</literal>.
286
If building on top of MacPorts, as recommended, the following
287
configure command should suffice:
290
<informalexample><programlisting>
291
./configure --disable-gtk-doc --disable-docs --disable-shave
292
--with-flavour=osx --disable-introspection --prefix=/opt
293
</programlisting></informalexample>