[PATCH] util-macros: Addition of a meta data file xorg-macros.pc.in used by XORG_INSTALL

Mikhail Gusarov dottedmag at dottedmag.net
Wed Dec 2 17:42:24 PST 2009


Twas brillig at 17:36:45 02.12.2009 UTC-08 when cworth at cworth.org did gyre and gimble:

 CW> I hope I don't come across as incredibly dense, but I still don't
 CW> understand why this .pc file must be installed in datadir not
 CW> libdir.

During cross-compilation brain-damaged stuff like libxtrans just will
not be picked up by compiler unless various pereversions are
applied. Given this, xtrans.pc need to be installed to /usr/share, and
hence there is no problem to install rest of arch-independent stuff to
/usr/share.

 >> So far we have one tool (cross-compile) that relies on this
 >> architecture.

 CW> How would cross-compiling not work if xorg-macros.pc were installed in
 CW> libdir? Maybe this is the point I'm missing.

Include list for cross-compilation does not include /usr/lib, it instead
includes /usr/$arch/lib. All libraries need to be installed to
/usr/$arch/lib anyway to be usable for cross-compilation, but headers
and stuff like macros and source code do not.

Please don't defend broken system, fix it instead.

-- 
  http://fossarchy.blogspot.com/
-------------- 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/20091203/2c50e966/attachment.pgp 


More information about the xorg-devel mailing list