After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 58196 - Have a way to export without a DISPLAY
Have a way to export without a DISPLAY
Status: RESOLVED FIXED
Product: dia
Classification: Other
Component: general
CVS head
Other Linux
: Normal enhancement
: 0.93
Assigned To: Cyrille Chépélov
Cyrille Chépélov
: 89045 101352 105295 122355 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2001-07-27 21:31 UTC by Cyrille Chépélov
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Cyrille Chépélov 2001-07-27 21:31:46 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.
Comment 1 Cyrille Chépélov 2001-07-28 00:13:11 UTC
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.
Comment 2 Lars Clausen 2002-11-26 21:30:05 UTC
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.
Comment 3 Hans Breuer 2002-12-07 19:48:46 UTC
*** Bug 89045 has been marked as a duplicate of this bug. ***
Comment 4 Thomas Tempe 2002-12-16 17:10:17 UTC
*** Bug 101352 has been marked as a duplicate of this bug. ***
Comment 5 Alan Horkan 2003-02-05 18:07:04 UTC
*** Bug 105295 has been marked as a duplicate of this bug. ***
Comment 6 Javier Fernandez-Sanguino 2003-03-02 16:21:36 UTC
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
Comment 7 Jelmer Vernooij 2003-09-15 18:21:51 UTC
*** Bug 122355 has been marked as a duplicate of this bug. ***
Comment 8 Hans Breuer 2004-01-05 22:14:19 UTC
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!
Comment 9 Lars Clausen 2004-02-23 15:28:08 UTC
Setting milestone to remeber to close after more testing.
Comment 10 Hans Breuer 2004-11-06 12:50:07 UTC
supposed to be working with 0.93 - 0.94 is out for a while - closing ...