Somehow Dwarf Fortress suddenly started failing to use our libpng (or
zlib). I tried all possible combinations (supplying them via
LD_LIBRARY_PATH in the script) but it just won't work.
This solution was found in the Archlinux bug tracker: It just symlinks
all problematic .png files to their .bmp counterparts. It's ugly and
*sadly* breaks tileset support (unless you convert them to bmp) but I
think it's acceptable, as the whole expression is pretty problematic
in terms of purity.
Let's hope the next release of Dwarf Fortress will be easier to
support.
(fixes #710)
The wrapper script works by creating an image of the distribution in the users home directory
(defaulting to $HOME/.config/df_linux). This is done because the program expects to write
state into it's own distribution.
Better ideas are welcome!
What further is needed is to allow users to configure the init. One way is to use nix-config
to apply patches to the init.txt file, though this would break sharing of the package between
different users.
svn path=/nixpkgs/trunk/; revision=24538