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 119331 - dia should be able to do --export --nosplash without looking for $DISPLAY
dia should be able to do --export --nosplash without looking for $DISPLAY
Status: RESOLVED FIXED
Product: dia
Classification: Other
Component: general
unspecified
Other other
: Normal normal
: 0.93
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2003-08-07 12:50 UTC by Fabian Fagerholm
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Fabian Fagerholm 2003-08-07 12:56:01 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.

Comment 1 Lars Clausen 2003-08-07 20:40:17 UTC
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.
Comment 2 Hans Breuer 2004-01-18 13:43:39 UTC
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!

Comment 3 Fabian Fagerholm 2004-01-21 06:57:38 UTC
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!
Comment 4 Lars Clausen 2004-02-23 14:01:59 UTC
Marking as fixed