Source

clutter-ocaml /

Filename Size Date modified Message
examples
html
src
tests
38 B
Adding initial files that get a skeleton building.
25.8 KB
Adding initial files that get a skeleton building.
71 B
Revamped the entire build system
1.7 KB
Got most of the effects stuff working.
0 B
Revamped the entire build system
1.9 KB
Revamped the entire build system
2.1 KB
Fixed the install/uninstall targets to work properly
20 B
Working on a new texture function... not sure if its working yet because this is very old
2.2 KB
updated installation instrucdtions
1.8 KB
fixed up the makefile in examples
5.2 KB
Added this missing aclocal.m4 file and a new test that *should not* be run
43.2 KB
Revamped the entire build system
471 B
Revamped the entire build system
31.8 KB
Revamped the entire build system
2.4 KB
Removed a couple of tests... wtf? no idea
12.9 KB
Revamped the entire build system
5.6 KB
Forgot this pkgconfig autoconf file
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.