Bug 133 - Patch to list all variables
Summary: Patch to list all variables
Alias: None
Product: pkg-config
Classification: Unclassified
Component: src (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high enhancement
Assignee: Tollef Fog Heen
QA Contact:
Keywords: patch
Depends on:
Reported: 2003-10-31 07:39 UTC by Alberto Simões
Modified: 2010-05-09 00:50 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:

Patch to CVS code for today (998 bytes, patch)
2003-10-31 07:40 UTC, Alberto Simões
Details | Splinter Review
Patch to implement variables listing with the 0.23 release (2.83 KB, text/plain)
2008-10-05 04:44 UTC, Jorn Amundsen

Description Alberto Simões 2003-10-31 07:39:34 UTC
Basically, using --variables would list all variables that the module defines.
Comment 1 Alberto Simões 2003-10-31 07:40:44 UTC
Created attachment 65 [details] [review]
Patch to CVS code for today

Still not tested because I can't compile pkgconfig.
Comment 2 Benjamin Close 2007-12-13 16:42:55 UTC
4 years, no updates, Havoc, will this enhancement be applied or should I list the bug as WONTFIX?
Comment 3 Havoc Pennington 2007-12-14 09:20:43 UTC
Don't ask me... I haven't maintained pkg-config in years. It probably makes sense to mass-reassign any bugs that are assigned to me.
Comment 4 Jorn Amundsen 2008-10-05 04:44:08 UTC
Created attachment 19387 [details]
Patch to implement variables listing with the 0.23 release

This attachment provides a new patch to list the variables of a .pc file, patched against the 0.23 release of pkg-config. The new switch is --print-variables. Apply with patch -p1 <thisfile into the top level source directory.
Comment 5 Tollef Fog Heen 2010-05-09 00:50:16 UTC
Fixed in 4b80e49 in git.  Jørn, thanks a lot for the patch.

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.