Adjust KWin binary name for PA
Review Request #104299 - Created March 16, 2012 and submitted - Latest diff uploaded
| Information | |
|---|---|
| Martin Flöser | |
| kde-workspace | |
| master | |
| 296084 | |
| Reviewers | |
| kwin | |
| belem | |
This is an attempt to make KWin work with a different binary name so that a KWin Active variant can be installed alongside the normal KWin. This might also be interesting for razor-qt which has interest in using an adjusted version of KWin.
What is changed:
* CMake variable "KWIN_NAME" added which is by default set to "kwin" and for PA set to "kwinactive"
* for binaries and libraries "kwin" is replaced by ${KWIN_NAME}
* all scripted elements are installed to ${DATA_INSTALL_DIR}/${KWIN_NAME} and loaded from there
* component data is adjusted to use KWIN_NAME - ensures that ${KWIN_NAME}rc is used instead of kwinrc
* all manual openening of kwinrc is replaced by a KWIN_CONFIG
* some data file names are adjusted
What is not changed:
* all kcms
* installation of additional files in effects
* service files for effects
* decorations
* kdecoration
* opengltest
* killer
* data install dir
* tools (are not installed by default)
@Kubuntu devs: please give it a try and report whether there is still something conflicting which needs to be changed. The patch should mostly apply for 4.8, too.
renamed the binary, looked at ldd and tried to run it. Works and default settings are used that is kwinrc has not been used.
