After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 527796 - remove libgnome dependency
remove libgnome dependency
Status: RESOLVED FIXED
Product: nemiver
Classification: Other
Component: general
trunk
Other Linux
: Normal normal
: ---
Assigned To: Nemiver maintainers
Nemiver maintainers
Depends on:
Blocks:
 
 
Reported: 2008-04-12 23:08 UTC by Dodji Seketeli
Modified: 2009-05-28 11:45 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Dodji Seketeli 2008-04-12 23:08:27 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.
Comment 1 Baptiste Mille-Mathias 2008-04-13 21:15:39 UTC
yeah,

with next glib / gtk+ you should be able to do that
see http://live.gnome.org/GnomeGoals/RemoveGnomeOpenGnomeHelp for example code
Comment 2 Dodji Seketeli 2008-05-11 15:01:12 UTC
Corrected the name of this bug because actually I really meant removing the lignome dependency, not libgnomeui. Nemiver does not use libgnomeui.
Comment 3 Dodji Seketeli 2008-05-15 20:36:52 UTC
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.
Comment 4 Dodji Seketeli 2008-05-18 13:04:31 UTC
I have committed changeset #814 that should fix this.
Comment 5 Javier Jardón (IRC: jjardon) 2009-05-28 11:45:04 UTC
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.