Re: Should -dev packages providing .pc files depend on pkg-config?
- Date: Sun, 06 Apr 2008 00:08:43 +0100
- From: Roger Leigh <rleigh@xxxxxxxxxxxxxxxxxxxx>
- Subject: Re: Should -dev packages providing .pc files depend on pkg-config?
Simon Richter <sjr@xxxxxxxxxx> writes: >> 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. As an upstream, I include a .pc file for the convenience of people who want to link with my libraries. However, using pkg-config or PKG_CHECK_MODULES is entirely optional, and so really a Suggests or Recommends is more appropriate. If the user decides to use pkg-config, then it's really their responsibility to have pkg-config in their Build-Depends, not that of the library packager. Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/ `- GPG Public Key: 0x25BFB848 Please GPG sign your mail.
Attachment:
pgpp0Ls4XeJOs.pgp
Description: PGP signature
- Follow-Ups:
- Re: Should -dev packages providing .pc files depend on pkg-config?
- From: Romain Beauxis
- Re: Should -dev packages providing .pc files depend on pkg-config?
- References:
- Should -dev packages providing .pc files depend on pkg-config?
- From: Fabian Greffrath
- Re: Should -dev packages providing .pc files depend on pkg-config?
- From: Simon Richter
- Should -dev packages providing .pc files depend on pkg-config?
- Prev by Date: Bug#474466: ITP: librose-datetime-perl -- DateTime helper functions and objects
- Next by Date: Re: Should -dev packages providing .pc files depend on pkg-config?
- Previous by thread: Re: Should -dev packages providing .pc files depend on pkg-config?
- Next by thread: Re: Should -dev packages providing .pc files depend on pkg-config?
- Index(es):