Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Jan 2006 09:54:13 +0100
From:      Pav Lucistnik <pav@FreeBSD.org>
To:        Mikhail Teterin <mi+kde@aldan.algebra.com>
Cc:        cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/textproc/libwpd Makefile distinfo
Message-ID:  <1136537653.70797.5.camel@pav.hide.vol.cz>
In-Reply-To: <200601052003.37898@aldan>
References:  <200601052201.k05M1Hiv047660@repoman.freebsd.org> <200601051751.09804.mi%2Bmx@aldan.algebra.com> <1136501987.40648.19.camel@localhost>  <200601052003.37898@aldan>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-VlpV99hDbsmP2wrYbhLR
Content-Type: text/plain; charset=ISO8859-2
Content-Transfer-Encoding: quoted-printable

Mikhail Teterin p=ED=B9e v =E8t 05. 01. 2006 v 20:03 -0500:
> On Thursday 05 January 2006 05:59 pm, Pav Lucistnik wrote:
> =3D > Because to rebuild the tiny libwpd, which itself is perfectly happy
> =3D > with very old versions of libgsf-1 (>=3D1.6), one must first rebuil=
d
> =3D > their _entire gnome install_.
> =3D >
> =3D > In the vast majority of cases the LIB_DEPENDS should not spell out
> =3D > particular shared library versions, but bsd.gnome.mk is full of
> =3D > them.
>=20
> =3D Yeah, you never know if a single program that have USE_GNOME will nee=
d
> =3D the latest and greatest. So we're better safe than sorry.
>=20
> In preparing for that one future possibility we are all suffering
> regularly with forced upgrades. Imagine:
>=20
> 	1) install gnome;
> 	2) a week later - update the ports tree and try to add a
> 	   gnome-using port (like libwpd);
> 	3) notice, you have to rebuild your entire gnome.

Well it's not just GNOME. Imagine you installed php on your server and
few weeks later you want to quickly add one extension, but now you have
php 4.4.1 and added extension is from php 4.4.2 -- you have to rebuild
all php too.

This looks like a larger design problem and I don't know from where to
start attacking it.

> The sure price of the "safety" of this far exceeds to potential price of
> the "sorry". No excuses...

I think the opposite - perhaps it's because you're not reading all the
support questions gnome@ receives.

> Considering, that most software that has such version demands makes
> its own checks in the configure, there is no added safety at all...

Oh no, we can't just let rely on configure checks. First, we never want
`make` to fail. Than we could go Slackware and forget the dependencies
in ports anyway.

Second, endusers just can't read configure output. Configure script
tells them they have outdated fontconfig and you know what people do?
They copy&paste that message and ask for help for it.

> =3D You could add a real LIB_DEPENDS line with >=3D1.6 to libwpd, right?
>=20
> Better for those few (if any!) ports, that do need a particular version,
> to add their explicit requirements, than for everybody else to do the
> opposite.

That would do - but it can't happen overnight, the ports are just too
many to go see every single one's configure script...

> And no, I can't do it in my port, because bsd.gnome.mk will append its
> own (based on USE_GNOME) anyway.

You don't have to have USE_GNOME=3Dlibgsf in your port at all...=20

--=20
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>

Any sufficiently advanced technology is indistinguishable from magic.
  -- Arthur C. Clarke

--=-VlpV99hDbsmP2wrYbhLR
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Toto je =?iso-8859-2?Q?digit=E1ln=EC?=
	=?ISO-8859-1?Q?_podepsan=E1?= =?iso-8859-2?Q?_=E8=E1st?=
	=?ISO-8859-1?Q?_zpr=E1vy?=

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQBDvjA1ntdYP8FOsoIRApusAJ4yx/iYa8ZjQ6+4ryFA9/8qWS3gnwCdFJg7
FvOPKdzKn688faNJ0gJlA70=
=ZR8a
-----END PGP SIGNATURE-----

--=-VlpV99hDbsmP2wrYbhLR--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1136537653.70797.5.camel>