Bug 207070 - media-gfx/inkscape-0.45.1-r1 needs media-gfx/pstoedit w/ USE=plotutils
Bug#: 207070 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: graphics@gentoo.org Reported By: oli.borm@web.de
Component: Ebuilds
URL: 
Summary: media-gfx/inkscape-0.45.1-r1 needs media-gfx/pstoedit w/ USE=plotutils
Keywords:  
Status Whiteboard: 
Opened: 2008-01-22 19:33 0000
Description:   Opened: 2008-01-22 19:33 0000
If the USE-flag postscript is activated in media-gfx/inkscape-0.45.1-r1 the
possibility of rendering LaTeX-formulaes in inkscape as described here
(http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Effects-Render.html#Effects-Latex)
is activated. But for the conversion from ps to svg media-gfx/pstoedit must be
compiled against GNU libplot, this is done by the USE-flag plotutils. But this
behaviour should be checked by the inkscape ebuild! 

Reproducible: Always

Actual Results:  
pstoedit: version 3.45 / DLL interface 108 (build Jan 22 2008 - release build -
g++ 4.1.2 (Gentoo 4.1.2 p1.0.1)) : Copyright (C) 1993 - 2007 Wolfgang Glunz
Traceback (most recent call last):
  File "/usr/share/inkscape/extensions/eqtexsvg.py", line 121, in ?
    e.affect()
  File "/usr/share/inkscape/extensions/inkex.py", line 157, in affect
    self.effect()
  File "/usr/share/inkscape/extensions/eqtexsvg.py", line 116, in effect
    svg_open(self, svg_file)
  File "/usr/share/inkscape/extensions/eqtexsvg.py", line 69, in svg_open
    doc = xml.dom.minidom.parse(filename)
  File "/usr/lib64/python2.4/site-packages/_xmlplus/dom/minidom.py", line 1915,
in parse
    return expatbuilder.parse(file)
  File "/usr/lib/python2.4/site-packages/_xmlplus/dom/expatbuilder.py", line
924, in parse
    fp = open(file, 'rb')
IOError: [Errno 2] No such file or directory: '/tmp/inkscape-g4cSWH/eq.svg'


Expected Results:  
pstoedit: version 3.45 / DLL interface 108 (build Jan 22 2008 - release build -
g++ 4.1.2 (Gentoo 4.1.2 p1.0.1)) : Copyright (C) 1993 - 2007 Wolfgang Glunz


I've used a slightly modified ebuild to use pstoedit-3.45, because of a bug in
version 3.44 (see also bug 199452).

------- Comment #1 From Markus Meier 2008-01-23 21:16:09 0000 -------
Check added. Thanks for the report.