Registered Member
|
I can't find a way to compile and try KWin from the MASTER branch.
I'm currently on the latest KDE Neon Stable (Plasma 5.24) but I wouldn't mind switching to any other version (it's a VM for the sole purpose of trying the newest KWin). I was able to successfully compile KWin on the "Plasma/5.24" branch, but I don't seem to be able to compile the version form the master branch. How would I go about trying out the newest KWin from the master branch? I tried just using cmake without any arguments like I would if I wanted to compile the 5.24 version, (on KDE Neon, Plasma 5.24) but it spits out the following error:
|
Registered Member
|
Hi!
I suggest using kdesrc-build as it makes things a lot easier, including running your custom versions. |
Registered Member
|
Well I have kdesrc-build installed and I used it to install the dependencies, but obviously one version. One KWin version might require other dependency versions than another. So how would I use kdesrc then? Could you elaborate? |
Registered Member
|
I don't know what you are looking for. Take the documentation at docs.kde.org and ask precisely where you got stuck.
If you want to maintain different KWin experiments in parallel, I suggest to use different git branches and change them with git checkout |
Registered Member
|
I followed the instructions at https://community.kde.org/KWin/Building. When running the CMAKE command, it gives me the posted error. I tried it on two different distributions (Arch Linux and KDE Neon) and I always get some kind of dependency errors. So there mist be a better way I, I thought.
My question is: How can i install all dependencied needed for building kwin/master? Kdesrc-build only gives me the dependencies for Kwin 5.24, as thats the KDE Plasma Version I currently have. |
Registered Member
|
The instructions are for kde4, so outdated.
If you insist of using cmake yourself instead of kdesrc-build, follow the logfile in $BUILDDIR/CMakeFiles/CMakeOutput.log and check. Your two lines mention an incompatibility of Kdecoration2Config.cmake as the installed one is used instead of your cloned one. To build KWin in a newer versio you also have to build the dependencies in a newer version, thats why I mentioned kdesrc-build as it fetches all sources you need itself. |
Registered Member
|
I would like to use kdesrc-build instead of cmake, but haven't found any instructions on how to build kwin/master. I have kdesrc-build installed. What do I do to build kwin/master?
|
Registered Member
|
Did you read the linked documentation above? Then please ask exactly where you got stuck and what you tried.
|
Registered Member
|
I got stuck at the section called "Running cmake". The error message I get is in this post above (the original post). |
Registered Member
|
The only part of the documentation using the term "Running cmake" is at "Building extra - cmake - modules from frameworks - set" in the example output. So I still do not know what you are trying to do.
|
Registered Member
|
"Running CMake" is the title of the section where I got stuck. Here it is: https://community.kde.org/KWin/Building#Running_cmake |
Registered Member
|
Are you really working with Qt4?
|
Registered Member
|
I resolved this now. I didn't realize that kdesrc-build did not only install the dependencies, but actually BUILT eveything for me.
I thought you had to run kdesrc-buid to build the dependencies and then run cmake. (Some VERY bad advice I got from some old developer). Those QT4 instructions were the only one I found. |
Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]