Viktor Pracht wrote, on 2008-03-03 10:23:
This fact inspired me to dust off my prototype and get it to compile.
Currently, it contains little logic and consists mostly of Gtk and Cairo
calls, so that it can be easily ported to other languages and serve as a
starting point for the Summer of Code project. The only working
functionality so far is the zooming with the mouse scroll wheel.
The source and a precompiled binary are available at
http://v2os.v2.nl/~vp/hide.tgz
The program is started from the main directory as "bin/hide". To test
multithreaded rendering (can one even *buy* single-core desktops nowadays?)
it can be started as "bin/hide +RTS -Nx", where x is the number of
cores/CPUs.
Since I didn't yet figure out how to build Debian packages for Haskell
programs, the binary may need some additional libraries. I don't have a
fresh system to test which libraries are needed, but judging from the
output of ldd, the packages libc6-i686, libglade2-0, libgmp3c2 and their
dependencies in the current Debian Unstable should provide everything
necessary. Compiling from source requires GHC and the Gtk2Hs developement
libraries.
On Debian unstable I was able to compile it once I added the needed
libghc6* libraries and their dependencies. ldd reported:
libatk-1.0.so.0
libcairo.so.2
libc.so.6
libdl.so.2
libexpat.so.1
libfontconfig.so.1
libfreetype.so.6
libgdk_pixbuf-2.0.so.0
libgdk-x11-2.0.so.0
libglade-2.0.so.0
libglib-2.0.so.0
libgmodule-2.0.so.0
libgmp.so.3
libgobject-2.0.so.0
libgthread-2.0.so.0
libgtk-x11-2.0.so.0
libm.so.6
libpango-1.0.so.0
libpangocairo-1.0.so.0
libpangoft2-1.0.so.0
libpcre.so.3
libpng12.so.0
libpthread.so.0
librt.so.1
libX11.so.6
libXau.so.6
libXcomposite.so.1
libXcursor.so.1
libXdamage.so.1
libXdmcp.so.6
libXext.so.6
libXfixes.so.3
libXinerama.so.1
libXi.so.6
libxml2.so.2
libXrandr.so.2
libXrender.so.1
libz.so.1
Arthur.
_______________________________________________
Open-graphics mailing list
[email protected]
http://lists.duskglow.com/mailman/listinfo/open-graphics
List service provided by Duskglow Consulting, LLC (www.duskglow.com)