GNOME Bugzilla – Bug 58196
Have a way to export without a DISPLAY
Last modified: 2004-12-22 21:47:04 UTC
dia currently always needs a $DISPLAY to be able to run. This doesn't make sense when the -e option is used: we only want to convert files, then.
In fact this bug is really tough. We need to have X11 fonts loaded to let the objects update themselves upon loading. And this bites. Maybe freetype can work without an X11 display ? Will the freetype build be able to give the various character sizes we need without having a display ? In the mean-time, a workaround is to use "dia -e", with $DISPLAY pointing to an XVNC server. yukk.
This should be possible to code around now. Since we've turned to Freetype for all X font support, we don't require a DISPLAY to get fonts.
*** Bug 89045 has been marked as a duplicate of this bug. ***
*** Bug 101352 has been marked as a duplicate of this bug. ***
*** Bug 105295 has been marked as a duplicate of this bug. ***
Just to keep bug tracking info in sync, this bug has also been reported in Debian's Bug Tracking System: - Bug #72721 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=72721 - Bug #167083 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=167083
*** Bug 122355 has been marked as a duplicate of this bug. ***
the ChangeLog suggests that this finally got fixed (I haven't tetsted) : 2003-12-13 Lars Clausen <lrclause@cs.uiuc.edu> * lib/diagdkrenderer.c: Add implementation so text is still rendered. May be improved later. * 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!
Setting milestone to remeber to close after more testing.
supposed to be working with 0.93 - 0.94 is out for a while - closing ...