Die Libgnome Die
I just committed to Evince a patch which makes the use of libgnome optional, meaning that Evince is now buildable on a pure GMAE system (obligatory screenshot). As GMAE has GConf and gnome-vfs, and gnome-keyring is trivial enough to leave in, the patch turned out to be quite simple:
- Don't use libgnome to start the help browser, but call Yelp directly
- Don't use libgnome to get an icon for a MIME type, instead copy ten lines of code from GTK+
- Disable use of GnomeProgram and session management
So the only regressions are that the keyboard accelerators are not saved, there is no session management (until session management lands in GTK+), and if gnome-vfs wants a password you don't get a password dialog. In my opinion only the last regression is actually a problem, and I want to fix that at some point.
Thanks to the Evince maintainers for their rapid review!
NP: Position Correction, TZU
I don't believe that is right, and neither do the evince maintainers: my patch got accepted in a day, and the pure-gtk patch didn't get finished in over a year.
Btw, saving the shortcuts should be totally trivial, the gnome function just calls a gtk function iirc.
ciao