site  contact  subhomenews

Inkscape compiled for Pi2

October 18, 2016 — BarryK
Running Quirky 8.0.27 on the Raspberry Pi2, I have compiled Inkscape 0.91.

There is Inkscape in the Ubuntu DEB repository, however it requires libmagick, a rather large dependency that I would prefer to avoid.

These extra DEBs are required:
libgsl2, libgsl-dev, libboost-dev (and its dependencies).

Then, to configure and compile:
# ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=armv7l-unknown-linux-gnueabihf --with-pic --disable-cdr --disable-visio --disable-wpg --enable-poppler-cairo --enable-lcms --disable-static  --disable-dbusapi  --without-gnome-vfs

# make
# new2dir make install
<

It runs OK, but I am surprised how slow it is on the Pi. Slower even than Libreoffice. Compare with our old InkscapeLite, which does everything instantly.

Anyway, I was motivated to move to the full Inkscape for two reasons.

Firstly, I am using Gparted DEB from the Ubuntu repo, with the shared gtkmm DEBs, rather than Gparted compiled by me with gtkmm linked statically. So, having the gtkmm shared libs there, makes it more attractive to also install Inkscape.

Secondly, many SVG images do not render correctly with InkscapeLite. This includes many of the SVG images created for woof-CE, in /usr/share/pixmaps/puppy.
I am gradually putting those into Quirky, so I really do need to be able to open and edit them.

Tags: linux