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 Depends on -dev packages that they require. In many cases, we > could infer this information from pkg-config dependencies: if a library > -dev package ships a pkg-config file, and that file includes Requires > pointing to other pkg-config files, we could infer Depends on the > packages shipping those other pkg-config files. > > 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 tools, I'd > like to get some feedback on this idea.
I take it that you want to put the automatically detected dependencies in the Build-Depends field? This field does not accept substvars. So I think you will need code changes to dpkg-source to have it run code to calculate build-dependencies. -- Sean Whitton
signature.asc
Description: PGP signature