Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106123 - media-gfx/inkscape won't import postscript
Summary: media-gfx/inkscape won't import postscript
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on: 139024
Blocks:
  Show dependency tree
 
Reported: 2005-09-15 15:52 UTC by Christopher Hogan
Modified: 2007-04-07 14:12 UTC (History)
3 users (show)

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


Attachments
Diff between 1st and 2nd pstoedit emerge (pstoedit-emerge.diff,11.35 KB, text/plain)
2005-09-18 22:15 UTC, Christopher Hogan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Hogan 2005-09-15 15:52:07 UTC
Importing postscript produces the following: pstoedit: version 3.33 / DLL
interface 108 (build Sep 14 2005 - release build) : Copyright (C) 1993 - 2003
Wolfgang Glunz
Unsupported driver sk

It looks like libp2edrvstd.so is missing. I looked through the file list for
pstoedit and skencil. It's not there. What do I need to emerge to gain this file?

Reproducible: Always
Steps to Reproduce:
1. Open Inkscape
2. Open File -> Import
3. Select .ps file

Actual Results:  
pstoedit: version 3.33 / DLL interface 108 (build Sep 14 2005 - release build) :
Copyright (C) 1993 - 2003 Wolfgang Glunz
Unsupported driver sk
Available formats :
	psf:		Flattened PostScript (no curves) 	(built-in)
	ps:		Simplified PostScript with curves 	(built-in)
	debug:		for test purposes 	(built-in)
	dump:		for test purposes (same as debug) 	(built-in)
	gs:		any device that GhostScript provides - use gs:format, e.g. gs:pdfwrite 
(built-in)
	ps2ai:		Adobe Illustrator via ps2ai.ps of GhostScript 	(built-in)


Expected Results:  
Imported the ps file

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r1, 2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -pipe -fomit-frame-pointer -fforce-addr -O3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -pipe -fomit-frame-pointer -fforce-addr -O3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://chod.cwru.edu/gentoo
ftp://gentoo.chem.wisc.edu/gentoo/ http://mirror.uni-c.dk/gentoo/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d a52 aac acl alsa arts audiofile avi berkdb bitmap-fonts c++
cddb cdparanoia cdr crypt cups curl dbus divx4linux doc dvd dvdr dvdread eds
effects emboss encode esd examples fam fame ffmpeg flac font-server foomaticdb
fortran gcj gd gdbm gif gimp gimpprint glibc-omitfp gphoto2 gpm gstreamer gtk
gtk2 hal hardened imagemagick imlib inkjar ipv6 jack java jpeg jpeg2k kde
kerberos ldap libg++ libwww lm_sensors logitech-mouse lzo mad mikmod mjpeg mmap
mmx mng mono motif mozdevelop mozsvg mozxmlterm mp3 mpeg mpi nas ncurses network
nls nptl nptlonly nsplugin objc offensive ogg oggvorbis on-the-fly-crypt opengl
pam pda pdflib perl pic pie plugin png povray ppds python qt quicktime quotas
readline real samba sasl scanner sdl slp sndfile speex spell sse sse2 ssl svg
svga tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts
unicode usb userlocales v4l vidix vorbis win32codecs wmf xine xinerama xml2 xmms
xprint xscreensaver xv xvid xvmc yv12 zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Christopher Hogan 2005-09-16 15:35:39 UTC
I'm not sure why, but none of the backends were installed when pstoedit was
emerged. I reemerged pstoedit and this fixed the problem. I'm not sure if
pstoedit was brought in by inkscape, or by something else. I'll be putting
together a fresh Gentoo install over the weekend. I'll pay close attention to
pstoedit and see if I can reproduce the problem.
Comment 2 Christopher Hogan 2005-09-18 22:15:15 UTC
Created attachment 68789 [details]
Diff between 1st and 2nd pstoedit emerge

I emerged Inkscape on a fresh Gentoo install. pstoedit was brought in by
Inkscape. I encountered the same error, so it is reproduceable. It looks like a
linking error in pstoedit. I've attached a diff between the first emerge output
of pstoedit and the second emerge output of pstoedit.
Comment 3 Steven Pav 2006-02-08 10:50:44 UTC
(In reply to comment #1)
> I'm not sure why, but none of the backends were installed when pstoedit was
> emerged. I reemerged pstoedit and this fixed the problem. I'm not sure if
> pstoedit was brought in by inkscape, or by something else. I'll be putting
> together a fresh Gentoo install over the weekend. I'll pay close attention to
> pstoedit and see if I can reproduce the problem.

I had the same problem with inkscape (actually pstoedit) on my x86 laptop.
this problem did not seem to appear on my amd64 desktop, but perhaps i had
reemerged pstoedit, so i cannot say for sure.  Re-emerging pstoedit does appear
to cure the problem on the laptop.  perhaps the pstoedit ebuild should call
itself recursively when it is done ;)

--sep
Comment 4 Hamid Ohadi 2006-03-29 12:22:05 UTC
I have inkscape 0.43 and pstoedit doesn't import ps files. No matter haow many times I emerged it. I grabbed the source off the official website and compiled it and it's working now.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2007-02-07 05:03:35 UTC
This appears to be a build problem with media-gfx/pstoedit[1], not with inkscape. For now the main problem is that the fix is media-gfx/pstoedit-3.44 which has not been committed to the tree yet (bug #139024).
Comment 6 Petteri Räty (RETIRED) gentoo-dev 2007-04-07 14:12:55 UTC
I succesfully imported a postcript file in 0.45.1 so this should be fixed there. It is also going to go stable soon because of a security bug 171799.