Re: Auto-detecting -dev package dependences from pkg-config

2016-12-15 Thread Paul Wise
On Thu, Dec 15, 2016 at 8:43 PM, Guillem Jover wrote: > There's also . I'd be happy to > include such tool in dpkg itself. I think this is one of the current > limitations we have in dpkg-dev compared to say rpm, which has many > build-time dependency generators. A

Re: Auto-detecting -dev package dependences from pkg-config

2016-12-15 Thread Guillem Jover
Hi! On Sun, 2016-12-11 at 21:48:17 -0800, Josh Triplett wrote: > [Please CC me on replies.] > I'd like to build some tools (possibly including a dh_pkgconfig) to do > this automatically; those tools could generate a pkgconfig:Depends > substvar for use in debian/control. Before starting on those

Re: Auto-detecting -dev package dependences from pkg-config

2016-12-14 Thread Tollef Fog Heen
]] Josh Triplett > Does this seem like a reasonable approach? I think it sounds fine, but please remember that it's pkg-config, not pkgconfig. :-) -- Tollef Fog Heen UNIX is user friendly, it's just picky about who its friends are

Re: Auto-detecting -dev package dependences from pkg-config

2016-12-13 Thread Johannes Schauer
Quoting Josh Triplett (2016-12-12 18:19:03) > (I'd love to auto-generate Build-Depends too, but that would require a much > larger overhaul, and the last time that came up the answer was a resounding > "no".) for reasons why auto-generated Build-Depends are a bad idea, see: https://bugs.debian.or

Re: Auto-detecting -dev package dependences from pkg-config

2016-12-12 Thread Josh Triplett
On Mon, Dec 12, 2016 at 10:10:57AM -0700, Sean Whitton wrote: > Hello Josh, > > On Sun, Dec 11, 2016 at 09:48:17PM -0800, Josh Triplett wrote: > > dpkg-shlibdeps automatically generates Depends on library packages > > corresponding to any libraries pulled in by the linker for the binaries > > in a

Re: Auto-detecting -dev package dependences from pkg-config

2016-12-12 Thread Andrey Rahmatullin
On Mon, Dec 12, 2016 at 10:10:57AM -0700, Sean Whitton wrote: > > dpkg-shlibdeps automatically generates Depends on library packages > > corresponding to any libraries pulled in by the linker for the binaries > > in a package. However, library -dev packages still have to manually > > specify Depen

Re: Auto-detecting -dev package dependences from pkg-config

2016-12-12 Thread Sean Whitton
Hello Josh, On Sun, Dec 11, 2016 at 09:48:17PM -0800, Josh Triplett wrote: > dpkg-shlibdeps automatically generates Depends on library packages > corresponding to any libraries pulled in by the linker for the binaries > in a package. However, library -dev packages still have to manually > specify

Re: Auto-detecting -dev package dependences from pkg-config

2016-12-12 Thread Andreas Henriksson
Hello Josh Triplett, Manually handling the dependencies of -dev packages often leads to mistakes. Automating this similar to how you describe has multiple times surfaced where I'm involved (and I guess also in other places). Unfortunately noone has volunteered to actually implement it. Thanks for

Auto-detecting -dev package dependences from pkg-config

2016-12-11 Thread Josh Triplett
[Please CC me on replies.] dpkg-shlibdeps automatically generates Depends on library packages corresponding to any libraries pulled in by the linker for the binaries in a package. However, library -dev packages still have to manually specify Depends on -dev packages that they require. In many ca