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

Pekka Paalanen ppaalanen at gmail.com
Sun Jun 9 00:50:23 PDT 2013


On Fri, 07 Jun 2013 16:52:25 -0700
Bill Spitzak <spitzak at gmail.com> 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, and if there is not then
> > prepend MODULEDIR.
> 
> That's exactly what the earlier version of his patch did. A couple 
> people here, including me, suggested this change so that there can be 
> subdirs in MODULEDIR.
> 
> I still think this way is better.

Do we really expect so many weston plugins? They can be prefixed
even without a subdir.

Anyway, if we keep this patch, then the documentation on path
handling needs to be more explicit.


Thanks,
pq


More information about the wayland-devel mailing list