Hi Hisham,

On 11/1/2011 11:54 AM, Pavel Holejsovsky wrote:
Ok, please wait a bit more, I'll try to find out how feasible is it to
port samples to Gtk2, because there wil be probably more users bitten by
this issue.  I'll let you know then.

So I polished the code a bit and addressed some of the problems with 0.1, namely:

- lgi.so is renamed to lgi/core.so to avoid overlap with lgi.lua
- some samples are adapted to run also with Gtk2, but still majority of the samples use Gtk3-only features, so they don't run with Gtk2 - some workarounds for compatibility with older GObject-Introspection library (read: ugly hacks to overcome GoI bugs) were introduced, so most of the features are available with Glib/Goi shipped with Gnome 3.0

Please find attached rockspec file. In case that you'll find some motivation/time to test as you did last time, it would be greatly appreciated, otherwise just upload it to server if possible.

Thanks in advance,
Pavel
package = 'LGI'
version = '0.2-1'

description = {
   summary = "Lua bindings to GObject libraries",
   detailed = [[
         Dynamic Lua binding to any library which is introspectable
         using gobject-introspection.  Allows using GObject-based libraries
         directly from Lua.
   ]],
   license = 'MIT/X11',
   homepage = 'https://gitorious.org/lgi/lgi'
}

supported_platforms = { "unix" }

source = {
   url = 'git://gitorious.org/lgi/lgi.git',
   tag = '0.2'
}

dependencies = {
   "lua 5.1"
}

build = {
   type = 'command',
   build_command = 
      "LUA_CFLAGS=-I$(LUA_INCDIR) python waf configure " ..
      "--prefix=$(PREFIX) --datadir=$(LUADIR) --libdir=$(LIBDIR); " ..
      "python waf build",
   install_command = "python waf install",
   copy_directories = { 'docs', 'samples' }
}
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to