how to package bonjour windows dll with a pidgin plugin

Mark Doliner mark at kingant.net
Wed Aug 5 03:28:46 EDT 2009


On Tue, Aug 4, 2009 at 4:54 AM, evanescent<coolnuwan at gmail.com> wrote:
> Hi,
> I have developed a pidgin plugin for windows which uses mDNS to publish and
> discovery the buddies in a zeroconf manner. Actually its almost like Bonjour
> implementation in pidgin.

Hmm, that's interesting.  Does it use the same protocol as our bonjour
plugin?  Like, are they compatible?  I'm wondering what the reasoning
is for creating a separate plugin.

> Right now in order to work my piding plugin, Apple's Bonjour Toolkit should
> have pre-installed on the machine. But I need to eliminate the step
> installing Bonjour win toolkit by an another run if it not install when I
> install my plugin.

Does your code link against Apple's Bonjour Toolkit?  Or do you just
make DNS queries against their server?  If you link against their
toolkit and you distribute your plugin publicly you would need to make
sure their toolkit is compatible with our GPL license (I feel like it
isn't).

> for your info Now I have created a installer using nsis script for the
> plugin also.
> But My problem is now I need to install both Bonjour win toolkit and my
> plugin by a single installer. How can I do this.
> At the momemnt if Bonjour toolkit is not install when i install my plugin
> then I have to install it later which not a good thing I guess.
> I want to bundle the necessary stuffs(dll, scripts etc etc whatever needed)
> coming with  Bonjour windows tool which are needed for zeroconf publish and
> discovery, with my plugin.

Yeah, including the Bonjour toolkit with your installer sounds like a
very user-friendly approach.  Or maybe your installer could detect
whether the toolkit is already installed, and download+install it if
not.  You may also want to verify that the toolkit's license allows
for you to redistribute it.  I am not familiar with NSIS and can not
help you with this.  If no one else responds, you may want to consider
asking the NSIS community.

-Mark




More information about the Devel mailing list