fop "requiring" a GUI

Dan Nicholson dbn.lists at gmail.com
Wed Nov 10 11:44:30 PST 2010


On Wed, Nov 10, 2010 at 7:01 AM, Julien Cristau <jcristau at debian.org> wrote:
> On Wed, Nov 10, 2010 at 06:06:22 -0800, Dan Nicholson wrote:
>
>> On Tue, Nov 9, 2010 at 7:43 PM, Jeremy Huddleston <jeremyhu at apple.com> wrote:
>> > This came up a while ago that building documentation failed without a GUI due to some oddities in fop... this can be worked around by adding -Djava.awt.headless=true to FOP_OPTS, so maybe we should set that by default.
>>
>> Wow, thanks fop. This seems like a safe thing to do, and I've seen
>> other java apps have to do the same kind of crap. FWIW, it seems
>> debian had a patch for this in the past, but doesn't seem to now:
>>
>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=407018
>>
> Seems like we still get this set in a wrapper script installed as
> /usr/bin/fop:
> http://svn.debian.org/viewsvn/pkg-java/trunk/fop/debian/fop.sh?revision=8260&view=markup

Here's some more info I found on the website.

http://xmlgraphics.apache.org/fop/faq.html#svg-headless
http://xmlgraphics.apache.org/fop/1.0/graphics.html#batik

In the code I see lots of calls to awt. Who knows which one is trying
to open the display.

--
Dan


More information about the xorg-devel mailing list