[Adium-devl] Google Summer of Code: Bonjour Support

Chris Forsythe chris at growl.info
Fri Mar 23 17:20:01 UTC 2007


David Smith wrote:

>On Mar 23, 2007, at 9:06 AM, Evan Schoenberg wrote:
>
>  
>
>>On Mar 23, 2007, at 11:27 AM, Andreas Monitzer wrote:
>>
>>    
>>
>>>>I think the question to ask is: How small or large a subset of the
>>>>XMPP spec is supported over Bonjour?
>>>>        
>>>>
>>>Well, except for presence and the avatar, everything else is the same
>>>as long as there is no server involved (so pubsub might not apply).
>>>iChat doesn't support much of it, but that doesn't limit the things
>>>Adium could do (Adium doesn't limit itself by what iChat supports of
>>>pure XMPP or AIM either).
>>>      
>>>
>>I see; that's very enlightening.  Then it'd really be best if  
>>libgaim didn't have a separate Bonjour prpl but instead had an  
>>extension to the Jabber prpl which allowed Bonjour to happen.
>>
>>The next design question would be how it could properly use the  
>>Apple mDNS stack.  I envision a set of UI callbacks for all mDNS  
>>operations which the UI would then implement as it chose.  Gaim  
>>would use Howl, or whatever library, and make the appropriate  
>>calls; we'd use the Apple calls.  This is a larger undertaking than  
>>modernizing libezv, but the payoff -- full Jabber support over  
>>Bonjour, and also improved support for Gaim and any other libgaim- 
>>using client -- is greater, as well.
>>
>>Looking forward, one nicety of this approach would be that when  
>>Sean gets libjingle integrated into Jabber for Google Talk voice  
>>support after Gaim 2.0.0 is out, Talk over Bonjour would be gained  
>>for free, I believe :)
>>
>>-Evan
>>    
>>
>
>Apple's mDNS stack is BSD licensed and cross platform, as far as I  
>know. I am unsure of the details though. Jingle-over-Bonjour has some  
>amazing potential in terms of collaboration apps, since you could  
>ignore all the NAT traversal stuff and just use the Jingle UDP  
>transport.
>  
>
The comments regarding release 107.6 of Bonjour say it runs on Solaris, 
FreeBSD and Linux, so one could assume that there aren't linuxisms or 
anything that would cause too much of a problem moving between multiple 
platforms. There's also bonjour for windows, which means we get full 
cross compat easily from the looks of it.

Chris

PS: Here is the text of the license, to me it seems compatible:

The majority of the source code in the mDNSResponder project is licensed
under the terms of the Apache License, Version 2.0, available from:
   <http://www.apache.org/licenses/LICENSE-2.0>

To accommodate license compatibility with the widest possible range
of client code licenses, the shared library code, which is linked
at runtime into the same address space as the client using it, is
licensed under the terms of the "Three-Clause BSD License".

The Linux Name Service Switch code, contributed by National ICT
Australia Ltd (NICTA) is licensed under the terms of the NICTA Public
Software Licence (which is substantially similar to the "Three-Clause
BSD License", with some additional language pertaining to Australian law).


http://developer.apple.com/networking/bonjour/download/




More information about the devel mailing list