[PATCH] Move xtrans.pc to /usr/share/pkg-config

Mikhail Gusarov dottedmag at dottedmag.net
Sat Oct 3 21:27:36 PDT 2009

Twas brillig at 11:55:24 04.10.2009 UTC+11 when daniel at fooishbar.org did gyre and gimble:

 DS> On Sat, Sep 26, 2009 at 04:39:20AM +0700, Mikhail Gusarov wrote:
 >> This fixes configuration in cross-compilation mode:
 >> pkg-config does not look for .pc in /usr/lib/pkg-config during
 >> cross-compilation to avoid picking up wrong libraries.

 DS> Hmm.  Doesn't that mean that we'd have to change every instance?

Only xtrans is affected due to it strangeness - the rest of .pc comes
From stuff that easily can be configured for cross-compilation and
installed to /usr/$arch/lib/pkgconfig (proto don't need to, but can be).

 DS> Additionally, do we have any decent plan for handling the move? If
 DS> datadir is searched before libdir then we're fine, else if libdir
 DS> is searched by datadir, it effectively makes the .pc files
 DS> immutable, as everyone will be picking up stale versions.

Uh, that's the problem, libdir is searched first. Probably it's better
to have it installed both to datadir and libdir, as suggested by Alan.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
Url : http://lists.x.org/archives/xorg-devel/attachments/20091004/6fed5ab0/attachment-0001.pgp 

More information about the xorg-devel mailing list