Hi,

On Sun, 2006-08-06 at 09:25 +0100, Magnus Therning wrote:
<snip>
> Another question: pango.pc contains a dependency on cairo, which in turn
> contains the following line:
> 
>  Requires.private:   xrender >= 0.6 libpng12 freetype2 >= 8.0.2 fontconfig
> 
> Does that mean that ${prefix}/bin/pkg-config needs to know about
> xrender?
> 
> Since xrender isn't installed as part of GNOME I stuck a link to the
> system's xrender in ${perfix}/lib/pkgconfig:
> 
>  lrwxrwxrwx 1 magnus magnus 29 2006-08-06 08:38 xrender.pc -> 
> /usr/lib/pkgconfig/xrender.pc
> 
> Is that necessary to do?
> If so, it's a bit of a pain, isn't it?

You can make pkg-config check the system files as well.  In your
jhbuildrc add the line:
os.environ['PKG_CONFIG_PATH'] = prefix +
"/lib/pkgconfig:/usr/lib/pkgconfig"

(sorry if this gets garbled, its supposed to be all 1 line anyway)

Alternatively, if your compiling stuff outside of jhbuild do the
following:
export PKG_CONFIG_PATH=<prefix>/lib/pkgconfig:/usr/lib/pkgconfig

If you already have this, it should automatically check the
system-installed pkg-config files.

Hope this helps
Don


_______________________________________________
gnome-love mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-love

Reply via email to