Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jul 2013 19:10:37 +0200
From:      Baptiste Daroussin <bapt@freebsd.org>
To:        Vsevolod Stakhov <vsevolod@FreeBSD.org>
Cc:        pkg@FreeBSD.org
Subject:   Re: The new architecture of pkgng solver
Message-ID:  <20130725171037.GQ61207@ithaqua.etoilebsd.net>
In-Reply-To: <51F13DF0.5040209@FreeBSD.org>

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

[-- Attachment #1 --]
On Thu, Jul 25, 2013 at 04:02:08PM +0100, Vsevolod Stakhov wrote:
> Hello,
> 
> At the moment I plan to do the following:
> 
[...]

> I'll do it if there are no objections.
I bet there won't be any objecttions here :) Please implement what you said that
is all we need !
> 
> (And, well, we need to think eventually what to do with share libraries 
> dependencies and flexible dependencies, e.g. Depends: libsomething (>1.4))

That is the more problematic thing, pkg add and the ports tree package building
rely on the old form aka full direct dependency

So what I do propose here is:

to provide the 2 kind of dependency old and new format. in the manifest.
Let's say:

Depends:
  { name: ..., formulae: ... }
Deps:
  {....}

for the shared library we already have the needed
We also need
requires:
provides:

In the long temps Deps will just be dropped but we need to be able in the ports
tree to match properly the depends and the shared libraries, I don't know yet
how to do that, but I'll dig :)

Would be nice if you solver could take in account local files (aka being used
for pkg add) :)

regards,
Bapt

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlHxXA0ACgkQ8kTtMUmk6ExUYgCfcFoymhxDGa9sAq7P49YvEH7z
nDIAnR87yD/RJXQWzX1FuwrVYYWkFCru
=LicN
-----END PGP SIGNATURE-----
home | help

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