Bug 5703 - Add --requires mode
Summary: Add --requires mode
Status: RESOLVED FIXED
Alias: None
Product: pkg-config
Classification: Unclassified
Component: src (show other bugs)
Version: unspecified
Hardware: All All
: medium enhancement
Assignee: Tollef Fog Heen
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-24 11:24 UTC by Mikhail Zabaluev
Modified: 2012-05-08 17:17 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Mikhail Zabaluev 2006-01-24 11:24:43 UTC
It would be useful, e.g. for package dependency autogeneration purposes, to dump
package requirements in a canonical manner.
I propose a new option, --requires, that will output contents of Requires,
one requirement per line. Specifying --static will add to that contents of
Requires.private.
Comment 1 Mikhail Zabaluev 2006-01-25 21:37:34 UTC
Fedora Core has a patch that has some use in their RPM 4.4 branch:
http://cvs.fedora.redhat.com/viewcvs/devel/pkgconfig/pkgconfig-0.15.0-reqprov.patch
Comment 2 Dan Nicholson 2012-05-08 17:17:32 UTC
This was fixed in commit d690466a with the options --print-provides/requires/requires-private. Please reopen if that doesn't meet your need.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.