
As asked on the Jabber Conference Room and IRC channel, it seems some people (and I was one of them too) can't open EPS files in Inkscape.
I realised that the *.eps option didn't even show up in the masking filetypes during File/open.
So I tried to find why and found what to do in order to make this work. Some (All) of these steps can be easily done on every linux distro I think
Could someone else try these steps to give feedback ?
I don't really know where to say this, so I try here, maybe someone will be kind enough to complete, test and put it somewhere on the wiki for desperate users...
mtou
--------------------------------------------------------- * In order to be able to open *.eps files, you need gs (ghostscript) installed AND to be able to open *.ps files (as read in share/extensions/eps_input.inx)
* In order to be able to open *.ps files, you need pstoedit installed AND to be able to open *.sk files (as read in ps_input.inx)
* In order to be able to open *.sk files, you need skconvert, which comes with sketch, which as been recently renamed to skencil I think (as read in sk_input.inx)
So, what I done on my ubuntu breezy distro was to install all that was missing in these dependencies.
sudo apt-get install gs pstoedit sketch
Now, *.eps, *.ps and *.sk filetypes can be opened in the breezy inkscape package.
But...
some error still occur during the conversion from an sk file to the final svg file. In fact, to open an eps file, we ask gs to convert it to a *.ps file, pstoedit to convert it to an *.sk file and then skconvert (via ../inkscape/share/extensions/sk2svg.sh) to convert it to an *.svg file inkscape can open and edit.
the first 2 conversion worked very well, but the last one, using skconvert was broken.
The guilty is the sketch version (0.6.15-1ubuntu2 as I speak) which has a broken feature while reading the file and trying to parse the sk file (sketch bug report here : https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1025599...)
So I uninstalled the "broken" sketch package, and tried to install the debian unofficial package from http://www.nongnu.org/skencil/download.html
Its dependencies were broken because it needed python2.3 and the 2.4 version is already installed on my computer, so I threw it away not to mess up with my libraries.
Last thing that could have been done was to compile the last sketch(skencil) version from source So I downloaded the skencil-0.6-17.tar.gz tar ball from http://www.nongnu.org/skencil/download.html copied it in my /usr/src and then untarred it (for ubuntu users : make sure you are in group src to be able to write in the /usr/src directory) then go to the skencil sources directory and try the setup to configure
my system lacked python, tcl and tk development packages, so I need to install them sudo apt-get install python2.4-dev tcl8.4-dev tk8.4-dev
after that, when you try to configure (./setup.py configure), it works like a charm
you then need to compile (./setup.py build) and install (./setup.py install)
if you want to install this in the directory you want (and I highly recommend that no to mess up with the package system), you just need to pass an --prefix option to setup.py
when it's fully installed, the skconvert works very well and inkscape load eps, ps and sk files without a hitch
----------------------- For developpers now :
The errors reported when the import does not work is really not user friendly When sketch isn't installed, the only thing inkscape tells us is that the tempfile /tmp/XXXXXXsdfgjndrg.svg is not found
Could someone look to change the *.inx files to require a _working_ version of sketch and no only the skconvert utility ? Is it hard to do ?