|
From: Francesco M. <f18...@ya...> - 2006-12-17 11:48:10
|
Francesco Montorsi ha scritto:
> 2) renamed lua5.1 library built by wxLua to libwxlua_gtk2d_lua-2.8.a;
> that is, to a lib which follows wxLua naming conventions. This is more
> coherent with the way we call the (vanilla) lua intepreter which we
> build: wxlua-lua. That is, if we care about not replacing the
> system-wide "lua" executable, we should care also about not replacing
> the system-wide "lua5.1" library.
>
> I don't remember why we decided to call our verbatim lua library
> "lua5.1"... do you see anything wrong with calling it using our naming
> convention?
Ok, I now remember why we decided to call it lua5.1; the wx.dll module we build
from modules\luamodule is coinceived to be used as any other Lua module. I.e.
it must be linked against a DLL/DSO named "lua5.1" not "wxlua_msw28_lua".
So, I think we have no other choice that making our "lua" module build a library
named lua5.1 and then install it in standard paths, eventually overwriting the
preexisting one.
This should not be a big problem since the name is versioned and we're using
vanilla lua now. It may just be a problem if someone modified lua and thus has
in system paths a custom version (but this is a bad practice anyway; that user
should consider to name its custom library in some other way).
Do you agree with this change?
Once we get this up and running I think we should also
1) add our "wx" module to this list:
http://lua-users.org/wiki/LuaBinaryModules (look at the end)
2) publish in the next release a single .ZIP download which contains only the
wxLua+wxWidgets DLLs + wx.dll module; so that users could just unzip them and
start using wx.dll module as for any other lua module.
Francesco
|