Release of gtkNode 0.1 and of the gtknode Debian package

I have refactored gtkNode, the Erlang interface to GTK+ 2, which I have been “playing with” recently. The most significant is that I have used GNU Autoconf and Automake to redo the configuration and build framework. I have used my Autoconf macros for Erlang in gtkNode’s configuration file, to simplify configuration.

To compile the source archive out-of-tree:

> tar xzf gtknode_0.1.orig.tar.gz
> mkdir build
> cd build
> ../gtknode-0.1/configure --prefix=/usr
> make
> sudo make install

By the way, the “autotoolization” of gtkNode should make it compilable on Windows / Cygwin. Could anybody try?

After this refactoring, doing a Debian package of gtkNode was trivial (this was my purpose and motivation for the refactoring anyway…). I have setup a private APT archive for this package and all my future Debian packages. To install gtkNode, simply add these two lines in your /etc/apt/sources.list (or in a new /etc/apt/sources.list.d/rlenglet.list file, as you prefer):

deb unstable main contrib non-free
deb-src unstable main contrib non-free

Then, update your local APT package list:

> sudo apt-get update

And then you can install the gtknode package:

> sudo apt-get install gtknode

I have compiled the binary package for the i386 architecture only (that’s all I have for developing), but it can surely compile on any other architecture (it compiles at least on the sparc architecture on Solaris according to Mats Cronqvist, gtkNode’s author). Please try building the package on your own architecture, and report me if something goes wrong:

> mkdir /tmp/gtknode-pkg
> cd /tmp/gtknode-pkg
> apt-get source gtknode
> apt-get build-dep gtknode
> cd gtknode-0.1
> debuild
> sudo dpkg -i ../gtknode*.deb