On Mon, 2005-10-17 at 16:18 +0100, Andrew Benton wrote:
> Jürg Billeter wrote:
> > gtk+-2.x explicitly checks for at least glib-2.0, atk, pango and cairo.
> > And IMO these should all be added explicitly as required deps to the
> > BLFS page as "hidden dependencies" can be nasty, especially when
> > dependencies of dependencies change...
> > 
> 
> Isn't that just the thin end of the wedge? It probably depends on X
> windows, libpng, freetype, glibc, where do you draw the line?

Yes, these are all direct dependencies of gtk+-2.0. One line to draw is
of course the LFS scope, i.e. glibc doesn't have to be mentioned as it's
part of LFS.

Maybe you like examples ;) Modular Xorg 7.0 will be released soon. So
all X dependencies will have to be fixed to specify the exact
dependency. For example cairo will depend on x11 and xrender instead of
just X. But when doing this you will have to keep in mind that cairo
depends on libpng, too. This dependency has been hidden before, as
Xorg/Xfree86 depend on libpng anyway; now you have to add it to the
dependency list of cairo. And because pango won't depend on whole X
anymore, too, you will have to keep in mind that gtk+-2.0 depends on
libpng, too; this fact has been hidden before because gtk+-2.0 depends
on pango and pango depends on X (or cairo which depends on X, too) and X
depends on libpng anyway... I won't continue ;) but I think you can
imagine the problems.

Ok, honestly these problems probably don't occur that often and I
understand that it may not be worth the trouble of creating complete
dependency lists to ease some upgrades; just wanted to explain my point
of view.

Jürg
-- 
Jürg Billeter <[EMAIL PROTECTED]>

--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to