Summary: | Add minimum pkg-config version field to .pc files | ||
---|---|---|---|
Product: | pkg-config | Reporter: | Tom Parker <freedesktop> |
Component: | src | Assignee: | Tollef Fog Heen <tfheen> |
Status: | RESOLVED INVALID | QA Contact: | |
Severity: | normal | ||
Priority: | high | ||
Version: | unspecified | ||
Hardware: | x86 (IA32) | ||
OS: | Windows (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Patch to implement this feature |
Description
Tom Parker
2006-10-30 12:12:22 UTC
Created attachment 7601 [details] [review] Patch to implement this feature pkgconfig-min-version became pkgconfig_min_version to avoid additional changes to the parser, but the feature is otherwise implemented. Uses the existing version comparator. You mean similar to: : tfheen@xoog /usr/lib/pkgconfig > pkg-config --libs blah Package 'test thingabob' requires 'pkg-config >= 2.0' but version of pkg-config is 0.20 You may find new versions of pkg-config at http://www.freedesktop.org/software/pkgconfig/ : tfheen@xoog /usr/lib/pkgconfig > cat blah.pc prefix=/usr exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include Name: test thingabob Description: test Version: 2.1.10 Requires: pkg-config >= 2.0 Cflags: -I${includedir} Libs: -L${libdir} -lXft Libs.private: -lX11 : tfheen@xoog /usr/lib/pkgconfig > |
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.