Subject: Choosing pkgsrc's version of freetype2 and friends over XFree's
To: None <tech-pkg@netbsd.org>
From: Marc Recht <recht@netbsd.org>
List: tech-pkg
Date: 01/27/2004 02:58:09
--==========988167B34BE209769B01==========
Content-Type: multipart/mixed;
 boundary="==========331DFBEAC4554BE18EC9=========="

--==========331DFBEAC4554BE18EC9==========
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi!

For some time now we have problems in pkgsrc with regard to libs that are=20
also part of XFree86, but in older versions. Some pkgs in pkgsrc are happy=20
with XFree's versions while others, like Xft2/pango, need newer ones. In=20
some cases this leads to libraries get linked to both, the pkgsrc and the=20
XFree version.

For example:

# ldd /usr/pkg/lib/libgtk-x11-2.0.so.200.4|grep Xrender
-lXrender.1 =3D> /usr/X11R6/lib/libXrender.so.1
-lXrender.1 =3D> /usr/pkg/lib/libXrender.so.

and:

# ldd /usr/pkg/qt3/lib/libqt-mt.so.3.2 | grep Xrender
-lXrender.1 =3D> /usr/pkg/lib/libXrender.so.1
-lXrender.1 =3D> /usr/X11R6/lib/libXrender.so.1

I've made some patches (attached) to always select the pkgsrc versions to=20
fix those issues. I'm running with those patches for weeks now with any=20
problems.

Cheers,
Marc

--==========331DFBEAC4554BE18EC9==========
Content-Type: application/octet-stream; name="x11.tgz"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="x11.tgz"; size=4880

H4sIANnEFUAAA+1ce3PaSBLff+FTzNqu3U0wQg/wgxybOBg7nDH2Ad7zVi5FCRBYa16HhGNfwne/
7tFrJI0e+JmtsioxMOrp6Znp6e75adTD2dTsz6ZDfSQM9OHwp6e4REkUd4rFn0RRlHZLIn7i5XzK
O7vST0AilhRlR5EUKJfknSLcfxJpAtfSMNUFIT9N1EU/ju7rlaaNn0Og573q04F2Wya9pT4ejPXp
tSxMrrOVh1/ZVrVNhvpYK5NC/8ZYzGZmYX49Mhb9whBUzqB/LcUr+BrfvskuNHOhazf6dEQW8GHo
symRh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bK4cmenNJuK6T5eT33wr0U7UrREyovzsbs6jkQfmdnPYxGd2s8fce0/TnoOIrG4h
8Ioa2Afnc3MaTZvNzZaak8utRSVq3CORm81zjTRudo2IJG4uv4QUbjZdMIGbWz11+rbAhEe8Luio
3vOkbnNkWiNxm1NljfcFHcORmLWNpeO9KujqIcs0KWEbSxfxZiCPL/vmna8DK7aAvnXH1LJesLPH
KM9QMtnQnKLYZGg2i1VA35IToQW4Wx1kxHuWNGihINyJqSOfabiWKqIqE+fbtG+DSX18KzU225pr
35N2SbbY7qKMomC3S9A16+bqoe/Q8RKt6dNZ/MtzUduXXBrZma1eeGfmTkTiJMbUDU0i57E8umD+
NiYyWZzba/Y1urV7AF+Xpj6OV8NIXzuCz3tWTVb+2KruozJvBXLT5EUcUHftFXtI/QWyukSeN4jG
3hQe9qY8MJ2LkpzOBQP0oi9A39tJnc5FeYx0LtxsLqEQ3c3lwr3zlJlc3CCdm8eFL2hMFheOCQ5Y
vFz07uFpdgdeChZub+ISsHhs7bAew+DaZafWxCChzUT59w3yHy35ii1qVFoU1/DyEq9E9Grt3Ct2
I3bmlajUK9F7i2fKuxI7QFEZV5xAb918K3a9lOkR3GlaP9eKpwDJh7Q8oZLyrAT15oFZVjib8r93
jpXAnikm90nSpilqEYb3UCkaidlEpWjnyfZUsTq2droSb++VMlnJvdYiWrN1MpWE93A/ZJ4Srr3j
EHgGL8OuMQ4l/8UN/rlUEmE7+bP1lMlO6EYtRbITbvSCG7b7JjrxwpP4NCfRIViaJCfJKh+3M/NE
c/cpmOiEJERUrzlDXq/X6/V6vV6v1+vvfv0fvGptdgB4AAA=

--==========331DFBEAC4554BE18EC9==========--

--==========988167B34BE209769B01==========
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; size=186

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

iD8DBQFAFcWx7YQCetAaG3MRAg46AJ47kyWPb/LT/rJ728/wegEwt78L0ACfcZFY
vtjnuaApOVfjxQ7zLRceBb8=
=jwgU
-----END PGP SIGNATURE-----

--==========988167B34BE209769B01==========--