[PATCH smproxy] Add ice and x11 to PKG_CHECK_MODULES
Robert Hooker
robert.hooker at canonical.com
Thu Dec 9 14:16:06 PST 2010
On Thu, 2010-12-09 at 15:00 -0500, Gaetan Nadon wrote:
> What is your version of pkg-config? Version 0.22 or higher is
> required.
0.25
> $ pkg-config --libs sm
> -L/home/nadon/xorg/src/lib -lSM -lICE
$ pkg-config --libs sm
-lSM
> $ pkg-config --libs xt
> -L/home/nadon/xorg/src/lib -lXt -lX11
$ pkg-config --libs xt
-lXt
> $ pkg-config --libs xmuu
> -L/home/nadon/xorg/src/lib -lXmuu -lX11
$ pkg-config --libs xmuu
-lXmuu
> In libSM/sm.pc:
> Requires: ice xproto
> Requires.private: ice
> Cflags: -I${includedir}
> Libs: -L${libdir} -lSM
> libICE is pulled in when returning cflags for libSM due to the
> Requires statement.
$ cat /usr/lib/pkgconfig/sm.pc
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: SM
Description: X Session Management Library
Version: 1.2.0
Requires.private: ice xproto
Cflags: -I${includedir}
Libs: -L${libdir} -lSM
Turns out this is caused by the Requires: in the .pc's being patched in
Debian and it's being fixed there instead, sorry for the noise!
Thanks,
Robert Hooker
-------------- 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/20101209/63efc175/attachment.pgp>
More information about the xorg-devel
mailing list