[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: PCB, configure: error: batch is not a valid gui
On Thu, 2009-03-05 at 18:26 +0100, Stefan Salewski wrote:
> On Sun, 2009-03-01 at 14:42 -0500, DJ Delorie wrote:
> A related question:
>
> Is --enable-dbus only valid in conjunction with a GUI (GTK/Motif) or can
> dbus be used if PCB is compiled without GUI (we have a bug related to
> this in Gentoo bugzilla database).
The dbus support relies on about 4 hooks provided by the HID interface
which are only implemented in the GTK and Lesstif HIDs.
They relate to timers and file-watches (for IO). These allow the DBus
library to integrate with the main-loop of the running GUI. It won't
work without them, so I guess the easy answer is.. no, the Batch HID
does not support DBus.
If anyone had a use-case for a DBus enabled batch HID, then either the
hooks could be implemented (along with a home-brew main-loop), or more
sensibly, make the batch HID dependent on GLib and its main-loop, then
take the hook code straight from the GTK HID.
--
Peter Clifton
Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA
Tel: +44 (0)7729 980173 - (No signal in the lab!)
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user