master not working without GUI
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Inkscape |
Critical
|
Tavmjong Bah |
Bug Description
Since the Gtk::Application merge https:/
As a consequence, rendering tests fail because they can't execute.
tags: | added: blocker |
Tavmjong Bah (tavmjong-free) wrote : | #1 |
Mc (mc...) wrote : | #2 |
does not work on 18.10 in a tty, or on debian.
I just installed a fedora VM to test and Fedora TTY appear to use the open X server when you are also logged graphically (you can even open inkscape from the tty and it opens graphically in the graphical interface). But when you close all sessions except the tty one, the error shows and you can't run "./bin/inkscape -V", or run the tests or anything
Tavmjong Bah (tavmjong-free) wrote : | #3 |
I've confirmed it doesn't work from the console when booting Fedora into a non-graphical mode.
The problem here is that it blocks our automated rendering tests. Until we have a truly headless Inkscape version, we'll need a work-around for testing. I see two possible solutions:
1. Use a "dummy" x-server as described in https:/
2. Use #ifdefs to create a version of Inkcape with Inkscape:
I also tried creating an Inkscape:
Mc (mc...) wrote : | #4 |
As solution 1 is just a hackish workaround, solution 2 can probably be a first step in a headless compile
Tavmjong Bah (tavmjong-free) wrote : | #5 |
Just added a branch "headless" that implements 2.
I've just checked on Fedora with a Virtual Terminal and all the tests pass.