Hello<br>
<br>
these days I have been working on getting gnome dependencies out of evince so xubuntu has<br>
a nice document viewer. The only libs left are libgnomeprintXX since those are not really gnome libs,<br>
they do not bring in anything else.<br>
<br>
The result is a bunch of very ugly hacks (ifdefs, deleted code, some dubious new code) which<br>
nevertheless make a buildable executable which resembles the original :)<br>
Things which work in the original and not in this one: the help menu, gconf settings (I am not sure<br>
what evince stored in gconf but at least the max number of recent documents was there), DnD, external<br>
URI-s in documents. Some things may not work which I overlooked but so far it seems it handles the same documents as evince<br>
and in the same way - well the core doc viewing and GUI were not touched at all, that's why.<br>
<br>
I still have polishing to do, and I'll make an ubuntu package soon, but if there are eager testers around who<br>
want to build from source till then - great!<br>
<br>
I do not have webspace right now to publish the darcs archive of it so here's a gzipped patch attached.<br>
to build it you have to have the following libs installed<br>
libmagic-dev, libgnomeprint2.2-dev,libgnomeprintui2.2-dev,libglade2-dev,libgtk2.0-dev,libtiff4-dev,<br>
maybe even more<br>
the safest is to just do apt-get build-dep evince even if that will bring in some gnome libs<br>
which will bring in the real evinces buid dependencies and add libmagic-dev<br>
<br>
<br>
0) gunzip attachement<br>
1) Take the original source from here<br>
<br>
<a href="http://ftp.debian.org/debian/pool/main/e/evince/evince_0.4.0.orig.tar.gz">http://ftp.debian.org/debian/pool/main/e/evince/evince_0.4.0.orig.tar.gz</a><br>
<br>
2) uncompress it, cd evince-0.4.0<br>
3) patch -p1 <,l.diff<br>
4)autoconf<br>
5) ./configure --prefix=/your/home/whatever/bin --disable-scrollkeeper<br>
6)make && make install<br>
<br>
<br>
now you should have an evince binary in the above path<br>
<br>
<br>
thanks<br>
Jani<br>
<br>
PS: hmm, maybe I should've just made a .deb<br>