On 2010-02-27 18:03, Maciej (Matchek) Blizinski wrote:
On Sat, Feb 27, 2010 at 4:10 PM, Roger Håkansson<[email protected]>  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...
_______________________________________________
maintainers mailing list
[email protected]
https://lists.opencsw.org/mailman/listinfo/maintainers
.:: This mailing list's archive is public. ::.

Reply via email to