Subject: Re: pango, pkgsrc, openbsd
To: None <tech-pkg@netbsd.org>
From: m. kolb <muk@bender.cl.msu.edu>
List: tech-pkg
Date: 11/01/2004 13:01:13
> On Mon, 1 Nov 2004, m. kolb wrote:
> 
> > gcc -O -I/usr/pkgsrc/devel/pango/work/.buildlink/include
> > -I/usr/pkgsrc/devel/pango/work/.buildlink/include/freetype2 -Wall
> > -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib -o .libs/pango-querymodules
> > querymodules.o  -L/usr/pkgsrc/devel/pango/work/.buildlink/lib
> > -L/usr/pkgsrc/devel/pango/work/.x11-buildlink/lib -L./.libs -lpangox-1.0
> > -L/usr/pkgsrc/devel/pango/work/pango-1.6.0/pango/.libs -lpangoxft-1.0
> > /usr/pkgsrc/devel/pango/work/.buildlink/lib/libXft.a
> 
> What is /usr/pkgsrc/devel/pango/work/.buildlink/lib/libXft.a linked to?

nibbler:pango {281} ls -l work/.buildlink/lib/libXft.a 
lrwxr-xr-x  1 root  wheel  21 Nov  1 11:16 work/.buildlink/lib/libXft.a@
-> /usr/pkg/lib/libXft.a

> What is your /usr/pkgsrc/devel/pango/work/.buildlink/lib/libXrender.a
> linked too?

nibbler:pango {282} ls -l work/.buildlink/lib/libXrender.a
lrwxr-xr-x  1 root  wheel  25 Nov  1 11:16
work/.buildlink/lib/libXrender.a@ -> /usr/pkg/lib/libXrender.a

> Maybe use objdump -x to look at the library to see if it is really
> defined.

nibbler:pango {286} objdump -x /usr/pkg/lib/libXft.a|grep XftCharExists
000000000000186c g     F .text  0000000000000024 XftCharExists
00000000000018fc R_SPARC_WDISP30   XftCharExists

> 
> Pkgsrc also provides a libXrender and libXft that may be more up-to-date
> and may work better for you. The default PREFER_PKGSRC includes Xft2 and
> Xrender already.

nibbler:pango {283} pkg_info|grep -i render
freetype2-2.1.9nb1  Font rendering engine and library API
render-0.8          Headers for X11 render extension
Xrender-0.8.4nb1    Client library for the X Rendering Extension
protocol
nibbler:pango {284} pkg_info | grep -i xft
Xft2-2.1.6nb1       Library for configuring and customizing font access


This whole thing seems kind of fishy to me.

Any other ideas?

./matt

-- 
m. kolb  <muk@msu.edu>  <muk@bender.cl.msu.edu>