Subject: Re: Browsers on NetBSD sparc
To: Laurens Vets <laurens@daemon.be>
From: Michael Lorenz <macallan@netbsd.org>
List: port-sparc
Date: 06/02/2005 07:49:45
--Signature_Thu__2_Jun_2005_07_49_45_-0400_xnASRG=lbx7KPq5z
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hello,

> > And about libfontconfig and friends - putting something like this
> > into your mk.conf may help:
> > USE_BUILTIN.fontconfig?=3Dyes
> > PREFER_fontconfig?=3Dnative
> >=20
> > this should keep pkgsrc from building its own libfontconfig and make
> > it use the one that comes with X. I guess the crashes come from
> > compiling with the headers from one libfontconfig but linking
> > against the other for whatever reason. Of course you'd have to
> > recompile everything using libfontconfig so its usefulness may be
> > limited. Something similar for Xft2 and freetype2 would probably be
> > a good idea too. since these libraries depend on each other.
>=20
> I added the above 2 variables to mk.conf. I'm now trying to rebuild=20
> mozilla-gtk2.  However, upon installing Xft2, I get the following
> error now:
>=20
> <...>
> checking for freetype-config... freetype-config
> checking for fontconfig >=3D 2.2... Requested 'fontconfig >=3D 2.2' but=20
> version of F
> ontconfig is 1.0.1
> configure: error: Library requirements (fontconfig >=3D 2.2) not met;=20
> consider adj
> usting the PKG_CONFIG_PATH environment variable if your libraries are
> in a nonstandard prefix so pkg-config can find them.
> *** Error code 1
>=20
> Stop.
> make: stopped in /usr/pkgsrc/fonts/Xft2
> =3D=3D=3D>
> =3D=3D=3D> There was an error during the ``configure'' phase.
> =3D=3D=3D> Please investigate the following for more information:
> =3D=3D=3D>      * config.log
> =3D=3D=3D>      * /usr/pkgsrc/fonts/Xft2/work/.work.log
> =3D=3D=3D>
> *** Error code 1
> <...>
>=20
> So does this mean that I still need to use the pkgsrc fontconfig?

No, it means when you use fontconfig from XFree86 you should also use
its freetype2 and Xft2:

USE_BUILTIN.freetype2?=3Dyes
PREFER_freetype2?=3Dnative
USE_BUILTIN.Xft2?=3Dyes
PREFER_Xft2?=3Dnative

I just finished building XFCE4 and KDE3 with these settings ( on macppc
though ) - works fine, I only had to run fc-cache by hand once.

Since this requires XFree which sparc doesn't (officially) have we
should probably discuss this to another list.

have fun
Michael

--Signature_Thu__2_Jun_2005_07_49_45_-0400_xnASRG=lbx7KPq5z
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)

iQEVAwUBQp7yWcpnzkX8Yg2nAQKoegf/ZwyArfqLR0rxUE0tywBZMVgX5uY+UFEd
av8uh3248V7dlHzxLT9/0N7zuTc1358jJDAD2kPFpH6mRH3T0zVMyyuRyRcyxsyE
LBezxen6VJkGxPMoCUdE0JkHx0B/lQB0zTs1jEPm/yS5pvp7j4+FN1wZiWvuni47
hrNQKxHKg/zs9U/8ptV+YxheDX4beR5dF1YSNweHM5OhnTId/Dd5ddgrBeq9a16F
hgzymqhcLfNudjHtfkhzJ4Y3y3WiWkoperZ1TqknZM7THhJHvKIO6Ir71G5pASUa
U6vchbxnz9HtJp34+PUDUCKwZ41vR9franPX04WcSITFzEnMRK7qSw==
=GjjD
-----END PGP SIGNATURE-----

--Signature_Thu__2_Jun_2005_07_49_45_-0400_xnASRG=lbx7KPq5z--