[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#472180: use a dummy config_init()



Michel Dänzer wrote:
> So, can't the Xprt DDX just disable the D-Bus code?

Yes I suppose so.  A dummy config_init() and config_fini() could be
placed in xprint/ddxInit(). This would emulate the behaviour of
config/config.c when DBUS is not defined (more correctly, it would
emulate the older behaviour when configInitialise() was used, not
config_init() ).  Then CONFIG_LIB would be removed from XPRINT_LIBS in
configure.ac and the Xprt build will ignore dbus (so long as it never
accesses XORG_CORE_LIBS).

It's a simple workaround.  The problem with it is that it mixes dix and
ddx code.  But I guess that's not a major problem.  It just means that
this particular ddx (xprint) is saying it wants to ignore the dbus
facilities of the general dix.

Drew



Reply to: