Clutter-Ocaml ============= This archive contains the bindings for OCAML for the Clutter toolkit and clutter-cairo. If you have any enhancements or bug reports, please send them to: rvanmelle@gmail.com Requirements ------------ * Ocaml >= 3.10 * clutter >= 0.8 or higher * clutter-cairo >= 0.8 or higher * lablgtk2 >= ?? or higher * cairo-ocaml >= ?? This release is supporting the following Clutter releases: clutter-core 0.8 clutter-cairo 0.8 Installation ------------ In order to install this module type the following. This will build both the byte and native versions of the libraries, tests, and examples. autoconf ./configure make make install To build byte only versions: make byte To build native only versions: make native To generate HTML documentation in clutter-ocaml/doc/html : cd src make doc Additional relavant make targets include: all, clean, uninstall Usage ----- If you use ocamlfind, you should be able to compile a simple ocaml-clutter file called "test-clutter.ml" as follows: $ ocamlfind ocamlopt -package clutter -c test-clutter.ml $ ocamlfind ocamlopt -linkpkg -package clutter -o test-clutter.opt test-clutter.cmx -cclib "`pkg-config --libs clutter-0.8`" -cclib "`pkg-config --libs clutter-cairo-0.8`" Example clutter script: open Clutter let () = let stage = ClutterStage.get_default () in stage#show_all; clutter_main () Copyright and License --------------------- Copyright (C) 2008 Reid van Melle This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA.
Source
clutter-ocaml /
Filename | Size | Date modified | Message |
---|---|---|---|
examples | |||
html | |||
src | |||
tests | |||
38 B
|
… | ||
26.4 KB
|
… | ||
71 B
|
… | ||
1.8 KB
|
… | ||
0 B
|
… | ||
2.0 KB
|
… | ||
2.2 KB
|
… | ||
20 B
|
… | ||
2.2 KB
|
… | ||
1.9 KB
|
… | ||
5.4 KB
|
… | ||
44.2 KB
|
… | ||
471 B
|
… | ||
32.6 KB
|
… | ||
2.5 KB
|
… | ||
13.2 KB
|
… | ||
5.8 KB
|
… |