[packaging] hard dependency on mysql backend, breaks other programs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
akonadi (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Kubuntu 12.04 x86_64. Kubuntu PPAs added.
Akonadi has a hard dependency on akonadi-
> https:/
There are MySQL drop-in replacements (such as Percona; https:/
> http://
I'm not versed in the art of packaging, but two obvious solutions spring to mind. In reverse order of difficulty;
1. Influence the packaging of everything related to mysql (our own MySQL, Percona, equavilents) to provide a 'mysqld' virtual package, and have the implementations provide it in turn. It's a neat solution for sure but requires effort. However, akonadi-server would still depend on mysql (whatever flavor) and eat space.
2. Make akonadi-server depend on a virtual 'akonadi-backend' package and have all the backends provide it. Akonadi can recommend the (best supported default) mysql backend and suggest the others, but still depend on the virtual one so as to always enforce there being a backend installed. Most users won't be affected and will still just use the mysql one, and those with special requirements (eg "cannot/must not/don't want to install mysql") get alternatives.
To test the second solution, I built akonadi-server locally (source from precise main) after these quick modifications to debian/control. It built nicely and I'm now running with only akonadi-
Worthy of consideration here is KDE bug 298314 that makes it impossible to actually change to an akonadi backend other than mysql and postgresql (via the akonadi kcm). Those who opt out of akonadi-
> https:/
The attachment "Example of akonadi-server dependency changes to introduce an 'akonadi-backend' virtual package" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.
[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]