[Telepathy] Is it possible to customize "#define AVAHI_DEFAULT_TTL_HOST_NAME" and "#define AVAHI_DEFAULT_TTL", rather than embedding them "statically" in the code?
Ajay Garg
ajaygargnsit at gmail.com
Mon Jul 9 09:15:40 PDT 2012
Hi all.
I have written a patch, that solves the issue
https://bugs.freedesktop.org/show_bug.cgi?id=51501#c5
The patch is available at
http://people.sugarlabs.org/ajay/root/freedesktop_bug_51501/common-patch-for-f14-and-f17/customize-avahi-default-ttl-values.patch
Will be glad to have it considered, and have feedback/criticism/whatever.
Thanks and Regards,
Ajay
On Thu, Jul 5, 2012 at 7:32 PM, Ajay Garg <ajaygargnsit at gmail.com> wrote:
> Hi all.
>
> Just found about /etc/avahi/avahi-daemon.conf.
> That would do it !!! (of course after patching avahi to read-in the two
> new values).
>
> Will be back soon with a patch :)
>
>
> Regards,
> Ajay
>
>
> On Thu, Jul 5, 2012 at 3:49 PM, Ajay Garg <ajaygargnsit at gmail.com> wrote:
>
>> Hi all.
>>
>> I ran into a issue, as described at
>> https://bugs.freedesktop.org/show_bug.cgi?id=51501
>>
>>
>> I followed these steps ::
>>
>> a)
>> I changed the values to
>>
>> #define AVAHI_DEFAULT_TTL_HOST_NAME (20)
>> #define
>> AVAHI_DEFAULT_TTL (20)
>>
>> b)
>> Re-compiled the RPMS
>>
>>
>> c)
>> Upgraded to these new RPMS on my F17.
>>
>>
>> And voila, the contacts-disappearance signals did emit (after about 20
>> seconds) !!!
>>
>>
>> The same approach solved the issue on F14 as well !!!
>>
>>
>>
>>
>> So, now I intend to make the values of these 2 "#defines" customizable.
>> My queries are ::
>>
>> (i)
>> Is it possible already?
>>
>> (ii)
>> If answer to (i) is "no", perhaps GConf might help? The thing that
>> worries me is in what context should Gconf-entries be populated, since
>> avahi runs as a daemon.
>>
>>
>>
>>
>> Will be grateful to a reply.
>>
>>
>> Thanks and Regards,
>> Ajay
>>
>>
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/telepathy/attachments/20120709/81b08486/attachment.html>
More information about the telepathy
mailing list