using pkg-config for dynamic release packaging

Enrico Weigelt weigelt at metux.de
Wed Aug 11 00:11:38 PDT 2010


* 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).

It would be a totally different issue if there was a canonical
dependency declaration (eg. a file within the sourcetree),
which would also has to respect feature switches and target
specific deps, use globally canonical namespaces, etc, etc.

IOW: autopackage ;-p


cu
-- 
----------------------------------------------------------------------
 Enrico Weigelt, metux IT service -- http://www.metux.de/

 phone:  +49 36207 519931  email: weigelt at metux.de
 mobile: +49 151 27565287  icq:   210169427         skype: nekrad666
----------------------------------------------------------------------
 Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
----------------------------------------------------------------------


More information about the pkg-config mailing list