[compiz] KWD not building problem solved

Julian Sikorski lordzanon at poczta.onet.pl
Thu Jan 18 02:43:06 PST 2007


Julian Sikorski napisał(a):
> Julian Sikorski napisał(a):
>> It looks like you just assumed too much. kde-config has a specific
>> include dir query. I am now hitting some dbus problems, but it does not
>> seem to be related.
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> compiz mailing list
>> compiz at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/compiz
> Well, it seems I won't be able to get this working... With the attached
> patch (as suggested in the dbus.h) I was able to get a bit further, but
> compilation still blows in the face:
> decorator.h:167: error: 'DBusQt' has not been declared
> decorator.h:167: error: ISO C++ forbids declaration of 'Connection' with
> no type
> decorator.h:167: error: expected ';' before 'mDBusQtConnection'
> Does standard dbus define this function? Or shall I have some additional
> headers installed? Cheers.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> compiz mailing list
> compiz at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/compiz

Are these patches wrong? I know they don't solve the building problem
entirely due to the fact kwd is using an obsolete version of DBusQT
which is a bit hard to find, but at least the headers location is
detected properly. The dbus fix was made according to the comment in the
header:

#if !defined (DBUS_INSIDE_DBUS_H) && !defined (DBUS_COMPILATION)
#error "Only <dbus/dbus.h> can be included directly, this file may
disappear or change contents."

There is a backport of qt4 dbus, which is not discouraged by upstream
and can be downloaded here:

http://websvn.kde.org/branches/work/dbus-qt4-qt3backport/
http://www.sbox.tugraz.at/home/v/voyager/dbus-1-qt3-0.2.tar.bz2


More information about the compiz mailing list