[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Should -dev packages providing .pc files depend on pkg-config?



On Sat, Apr 05, 2008 at 12:38:34AM +0200, Simon Richter wrote:
> Hi,
> 
> > Consider there's a package foo which is built against libbar-dev and
> > uses pkg-config to obtain the necessary CFLAGS and LIBS for libbar.
> 
> > Now is it the foo package's or the libbar-dev package's duty to provide
> > the dependency on pkg-config?
> 
> Disagreeing with the others: It is the -dev package's responsibility.
> 
> The foo package's build dependencies are only relevant when building the
> foo package. For someone who develops software based on libbar, it is
> not obvious that foo's build dependencies are required.
> 
Except that a -dev package can be perfectly functional without
pkg-config.  So, in that case it should not be a dependency, but a
recommends.

Regards,

-Roberto

-- 
Roberto C. Sánchez
http://people.connexer.com/~roberto
http://www.connexer.com

Attachment: signature.asc
Description: Digital signature


Reply to: