On Thu, 2007-03-29 at 18:21 +0200, Cardon Denis wrote: > Hi all, > > I've developped a small Mediawiki extension for dealing with Dia file. > That is to say, it allows a user to upload a Dia file and integrate it > into a mediawiki page. When viewing the page, the dia file is > automatically converted to png for viewing. > > It already works quite well. However it looks like the command line > export of Dia require a that a X server run on the box. Obviously my > mediawiki runs on a server without head and there is no Xserver running > (actually it is a Xen virtual server, so virtually, there isn't even a > graphic card). To circumvent this issue, I installed a virtual X server > (Xvfb) and set the DISPLAY to use that X server. This issue reminds me > of an the same requirement of Java AWT graphic toolkit a few years ago. > The dependency has been removed since then. I hope it could be possible > for Dia too. > > Is the X server requirement is due to Gnome/Gtk+ framework or the dia > package? Is there any way to use the command line functionality without > running an X server?
This has previously been reported in http://bugzilla.gnome.org/show_bug.cgi?id=119331 and fixed. Do you run with --nosplash? > PS : I'll be glad to share the mediawiki extension if anybody want it. A link to it would be nice for the Links page. -Lars _______________________________________________ Dia-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/dia-list FAQ at http://live.gnome.org/Dia/Faq Main page at http://live.gnome.org/Dia
