[scribus] saving as EPS automatically

ale rimoldi ale.comp_06 at xox.ch
Mon Apr 4 09:56:47 UTC 2016


hi hw,

On 04/04/16 11:44, hw wrote:
> Juraj Fedel schrieb:
>> On Fri, Apr 01, 2016 at 12:41:53PM +0200, hw wrote:
>>> I've been trying the script below with the 1.5.1 appimage,
>>> and it crashes when trying to save as EPS.
>> Thanks for report. That is bug in scribus.
>> I have provided patch in bug number #13900
>> With applied patch your script should work fine.
>
> Thank you very much!  I'll try it out.
>
>>> BTW, is it possible to run Scribus to do the conversion to EPS
>>> (or PDF) on the server without Scribus failing because there's no
>>> X session?  Can it be compiled as some sort of conversion filter
>>> without GUI support?
>>
>> Unfortunately this is not possible without X server running.
>> You can however run vnc server for scribus.
>
> Not even with the '-g -nns' options?  It would be really nice if
> a GUI weren't required when it isn't used at all ...  Is there any
> way to do just a conversion of the *.sla file to eps without a GUI?
>
> Or could cups simply print *.sla files transparently like it can print,
> for example, pdf and eps?  That would be all that's needed for
> printing the labels.  If there was a filter cups could use to convert
> *.sla into eps ...

modifying scribus so that it can be run without X installed is 
theoretically possible.
at least for what concerns scribus itself and Qt. i don't know if any of 
the used library requires X (but i don't think so).

i don't think that the team will ever have the resources for doing it, 
but as it has happened in the past, they will accept well forged patches 
that modify the code to enable (i would suggest: if possible step by 
step) an X-less environment.

an approach would be to create a main_*.cpp file that instantiates 
QCoreApplication instead of QApplication...
and then work on it until things work correctly...

lot of changes have already being contributed, to get scribus to work 
headless, so it might now be easier to work on it (i made some very shy 
tries a few years ago...)

have fun!
a.l.e



More information about the scribus mailing list