The new architecture of pkgng solver
Baptiste Daroussin
bapt at freebsd.org
Thu Jul 25 17:10:41 UTC 2013
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-pkg/attachments/20130725/1b12b9e3/attachment.sig>
More information about the freebsd-pkg
mailing list