Alright, so here is the patch for the MarcoPolo end of the support.
It is a very simple patch and should apply cleanly to both the
"official" 2.5.0 source (1) and the 2.5.1 source that includes the
Snow Leopard Wifi fix (2). All this patch does is add another action
to Marcopolo that signals SynergyKM to change locations. The
paramater of the action should be the same as the name of the
SynergyKM location configuration.
Eventually, I hope to have a blank parameter actual stop the synergy
service and then restart it upon subsequently issued signals.
However, that functionality doesn't seem to work properly with the
SynergyKM changes I've made.
This patch adds the necessary files to the directory structure, but in
order to build it, you need to go into XCode and right-click Classes-
>Actions, and select Add->Existing Files, and browse to <marcopolo
src>/src/ and add SynergyKMAction.h and SynergyKMAction.m to the
project. I don't know how these project changes translate into diffs,
and I think they are even binary changes, so without making (another)
fork of the MarcoPolo source tree, I'm just explaining :-)
In any case, here is the patch, and hopefully I can get my hands on
the SynergyKM 1.0b7 source soon so that I can rebase my changes
against the most current version. If anyone knows where to get the
1.0b7 source for SynergyKM, please let me know. Thanks!
1:
http://git.symonds.id.au/marcopolo.git
2:
http://github.com/radesix/marcopolo.git