From: Francesco M. <f18...@ya...> - 2006-01-27 15:49:31
|
Hi, k. holwerda ha scritto: > > > Francesco Montorsi wrote: > >> Hi, >> >> >> libwxlua_[gtk2|x11|msw|...][u][d]_lua-[wxversion].so.0 >> libwxlua_[gtk2|x11|msw|...][u][d]_lualib-[wxversion].so.0 >> libwxlua_[gtk2|x11|msw|...][u][d]_wxbind-[wxversion].so.0 >> libwxlua_[gtk2|x11|msw|...][u][d]_wxlua-[wxversion].so.0 >> libwxlua_[gtk2|x11|msw|...][u][d]_wxluadebug-[wxversion].so.0 >> libwxlua_[gtk2|x11|msw|...][u][d]_wxluasocket-[wxversion].so.0 Just a few things which came up to my mind while updating bakefiles: 1) on win32 it's best not to use a version in the libname with dots (instead of 2.6, we should use 26); furthermore, we can even choose to use the same wx library convention: wxmsw[wxversion without dots][u][d]_[libname].lib So, what do you propose? I think that while on linux we can adopt a more complex library naming (like libwxlua_[gtk2|x11|msw|...][u][d]_lua-[wxversion].so.0) since the user will probably use `pkg-config wxlua --libs` to get libname, on win32 we should keep the library name shorter as wxWidgets does. Thus I suggest to stick with wx rules for both linux and win32 libnames. 2) We are going to put wxversion numbers somewhere in library names in any case. However I'd like to discuss a couple of things about version. I see wxPython works this way: for wx2.6.2 there is wxPython2.6.2.1, wxPython2.6.1.2, etc... This is probably the best thing to do as it will be simpler for users to understand which release of wxPython targets which release of wxWidgets but still lets wxPython developers to make other releases still targeted to wx 2.6.2 using the fourth digit. Do you agree to use this versioning rule ? AFAIK the only files containing wxLua version numbers should be: 1) build/bakefiles/wxluabase.bkl 2) build/autoconf/configure.ac If we decide to use a wxPython-like versioning, then we can store a single version number in these files (the fourth number). In any case we would still use only wx major and minor version digits in libnames, unless someone has other ideas.... Francesco |