Subject: Re: png ABI bump - why?
To: None <tech-pkg@netbsd.org>
From: Jaromir Dolecek <jdolecek@NetBSD.org>
List: tech-pkg
Date: 04/22/2006 11:42:38
--qDbXVdCdHGoSgWSk
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Apr 22, 2006 at 11:01:20AM +0200, Thomas Klausner wrote:
> On Sat, Apr 22, 2006 at 10:58:06AM +0200, Jaromir Dolecek wrote:
> > I'd like to know why this change:
> >=20
> > """"
> > revision 1.13
> > date: 2006/04/17 13:44:46;  author: wiz;  state: Exp;  lines: +2 -2
> > Update to 1.2.9nb2 (hopefully final update for this weekend):
> > . add rpath to libpng-config output
> > . link against libpng12 (instead of libpng) in all cases.
> >=20
> > The latter causes shlib dependency changes, so update
> > BUILDLINK_ABI_DEPENDS.png.
> > """
> >=20
> > of pkgsrc/graphics/png/buildlink3.mk was done.
>=20
>=20
> Because of this part, which you conveniently quoted:
> > . link against libpng12 (instead of libpng) in all cases.
> >

How does this affect me when I'm compiling packages
with older png (pre-change) ? The older package doesn't
link against libpng12.

> > The latter causes shlib dependency changes, so update
> > BUILDLINK_ABI_DEPENDS.png.
>=20
> If you don't want to rebuild your packages for this change,
> then set USE_ABI_DEPENDS=3Dno in your /etc/mk.conf.

IGNORE_RECOMMENDED didn't work for me in past, and so I don't
see how USE_ABI_DEPENDS would. Package authors depend
in RECOMMENDED bump, and after I got difficult-to-track
compile failures, I stopped using IGNORE_RECOMMENDED.

What is needed for png is to force the ABI_DEPENDS
if and only if the newer png package is actually used
for compilation.

Jaromir
--
Jaromir Dolecek <jdolecek@NetBSD.org>            http://www.NetBSD.cz/
-=3D- We can walk our road together if our goals are all the same;     -=3D-
-=3D- We can run alone and free if we pursue a different aim.          -=3D-

--qDbXVdCdHGoSgWSk
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: gMJh/B66633PLIEVFgIsNF0bly0OVfyD

iQCVAwUBREn6jbZjOQfIPRaZAQHkDwP7BK+bkktHqK1cgr7zSePZYxWtwt5snIm3
O4l5bBA5spM4kJWCaoBTe4RnTVBLPkwPknjbIPcZ4mdl0/hz7at7xpAnxP5jZJyK
tvB+NUnB24CwTkBNxNqxBGgMzzEpqywIrhvmHo5zAsjZkiinGhCeG/K/qsUYwX5C
osjM9CpfILw=
=bwrG
-----END PGP SIGNATURE-----

--qDbXVdCdHGoSgWSk--