libexec (Re: "kde5" or "kf5" ?)

David Faure faure+bluesystems at kde.org
Fri Feb 22 10:37:17 UTC 2013


On Thursday 21 February 2013 22:01:30 Alexander Neundorf wrote:
> Why not have a KF5DIRS variable ?

You keep thinking "KDE4, renamed" :-)

Think of KF5 as standalone libs on top of Qt. Do you currently have to set a 
QCADIRS to use QCA, and a ATTICADIRS to use attica, and a SOPRANODIRS to use 
soprano? No, because:
* executables are found using $PATH
* libs are found using $LD_LIBRARY_PATH (and fallbacks)
* plugins are found using $QT_PLUGIN_PATH
* data files are found using $XDG_DATA_DIRS
* global config files are found using $XDG_CONFIG_DIRS
All this is "standard", while FOODIRS isn't.

The -only- thing that is triggering the discussion is the "libexec" case, 
because there is no standard for that. But we should find a solution that 
builds upon on of the above standards as much as possible, rather than 
reintroduce big ugly FOODIRS vars ("big" = used for everything, which isn't 
necessary, given the above).

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Sponsored by BlueSystems and KDAB to work on KDE Frameworks



More information about the Kde-frameworks-devel mailing list