One Small Step for KDE, One Giant Leap for Me

Dec 06, 2008 22:28

I just committed my first patch into KDE Libs so that makes me an Uber KDE Hacker, ha ha :). /me makes a funny :p

But in all seriousness, since FOSS.IN, I have been working on a small patch to move all the Avahi specific code out of the Kopete Bonjour plugin, and "Upstream" into KDE Libs.

Basically there are two methods which Avahi Provides which are not present in the DNSSD Libraries:
org.freedesktop.Avahi.Server - ResolveHostName(string)
org.freedesktop.Avahi.Server - GetHostName()

These methods basically are basically used to resolve a hostname via mDNS, and to get the hostname which the mDNS server broadcasts as. These functions can now be found in the DNSSD::ServiceBrowser class.

The first method is particularly useful for Fedora as it allows the resolving of mDNS hostnames without the use of the nss-mdns plugin, which allows you to resolve a .local hostname (via mdns) as if .local was a valid TLD. This seems to be bundled by default in other distros, but not in Fedora (it needs to be yum installed). So now there is a proper "KDE" way of doing this :).

Many Many Many Many thanks to Jakub Stachowski who I constantly pestered with my patch. I really appreciate the time you spent on this.

fedora, contribution, foss, kde, foss.in

Previous post Next post
Up