Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 309213 - media-gfx/inkscape-0.47 should not depend on pstoedit or skencil for the postscript USE
Summary: media-gfx/inkscape-0.47 should not depend on pstoedit or skencil for the post...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-13 00:56 UTC by Willie Wong
Modified: 2010-04-18 07:16 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
proposed patch (useGhostscript.patch,448 bytes, patch)
2010-03-13 06:54 UTC, Christopher Harvey
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Willie Wong 2010-03-13 00:56:00 UTC
media-gfx/inkscape-0.47 has the RDEPEND

 postscript? ( >=media-gfx/pstoedit-3.44[plotutils] media-gfx/skencil )

But according to the Release Notes ( http://wiki.inkscape.org/wiki/index.php/ReleaseNotes047 ), Inkscape has migrated to using Ghostscript for handling of postscript, instead of pstoedit or skencil. 

Reproducible: Always
Comment 1 Christopher Harvey 2010-03-13 06:54:39 UTC
Created attachment 223369 [details, diff]
proposed patch

Applied this patch to the ebuild and emerged with the postscript flag (and neither of the previous packages installed) and it works fine...but I'm not an inkscape expert.
Comment 2 michael higgins 2010-03-16 21:10:58 UTC
(In reply to comment #1)
> Created an attachment (id=223369) [details]
> proposed patch
> 
> Applied this patch to the ebuild and emerged with the postscript flag (and
> neither of the previous packages installed) and it works fine...but I'm not an
> inkscape expert. 
> 

Well, I switched the deps as in this patch and imported postscript to edit in Inkscape with no problem. 

IMO, this should be fixed ASAP, since it's so totally wrong to dep on skencil, (with tk and tcl libs!)... no wonder they fixed it upstream.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-04-16 10:44:17 UTC
+  16 Apr 2010; Samuli Suominen <ssuominen@gentoo.org> inkscape-0.47.ebuild,
+  +files/inkscape-0.47-gcc45.patch, metadata.xml:
+  Fix building with GCC 4.5 wrt #305749 by Daniel J.. Fix PostScript
+  dependencies wrt #309213 by Willie Wong and Christopher Harvey. Disable
+  strict aliasing wrt #310393 by Doktor Notor.
Comment 4 hirakendu 2010-04-18 07:16:36 UTC
The dependency on pstoedit should be kept because it is required for rendering latex formulae (Extensions > Render > LaTeX formula). If not, a post-emerge message or a USE flag may be useful. (Fortunately, it is only a run time dependency.)

On that note, hopefully skencil doesn't provide any feature.