This is a very alpha version of the patch. All it supports at the moment is address book import, but, in the meantime, I had to patch configure.in and a few other things to support that much. I'm still playing around with the namespace stuff (dmose suggested mozilla::messaging, so I'm seeing how that works out).
I still need to tackle mail import, and I want to add some tests as well. Since I've learned a lot about import, I'll also write up documentation, so don't expect to see a comprehensive, review-ready patch for a while.
Created attachment 377506
Patch, version 0.2
This is a very alpha version of the patch. All it supports at the moment is address book import, but, in the meantime, I had to patch configure.in and a few other things to support that much. I'm still playing around with the namespace stuff (dmose suggested mozilla::messaging, so I'm seeing how that works out).
I still need to tackle mail import, and I want to add some tests as well. Since I've learned a lot about import, I'll also write up documentation, so don't expect to see a comprehensive, review-ready patch for a while.