On Di, 2008-04-08 at 18:29 -0400, Matthew Barnes wrote:
> More broadly, we should add some versioning macros and symbols to
> libedataserver similar to [1], so Patrick could do something like:
> #if EDS_CHECK_VERSION(2,22,0)
>     ... free libical strings ...
> #endif
> Would that address your needs, Patrick?

It probably would work in practice, but I would have to make assumptions
about which versions contain this new feature. As Chris Lord pointed
out, eds-dbus might pick up the patch and then offer it under a
different version. As of last weekend, SyncEvolution can synchronize
calendars on Maemo with EDS-DBus, so I care about that. Making it work
with that were part of the reason for changing SyncEvolution.

Even if you add versioning information to 2.22.x, I still would have to
depend on dlsym() tricks to work with older releases.

Bye, Patrick Ohly

Evolution-hackers mailing list

Reply via email to