Blob Blame History Raw
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Quick start guide: Grilo Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<link rel="home" href="index.html" title="Grilo Reference Manual">
<link rel="up" href="rn01.html" title="Tutorial">
<link rel="prev" href="rn01.html" title="Tutorial">
<link rel="next" href="ch02.html" title="Environment Setup">
<meta name="generator" content="GTK-Doc V1.28 (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><a accesskey="u" href="rn01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="rn01.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="ch02.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="chapter">
<div class="titlepage"><div><div><h2 class="title">
<a name="id-1.3.2"></a>Quick start guide</h2></div></div></div>
<div class="toc"><dl class="toc">
<dt><span class="section"><a href="ch01.html#quick-start"></a></span></dt>
<dd><dl>
<dt><span class="section"><a href="ch01.html#building-grilo">Building Grilo from sources</a></span></dt>
<dt><span class="section"><a href="ch01.html#testing-grilo">Testing Grilo</a></span></dt>
<dt><span class="section"><a href="ch01.html#compiling-grilo-programs">Compiling Grilo based programs</a></span></dt>
</dl></dd>
</dl></div>
<div class="section">
<div class="titlepage"></div>
<p>
    If you just want to have a go at Grilo as soon as possible this is
    the right section for you.
  </p>
<p>
    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.
  </p>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
<a name="building-grilo"></a>Building Grilo from sources</h3></div></div></div>
<pre class="programlisting">
# 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
    </pre>
<p>
    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.
  </p>
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
<a name="testing-grilo"></a>Testing Grilo</h3></div></div></div>
<p>After building and installing grilo and grilo-plugins, do:</p>
<pre class="programlisting">
# Execute Grilo's test GUI
$ /usr/bin/grilo-test-ui
    </pre>
<p>
      This is a simple playground application that you can use to test
      the framework and its plugins.
    </p>
<p>
      Notice that grilo-test-ui is optional and will not be built unless
      you have the GTK+ development package installed on your system.
    </p>
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
<a name="compiling-grilo-programs"></a>Compiling Grilo based programs</h3></div></div></div>
<pre class="programlisting">
gcc -o example `pkg-config --cflags --libs grilo-x.y` example.c
    </pre>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.28</div>
</body>
</html>