kdeinit vs. link order

Alexander Neundorf neundorf at kde.org
Mon Jul 8 20:49:11 BST 2013


On Monday 08 July 2013, Thomas Lübking wrote:
> Escalating to the High Council.
> -------
> 
> 
> KWin needs[1] to set some environment variables before libGL is
> instantiated. This used to be done by an extra shared object at the end of
> the link order.
> 
> While i'm not sure whether the current process in CMakeLists is actually
> correct, not even LD_PRELOADing the lib works - the setenv calls have no
> effect, while setting the environment in the shell clearly works.
> 
> > A gut feeling and brief google consultation make me "blame" the fact that
> > kwin is "now" a kdeinit executable (for a while...)
> 
> So the question is:
> -------------------
> Is there any (preferred) way to either make kdeinit instatiate the special
> shared object before libGL or eventually just calling setenv directly
> before doing so?

Slightly related: what's the plan with kdeinit and kdeframeworks ?
Keep it or even remove it ?
Will that be in some module and ship its own kdeinit_add_executable() macro ?

Alex




More information about the kde-core-devel mailing list