OpenSolaris

Printable Version Enter a New Search
Bug ID 6571762
Synopsis xrender.pc depends on non-existent x11.pc
State 10-Fix Delivered:Verified (Fix available in build)
Category:Subcategory xserver:builds
Keywords
Responsible Engineer Alan Coopersmith
Reported Against snv_73
Duplicate Of
Introduced In
Commit to Fix snv_73
Fixed In snv_73
Release Fixed solaris_nevada(snv_73)
Related Bugs 6582617 , 6582962 , 6599051 , 6600137 , 6604593
Submit Date 20-June-2007
Last Update Date 29-September-2007
Description
/usr/lib/pkgconfig/xrender.pc ( xxxxx Wxwinc) references 'x11' (meaning x11.pc) but this is not delievered in Solaris Nevada.
It's absense breaks JDS builds (pango requires xrender).
*** Test Case ***
"pkg-config --libs xft" and "pkg-config --libs xrender" should not return 
an error about x11 package not found, but should instead print a line of 
-L, -R and -l flags for linking with the specified libraries.
Work Around
Create a x11.pc in a directory you add to $PKG_CONFIG_PATH with contents such as:

prefix=/usr/openwin
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

xthreadlib=

Name: X11
Description: X Library
Version: 0.0
Requires: xproto kbproto inputproto
Requires.private: xau xdmcp
Cflags: -I${includedir} -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DXTHREADS -DXUSE_MTSAFE_API
Libs: -L${libdir} -R${libdir} -lX11
Libs.private:
Comments
N/A