## Quick start guide

If you just want to have a go at Grilo as soon as possible this is the right section for you.

This section gives basic instructions on how to download, build and demo the development version of Grilo directly from the source code repositories, as well as how to build programs that use Grilo.

### Building Grilo from sources

    # Building Grilo
    $ git clone git://git.gnome.org/grilo
    $ cd grilo
    $ ./autogen.sh --prefix=/usr
    $ make
    $ sudo make install

    # Building Grilo Plugins
    $ cd ..
    $ git clone git://git.gnome.org/grilo-plugins
    $ cd grilo-plugins
    $ ./autogen.sh --prefix=/usr
    $ make
    $ sudo make install

You should now see the grilo libraries installed under /usr/lib and the plugins for grilo installed under /usr/lib/grilo-x.y, where 'x.y' represents the library version.

### Testing Grilo

After building and installing grilo and grilo-plugins, do:

    # Execute Grilo's test GUI
    $ /usr/bin/grilo-test-ui

This is a simple playground application that you can use to test the framework and its plugins.

Notice that grilo-test-ui is optional and will not be built unless you have the GTK+ development package installed on your system.

### Compiling Grilo based programs

    gcc -o example `pkg-config --cflags --libs grilo-x.y` example.c