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

Adam Jackson ajax at nwnk.net
Mon Oct 5 12:28:41 PDT 2009


On Sun, 2009-10-04 at 11:55 +1100, Daniel Stone wrote:
> 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.
> 
> Hmm.  Doesn't that mean that we'd have to change every instance?
> Additionally, do we have any decent plan for handling the move? If
> datadir is searched before libdir then we're fine, else if libdir is
> searched by datadir, it effectively makes the .pc files immutable, as
> everyone will be picking up stale versions.

Everyone not using a sane packaging system, sure.

Fedora's been building xtrans as arch-independent and installed
in /usr/share for about a year now, though it seems I did it the lame
way (configure --libdir=%{_datadir} instead of Mikhail's fix).  Hasn't
caused any problems for us.

- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://lists.x.org/archives/xorg-devel/attachments/20091005/ec407871/attachment.pgp 


More information about the xorg-devel mailing list