Bug#343711: gdk-x11-2.0.pc spreads library dependencies needlessly

2005-12-18 Thread Andreas Metzler
On 2005-12-18 Andreas Metzler <[EMAIL PROTECTED]> wrote: [...] > Color me stupid, but I do not get at all why a *header* inclusion > should cause *linking* against the library. The headers are (supposed > to be) selfcontained, linking should only be necessary if functions > from the library are use

Bug#343711: gdk-x11-2.0.pc spreads library dependencies needlessly

2005-12-18 Thread Andreas Metzler
On 2005-12-17 "J.H.M. Dassen (Ray)" <[EMAIL PROTECTED]> wrote: > On Sat, Dec 17, 2005 at 16:20:39 +0100, Loic Minier wrote: > > On Sat, Dec 17, 2005, J.H.M. Dassen (Ray) wrote: > > > (It also includes -lX11, but that dependency is exposed through e.g. > > > gdk/gdkx.h) > > I didn't see the depend

Bug#343711: gdk-x11-2.0.pc spreads library dependencies needlessly

2005-12-17 Thread Loic Minier
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

Bug#343711: gdk-x11-2.0.pc spreads library dependencies needlessly

2005-12-17 Thread J.H.M. Dassen (Ray)
On Sat, Dec 17, 2005 at 16:20:39 +0100, Loic Minier wrote: > On Sat, Dec 17, 2005, J.H.M. Dassen (Ray) wrote: > > (It also includes -lX11, but that dependency is exposed through e.g. > > gdk/gdkx.h) > > I didn't see the dependency you mention with -lX11, do you mean because > of the included hea

Bug#343711: gdk-x11-2.0.pc spreads library dependencies needlessly

2005-12-17 Thread Loic Minier
Hi, On Sat, Dec 17, 2005, J.H.M. Dassen (Ray) wrote: > /usr/lib/pkgconfig/gdk-x11-2.0.pc currently includes a number of libraries > in its "Libs:" line which it only uses privately (as far as I have been able > to tell): -lXrandr -lXrender -lXi -lXinerama -lXext. > (It also includes -lX11

Bug#343711: gdk-x11-2.0.pc spreads library dependencies needlessly

2005-12-17 Thread J.H.M. Dassen (Ray)
Package: libgtk2.0-dev Version: 2.8.9-2 Severity: important /usr/lib/pkgconfig/gdk-x11-2.0.pc currently includes a number of libraries in its "Libs:" line which it only uses privately (as far as I have been able to tell): -lXrandr -lXrender -lXi -lXinerama -lXext. (It also includes -lX11, but tha