[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwin
Subject:    kdeinit vs. link order
From:       Thomas_Lübking <thomas.luebking () gmail ! com>
Date:       2013-07-07 15:29:40
Message-ID: 7ddea590-4558-44e5-8a75-0c31ccaf52a0 () gmail ! com
[Download RAW message or body]

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?

Or would the only solution be to actually set the environment from a shell, ie. have \
a kwin binary or even shell script that sets the environment and then spawns a \
kwin.bin subprocess?

Thanks for reading and cheers,
Thomas

[1] https://bugs.kde.org/show_bug.cgi?id=322060
_______________________________________________
kwin mailing list
kwin@kde.org
https://mail.kde.org/mailman/listinfo/kwin


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic