examples: add some examples in Lua using lgi library
authorJiří Klimeš <jklimes@redhat.com>
Thu, 17 Jul 2014 14:13:50 +0000 (16:13 +0200)
committerJiří Klimeš <jklimes@redhat.com>
Fri, 30 Jan 2015 13:41:13 +0000 (14:41 +0100)
commit6be3d7cbadab0b03265fdf85f6e764c2c5d45241
tree8a9566f3086981156c6794f57378199da13de464
parentaba9dbc52e321768bf70eda746003b1d65a895b4
examples: add some examples in Lua using lgi library

[libnm]     https://developer.gnome.org/libnm/1.0/
[lgi]       https://github.com/pavouk/lgi
[lgi-guide] https://github.com/pavouk/lgi/blob/master/docs/guide.md

On most distribution just install lua-lgi.

Note:
There is a bug in lgi. It doesn't handle GPtrArray corectly. It results in
crashing on list-devices.lua and list-connections.lua.
I will send a patch to lgi to fix the issue.
configure.ac
examples/Makefile.am
examples/lua/Makefile.am [new file with mode: 0644]
examples/lua/lgi/Makefile.am [new file with mode: 0644]
examples/lua/lgi/add-connection.lua [new file with mode: 0755]
examples/lua/lgi/list-connections.lua [new file with mode: 0755]
examples/lua/lgi/list-devices.lua [new file with mode: 0755]