GNOMEish way of doing dbus :)
Ralf Habacker
ralf.habacker at freenet.de
Thu Apr 15 00:51:17 PDT 2010
Fridrich Strba schrieb:
> Hello, wonderful people
>
> Let me change the topic because this one is not about file-descriptor
> passing anymore.
>
> On Wed, 2010-04-14 at 12:07 +0300, Tor Lillqvist wrote:
>
>> And I would like to thank the KDE-on-Windows people for doing much of
>> the hard work in making dbus work / keeping it working on Windows.
>> Only small changes were needed to build it in the more "GNOMEish"
>> fashion in the openSUSE Build Service.
>>
>
> I join Tor in paying to Cesar what is due to Cesar :)
>
> Let me explain somehow what we did to make dbus work also the way our
> GNOME stack on windows normally works.
>
> A very ugly and standard non-compliant patch can be found in
> http://pastebin.ca/1859665
>
> It is a common place in GNOME applications for windows that we never
> assume anything about installation prefix the user choses. That is why
> in my patch I relocated two things:
>
> 1) Where the dbus process is looking for service files, and
> 2) the "exec" path in the service files.
>
> The patch I made adds in the configure a DBUS_PREFIX variable which will
> be undefined in cmake build. This will mean that the cmake build will
> behave the same way with this patch or without it (the
> _dbus_windows_replace_prefix will only "pass through" if the DBUS_PREFIX
> is not defined, which is the case in cmake build).
>
I filed a bug for this, see
https://bugs.freedesktop.org/show_bug.cgi?id=27659
Regards
Ralf
More information about the dbus
mailing list