Re: Pure GTK vs Gnome



On Sat, 2004-04-03 at 23:42, Iago Rubio wrote:
Hi John,

On Sat, 2004-04-03 at 22:46, John K Luebs wrote:
On Sat, Apr 03, 2004 at 09:12:19PM +0200, Iago Rubio wrote:
On Sat, 2004-04-03 at 19:30, Christopher Fairbairn wrote:
I'm aware of the fact that just because a package has "gnome" in it's
name doesn't mean it won't work with out Gnome. Although it's not a very
good example, I am intending to use some contents of libegg as the bits
I desire only depend upon GTK+.

I think the best way for me to develop my app is as a straight GTK+
application, using libgnomecavnas for it's graphical content
presentation.

Not sure why you need libgnomecanvas, but it has it's dependencies:

Depends on libglade, that dependes on libgnome and libgnomeui that
depends on libgnomevfs-2, that depends on libORBit, libbonobo and
libbonobo-activation, and so on ....

So libgnomecanvas requires almost the whole gnome.

No, that's wrong.

libglade does not have a hard dependency on libgnome or libgnomeui, and
libgnomecanvas certainly does not require a GNOME capable libglade.

Dependency issues are a little more complex than just reading the output
of ldd.

Sure, but tell that to a clueless user dealig with his package manager,
that states abut the existence of those dependencies.

Exactly what distro are you talking about? I don't know of any distro
that thinks that libgnomecanvas depends on libgnome.

You should look at the output of pkg-config:

[murrayc localhost murrayc]$ pkg-config libgnomecanvas-2.0 --libs
-Wl,--export-dynamic -L/opt/gnome26/lib -lgnomecanvas-2 -lart_lgpl_2
-lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0
-lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0
-ldl -lglib-2.0

You should also try to use libglade on Windows. It works and it's useful
and it doesn't need the rest of GNOME either.


[snip]
But as example, to run Gnome canvas in Mac OsX with Fink, you must
update the whole system to an unstable branch.

Please file a bug with Fink. We are not responsible for their mistakes.

-- 
Murray Cumming
www.murrayc.com
murrayc murrayc com




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