Bug#343711: gdk-x11-2.0.pc spreads library dependencies needlessly
Loic Minier
lool at dooz.org
Sat Dec 17 16:22:02 UTC 2005
block #343711 by #340904
thanks
On sam, déc 17, 2005, J.H.M. Dassen (Ray) wrote:
> Yes. I'm going by this guideline from /usr/share/doc/pkg-config/NEWS.gz:
> "Generally, if include another library's headers in your own, it's a public
> dependency and not a private one.".
Yes, that's part of the discussion we had with the pkg-config
maintainer, and that's what he suggests indeed.
However, Gdk includes Pango, which in turn includes Xft, Freetype; Gdk
also includes cairo, which in turn includes Fontconfig and Freetype,
etc. I suppose that would make these libs public dependencies of Gdk
too, following the same logic.
I think I'm going to let this change be blocked by the pkg-config
change I pointed at, until then it wouldn't be wise to introduce build
failures.
The best thing I wish is that someone with experience in ABI / API
handling, pkg-config, and shared libraries in general writes a guide to
handle situations such has: 1/ how to check a .la file is correct 2/
what to put in .pc files.
Bye,
--
Loïc Minier <lool at dooz.org>
More information about the Pkg-gnome-maintainers
mailing list