Bug 5166 - pkg-config .pc files lack dependencies
Summary: pkg-config .pc files lack dependencies
Status: RESOLVED DUPLICATE of bug 4037
Alias: None
Product: xorg
Classification: Unclassified
Component: Build/Modular (show other bugs)
Version: 6.99.99.902 (7.0 RC2)
Hardware: x86 (IA32) Linux (All)
: high minor
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-26 03:15 UTC by Egmont Koblinger
Modified: 2005-11-25 10:47 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Egmont Koblinger 2005-11-26 03:15:35 UTC
.pc files miss one of the coolest features of pkg-config, that is, to be able
to track dependencies. To make them provide this information, please add a
proper "Requires:" field to the .pc files shipped by the new modular X.Org.

For example, libSM/sm.pc.in should contain a line like this:
Requires: xproto ice
and similar for most other .pc files throughout the whole X.Org.

(As a maintainer of a distribution now I'm creating packages from X.Org 7.0-rc2,
where (as in most distributions) the libraries are split into two binary
packages: the runtime and the development package. Pkg-config is the only clear
and reliable way to automatically discover the dependencies amongst the -devel
packages in the build system, e.g. to automatically find out that libsm-devel
requires libice-devel and so on. Other methods, e.g. parsing the header files,
.la files or manually maintaining these pieces of information all suck for
various reasons, while with pkg-config this works perfectly (proven by Gnome).
So having the .pc files properly filled out would be a huge help, I hope that
not only for me :-))
Comment 1 Alan Coopersmith 2005-11-26 05:47:39 UTC
Already fixed in CVS head after the RC2 release.

*** This bug has been marked as a duplicate of 4037 ***


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.