In the libggi directory, do:
$ ./configure # will be done automatically on first make
$ make
$ su -c "make install"
For some demos of libggi code, see the demos subdirectory which has several programs showing around the features of LibGGI.
The most importent of them is demo.c which we use ourselves for checking new features. demo.c is heavily commented to allow people to learn LibGGI by example. There is also speed.c which is a speed and consistency test application, which can be used if you changed something in LibGGI to see if you have broken anything.
LibGGI will automatically default to the most suitable display target. However, this can be overridden using the LIBGGI_DISPLAY environment variable, set to the name of the display target, plus any additional arguments.
The LIBGGI_DEBUG environment variable can be set to 0 (default) for no debugging information, or 255 for verbose debugging information.
To use LibGGI, you will need: