communi / libcommuni

A cross-platform IRC framework for Qt
https://communi.github.io
BSD 3-Clause "New" or "Revised" License
83 stars 37 forks source link

Headless installation? #62

Closed sdfg2 closed 4 years ago

sdfg2 commented 5 years ago

I need libcommuni for spectrum2 on a headless server. Is there anyway to not drag in every dependency up to and including mesa and wayland?

jpnurmi commented 4 years ago

We have no control over how Linux distributions organize their packages and dependencies, but if you are building libcommuni yourself, you may choose to build the parts you need. The core communi libraries depend on QtCore and QtNetwork only - not on Mesa, Wayland, or anything else GUI. However, in addition to the core libraries, the project includes an optional QML module that will be only built if the Qt installation has QtQml available. Furthermore, there's a QtQuick based UI example, that can be easily left out by passing -nomake examples to configure.

jpnurmi commented 4 years ago

I have added -nomake qml to make it straight-forward to exclude the QML plugin. Any ready-made distribution packages should be split so that backend libs and UI examples are provided separately.