GNOME Bugzilla – Bug 119331
dia should be able to do --export --nosplash without looking for $DISPLAY
Last modified: 2004-12-22 21:47:04 UTC
Package: dia Severity: normal Version: 0.91 Synopsis: dia should be able to do --export --nosplash without looking for $DISPLAY Bugzilla-Product: dia Bugzilla-Component: general Description: When using dia for automated document generation, using --export to export diagrams as EPS, the --nosplash command line option should imply that X might not be present. Currently, if $DISPLAY is not set, dia will not function at all, although it may not even require drawing operations to be performed. ------- Bug moved to this database by unknown@bugzilla.gnome.org 2003-08-07 08:56 ------- Reassigning to the default owner of the component, dia-maint@bugzilla.gnome.org.
The current dependency on X is because we get our font information from GDK, which requires X in its initialization. There are also a few other places that would need fixing for this to work, but the GDK dependency is the big thing. There are pseudo-X servers available that can get you around this, see the FAQ.
Should be fixed by : 2003-12-13 Lars Clausen <lrclause@cs.uiuc.edu> * lib/dia_image.c: * app/main.c: * app/export_png.c: * app/diagram.c: * app/app_procs.c: Patch from W. Borgert <debacle@debian.org>: Allow running without a $DISPLAY!
I just tried the latest snapshot, and indeed this seems to fix the problem for me. Now I'll just have to wait until this code makes it into a release. Thanks!
Marking as fixed