Re: [PATCH weston v2 2/4] weston: Allow relative paths for modules

2013-06-09 Thread Pekka Paalanen
On Fri, 07 Jun 2013 16:52:25 -0700 Bill Spitzak wrote: > Pekka Paalanen wrote: > > > Hi Quentin, > > > > do we expect to load modules from subdirs under MODULEDIR ever? > > > > If not, I think this could be simplified to just scan the name for a > > '/', and if there is one use the name as is,

Re: [PATCH weston v2 2/4] weston: Allow relative paths for modules

2013-06-07 Thread Bill Spitzak
Pekka Paalanen wrote: Hi Quentin, do we expect to load modules from subdirs under MODULEDIR ever? If not, I think this could be simplified to just scan the name for a '/', and if there is one use the name as is, and if there is not then prepend MODULEDIR. That's exactly what the earlier vers

Re: [PATCH weston v2 2/4] weston: Allow relative paths for modules

2013-06-07 Thread Pekka Paalanen
On Fri, 7 Jun 2013 10:46:42 +0200 Quentin Glidic wrote: > From: Quentin Glidic > > This is to be used by tests or when developping to load modules directly > from the build tree > > Signed-off-by: Quentin Glidic > --- > man/weston.man | 5 +++-- > src/compositor.c | 9 ++--- > 2 files

[PATCH weston v2 2/4] weston: Allow relative paths for modules

2013-06-07 Thread Quentin Glidic
From: Quentin Glidic This is to be used by tests or when developping to load modules directly from the build tree Signed-off-by: Quentin Glidic --- man/weston.man | 5 +++-- src/compositor.c | 9 ++--- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/man/weston.man b/man/we