cvs commit: ports/textproc/libwpd Makefile distinfo

Pav Lucistnik pav at FreeBSD.org
Fri Jan 6 00:54:35 PST 2006


Mikhail Teterin píše v čt 05. 01. 2006 v 20:03 -0500:
> On Thursday 05 January 2006 05:59 pm, Pav Lucistnik wrote:
> = > Because to rebuild the tiny libwpd, which itself is perfectly happy
> = > with very old versions of libgsf-1 (>=1.6), one must first rebuild
> = > their _entire gnome install_.
> = >
> = > In the vast majority of cases the LIB_DEPENDS should not spell out
> = > particular shared library versions, but bsd.gnome.mk is full of
> = > them.
> 
> = Yeah, you never know if a single program that have USE_GNOME will need
> = the latest and greatest. So we're better safe than sorry.
> 
> In preparing for that one future possibility we are all suffering
> regularly with forced upgrades. Imagine:
> 
> 	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.

> = You could add a real LIB_DEPENDS line with >=1.6 to libwpd, right?
> 
> 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=libgsf in your port at all... 

-- 
Pav Lucistnik <pav at oook.cz>
              <pav at FreeBSD.org>

Any sufficiently advanced technology is indistinguishable from magic.
  -- Arthur C. Clarke
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: 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?=
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20060106/cee2a165/attachment.bin


More information about the cvs-all mailing list