hback on google-code

It’s a bit unofficial for now, but since people keep asking, I’ve started an hback project on google-code:

http://code.google.com/p/hback/

The source checkout includes the latest development version of the game. Eventually, I would like to host a public darcs repo for the project, but for now this will have to do.

If you are currently using or considering playing with hback, I highly recommend you checkout the latest trunk. It’s a much-improved version over 0.0.2 since it duplicates the protocol as described in the paper. If you spot any deviations, please do let me know. As soon as the most important tickets are fixed, this will be the basis for the much-revised 0.0.3 version. Additionally, I would like to explore building a win32 executable based on this trunk.

Do check out the code and post any tickets or comments! Better to fix them now than after the release :)

I’m trying to build from svn on ubuntu, but I get the following error:

xxxxxx@spikeshell:~/hback$ runhaskell Setup.lhs configure –user –prefix=/home/prophet/apps/hback
Configuring hback-0.0.2…
Setup.lhs: At least the following dependencies are missing:
svgcairo -any

There’s no libghc6-svgcairo-dev package in the repositories, so I’m not sure if ubuntu just doesn’t have the library packaged, or if libghc6-cairo-dev was compiled without svg support, or that the package is named really obscurely. Any ideas?

I have the same problem and have not solved it as of yet. But here are some things I figured out about k/ubuntu and svgcairo:

* currently libsvg-cairo doesn’t exist in kubuntu 64 (probably not in i386 either)
* libsvg-cairo is considered depricated and was replaced by librsvg
* librsvg and librsvg-dev are not recognized by haskell as a replacement for libsvg-cairo

So … how to fix that? The only way I can currently think of is to complile libsvg-cairo yourself and/or to compile all of ghc (with cairo and svg) from source.

Hope that at least sheds some light

sudo apt-get install darcs ghc6 libghc6-glade-dev libghc6-time-dev libghc6-cairo-dev

I think that’s all the dependencies you need on Ubuntu, excluding gtk2hs. The version supplied in the Ubuntu repos (libghc6-gtk-dev) is not compiled with svg support, hence you need to build that one from source:

http://downloads.sourceforge.net/gtk2hs/gtk2hs-0.9.12.1.tar.gz

./configure –enable-svg && make && sudo make install

Hope that helps!