
Dne 15.8.2013 14:00, Lukas Ocilka napsal(a):
On 08/14/2013 11:43 AM, Martin Vidner wrote:
On Tue, Aug 13, 2013 at 03:59:44PM +0200, Lukas Ocilka wrote:
The only piece of information which is missing (or I can't find) is Where is this directory './lib' installed on the system?
Ruby bindings look for it under Y2DIR, so it is /usr/share/YaST2/lib by default.
Wouldn't it be better to have it in /usr/share/YaST2/${module_name}/lib instead? It's a private library for that module and can potentially collide with any library belonging to another Yast module.
You should create a subdirectory there, like /usr/share/YaST2/lib/${module_name}/. It's the same as includes (/usr/share/YaST2/include/${module_name}/). This should avoid collisions.
The makefiles/devtools don't contain any helpers for that currently.
I can look at it later to make it unified... -- Ladislav Slezák Appliance department / YaST Developer Lihovarská 1060/12 190 00 Prague 9 / Czech Republic tel: +420 284 028 960 lslezak@suse.com SUSE -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org