xserver: Branch 'master'

Dan Nicholson dbn.lists at gmail.com
Fri Oct 19 10:17:57 PDT 2007

On 10/12/07, Ian Romanick <idr at us.ibm.com> wrote:
> Hash: SHA1
> Julien Cristau wrote:
> > 'pkg-config --cflags xorg-server' should have -I/usr/include/pixman-1,
> > afaics.  Maybe you're using an old version of pkg-config which doesn't
> > do that?
> I encounter this same problem with pkgconfig-0.22-3.fc8.  AFAIK, this is
> the most recent version.  This is on both i386 and PowerPC.  Perhaps
> there's something wrong with Fedora's pkgconfig package?

I believe it is a bug in Fedora's pkgconfig package. This patch:


The first hunk makes it so that the Requires.private is only parsed if
--static was specified. That breaks the functionality that the Cflags
field will always be printed.

Here's the difference between vanilla pkg-config-0.22 and fedora's
patch. pkg-config-rh contains the patch.

$ cat foo.pc

Name: foo
Description: foo
Version: 0
Cflags: -I${includedir}
$ cat bar.pc
Name: bar
Description: bar
Version: 0
Requires.private: foo
$ pkg-config --cflags bar
$ pkg-config-rh --cflags bar

$ pkg-config-rh --cflags --static bar

I suggest someone file a bug with Redhat.


More information about the xorg mailing list