[csw-maintainers] [libxext_devel 0004314]: xext.pc has xextproto as requirement, but no package dependency

Roger Håkansson hson at opencsw.org
Sat Feb 27 18:27:24 CET 2010


On 2010-02-27 18:03, Maciej (Matchek) Blizinski wrote:
> On Sat, Feb 27, 2010 at 4:10 PM, Roger Håkansson<hson at opencsw.org>  wrote:
>> Example:
>> Package A have liba.so, A_devel a.pc, B libc.so which depends on liba.so,
>> and B_devel b.pc which have a.pc as a requirement.
>> When building the packages B will have A as a required dependency and
>> checkpkg will sugggest that A_devel needs A and B_devel needs B, but not
>> that B_devel needs A_devel.
>
> What would the algorithm look like?  Something like this comes to mind:
>
> - parse pkgconfig/*.pc files
> - assemble a list of referenced.pc files
> - based on /var/sadm/install/contents figure out which packages
> provide those files
> - require dependency on the found packages

Something like that, yes.

> Is already a parser of .pc files?

The only one I know of is pkg-config...


More information about the maintainers mailing list