README
author Myhailo Danylenko <isbear@ukrpost.net>
Wed, 20 May 2009 19:48:34 +0300
changeset 26 1f7e8b53b255
parent 24 1ad539cb8dc6
child 33 14f3430c43b6
permissions -rw-r--r--
Detect lua interpreter presence for testing


This is a lua 5.1 interface for loudmouth jabber client library.

INSTALLATION

To install it, you need:
- lua (optional, to run test)
- liblua headers and library
- glib headers and library
- loudmouth headers and library
- cmake
- pkg-config (to detect glib and loudmouth)
- perl (optional, to generate documentation)

Then do
$ mkdir build
$ cd build
$ cmake ..
$ cmake edit_cache
$ make
# make install

Debian users can instead of make install do,
$ fakeroot make package
# dpkg -i liblua5.1-*.deb

Users of other systems can set other CPack generator using cache editor.

NOTES

Unfortunately, test script depends on my unfinished (and, probably, never finished)
glib module, and thus is unusable as is.

This module should be used as follows:
lm = require 'lm'
i.e., you should assign require return value to some variable.

Loudmouth uses glib main loop to work, thus you should use this module in
a glib loop environment, provided either by your glib-based program or by some
other module, eg lua binding for gtk+.

LICENSE

This code underlies terms of GNU GPL v2 or later. You can find it in file COPYING
from this distribution or on a GNU web-site <http://www.gnu.org/licenses/>.

CONTACTS

I will be happy to get feedback, patches, suggestions, etc.
You can send me email or contact via jabber <isbear@jabber.kiev.ua>.

  -- Myhailo Danylenko <isbear@ukrpost.net>