Thank you @himasaram and @knnniggett for following up! I also have the user handle "@garnacho" at github, if there's any questions about this patch, or Tracker integration generally.
Indeed, I missed the .m4 checks :). I have included your changes in the patch, I hope you don't mind. The new patch is attached.
Oops, thanks for spotting! That #include can be safely removed, I'll update the patch doing that.
Handle Tracker 3.x API changes