Re: true or false: pkgconfig(foo) vs foo-devel

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

 



On Thu, Jul 18, 2019 at 10:26 AM Philip Kovacs via devel
<devel@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> A "necessary and sufficient" question on the use of .pc files supplied by library providers.
>
> 1. Package foo-devel installs a pkgconfig .pc file as a convenience to developers.
> 2. Package bar requires headers and libraries provided by foo and is both a build
>     and runtime dependency of foo.
> 3. Package bar uses autotools and m4 to discover and test for the presence
>     of foo.h and libfoo, but does not use not pkgconfig in any way.
>
> True or False:
>
> The spec for package bar MUST use BuildRequires: foo-devel and not
> BuildRequires: pkgconfig(foo), because bar does not use pkgconfig directly.
>
> Ref: https://docs.fedoraproject.org/en-US/packaging-guidelines/PkgConfigBuildRequires/
>

Technically, I suppose the wording strongly pushes that way. It’s
certainly the guideline I use myself.

But it’s also worth examining if you can contribute upstream to change
it to use pkgconfig instead.


-- 
真実はいつも一つ!/ Always, there's only one truth!
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux