I have patched gtk+-2.6.8 to build with a DjVu loader (for gdk-pixbuf):
You need 2 files:
The patch modifies: configure.in gdk-pixbuf/Makefile.am
Todo: maybe static gdk-pixbuf/gdk-pixbuf-io.c ?
ebuild: http://www.ruska.it/comp/gentoo/portage/media-gfx/imagemagick/
so you need a patch & a new file: http://www.ruska.it/comp/gentoo/portage/media-gfx/imagemagick/files/djvu.patch http://www.ruska.it/comp/gentoo/portage/media-gfx/imagemagick/files/djvu.c
I found & fixed several bugs (show-stoppers for the C api).
My other hacks