[Adium-devl] Of Spotlight, Tiger, and Panther

Augie Fackler rafackler at hillsdale.edu
Mon Mar 20 01:10:24 UTC 2006


The new log viewer (when the Spotlight importer decides to behave) is  
nicely functional, but sadly it breaks Adium on 10.3. The only clean- 
ish solution that I've found to this at the moment is to use loadable  
bundles so that the Adium binary itself never actually directly links  
against the Spotlight functions in SearchKit.

The options that I see are as follow:
1) Build a mini-class in a plugin that has some class methods that  
wrap themselves around the SK functions we need, and load it only if  
NSApp reports YES on -isOnTigerOrBetter
2) Build a pair of LogViewerController classes, put each one in a  
separate plugin, and then load the correct one based on which version  
of the OS we're on. (Note: this looks like it will result in some  
code duplication).
3) Find some way to weak link against SearchKit, but it looks like  
the only "clean" way to do that is to weak link against CoreServices,  
which I get the strange feeling is a Bad Idea.

I'm perfectly capable of and willing to implement option 1, and I  
think I can have it done in only a few minutes. I've got ready access  
to a Panther machine for the next week, so if I don't hear anything  
back, I'll just do option 1 until I've got a working binary on 10.3.

-AF
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20060319/c124b62e/attachment.sig>


More information about the devel mailing list