Inkscape 0.92 available for ARMv7 Processor on Ubuntu 14.04.5 LTS?

Asked by David Kirkby on 2017-05-26

Hi,
Thanks for this great software.
I currently run Ubuntu 14.04.5 LTS on a Chromebook with an ARMv7 processor and have Inkscape 0.48 installed.

Don't know how many other people are running this setup, but it would be nice if we could install Inkscape 0.92.
Anybody able to help us out?
Thanks,
David.

Question information

Language:
English Edit question
Status:
Solved
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Solved by:
Hachmann
Solved:
2017-05-27
Last query:
2017-05-27
Last reply:
2017-05-27
Hachmann (marenhachmann) said : #1

Hi David,

I'm not sure, actually. Never came across one, I think. Maybe there's something available in some Raspberry Pi repos?

I could help you compile it, though. Let me know if you'd like to try it (I'm just working on a guide and a script to automate that).

Kind Regards,
 Maren

David Kirkby (spearthistle) said : #2

Hi Maron,

Thanks for the response.

https://www.raspbian.org/RaspbianRepository had a 504 gateway timeout

and

http://www.raspberryconnect.com/raspbian-packages-list/item/70-raspbian-graphics#i

shows the available version as 0.48

If your happy to help me compile 0.92, I could certainly have a go.

What would you like me to do?

Best Wishes,
David.

Best Hachmann (marenhachmann) said : #3

Hi David,

I tested these instructions on a vanilla Ubuntu 14.04 amd64 virtual machine (updated fully, but not updated to 16.04), so not on ARM. I hope they'll still work:

1. First, you will need to install the build dependencies. No guarantee that they are available in your repos, and also not that they will be available in the required version, though. I haven't tested. If there are any backport repos for your arm architecture, it could (potentially) be useful to activate them and run 'apt-get update' before you start.

$ sudo apt-get install bash-completion cmake debhelper dh-python gimp gnome-pkg-tools libart-2.0-dev libaspell-dev libboost-dev libcdr-dev libdbus-1-dev libdbus-glib-1-dev libgc-dev libglib2.0-dev libgsl0-dev libgtk2.0-dev libgtkmm-2.4-dev libgtkspell-dev libicu-dev liblcms2-dev libmagick++-dev libpango1.0-dev libpng-dev libpoppler-glib-dev libpoppler-private-dev libpopt-dev libpotrace-dev libsigc++-2.0-dev libtool libvisio-dev libwpd-dev libwpg-dev libxml-parser-perl libxml2-dev libxslt1-dev pkg-config python-dev python-lxml zlib1g-dev python-scour

(python-scour isn't a build dep, but you'll need it if you want to be able to save as optimized svg - and please don't ask why gimp is listed as a build dependency... I don't know.)

2. Now you must decide whether you want to build the officially released stable version, or the current stable branch with relevant bug fixes (and a very low, but existant, risk of newly introduced bugs - this branch is different from the trunk branch, which is the current development focus and /really/ contains new bugs.).

For the official 0.92.1 release, download:
https://launchpad.net/inkscape/0.92.x/0.92.1/+download/inkscape-0.92.1.tar.bz2

For the current stable branch, download:
http://bazaar.launchpad.net/~inkscape.dev/inkscape/0.92.x/tarball/15432?start_revid=15432

(check if there are newer revisions - current number: see https://code.launchpad.net/~inkscape.dev/inkscape/0.92.x, and scroll down to 'Recent revisions' section, replace both '15432' in the URL with latest revision number)

Extract the archive you downloaded into a folder of your choice.

3. Traverse the nested folders, until you get to a folder which contains multiple files and folders (its name should be 0.92.x or perhaps 0.92.1).

In this folder (which contains READMEs and license files etc.) create a new directory named 'build':
$ mkdir build

Enter the directory:
$ cd build

4. Prepare the build (here, you may encounter errors due to incompatible versions - if you don't find a way to resolve these, then that's the end - please post the errors you get, if any.):
$ cmake -DCMAKE_INSTALL_PREFIX=/usr ..

5. Compile:
$ make

(Wait...)

6a) Now, if you want to, you can create a package for yourself. This will make it easier to update, or to uninstall later on. Also to share with others.
Get the program checkinstall (which creates packages):
$ sudo apt-get install checkinstall

Build package:
$ checkinstall -D --fstrans=yes --install=no --nodoc

This is going to build a Debian package for you, without installing it (but it simulates an installation, so don't be surprised if it says 'Installation successful').

It will ask you to answer a couple of questions. It doesn't really matter what you answer, if you only want to use it for yourself, and only need a single Inkscape version installed on your computer. It's useful to add info about the revision number, if you selected to install the latest stable branch version. Also, you should probably change the 'name' (2) and the 'provides' (11) from 'build' to 'inkscape'.
When you are happy with the settings (you can leave some blanks), hit Enter again, then it will ask two last questions:

Do you want me to list them? [n]: (hit Enter)
Should I exclude them from the package? (Saying yes is a good idea) [n]: yes (type yes)

Once ready, it will tell you how to install the created package. Something along the lines of:
$ sudo dpkg -i <package name>.deb

Do this to install.

6b) If you do not want to create a package, just run
$ sudo make install
after running make.

This should be it. Let me know how it goes!

Kind Regards,
 Maren

David Kirkby (spearthistle) said : #4

Dear Maren,

Thank you so much for your detailed instructions, everything worked flawlessly.
The new version renders much faster than 0.48.

Source code compiled;
http://bazaar.launchpad.net/~inkscape.dev/inkscape/0.92.x/tarball/15432?start_revid=15432

Debian package created:
inkscape_20170527-1_armhf.deb

The file is here:
https://www.dropbox.com/s/6i6mev8fc7hrd2h/inkscape_20170527-1_armhf.deb?dl=0

I also posted the link to #ubuntu on freenode should anyone there (at this present time)
wish to publish the package for all users.

Best wishes,
David.

PS: https://goo.gl/photos/2bicEgnvtwesRB6b9 (From left to right: Me (England), Dapha (Israel), David (England), Kate (England) and Myuki (Japan) whilst volunteering at the Seed Cooperative in Lincolnshire. This organisation distributes open pollinated seed which grows true-to-type and they're also adapting open pollinated seeds to this environment.

I'm currently developing as volunteer organic grower of vegetables within the WWOOF network, and Inkscape is a really useful application for surveying smallholder organic farms and for designing improvements.

So thanks again for this https://en.wikipedia.org/wiki/Free_as_in_Freedom software!

David Kirkby (spearthistle) said : #5

Thanks Hachmann, that solved my question.

Hachmann (marenhachmann) said : #6

Hello David,

(so many Davids in England ;-) )

You're welcome :)

Thank you for giving me a glimpse into what you're using Inkscape for! I always find it totally fascinating what everyone comes up with - and yours is really a great use, much in the sense of openness and freedom, too.
(sorry, non-native speaker here - I guess you get what I mean).

I've only just started with my very first own garden, and the idea of applying some of the concepts from the world of (digital) open source to seeds appeals to me a lot :) Good luck to you and the seed cooperative!

Kind Regards,
 Maren