Date: Tue, 04 Sep 2007 13:44:23 +0200 From: Pav Lucistnik <pav@FreeBSD.org> To: Alexander Leidinger <Alexander@leidinger.net> Cc: gnome@FreeBSD.org Subject: Re: ports/115870: [DEPS] graphics/cairo reduce X dependencies Message-ID: <1188906263.28297.160.camel@pav.hide.vol.cz> In-Reply-To: <20070904131305.25c46cc8@deskjail> 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> <20070904114601.48f36f42@deskjail> <1188899959.28297.148.camel@pav.hide.vol.cz> <20070904131305.25c46cc8@deskjail>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-3gtoxwHgsDIbSOV6jr/m Content-Type: text/plain; charset=ISO8859-2 Content-Transfer-Encoding: quoted-printable Alexander Leidinger p=ED=B9e v =FAt 04. 09. 2007 v 13:13 +0200: > > You are adding a massive overhead on a day-to-day operation, like > > calculating a dependency list, to solve a problem that only appears few >=20 > Those ports show up in the dependency list anyway, But not in the beginning. Say, make depends target will get very slow and very chatty after your changes. > I don't add the explicit dependencies of gtk20 to all port which use it > (the dependencies of gtk20 are implicit dependencies, when they are not > linked into the executable of a port which depends on them). I just add > the explicit dependencies.=20 You are operating on false assumptions here. Let me explain how libtool on FreeBSD work. It explicitly passes all indirectly required libraries to the linker during build. So they all get recorded in the shared library files and in the binaries. Will show up on your script. Needlessly. The reason is that Linux needs it - Linux does not do indirect library loading in rtld. That's also why you see so much garbage in pkg-config files. > Is this a valid argument now? Not at all. Feel free to complain later > when you see numbers, but not now. I'd love to see the numbers. > I also want to point out that with explicit dependencies, we can > switch the ports collection into recording only explicit dependencies > in packages. Here you are proposing to turn off one of the basic features of the ports system. I think people would be quite unhappy if they would need to list all the indirect dependencies on all the p5 modules in their ports, for example. This will never happen. > > > Would you please provide technical details why you are opposed to lif= t > > > the Ports Collection to a higher feature/quality level? > >=20 > > I don't think this moves the ports to a higher quality level, quite the > > opposite. >=20 > - less ports to compile on major changes You failed to address my concern about the frequency of major changes like that, compared to all the extra work imposed on all the porters. > > I don't buy that. >=20 > Do you have some more things I should comment upon? So far I think I > presented technical arguments which show that your concerns can be > taken care of in a good way. You basically talked long time about all the advantages you see, failing to address my two concerns: additional machine overhead, and additional maintainer overhead. I don't want to get into discussion about the implementation details of your idea. > A port which doesn't use any symbol of png directly, > but just uses the gtk functions which use png internally, doesn't need > to be rebuild on a png change, as there should be no reference to the > png lib in the binary It does, in fact. The symbols is not everything. It can be passing around and modifying a data structure created by libpng, which could change on png upgrade. It's better be safe than broken. libpng major upgrades does not happen that often. --=20 Pav Lucistnik <pav@oook.cz> <pav@FreeBSD.org> What do you mean? An African or a European swallow? --=-3gtoxwHgsDIbSOV6jr/m Content-Type: application/pgp-signature; name=signature.asc Content-Description: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?= =?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?= =?ISO-8859-1?Q?_zpr=E1vy?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBG3UUXntdYP8FOsoIRAuBIAKC5jL25R69PEbZeB/azGDg6WcqCWACbBzF9 NZyd+DdxKw1Sp188Yp456pA= =XjHl -----END PGP SIGNATURE----- --=-3gtoxwHgsDIbSOV6jr/m--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1188906263.28297.160.camel>