GNOME Bugzilla – Bug 527796
remove libgnome dependency
Last modified: 2009-05-28 11:45:04 UTC
libgnomeui pulls in an unecessary huge amount of dependencies. I believe libgnomeui is used in nemiver only to be able to display the help. We could call yelp directly for that, I believe.
yeah, with next glib / gtk+ you should be able to do that see http://live.gnome.org/GnomeGoals/RemoveGnomeOpenGnomeHelp for example code
Corrected the name of this bug because actually I really meant removing the lignome dependency, not libgnomeui. Nemiver does not use libgnomeui.
Okay so I have a candidate fix for this bug. Libgnome is used only to display the nemiver help. The function used is gnome_help_display(). To remove the use of that function, nemiver basically builds the path to the nemiver.xml file and spawns a yelp process to open it. This seems brute but I believe there is no better way today. I am going to commit this when svn commits are allowed again.
I have committed changeset #814 that should fix this.
Hello dodji, If you want, you can use the new API call gtk_show_uri to replace gnome_help. From http://live.gnome.org/GnomeGoals/RemoveGnomeOpenGnomeHelp is a cleaner solution.