Subject: Re: Thoughts on dependency information
To: Masao Uebayashi <uebayasi@soum.co.jp>
From: Alistair Crooks <agc@pkgsrc.org>
List: tech-pkg
Date: 03/05/2002 09:58:15
On Tue, Mar 05, 2002 at 03:45:30PM +0900, Masao Uebayashi wrote:
> Now dependency information of an installed package is very limited and
> insufficient to describe the real dependency of the package.
>
> IMO, there are three relations of packages in the current Pkgsrc
> framework.
>
> 2) What package/version a binary package is built with. A package is
> built with a certain version of another. After build, the version
> requirement has no range. For example, if gdk-pixbuf-gnome is
> built with gdk-pixbuf-0.10.2, the resulting binary package
> `gdk-pixbuf-gnome-X.Y.Z.tgz' is built with gdk-pixbuf-0.10.2.
>
> I think that information described in building procedures
> (makefiles) is kind of ``type'' and each binary package is an
> instance. If you have an introductory book on object oriented
> methodology, you may be able to find some statements that a
> relation of types (classes) is called an ``association'' and a
> relation of instances a ``link''.
>
> I'm not claiming I'm an expert of OO. The point is, the above two
> are distinct.
I am about to add the "built with" information to our binary packages
- it has long been a source of pain for people.
Regards,
Alistair