Port to Gtk - but to what one?
==============================
About 2005 I wrote a small program for statics of simple structures by
means of the direct stiffness method [1]. In short: it is written in
the ANSI C language so it is pretty well portable. But it uses the Gtk+
library (version 2.x) for GUI and for graphics. It was contemporary
when I wrote the program and I have not touched it since.
It was probably a good decision in that time because the program (which
GUI) was portable across several platforms (it worked on a Ben
NanoNote, on a Neo FreeRunner, on Windows machines, on the IRIX 6.5
with the Freeware or the NekoWare Gtk ports, on a Solaris 9 and of
course on all sorts of Linux distros and platforms).
But now I have a problem. Now I have a SGI Indigo with IRIX 5.x. The
best Gtk+ that I can get there is 1.2. But it means taht GUI-related
code has to be re-written.
Well, the second problem. Now I have the Raptor CS BlackBird (so a
modern POWER/PowerPC with the modern Linux). The Gtk+ 2.x works here
just now but it is going to be removed and replaced by the Gtk 3.x. It
means that I will have to re-write my GUI code if I will wish to use my
program in future.
I don't have enough time nor patience to make two ports. So which one
I should make?
P.S. The more native Motif [2] port is out of game as it would mean a
considerable re-write of the code. I tried to do it and abandoned the
idea.
References:
[1]
http://fast10.vsb.cz/brozovsky/microdef.html
[2]
gopher://gopherpedia.com:70/0/Motif%20%28software%29