XDG base exec paths

Sven Neumann sven at gimp.org
Tue Nov 27 05:41:31 PST 2007


Hi,

On Tue, 2007-11-27 at 13:46 +0100, Kai-Uwe Behrmann wrote:
> Am 27.11.07, 13:21 +0100 schrieb Patryk Zawadzki:
> 
> > You are right but you are free to create a subdirectory inside _libdir
> > for your own use and needs :)
>  
> Ok, so it seems best to ignore XDG and go with /usr/[local]/lib/color 
> {libdir}/color and ~/.local/lib/color where somewhere in color/ will 
> reside the CMM's and wait to see the sun.

IMO the only reasonable way to handle this would be to create a library
that abstracts the use of the plug-ins and deals with locating and
loading them. The plug-in location then needs to be known only to this
library and any application that wants to use the functionality provided
by the plug-ins will just link the library. How to link a library is a
well-known and solved problem. And since only this library needs to know
where the plug-ins are located, the whole question of where to put them
is not of concern for the XDG project.


Sven




More information about the xdg mailing list