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 Is already a parser of .pc files? Maciej _______________________________________________ maintainers mailing list [email protected] https://lists.opencsw.org/mailman/listinfo/maintainers .:: This mailing list's archive is public. ::.
