Web lists-archives.com

Re: Contributing to KDE is hard because of its build architecture




Thanks a lot everyone for replies.

On 09.12.2018 20:54, Nate Graham wrote:
On 12/9/18 10:51 AM, Martin Flöser wrote:
Am 2018-12-09 16:41, schrieb Konstantin Kharlamov:

Official way of building dependencies is using kdesrc-build. It has
multiple problems:

Hi Konstantin,

sorry for your bad experienced, but I think it would have been much easier. Assuming you are on a Debian based distribution the steps should just be:

* sudo apt build-dep kmail
* kdesrc-build kde-pim

I personally don't have all dependencies build from source, but just the one I develop. Everything else I do through distro packages. I would never try to build something like webengine from source, that's just a mess.

In fact, our official documentation even recommends grabbing dependencies using the package manager: https://community.kde.org/Get_Involved/development#Build_some_software

This is what I do too and it works great. You get the non-KDE dependencies from the distro, and build only the necessary KDE dependencies from source using kdesrc-build. It's generally very smooth.

Did you find the instructions at https://community.kde.org/Get_Involved/development difficult to follow or understand? I'm always interested in improving this documentation.


Yeah, I couldn't use distro package manager for reasons Nicolas Fell in other mail mentioned. I will follow the advice on trying a docker container, thanks everyone again!