Re: [gnome-love] Getting rid of popt



Hi Luis,

On Tue, 2006-03-07 at 19:21 +0100, Luis Menina wrote:

So excuse my naive question is: Why is there this dependency to popt ? 
Is this an implicit dependency from another module ?

Yep:

:~/cvs/cvs.gnome.org/glib/glib$ pkg-config --libs libgnome-2.0
-pthread -lgnome-2 -lpopt -lgnomevfs-2 -lbonobo-2 -lgconf-2
-lgobject-2.0 -lbonobo-activation -lORBit-2 -lm -lgmodule-2.0 -ldl
-lgthread-2.0 -lglib-2.0

As you can see, libgnome depends on popt, as it still offers the ability
to hook up popt into the GnomeProgram object (for backward compatibility
reasons).

Libgnome, as well as libgnomeui and others, will be deprecated in the
long road to Gnome 3.0, so we have to keep the dependency on popt for
the time being; anyway, GOption is really the way to go - as it has more
features, it's integrated with the GLib/GTK libraries and it's actually
easier to use.

Ciao,
 Emmanuele.

-- 
Emmanuele Bassi - <ebassi gmail com>
Log: http://log.emmanuelebassi.net




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]