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 586435 - Remove deprecated libgnome dependency
Remove deprecated libgnome dependency
Status: RESOLVED FIXED
Product: GConf
Classification: Deprecated
Component: gconf
CVS HEAD
Other Linux
: Normal normal
: ---
Assigned To: GConf Maintainers
GConf Maintainers
: 588970 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-06-19 22:08 UTC by André Klapper
Modified: 2009-11-24 16:57 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description André Klapper 2009-06-19 22:08:51 UTC
http://live.gnome.org/LibgnomeMustDie

./gconf/gnome-testclient.c includes four lines that make it depend on libgnome:

#include <gnome.h>
gnome_init(PACKAGE, VERSION, argc, argv);
app = gnome_app_new("gconf-test", "Testing GConf");
gnome_app_set_contents(GNOME_APP(app), entry);

Plus these three lines in ./doc/gconf/gconf.sgml:
See <xref linkend="gconf-client"/>. Because libgnome uses
<structname>GConfClient</structname>, apps using libgnome 
object in advance. The <filename>libgnome/gnome-config.h</filename>
Comment 1 André Klapper 2009-07-18 17:56:47 UTC
Garr. Dups.

The explicit headers here should probably be instead:
   #include <libgnomeui/gnome-app.h>
   #include <libgnomeui/gnome-ui-init.h>
Comment 2 André Klapper 2009-07-18 17:56:50 UTC
*** Bug 588970 has been marked as a duplicate of this bug. ***
Comment 3 André Klapper 2009-07-18 18:06:37 UTC
Commenting //#include <gnome.h> gconf still compiles, maybe because of
#include <libgnorba/gnorba.h>?
Where does that Gnorba stuff come from?
Comment 4 André Klapper 2009-08-05 13:00:21 UTC
OK, gconf/gnome-testclient.c does not get built at all.

How to enable building gconf/gnome-testclient.c?
Comment 5 Kjartan Maraas 2009-08-06 12:56:52 UTC
I think we can just nuke the file since it hasn't been touched since 2003 and hasn't been built in ages.
Comment 6 Kjartan Maraas 2009-08-11 16:50:16 UTC
Commited now.
Comment 7 André Klapper 2009-11-24 16:57:03 UTC
For the records, ./gconf/gnome-testclient.c was removed by 
http://git.gnome.org/cgit/gconf/commit/?id=3f604aa22fff8561896d02cfbe16aaf169919875