using pkg-config for dynamic release packaging
Tollef Fog Heen
tfheen at err.no
Fri Aug 13 23:01:34 PDT 2010
]] Enrico Weigelt
| * Dan Nicholson <dbn.lists at gmail.com> schrieb:
|
| > Fedora uses this patch for generating rpm Requires/Provides from .pc files.
| >
| > http://cvs.fedoraproject.org/viewvc/rpms/pkgconfig/devel/pkgconfig-0.15.0-reqprov.patch?view=markup
|
| I really doubt that this will be of great use, since the dist
| buildsystem needs to know the deps, _before_ it can even attempt
| to build the package (and so the .pc file we would query), to
| set up the build environment (sysroot image, etc).
Build dependencies are not run-time dependencies. I assume there's a
hook late in the build process that looks at any installed .pc files and
dumps the Requires information from those, which is then translated into
actual package dependencies by something that knows that
Requires: foo >= 1
means it must find the package containing foo.pc and add that as a
dependency.
--
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are
More information about the pkg-config
mailing list