dragotin / kraft

Kraft helps to handle your daily quotes and invoices in your small business.
http://volle-kraft-voraus.de
GNU General Public License v2.0
60 stars 19 forks source link

Abort Akonadi start if it is already broken #238

Closed t-8ch closed 2 months ago

t-8ch commented 5 months ago

If Akonadi is already marked broken Akonadi::Control::start() will not return breaking the initialization of Kraft. Add special handling until Akonadi is fixed.

On ArchLinux this happens right now because kraft is using an older version of libakonadi that works with qt5 while the akonadi daemon needs to use a newer one with qt6.

See:

dragotin commented 5 months ago

Thank you for the PR, I will merge it.

However, wouldn't it be better to build Kraft without Akonadi support in Arch until KF6 Akonadi is supported? I realise that it is a loss of functionality, and that port to KF6 has to have prio, but I am just not there yet...

t-8ch commented 5 months ago

However, wouldn't it be better to build Kraft without Akonadi support in Arch until KF6 Akonadi is supported?

That we could do and it would avoid the issue. But that solution is specific to Arch and if Akonadi is broken for any other reason we will run into the same issue again.