Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Sep 2007 11:46:01 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        pav@FreeBSD.org
Cc:        gnome@FreeBSD.org
Subject:   Re: ports/115870: [DEPS] graphics/cairo reduce X dependencies
Message-ID:  <20070904114601.48f36f42@deskjail>
In-Reply-To: <1188897490.28297.129.camel@pav.hide.vol.cz>
References:  <200709032101.l83L1qr1018167@freefall.freebsd.org> <20070904000756.756b72fc@deskjail> <1188894171.28297.82.camel@pav.hide.vol.cz> <20070904111144.6c3fb68c@deskjail> <1188897490.28297.129.camel@pav.hide.vol.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Pav Lucistnik <pav@FreeBSD.org> (Tue, 04 Sep 2007 11:18:10 +0200):

> Alexander Leidinger p=C3=AD=C5=A1e v =C3=BAt 04. 09. 2007 v 11:11 +0200:
>=20
> > > What do you mean by 'explicit' depends? I don't want to list every
> > > single each lib in every single each port, when I can rely on indirect
> > > dependencies via ports like gtk20.
> >=20
> > Explicit dependencies makes it more easy to just rebuild those ports
> > which use a specific lib which just had an ABI change. Our users want
> > this.=20
>=20
> Ah, this nonsense again.

Please explain why.

If libA.so changes its ABI, you have to rebuild the dependent ports. We
propose "portupgrade -rf libA-a.b.c" for this. With the current scheme
of implicit dependencies recording this works, but takes a lot more
time. Why the hell do I have to rebuild claws-mail when python changes?
There's no reason (I maintain claws-mail, and python is not part of the
explicit dependencies).

With listing the explicit dependencies, we just need to grep for ports
which use the libA port and bump the portrevision for them (there are
scripts which do this). Users now just have to run "portupgrade -r
libA-a.b.c" (without "-f") and as such rebuild less ports (specially
when GNOME or KDE are involved).

> > If we have had this some years ago, we wouldn't had to write a gnome
> > update script.=20
>=20
> No - if we had fixed libtool versioning years ago, we wouldn't had to
> write a gnome upgrade script.
>=20
> > ---snip---
> > USE_GETTEXT=3Dyes
>=20
> [ snip massive bloat ]

Sorry, but the implicit dependencies we have currently are massive
bloat. What is listed here is the _real_ installed situation. Feel free
to have a look at the script which extracts this information with
objdump (Tools/scripts/neededlibs.sh) and point out deficiencies.

> > xpcom:${PORTSDIR}/unknown
> > xpcom_core:${PORTSDIR}/unknown
> > ---snip---
>=20
> I'm firmly opposed to this.

Would you please provide technical details why you are opposed to lift
the Ports Collection to a higher feature/quality level?

Bye,
Alexander.

--=20
A little suffering is good for the soul.
		-- Kirk, "The Corbomite Maneuver", stardate 1514.0
http://www.Leidinger.net  Alexander @ Leidinger.net: PGP ID =3D B0063FE7
http://www.FreeBSD.org     netchild @ FreeBSD.org  : PGP ID =3D 72077137



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